/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The name of the DMS event notification subscription. This name must be less * than 255 characters.
*/ inline const Aws::String& GetSubscriptionName() const{ return m_subscriptionName; } /** *The name of the DMS event notification subscription. This name must be less * than 255 characters.
*/ inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; } /** *The name of the DMS event notification subscription. This name must be less * than 255 characters.
*/ inline void SetSubscriptionName(const Aws::String& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = value; } /** *The name of the DMS event notification subscription. This name must be less * than 255 characters.
*/ inline void SetSubscriptionName(Aws::String&& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = std::move(value); } /** *The name of the DMS event notification subscription. This name must be less * than 255 characters.
*/ inline void SetSubscriptionName(const char* value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName.assign(value); } /** *The name of the DMS event notification subscription. This name must be less * than 255 characters.
*/ inline CreateEventSubscriptionRequest& WithSubscriptionName(const Aws::String& value) { SetSubscriptionName(value); return *this;} /** *The name of the DMS event notification subscription. This name must be less * than 255 characters.
*/ inline CreateEventSubscriptionRequest& WithSubscriptionName(Aws::String&& value) { SetSubscriptionName(std::move(value)); return *this;} /** *The name of the DMS event notification subscription. This name must be less * than 255 characters.
*/ inline CreateEventSubscriptionRequest& WithSubscriptionName(const char* value) { SetSubscriptionName(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline CreateEventSubscriptionRequest& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline CreateEventSubscriptionRequest& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline CreateEventSubscriptionRequest& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;} /** * The type of DMS resource that generates the events. For example, if you want
* to be notified of events generated by a replication instance, you set this
* parameter to replication-instance
. If this value isn't specified,
* all events are returned.
Valid values: replication-instance
* | replication-task
The type of DMS resource that generates the events. For example, if you want
* to be notified of events generated by a replication instance, you set this
* parameter to replication-instance
. If this value isn't specified,
* all events are returned.
Valid values: replication-instance
* | replication-task
The type of DMS resource that generates the events. For example, if you want
* to be notified of events generated by a replication instance, you set this
* parameter to replication-instance
. If this value isn't specified,
* all events are returned.
Valid values: replication-instance
* | replication-task
The type of DMS resource that generates the events. For example, if you want
* to be notified of events generated by a replication instance, you set this
* parameter to replication-instance
. If this value isn't specified,
* all events are returned.
Valid values: replication-instance
* | replication-task
The type of DMS resource that generates the events. For example, if you want
* to be notified of events generated by a replication instance, you set this
* parameter to replication-instance
. If this value isn't specified,
* all events are returned.
Valid values: replication-instance
* | replication-task
The type of DMS resource that generates the events. For example, if you want
* to be notified of events generated by a replication instance, you set this
* parameter to replication-instance
. If this value isn't specified,
* all events are returned.
Valid values: replication-instance
* | replication-task
The type of DMS resource that generates the events. For example, if you want
* to be notified of events generated by a replication instance, you set this
* parameter to replication-instance
. If this value isn't specified,
* all events are returned.
Valid values: replication-instance
* | replication-task
The type of DMS resource that generates the events. For example, if you want
* to be notified of events generated by a replication instance, you set this
* parameter to replication-instance
. If this value isn't specified,
* all events are returned.
Valid values: replication-instance
* | replication-task
A list of event categories for a source type that you want to subscribe to. * For more information, see Working * with Events and Notifications in the Database Migration Service User * Guide.
*/ inline const Aws::VectorA list of event categories for a source type that you want to subscribe to. * For more information, see Working * with Events and Notifications in the Database Migration Service User * Guide.
*/ inline bool EventCategoriesHasBeenSet() const { return m_eventCategoriesHasBeenSet; } /** *A list of event categories for a source type that you want to subscribe to. * For more information, see Working * with Events and Notifications in the Database Migration Service User * Guide.
*/ inline void SetEventCategories(const Aws::VectorA list of event categories for a source type that you want to subscribe to. * For more information, see Working * with Events and Notifications in the Database Migration Service User * Guide.
*/ inline void SetEventCategories(Aws::VectorA list of event categories for a source type that you want to subscribe to. * For more information, see Working * with Events and Notifications in the Database Migration Service User * Guide.
*/ inline CreateEventSubscriptionRequest& WithEventCategories(const Aws::VectorA list of event categories for a source type that you want to subscribe to. * For more information, see Working * with Events and Notifications in the Database Migration Service User * Guide.
*/ inline CreateEventSubscriptionRequest& WithEventCategories(Aws::VectorA list of event categories for a source type that you want to subscribe to. * For more information, see Working * with Events and Notifications in the Database Migration Service User * Guide.
*/ inline CreateEventSubscriptionRequest& AddEventCategories(const Aws::String& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; } /** *A list of event categories for a source type that you want to subscribe to. * For more information, see Working * with Events and Notifications in the Database Migration Service User * Guide.
*/ inline CreateEventSubscriptionRequest& AddEventCategories(Aws::String&& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(std::move(value)); return *this; } /** *A list of event categories for a source type that you want to subscribe to. * For more information, see Working * with Events and Notifications in the Database Migration Service User * Guide.
*/ inline CreateEventSubscriptionRequest& AddEventCategories(const char* value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; } /** *A list of identifiers for which DMS provides notification events.
If * you don't specify a value, notifications are provided for all sources.
If * you specify multiple values, they must be of the same type. For example, if you * specify a database instance ID, then all of the other values must be database * instance IDs.
*/ inline const Aws::VectorA list of identifiers for which DMS provides notification events.
If * you don't specify a value, notifications are provided for all sources.
If * you specify multiple values, they must be of the same type. For example, if you * specify a database instance ID, then all of the other values must be database * instance IDs.
*/ inline bool SourceIdsHasBeenSet() const { return m_sourceIdsHasBeenSet; } /** *A list of identifiers for which DMS provides notification events.
If * you don't specify a value, notifications are provided for all sources.
If * you specify multiple values, they must be of the same type. For example, if you * specify a database instance ID, then all of the other values must be database * instance IDs.
*/ inline void SetSourceIds(const Aws::VectorA list of identifiers for which DMS provides notification events.
If * you don't specify a value, notifications are provided for all sources.
If * you specify multiple values, they must be of the same type. For example, if you * specify a database instance ID, then all of the other values must be database * instance IDs.
*/ inline void SetSourceIds(Aws::VectorA list of identifiers for which DMS provides notification events.
If * you don't specify a value, notifications are provided for all sources.
If * you specify multiple values, they must be of the same type. For example, if you * specify a database instance ID, then all of the other values must be database * instance IDs.
*/ inline CreateEventSubscriptionRequest& WithSourceIds(const Aws::VectorA list of identifiers for which DMS provides notification events.
If * you don't specify a value, notifications are provided for all sources.
If * you specify multiple values, they must be of the same type. For example, if you * specify a database instance ID, then all of the other values must be database * instance IDs.
*/ inline CreateEventSubscriptionRequest& WithSourceIds(Aws::VectorA list of identifiers for which DMS provides notification events.
If * you don't specify a value, notifications are provided for all sources.
If * you specify multiple values, they must be of the same type. For example, if you * specify a database instance ID, then all of the other values must be database * instance IDs.
*/ inline CreateEventSubscriptionRequest& AddSourceIds(const Aws::String& value) { m_sourceIdsHasBeenSet = true; m_sourceIds.push_back(value); return *this; } /** *A list of identifiers for which DMS provides notification events.
If * you don't specify a value, notifications are provided for all sources.
If * you specify multiple values, they must be of the same type. For example, if you * specify a database instance ID, then all of the other values must be database * instance IDs.
*/ inline CreateEventSubscriptionRequest& AddSourceIds(Aws::String&& value) { m_sourceIdsHasBeenSet = true; m_sourceIds.push_back(std::move(value)); return *this; } /** *A list of identifiers for which DMS provides notification events.
If * you don't specify a value, notifications are provided for all sources.
If * you specify multiple values, they must be of the same type. For example, if you * specify a database instance ID, then all of the other values must be database * instance IDs.
*/ inline CreateEventSubscriptionRequest& AddSourceIds(const char* value) { m_sourceIdsHasBeenSet = true; m_sourceIds.push_back(value); return *this; } /** * A Boolean value; set to true
to activate the subscription, or
* set to false
to create the subscription but not activate it.
A Boolean value; set to true
to activate the subscription, or
* set to false
to create the subscription but not activate it.
A Boolean value; set to true
to activate the subscription, or
* set to false
to create the subscription but not activate it.
A Boolean value; set to true
to activate the subscription, or
* set to false
to create the subscription but not activate it.
One or more tags to be assigned to the event subscription.
*/ inline const Aws::VectorOne or more tags to be assigned to the event subscription.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *One or more tags to be assigned to the event subscription.
*/ inline void SetTags(const Aws::VectorOne or more tags to be assigned to the event subscription.
*/ inline void SetTags(Aws::VectorOne or more tags to be assigned to the event subscription.
*/ inline CreateEventSubscriptionRequest& WithTags(const Aws::VectorOne or more tags to be assigned to the event subscription.
*/ inline CreateEventSubscriptionRequest& WithTags(Aws::VectorOne or more tags to be assigned to the event subscription.
*/ inline CreateEventSubscriptionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *One or more tags to be assigned to the event subscription.
*/ inline CreateEventSubscriptionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_subscriptionName; bool m_subscriptionNameHasBeenSet = false; Aws::String m_snsTopicArn; bool m_snsTopicArnHasBeenSet = false; Aws::String m_sourceType; bool m_sourceTypeHasBeenSet = false; Aws::Vector