7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/docdb/model/Tag.h>
52 template<
typename SubscriptionNameT = Aws::String>
53 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
54 template<
typename SubscriptionNameT = Aws::String>
66 template<
typename SnsTopicArnT = Aws::String>
67 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
68 template<
typename SnsTopicArnT = Aws::String>
83 template<
typename SourceTypeT = Aws::String>
84 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
85 template<
typename SourceTypeT = Aws::String>
96 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
97 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
98 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
100 template<
typename EventCategoriesT = Aws::String>
121 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
122 void SetSourceIds(SourceIdsT&& value) { m_sourceIdsHasBeenSet =
true; m_sourceIds = std::forward<SourceIdsT>(value); }
123 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
125 template<
typename SourceIdsT = Aws::String>
136 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
146 template<
typename TagsT = Aws::Vector<Tag>>
147 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
148 template<
typename TagsT = Aws::Vector<Tag>>
150 template<
typename TagsT = Tag>
156 bool m_subscriptionNameHasBeenSet =
false;
159 bool m_snsTopicArnHasBeenSet =
false;
162 bool m_sourceTypeHasBeenSet =
false;
165 bool m_eventCategoriesHasBeenSet =
false;
168 bool m_sourceIdsHasBeenSet =
false;
170 bool m_enabled{
false};
171 bool m_enabledHasBeenSet =
false;
174 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