7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/docdb/DocDB_EXPORTS.h>
45 template <
typename CustomerAwsIdT = Aws::String>
47 m_customerAwsIdHasBeenSet =
true;
48 m_customerAwsId = std::forward<CustomerAwsIdT>(value);
50 template <
typename CustomerAwsIdT = Aws::String>
63 template <
typename CustSubscriptionIdT = Aws::String>
65 m_custSubscriptionIdHasBeenSet =
true;
66 m_custSubscriptionId = std::forward<CustSubscriptionIdT>(value);
68 template <
typename CustSubscriptionIdT = Aws::String>
81 template <
typename SnsTopicArnT = Aws::String>
83 m_snsTopicArnHasBeenSet =
true;
84 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
86 template <
typename SnsTopicArnT = Aws::String>
105 template <
typename StatusT = Aws::String>
107 m_statusHasBeenSet =
true;
108 m_status = std::forward<StatusT>(value);
110 template <
typename StatusT = Aws::String>
124 template <
typename SubscriptionCreationTimeT = Aws::String>
126 m_subscriptionCreationTimeHasBeenSet =
true;
127 m_subscriptionCreationTime = std::forward<SubscriptionCreationTimeT>(value);
129 template <
typename SubscriptionCreationTimeT = Aws::String>
143 template <
typename SourceTypeT = Aws::String>
145 m_sourceTypeHasBeenSet =
true;
146 m_sourceType = std::forward<SourceTypeT>(value);
148 template <
typename SourceTypeT = Aws::String>
162 template <
typename SourceIdsListT = Aws::Vector<Aws::String>>
164 m_sourceIdsListHasBeenSet =
true;
165 m_sourceIdsList = std::forward<SourceIdsListT>(value);
167 template <
typename SourceIdsListT = Aws::Vector<Aws::String>>
172 template <
typename SourceIdsListT = Aws::String>
174 m_sourceIdsListHasBeenSet =
true;
175 m_sourceIdsList.emplace_back(std::forward<SourceIdsListT>(value));
187 template <
typename EventCategoriesListT = Aws::Vector<Aws::String>>
189 m_eventCategoriesListHasBeenSet =
true;
190 m_eventCategoriesList = std::forward<EventCategoriesListT>(value);
192 template <
typename EventCategoriesListT = Aws::Vector<Aws::String>>
197 template <
typename EventCategoriesListT = Aws::String>
199 m_eventCategoriesListHasBeenSet =
true;
200 m_eventCategoriesList.emplace_back(std::forward<EventCategoriesListT>(value));
213 m_enabledHasBeenSet =
true;
228 template <
typename EventSubscriptionArnT = Aws::String>
230 m_eventSubscriptionArnHasBeenSet =
true;
231 m_eventSubscriptionArn = std::forward<EventSubscriptionArnT>(value);
233 template <
typename EventSubscriptionArnT = Aws::String>
256 bool m_enabled{
false};
259 bool m_customerAwsIdHasBeenSet =
false;
260 bool m_custSubscriptionIdHasBeenSet =
false;
261 bool m_snsTopicArnHasBeenSet =
false;
262 bool m_statusHasBeenSet =
false;
263 bool m_subscriptionCreationTimeHasBeenSet =
false;
264 bool m_sourceTypeHasBeenSet =
false;
265 bool m_sourceIdsListHasBeenSet =
false;
266 bool m_eventCategoriesListHasBeenSet =
false;
267 bool m_enabledHasBeenSet =
false;
268 bool m_eventSubscriptionArnHasBeenSet =
false;
void SetEventSubscriptionArn(EventSubscriptionArnT &&value)
const Aws::String & GetEventSubscriptionArn() const
const Aws::String & GetSourceType() const
EventSubscription & AddEventCategoriesList(EventCategoriesListT &&value)
void SetEventCategoriesList(EventCategoriesListT &&value)
bool SourceTypeHasBeenSet() const
const Aws::String & GetSnsTopicArn() const
const Aws::String & GetStatus() const
EventSubscription & WithSnsTopicArn(SnsTopicArnT &&value)
AWS_DOCDB_API EventSubscription()=default
EventSubscription & WithEnabled(bool value)
bool CustSubscriptionIdHasBeenSet() const
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool EnabledHasBeenSet() const
EventSubscription & WithEventCategoriesList(EventCategoriesListT &&value)
bool StatusHasBeenSet() const
bool SourceIdsListHasBeenSet() const
EventSubscription & WithEventSubscriptionArn(EventSubscriptionArnT &&value)
const Aws::Vector< Aws::String > & GetSourceIdsList() const
EventSubscription & AddSourceIdsList(SourceIdsListT &&value)
void SetEnabled(bool value)
EventSubscription & WithStatus(StatusT &&value)
const Aws::String & GetCustSubscriptionId() const
EventSubscription & WithSubscriptionCreationTime(SubscriptionCreationTimeT &&value)
EventSubscription & WithCustomerAwsId(CustomerAwsIdT &&value)
void SetSourceType(SourceTypeT &&value)
void SetSnsTopicArn(SnsTopicArnT &&value)
bool SubscriptionCreationTimeHasBeenSet() const
AWS_DOCDB_API EventSubscription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EventSubscription & WithCustSubscriptionId(CustSubscriptionIdT &&value)
EventSubscription & WithSourceIdsList(SourceIdsListT &&value)
bool EventSubscriptionArnHasBeenSet() const
void SetSourceIdsList(SourceIdsListT &&value)
void SetCustomerAwsId(CustomerAwsIdT &&value)
void SetCustSubscriptionId(CustSubscriptionIdT &&value)
AWS_DOCDB_API EventSubscription(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SnsTopicArnHasBeenSet() const
void SetSubscriptionCreationTime(SubscriptionCreationTimeT &&value)
EventSubscription & WithSourceType(SourceTypeT &&value)
bool EventCategoriesListHasBeenSet() const
const Aws::String & GetCustomerAwsId() const
const Aws::String & GetSubscriptionCreationTime() const
bool CustomerAwsIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetEventCategoriesList() const
void SetStatus(StatusT &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream