/**
* 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 RDS event notification subscription.
*/ inline const Aws::String& GetSubscriptionName() const{ return m_subscriptionName; } /** *The name of the RDS event notification subscription.
*/ inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; } /** *The name of the RDS event notification subscription.
*/ inline void SetSubscriptionName(const Aws::String& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = value; } /** *The name of the RDS event notification subscription.
*/ inline void SetSubscriptionName(Aws::String&& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = std::move(value); } /** *The name of the RDS event notification subscription.
*/ inline void SetSubscriptionName(const char* value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName.assign(value); } /** *The name of the RDS event notification subscription.
*/ inline ModifyEventSubscriptionRequest& WithSubscriptionName(const Aws::String& value) { SetSubscriptionName(value); return *this;} /** *The name of the RDS event notification subscription.
*/ inline ModifyEventSubscriptionRequest& WithSubscriptionName(Aws::String&& value) { SetSubscriptionName(std::move(value)); return *this;} /** *The name of the RDS event notification subscription.
*/ inline ModifyEventSubscriptionRequest& WithSubscriptionName(const char* value) { SetSubscriptionName(value); return *this;} /** *The Amazon Resource Name (ARN) of the 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 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 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 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 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 SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline ModifyEventSubscriptionRequest& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline ModifyEventSubscriptionRequest& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the SNS topic created for event * notification. The ARN is created by Amazon SNS when you create a topic and * subscribe to it.
*/ inline ModifyEventSubscriptionRequest& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;} /** *The type of source that is generating the events. For example, if you want to
* be notified of events generated by a DB instance, you would set this parameter
* to db-instance. For RDS Proxy events, specify db-proxy
. If this
* value isn't specified, all events are returned.
Valid values:
* db-instance
| db-cluster
|
* db-parameter-group
| db-security-group
|
* db-snapshot
| db-cluster-snapshot
|
* db-proxy
The type of source that is generating the events. For example, if you want to
* be notified of events generated by a DB instance, you would set this parameter
* to db-instance. For RDS Proxy events, specify db-proxy
. If this
* value isn't specified, all events are returned.
Valid values:
* db-instance
| db-cluster
|
* db-parameter-group
| db-security-group
|
* db-snapshot
| db-cluster-snapshot
|
* db-proxy
The type of source that is generating the events. For example, if you want to
* be notified of events generated by a DB instance, you would set this parameter
* to db-instance. For RDS Proxy events, specify db-proxy
. If this
* value isn't specified, all events are returned.
Valid values:
* db-instance
| db-cluster
|
* db-parameter-group
| db-security-group
|
* db-snapshot
| db-cluster-snapshot
|
* db-proxy
The type of source that is generating the events. For example, if you want to
* be notified of events generated by a DB instance, you would set this parameter
* to db-instance. For RDS Proxy events, specify db-proxy
. If this
* value isn't specified, all events are returned.
Valid values:
* db-instance
| db-cluster
|
* db-parameter-group
| db-security-group
|
* db-snapshot
| db-cluster-snapshot
|
* db-proxy
The type of source that is generating the events. For example, if you want to
* be notified of events generated by a DB instance, you would set this parameter
* to db-instance. For RDS Proxy events, specify db-proxy
. If this
* value isn't specified, all events are returned.
Valid values:
* db-instance
| db-cluster
|
* db-parameter-group
| db-security-group
|
* db-snapshot
| db-cluster-snapshot
|
* db-proxy
The type of source that is generating the events. For example, if you want to
* be notified of events generated by a DB instance, you would set this parameter
* to db-instance. For RDS Proxy events, specify db-proxy
. If this
* value isn't specified, all events are returned.
Valid values:
* db-instance
| db-cluster
|
* db-parameter-group
| db-security-group
|
* db-snapshot
| db-cluster-snapshot
|
* db-proxy
The type of source that is generating the events. For example, if you want to
* be notified of events generated by a DB instance, you would set this parameter
* to db-instance. For RDS Proxy events, specify db-proxy
. If this
* value isn't specified, all events are returned.
Valid values:
* db-instance
| db-cluster
|
* db-parameter-group
| db-security-group
|
* db-snapshot
| db-cluster-snapshot
|
* db-proxy
The type of source that is generating the events. For example, if you want to
* be notified of events generated by a DB instance, you would set this parameter
* to db-instance. For RDS Proxy events, specify db-proxy
. If this
* value isn't specified, all events are returned.
Valid values:
* db-instance
| db-cluster
|
* db-parameter-group
| db-security-group
|
* db-snapshot
| db-cluster-snapshot
|
* db-proxy
A list of event categories for a source type (SourceType
) that
* you want to subscribe to. You can see a list of the categories for a given
* source type in Events
* in the Amazon RDS User Guide or by using the
* DescribeEventCategories
operation.
A list of event categories for a source type (SourceType
) that
* you want to subscribe to. You can see a list of the categories for a given
* source type in Events
* in the Amazon RDS User Guide or by using the
* DescribeEventCategories
operation.
A list of event categories for a source type (SourceType
) that
* you want to subscribe to. You can see a list of the categories for a given
* source type in Events
* in the Amazon RDS User Guide or by using the
* DescribeEventCategories
operation.
A list of event categories for a source type (SourceType
) that
* you want to subscribe to. You can see a list of the categories for a given
* source type in Events
* in the Amazon RDS User Guide or by using the
* DescribeEventCategories
operation.
A list of event categories for a source type (SourceType
) that
* you want to subscribe to. You can see a list of the categories for a given
* source type in Events
* in the Amazon RDS User Guide or by using the
* DescribeEventCategories
operation.
A list of event categories for a source type (SourceType
) that
* you want to subscribe to. You can see a list of the categories for a given
* source type in Events
* in the Amazon RDS User Guide or by using the
* DescribeEventCategories
operation.
A list of event categories for a source type (SourceType
) that
* you want to subscribe to. You can see a list of the categories for a given
* source type in Events
* in the Amazon RDS User Guide or by using the
* DescribeEventCategories
operation.
A list of event categories for a source type (SourceType
) that
* you want to subscribe to. You can see a list of the categories for a given
* source type in Events
* in the Amazon RDS User Guide or by using the
* DescribeEventCategories
operation.
A list of event categories for a source type (SourceType
) that
* you want to subscribe to. You can see a list of the categories for a given
* source type in Events
* in the Amazon RDS User Guide or by using the
* DescribeEventCategories
operation.
A value that indicates whether to activate the subscription.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *A value that indicates whether to activate the subscription.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *A value that indicates whether to activate the subscription.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *A value that indicates whether to activate the subscription.
*/ inline ModifyEventSubscriptionRequest& WithEnabled(bool value) { SetEnabled(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