7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
20namespace DatabaseMigrationService {
43 template <
typename CustomerAwsIdT = Aws::String>
45 m_customerAwsIdHasBeenSet =
true;
46 m_customerAwsId = std::forward<CustomerAwsIdT>(value);
48 template <
typename CustomerAwsIdT = Aws::String>
61 template <
typename CustSubscriptionIdT = Aws::String>
63 m_custSubscriptionIdHasBeenSet =
true;
64 m_custSubscriptionId = std::forward<CustSubscriptionIdT>(value);
66 template <
typename CustSubscriptionIdT = Aws::String>
79 template <
typename SnsTopicArnT = Aws::String>
81 m_snsTopicArnHasBeenSet =
true;
82 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
84 template <
typename SnsTopicArnT = Aws::String>
102 template <
typename StatusT = Aws::String>
104 m_statusHasBeenSet =
true;
105 m_status = std::forward<StatusT>(value);
107 template <
typename StatusT = Aws::String>
120 template <
typename SubscriptionCreationTimeT = Aws::String>
122 m_subscriptionCreationTimeHasBeenSet =
true;
123 m_subscriptionCreationTime = std::forward<SubscriptionCreationTimeT>(value);
125 template <
typename SubscriptionCreationTimeT = Aws::String>
140 template <
typename SourceTypeT = Aws::String>
142 m_sourceTypeHasBeenSet =
true;
143 m_sourceType = std::forward<SourceTypeT>(value);
145 template <
typename SourceTypeT = Aws::String>
158 template <
typename SourceIdsListT = Aws::Vector<Aws::String>>
160 m_sourceIdsListHasBeenSet =
true;
161 m_sourceIdsList = std::forward<SourceIdsListT>(value);
163 template <
typename SourceIdsListT = Aws::Vector<Aws::String>>
168 template <
typename SourceIdsListT = Aws::String>
170 m_sourceIdsListHasBeenSet =
true;
171 m_sourceIdsList.emplace_back(std::forward<SourceIdsListT>(value));
182 template <
typename EventCategoriesListT = Aws::Vector<Aws::String>>
184 m_eventCategoriesListHasBeenSet =
true;
185 m_eventCategoriesList = std::forward<EventCategoriesListT>(value);
187 template <
typename EventCategoriesListT = Aws::Vector<Aws::String>>
192 template <
typename EventCategoriesListT = Aws::String>
194 m_eventCategoriesListHasBeenSet =
true;
195 m_eventCategoriesList.emplace_back(std::forward<EventCategoriesListT>(value));
207 m_enabledHasBeenSet =
true;
232 bool m_enabled{
false};
233 bool m_customerAwsIdHasBeenSet =
false;
234 bool m_custSubscriptionIdHasBeenSet =
false;
235 bool m_snsTopicArnHasBeenSet =
false;
236 bool m_statusHasBeenSet =
false;
237 bool m_subscriptionCreationTimeHasBeenSet =
false;
238 bool m_sourceTypeHasBeenSet =
false;
239 bool m_sourceIdsListHasBeenSet =
false;
240 bool m_eventCategoriesListHasBeenSet =
false;
241 bool m_enabledHasBeenSet =
false;
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EventCategoriesListHasBeenSet() const
bool SourceIdsListHasBeenSet() const
bool EnabledHasBeenSet() const
const Aws::String & GetStatus() const
void SetEventCategoriesList(EventCategoriesListT &&value)
void SetCustomerAwsId(CustomerAwsIdT &&value)
void SetSubscriptionCreationTime(SubscriptionCreationTimeT &&value)
void SetSnsTopicArn(SnsTopicArnT &&value)
EventSubscription & WithEnabled(bool value)
void SetCustSubscriptionId(CustSubscriptionIdT &&value)
EventSubscription & WithSourceIdsList(SourceIdsListT &&value)
const Aws::String & GetSubscriptionCreationTime() const
EventSubscription & AddEventCategoriesList(EventCategoriesListT &&value)
void SetStatus(StatusT &&value)
bool StatusHasBeenSet() const
bool SnsTopicArnHasBeenSet() const
EventSubscription & WithSnsTopicArn(SnsTopicArnT &&value)
AWS_DATABASEMIGRATIONSERVICE_API EventSubscription(Aws::Utils::Json::JsonView jsonValue)
bool CustSubscriptionIdHasBeenSet() const
void SetSourceType(SourceTypeT &&value)
EventSubscription & WithStatus(StatusT &&value)
EventSubscription & AddSourceIdsList(SourceIdsListT &&value)
void SetEnabled(bool value)
AWS_DATABASEMIGRATIONSERVICE_API EventSubscription()=default
EventSubscription & WithCustomerAwsId(CustomerAwsIdT &&value)
AWS_DATABASEMIGRATIONSERVICE_API EventSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSourceIdsList() const
EventSubscription & WithCustSubscriptionId(CustSubscriptionIdT &&value)
const Aws::String & GetCustomerAwsId() const
bool SourceTypeHasBeenSet() const
EventSubscription & WithEventCategoriesList(EventCategoriesListT &&value)
const Aws::String & GetSourceType() const
const Aws::String & GetSnsTopicArn() const
const Aws::String & GetCustSubscriptionId() const
bool CustomerAwsIdHasBeenSet() const
bool SubscriptionCreationTimeHasBeenSet() const
EventSubscription & WithSourceType(SourceTypeT &&value)
const Aws::Vector< Aws::String > & GetEventCategoriesList() const
void SetSourceIdsList(SourceIdsListT &&value)
EventSubscription & WithSubscriptionCreationTime(SubscriptionCreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue