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>
46 template <
typename SubscriptionNameT = Aws::String>
48 m_subscriptionNameHasBeenSet =
true;
49 m_subscriptionName = std::forward<SubscriptionNameT>(value);
51 template <
typename SubscriptionNameT = Aws::String>
66 template <
typename SnsTopicArnT = Aws::String>
68 m_snsTopicArnHasBeenSet =
true;
69 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
71 template <
typename SnsTopicArnT = Aws::String>
88 template <
typename SourceTypeT = Aws::String>
90 m_sourceTypeHasBeenSet =
true;
91 m_sourceType = std::forward<SourceTypeT>(value);
93 template <
typename SourceTypeT = Aws::String>
107 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
109 m_eventCategoriesHasBeenSet =
true;
110 m_eventCategories = std::forward<EventCategoriesT>(value);
112 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
117 template <
typename EventCategoriesT = Aws::String>
119 m_eventCategoriesHasBeenSet =
true;
120 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
132 m_enabledHasBeenSet =
true;
149 bool m_enabled{
false};
150 bool m_subscriptionNameHasBeenSet =
false;
151 bool m_snsTopicArnHasBeenSet =
false;
152 bool m_sourceTypeHasBeenSet =
false;
153 bool m_eventCategoriesHasBeenSet =
false;
154 bool m_enabledHasBeenSet =
false;
void SetSnsTopicArn(SnsTopicArnT &&value)
bool EventCategoriesHasBeenSet() const
void SetSourceType(SourceTypeT &&value)
bool SourceTypeHasBeenSet() const
AWS_DOCDB_API ModifyEventSubscriptionRequest()=default
ModifyEventSubscriptionRequest & AddEventCategories(EventCategoriesT &&value)
ModifyEventSubscriptionRequest & WithSourceType(SourceTypeT &&value)
ModifyEventSubscriptionRequest & WithEventCategories(EventCategoriesT &&value)
bool SnsTopicArnHasBeenSet() const
bool EnabledHasBeenSet() const
const Aws::String & GetSourceType() const
ModifyEventSubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
virtual const char * GetServiceRequestName() const override
ModifyEventSubscriptionRequest & WithSnsTopicArn(SnsTopicArnT &&value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyEventSubscriptionRequest & WithEnabled(bool value)
const Aws::String & GetSubscriptionName() const
AWS_DOCDB_API Aws::String SerializePayload() const override
bool SubscriptionNameHasBeenSet() const
void SetEnabled(bool value)
void SetSubscriptionName(SubscriptionNameT &&value)
const Aws::String & GetSnsTopicArn() const
void SetEventCategories(EventCategoriesT &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector