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>
54 inline void SetSubscriptionName(
const char* value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName.assign(value); }
70 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
89 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
144 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
164 bool m_subscriptionNameHasBeenSet =
false;
167 bool m_snsTopicArnHasBeenSet =
false;
170 bool m_sourceTypeHasBeenSet =
false;
173 bool m_eventCategoriesHasBeenSet =
false;
176 bool m_sourceIdsHasBeenSet =
false;
179 bool m_enabledHasBeenSet =
false;
182 bool m_tagsHasBeenSet =
false;
bool SnsTopicArnHasBeenSet() const
bool TagsHasBeenSet() const
CreateEventSubscriptionRequest & WithSourceType(const Aws::String &value)
void SetSourceType(const Aws::String &value)
void SetEventCategories(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSourceIds() const
virtual const char * GetServiceRequestName() const override
void SetEventCategories(Aws::Vector< Aws::String > &&value)
void SetSourceType(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetSubscriptionName(const char *value)
CreateEventSubscriptionRequest & WithSubscriptionName(const Aws::String &value)
void SetSnsTopicArn(const char *value)
CreateEventSubscriptionRequest & WithSubscriptionName(Aws::String &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
CreateEventSubscriptionRequest & AddEventCategories(const char *value)
void SetSubscriptionName(Aws::String &&value)
const Aws::String & GetSourceType() const
CreateEventSubscriptionRequest & WithSourceIds(const Aws::Vector< Aws::String > &value)
CreateEventSubscriptionRequest & AddEventCategories(Aws::String &&value)
void SetSourceType(const char *value)
CreateEventSubscriptionRequest & WithSourceType(Aws::String &&value)
CreateEventSubscriptionRequest & WithSourceIds(Aws::Vector< Aws::String > &&value)
void SetSourceIds(const Aws::Vector< Aws::String > &value)
void SetSourceIds(Aws::Vector< Aws::String > &&value)
bool EnabledHasBeenSet() const
CreateEventSubscriptionRequest & AddEventCategories(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateEventSubscriptionRequest & AddSourceIds(const Aws::String &value)
CreateEventSubscriptionRequest & WithSnsTopicArn(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_DOCDB_API CreateEventSubscriptionRequest()
CreateEventSubscriptionRequest & AddTags(Tag &&value)
const Aws::String & GetSnsTopicArn() const
void SetSnsTopicArn(const Aws::String &value)
CreateEventSubscriptionRequest & WithSourceType(const char *value)
bool SourceIdsHasBeenSet() const
CreateEventSubscriptionRequest & WithSubscriptionName(const char *value)
CreateEventSubscriptionRequest & WithEnabled(bool value)
CreateEventSubscriptionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateEventSubscriptionRequest & WithEventCategories(const Aws::Vector< Aws::String > &value)
CreateEventSubscriptionRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Aws::String > & GetEventCategories() const
CreateEventSubscriptionRequest & WithSnsTopicArn(Aws::String &&value)
void SetSubscriptionName(const Aws::String &value)
bool SubscriptionNameHasBeenSet() const
const Aws::String & GetSubscriptionName() const
CreateEventSubscriptionRequest & AddSourceIds(Aws::String &&value)
CreateEventSubscriptionRequest & AddTags(const Tag &value)
bool EventCategoriesHasBeenSet() const
CreateEventSubscriptionRequest & WithSnsTopicArn(const Aws::String &value)
void SetSnsTopicArn(Aws::String &&value)
void SetEnabled(bool value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateEventSubscriptionRequest & AddSourceIds(const char *value)
bool SourceTypeHasBeenSet() const
CreateEventSubscriptionRequest & WithEventCategories(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector