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>
11#include <aws/dms/model/Tag.h>
16namespace DatabaseMigrationService {
45 template <
typename SubscriptionNameT = Aws::String>
47 m_subscriptionNameHasBeenSet =
true;
48 m_subscriptionName = std::forward<SubscriptionNameT>(value);
50 template <
typename SubscriptionNameT = Aws::String>
65 template <
typename SnsTopicArnT = Aws::String>
67 m_snsTopicArnHasBeenSet =
true;
68 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
70 template <
typename SnsTopicArnT = Aws::String>
87 template <
typename SourceTypeT = Aws::String>
89 m_sourceTypeHasBeenSet =
true;
90 m_sourceType = std::forward<SourceTypeT>(value);
92 template <
typename SourceTypeT = Aws::String>
109 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
111 m_eventCategoriesHasBeenSet =
true;
112 m_eventCategories = std::forward<EventCategoriesT>(value);
114 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
119 template <
typename EventCategoriesT = Aws::String>
121 m_eventCategoriesHasBeenSet =
true;
122 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
137 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
139 m_sourceIdsHasBeenSet =
true;
140 m_sourceIds = std::forward<SourceIdsT>(value);
142 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
147 template <
typename SourceIdsT = Aws::String>
149 m_sourceIdsHasBeenSet =
true;
150 m_sourceIds.emplace_back(std::forward<SourceIdsT>(value));
163 m_enabledHasBeenSet =
true;
178 template <
typename TagsT = Aws::Vector<Tag>>
180 m_tagsHasBeenSet =
true;
181 m_tags = std::forward<TagsT>(value);
183 template <
typename TagsT = Aws::Vector<Tag>>
185 SetTags(std::forward<TagsT>(value));
188 template <
typename TagsT = Tag>
190 m_tagsHasBeenSet =
true;
191 m_tags.emplace_back(std::forward<TagsT>(value));
206 bool m_enabled{
false};
209 bool m_subscriptionNameHasBeenSet =
false;
210 bool m_snsTopicArnHasBeenSet =
false;
211 bool m_sourceTypeHasBeenSet =
false;
212 bool m_eventCategoriesHasBeenSet =
false;
213 bool m_sourceIdsHasBeenSet =
false;
214 bool m_enabledHasBeenSet =
false;
215 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