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>
15namespace DatabaseMigrationService
49 inline void SetSubscriptionName(
const char* value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName.assign(value); }
65 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
80 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
109 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
115 bool m_subscriptionNameHasBeenSet =
false;
118 bool m_snsTopicArnHasBeenSet =
false;
121 bool m_sourceTypeHasBeenSet =
false;
124 bool m_eventCategoriesHasBeenSet =
false;
127 bool m_enabledHasBeenSet =
false;
ModifyEventSubscriptionRequest & WithSourceType(Aws::String &&value)
void SetSourceType(Aws::String &&value)
void SetSourceType(const Aws::String &value)
ModifyEventSubscriptionRequest & WithEventCategories(const Aws::Vector< Aws::String > &value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
const Aws::String & GetSubscriptionName() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool EnabledHasBeenSet() const
ModifyEventSubscriptionRequest & AddEventCategories(const Aws::String &value)
void SetSubscriptionName(const Aws::String &value)
void SetSnsTopicArn(Aws::String &&value)
ModifyEventSubscriptionRequest & WithEventCategories(Aws::Vector< Aws::String > &&value)
void SetEventCategories(const Aws::Vector< Aws::String > &value)
bool SourceTypeHasBeenSet() const
ModifyEventSubscriptionRequest & WithSubscriptionName(const char *value)
void SetEnabled(bool value)
void SetSourceType(const char *value)
ModifyEventSubscriptionRequest & WithSourceType(const char *value)
virtual const char * GetServiceRequestName() const override
bool SnsTopicArnHasBeenSet() const
ModifyEventSubscriptionRequest & AddEventCategories(const char *value)
void SetSnsTopicArn(const Aws::String &value)
const Aws::String & GetSnsTopicArn() const
ModifyEventSubscriptionRequest & WithSubscriptionName(const Aws::String &value)
ModifyEventSubscriptionRequest & AddEventCategories(Aws::String &&value)
const Aws::String & GetSourceType() const
ModifyEventSubscriptionRequest & WithSnsTopicArn(const Aws::String &value)
bool EventCategoriesHasBeenSet() const
ModifyEventSubscriptionRequest & WithEnabled(bool value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
void SetSubscriptionName(const char *value)
ModifyEventSubscriptionRequest & WithSnsTopicArn(const char *value)
ModifyEventSubscriptionRequest & WithSnsTopicArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
AWS_DATABASEMIGRATIONSERVICE_API ModifyEventSubscriptionRequest()
void SetSnsTopicArn(const char *value)
bool SubscriptionNameHasBeenSet() const
ModifyEventSubscriptionRequest & WithSourceType(const Aws::String &value)
ModifyEventSubscriptionRequest & WithSubscriptionName(Aws::String &&value)
void SetSubscriptionName(Aws::String &&value)
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