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>
50 template<
typename SubscriptionNameT = Aws::String>
51 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
52 template<
typename SubscriptionNameT = Aws::String>
64 template<
typename SnsTopicArnT = Aws::String>
65 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
66 template<
typename SnsTopicArnT = Aws::String>
80 template<
typename SourceTypeT = Aws::String>
81 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
82 template<
typename SourceTypeT = Aws::String>
93 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
94 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
95 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
97 template<
typename EventCategoriesT = Aws::String>
107 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
113 bool m_subscriptionNameHasBeenSet =
false;
116 bool m_snsTopicArnHasBeenSet =
false;
119 bool m_sourceTypeHasBeenSet =
false;
122 bool m_eventCategoriesHasBeenSet =
false;
124 bool m_enabled{
false};
125 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