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
49 template<
typename SubscriptionNameT = Aws::String>
50 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
51 template<
typename SubscriptionNameT = Aws::String>
63 template<
typename SnsTopicArnT = Aws::String>
64 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
65 template<
typename SnsTopicArnT = Aws::String>
79 template<
typename SourceTypeT = Aws::String>
80 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
81 template<
typename SourceTypeT = Aws::String>
95 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
96 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
97 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
99 template<
typename EventCategoriesT = Aws::String>
113 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
114 void SetSourceIds(SourceIdsT&& value) { m_sourceIdsHasBeenSet =
true; m_sourceIds = std::forward<SourceIdsT>(value); }
115 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
117 template<
typename SourceIdsT = Aws::String>
128 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
138 template<
typename TagsT = Aws::Vector<Tag>>
139 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
140 template<
typename TagsT = Aws::Vector<Tag>>
142 template<
typename TagsT = Tag>
148 bool m_subscriptionNameHasBeenSet =
false;
151 bool m_snsTopicArnHasBeenSet =
false;
154 bool m_sourceTypeHasBeenSet =
false;
157 bool m_eventCategoriesHasBeenSet =
false;
160 bool m_sourceIdsHasBeenSet =
false;
162 bool m_enabled{
false};
163 bool m_enabledHasBeenSet =
false;
166 bool m_tagsHasBeenSet =
false;
CreateEventSubscriptionRequest & WithTags(TagsT &&value)
CreateEventSubscriptionRequest & AddTags(TagsT &&value)
CreateEventSubscriptionRequest & AddEventCategories(EventCategoriesT &&value)
virtual const char * GetServiceRequestName() const override
bool SnsTopicArnHasBeenSet() const
bool SourceIdsHasBeenSet() const
void SetEnabled(bool value)
CreateEventSubscriptionRequest & WithSnsTopicArn(SnsTopicArnT &&value)
bool EventCategoriesHasBeenSet() const
void SetSourceIds(SourceIdsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API CreateEventSubscriptionRequest()=default
const Aws::Vector< Tag > & GetTags() const
void SetTags(TagsT &&value)
CreateEventSubscriptionRequest & WithEventCategories(EventCategoriesT &&value)
CreateEventSubscriptionRequest & WithSourceIds(SourceIdsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetEventCategories() const
CreateEventSubscriptionRequest & WithEnabled(bool value)
bool TagsHasBeenSet() const
bool SubscriptionNameHasBeenSet() const
void SetSubscriptionName(SubscriptionNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSnsTopicArn(SnsTopicArnT &&value)
bool SourceTypeHasBeenSet() const
const Aws::String & GetSnsTopicArn() const
const Aws::Vector< Aws::String > & GetSourceIds() const
CreateEventSubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
CreateEventSubscriptionRequest & AddSourceIds(SourceIdsT &&value)
void SetSourceType(SourceTypeT &&value)
bool EnabledHasBeenSet() const
const Aws::String & GetSourceType() const
void SetEventCategories(EventCategoriesT &&value)
CreateEventSubscriptionRequest & WithSourceType(SourceTypeT &&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