7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3/S3_EXPORTS.h>
10#include <aws/s3/model/Event.h>
11#include <aws/s3/model/NotificationConfigurationFilter.h>
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
62 template <
typename TopicArnT = Aws::String>
64 m_topicArnHasBeenSet =
true;
65 m_topicArn = std::forward<TopicArnT>(value);
67 template <
typename TopicArnT = Aws::String>
83 template <
typename EventsT = Aws::Vector<Event>>
85 m_eventsHasBeenSet =
true;
86 m_events = std::forward<EventsT>(value);
88 template <
typename EventsT = Aws::Vector<Event>>
94 m_eventsHasBeenSet =
true;
95 m_events.push_back(value);
104 template <
typename FilterT = NotificationConfigurationFilter>
106 m_filterHasBeenSet =
true;
107 m_filter = std::forward<FilterT>(value);
109 template <
typename FilterT = NotificationConfigurationFilter>
123 bool m_idHasBeenSet =
false;
124 bool m_topicArnHasBeenSet =
false;
125 bool m_eventsHasBeenSet =
false;
126 bool m_filterHasBeenSet =
false;
bool EventsHasBeenSet() const
void SetEvents(EventsT &&value)
bool FilterHasBeenSet() const
TopicConfiguration & WithTopicArn(TopicArnT &&value)
const Aws::String & GetId() const
void SetFilter(FilterT &&value)
AWS_S3_API TopicConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TopicConfiguration & WithId(IdT &&value)
TopicConfiguration & WithFilter(FilterT &&value)
TopicConfiguration & WithEvents(EventsT &&value)
TopicConfiguration & AddEvents(Event value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API TopicConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
bool IdHasBeenSet() const
void SetTopicArn(TopicArnT &&value)
const Aws::Vector< Event > & GetEvents() const
const Aws::String & GetTopicArn() const
AWS_S3_API TopicConfiguration()=default
bool TopicArnHasBeenSet() const
const NotificationConfigurationFilter & GetFilter() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector