7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dms/DatabaseMigrationServiceRequest.h>
10#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
15namespace DatabaseMigrationService {
43 template <
typename SubscriptionNameT = Aws::String>
45 m_subscriptionNameHasBeenSet =
true;
46 m_subscriptionName = std::forward<SubscriptionNameT>(value);
48 template <
typename SubscriptionNameT = Aws::String>
63 template <
typename SnsTopicArnT = Aws::String>
65 m_snsTopicArnHasBeenSet =
true;
66 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
68 template <
typename SnsTopicArnT = Aws::String>
82 template <
typename SourceTypeT = Aws::String>
84 m_sourceTypeHasBeenSet =
true;
85 m_sourceType = std::forward<SourceTypeT>(value);
87 template <
typename SourceTypeT = Aws::String>
102 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
104 m_eventCategoriesHasBeenSet =
true;
105 m_eventCategories = std::forward<EventCategoriesT>(value);
107 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
112 template <
typename EventCategoriesT = Aws::String>
114 m_eventCategoriesHasBeenSet =
true;
115 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
127 m_enabledHasBeenSet =
true;
144 bool m_enabled{
false};
145 bool m_subscriptionNameHasBeenSet =
false;
146 bool m_snsTopicArnHasBeenSet =
false;
147 bool m_sourceTypeHasBeenSet =
false;
148 bool m_eventCategoriesHasBeenSet =
false;
149 bool m_enabledHasBeenSet =
false;
void SetSubscriptionName(SubscriptionNameT &&value)
const Aws::String & GetSubscriptionName() const
ModifyEventSubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
void SetEventCategories(EventCategoriesT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool EnabledHasBeenSet() const
ModifyEventSubscriptionRequest & WithSnsTopicArn(SnsTopicArnT &&value)
bool SourceTypeHasBeenSet() const
void SetEnabled(bool value)
ModifyEventSubscriptionRequest & WithEventCategories(EventCategoriesT &&value)
virtual const char * GetServiceRequestName() const override
void SetSourceType(SourceTypeT &&value)
bool SnsTopicArnHasBeenSet() const
void SetSnsTopicArn(SnsTopicArnT &&value)
const Aws::String & GetSnsTopicArn() const
AWS_DATABASEMIGRATIONSERVICE_API ModifyEventSubscriptionRequest()=default
const Aws::String & GetSourceType() const
bool EventCategoriesHasBeenSet() const
ModifyEventSubscriptionRequest & WithEnabled(bool value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ModifyEventSubscriptionRequest & AddEventCategories(EventCategoriesT &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
bool SubscriptionNameHasBeenSet() const
ModifyEventSubscriptionRequest & WithSourceType(SourceTypeT &&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