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
47 template<
typename SubscriptionNameT = Aws::String>
48 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
49 template<
typename SubscriptionNameT = Aws::String>
61 template<
typename SnsTopicArnT = Aws::String>
62 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
63 template<
typename SnsTopicArnT = Aws::String>
74 template<
typename SourceTypeT = Aws::String>
75 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
76 template<
typename SourceTypeT = Aws::String>
88 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
89 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
90 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
92 template<
typename EventCategoriesT = Aws::String>
102 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
108 bool m_subscriptionNameHasBeenSet =
false;
111 bool m_snsTopicArnHasBeenSet =
false;
114 bool m_sourceTypeHasBeenSet =
false;
117 bool m_eventCategoriesHasBeenSet =
false;
119 bool m_enabled{
false};
120 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