7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/docdb/DocDBRequest.h>
10#include <aws/docdb/DocDB_EXPORTS.h>
11#include <aws/docdb/model/Tag.h>
48 template <
typename SubscriptionNameT = Aws::String>
50 m_subscriptionNameHasBeenSet =
true;
51 m_subscriptionName = std::forward<SubscriptionNameT>(value);
53 template <
typename SubscriptionNameT = Aws::String>
68 template <
typename SnsTopicArnT = Aws::String>
70 m_snsTopicArnHasBeenSet =
true;
71 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
73 template <
typename SnsTopicArnT = Aws::String>
91 template <
typename SourceTypeT = Aws::String>
93 m_sourceTypeHasBeenSet =
true;
94 m_sourceType = std::forward<SourceTypeT>(value);
96 template <
typename SourceTypeT = Aws::String>
110 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
112 m_eventCategoriesHasBeenSet =
true;
113 m_eventCategories = std::forward<EventCategoriesT>(value);
115 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
120 template <
typename EventCategoriesT = Aws::String>
122 m_eventCategoriesHasBeenSet =
true;
123 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
145 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
147 m_sourceIdsHasBeenSet =
true;
148 m_sourceIds = std::forward<SourceIdsT>(value);
150 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
155 template <
typename SourceIdsT = Aws::String>
157 m_sourceIdsHasBeenSet =
true;
158 m_sourceIds.emplace_back(std::forward<SourceIdsT>(value));
171 m_enabledHasBeenSet =
true;
186 template <
typename TagsT = Aws::Vector<Tag>>
188 m_tagsHasBeenSet =
true;
189 m_tags = std::forward<TagsT>(value);
191 template <
typename TagsT = Aws::Vector<Tag>>
193 SetTags(std::forward<TagsT>(value));
196 template <
typename TagsT = Tag>
198 m_tagsHasBeenSet =
true;
199 m_tags.emplace_back(std::forward<TagsT>(value));
214 bool m_enabled{
false};
217 bool m_subscriptionNameHasBeenSet =
false;
218 bool m_snsTopicArnHasBeenSet =
false;
219 bool m_sourceTypeHasBeenSet =
false;
220 bool m_eventCategoriesHasBeenSet =
false;
221 bool m_sourceIdsHasBeenSet =
false;
222 bool m_enabledHasBeenSet =
false;
223 bool m_tagsHasBeenSet =
false;
bool SnsTopicArnHasBeenSet() const
bool TagsHasBeenSet() const
CreateEventSubscriptionRequest & WithSnsTopicArn(SnsTopicArnT &&value)
const Aws::Vector< Aws::String > & GetSourceIds() const
void SetEventCategories(EventCategoriesT &&value)
CreateEventSubscriptionRequest & WithSourceIds(SourceIdsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
void SetSubscriptionName(SubscriptionNameT &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
const Aws::String & GetSourceType() const
bool EnabledHasBeenSet() const
void SetSourceType(SourceTypeT &&value)
AWS_DOCDB_API CreateEventSubscriptionRequest()=default
void SetSnsTopicArn(SnsTopicArnT &&value)
CreateEventSubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
CreateEventSubscriptionRequest & WithEventCategories(EventCategoriesT &&value)
const Aws::String & GetSnsTopicArn() const
CreateEventSubscriptionRequest & AddSourceIds(SourceIdsT &&value)
bool SourceIdsHasBeenSet() const
CreateEventSubscriptionRequest & WithEnabled(bool value)
CreateEventSubscriptionRequest & WithSourceType(SourceTypeT &&value)
void SetTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
bool SubscriptionNameHasBeenSet() const
const Aws::String & GetSubscriptionName() const
CreateEventSubscriptionRequest & AddTags(TagsT &&value)
bool EventCategoriesHasBeenSet() const
CreateEventSubscriptionRequest & AddEventCategories(EventCategoriesT &&value)
void SetEnabled(bool value)
CreateEventSubscriptionRequest & WithTags(TagsT &&value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetSourceIds(SourceIdsT &&value)
bool SourceTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector