7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dms/model/Tag.h>
16namespace DatabaseMigrationService
51 inline void SetSubscriptionName(
const char* value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName.assign(value); }
67 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
85 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
136 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
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;
171 bool m_enabledHasBeenSet =
false;
174 bool m_tagsHasBeenSet =
false;
void SetSourceType(const Aws::String &value)
CreateEventSubscriptionRequest & AddSourceIds(const Aws::String &value)
void SetSourceIds(const Aws::Vector< Aws::String > &value)
void SetSourceType(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool SnsTopicArnHasBeenSet() const
CreateEventSubscriptionRequest & WithSubscriptionName(const Aws::String &value)
bool SourceIdsHasBeenSet() const
void SetSourceType(const char *value)
void SetSubscriptionName(Aws::String &&value)
void SetSubscriptionName(const Aws::String &value)
void SetEnabled(bool value)
AWS_DATABASEMIGRATIONSERVICE_API CreateEventSubscriptionRequest()
void SetTags(Aws::Vector< Tag > &&value)
CreateEventSubscriptionRequest & WithSubscriptionName(Aws::String &&value)
CreateEventSubscriptionRequest & WithSourceIds(const Aws::Vector< Aws::String > &value)
bool EventCategoriesHasBeenSet() const
void SetSourceIds(Aws::Vector< Aws::String > &&value)
CreateEventSubscriptionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateEventSubscriptionRequest & WithSourceType(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetEventCategories(const Aws::Vector< Aws::String > &value)
CreateEventSubscriptionRequest & AddEventCategories(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateEventSubscriptionRequest & AddEventCategories(const char *value)
CreateEventSubscriptionRequest & WithSnsTopicArn(const char *value)
CreateEventSubscriptionRequest & AddTags(const Tag &value)
CreateEventSubscriptionRequest & AddSourceIds(Aws::String &&value)
void SetSubscriptionName(const char *value)
CreateEventSubscriptionRequest & WithSourceType(const char *value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
CreateEventSubscriptionRequest & WithSourceIds(Aws::Vector< Aws::String > &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
CreateEventSubscriptionRequest & WithEventCategories(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
CreateEventSubscriptionRequest & WithSnsTopicArn(Aws::String &&value)
CreateEventSubscriptionRequest & WithEnabled(bool value)
bool TagsHasBeenSet() const
bool SubscriptionNameHasBeenSet() const
CreateEventSubscriptionRequest & WithEventCategories(const Aws::Vector< Aws::String > &value)
CreateEventSubscriptionRequest & WithSubscriptionName(const char *value)
CreateEventSubscriptionRequest & AddEventCategories(Aws::String &&value)
void SetSnsTopicArn(Aws::String &&value)
CreateEventSubscriptionRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEventSubscriptionRequest & AddSourceIds(const char *value)
bool SourceTypeHasBeenSet() const
const Aws::String & GetSnsTopicArn() const
const Aws::Vector< Aws::String > & GetSourceIds() const
CreateEventSubscriptionRequest & AddTags(Tag &&value)
void SetSnsTopicArn(const char *value)
void SetSnsTopicArn(const Aws::String &value)
CreateEventSubscriptionRequest & WithSnsTopicArn(const Aws::String &value)
bool EnabledHasBeenSet() const
const Aws::String & GetSourceType() const
CreateEventSubscriptionRequest & WithSourceType(const Aws::String &value)
const Aws::String & GetSubscriptionName() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector