/**
* 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 modified Amazon Redshift event notification subscription.
*/ inline const Aws::String& GetSubscriptionName() const{ return m_subscriptionName; } /** *The name of the modified Amazon Redshift event notification subscription.
*/ inline bool SubscriptionNameHasBeenSet() const { return m_subscriptionNameHasBeenSet; } /** *The name of the modified Amazon Redshift event notification subscription.
*/ inline void SetSubscriptionName(const Aws::String& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = value; } /** *The name of the modified Amazon Redshift event notification subscription.
*/ inline void SetSubscriptionName(Aws::String&& value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName = std::move(value); } /** *The name of the modified Amazon Redshift event notification subscription.
*/ inline void SetSubscriptionName(const char* value) { m_subscriptionNameHasBeenSet = true; m_subscriptionName.assign(value); } /** *The name of the modified Amazon Redshift event notification subscription.
*/ inline ModifyEventSubscriptionRequest& WithSubscriptionName(const Aws::String& value) { SetSubscriptionName(value); return *this;} /** *The name of the modified Amazon Redshift event notification subscription.
*/ inline ModifyEventSubscriptionRequest& WithSubscriptionName(Aws::String&& value) { SetSubscriptionName(std::move(value)); return *this;} /** *The name of the modified Amazon Redshift event notification subscription.
*/ inline ModifyEventSubscriptionRequest& WithSubscriptionName(const char* value) { SetSubscriptionName(value); return *this;} /** *The Amazon Resource Name (ARN) of the SNS topic to be used by the event * notification subscription.
*/ inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; } /** *The Amazon Resource Name (ARN) of the SNS topic to be used by the event * notification subscription.
*/ inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the SNS topic to be used by the event * notification subscription.
*/ inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; } /** *The Amazon Resource Name (ARN) of the SNS topic to be used by the event * notification subscription.
*/ inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the SNS topic to be used by the event * notification subscription.
*/ inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); } /** *The Amazon Resource Name (ARN) of the SNS topic to be used by the event * notification subscription.
*/ inline ModifyEventSubscriptionRequest& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the SNS topic to be used by the event * notification subscription.
*/ inline ModifyEventSubscriptionRequest& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the SNS topic to be used by the event * notification subscription.
*/ inline ModifyEventSubscriptionRequest& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;} /** *The type of source that will be generating the events. For example, if you * want to be notified of events generated by a cluster, you would set this * parameter to cluster. If this value is not specified, events are returned for * all Amazon Redshift objects in your Amazon Web Services account. You must * specify a source type in order to specify source IDs.
Valid values: * cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and * scheduled-action.
*/ inline const Aws::String& GetSourceType() const{ return m_sourceType; } /** *The type of source that will be generating the events. For example, if you * want to be notified of events generated by a cluster, you would set this * parameter to cluster. If this value is not specified, events are returned for * all Amazon Redshift objects in your Amazon Web Services account. You must * specify a source type in order to specify source IDs.
Valid values: * cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and * scheduled-action.
*/ inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; } /** *The type of source that will be generating the events. For example, if you * want to be notified of events generated by a cluster, you would set this * parameter to cluster. If this value is not specified, events are returned for * all Amazon Redshift objects in your Amazon Web Services account. You must * specify a source type in order to specify source IDs.
Valid values: * cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and * scheduled-action.
*/ inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; } /** *The type of source that will be generating the events. For example, if you * want to be notified of events generated by a cluster, you would set this * parameter to cluster. If this value is not specified, events are returned for * all Amazon Redshift objects in your Amazon Web Services account. You must * specify a source type in order to specify source IDs.
Valid values: * cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and * scheduled-action.
*/ inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); } /** *The type of source that will be generating the events. For example, if you * want to be notified of events generated by a cluster, you would set this * parameter to cluster. If this value is not specified, events are returned for * all Amazon Redshift objects in your Amazon Web Services account. You must * specify a source type in order to specify source IDs.
Valid values: * cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and * scheduled-action.
*/ inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); } /** *The type of source that will be generating the events. For example, if you * want to be notified of events generated by a cluster, you would set this * parameter to cluster. If this value is not specified, events are returned for * all Amazon Redshift objects in your Amazon Web Services account. You must * specify a source type in order to specify source IDs.
Valid values: * cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and * scheduled-action.
*/ inline ModifyEventSubscriptionRequest& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;} /** *The type of source that will be generating the events. For example, if you * want to be notified of events generated by a cluster, you would set this * parameter to cluster. If this value is not specified, events are returned for * all Amazon Redshift objects in your Amazon Web Services account. You must * specify a source type in order to specify source IDs.
Valid values: * cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and * scheduled-action.
*/ inline ModifyEventSubscriptionRequest& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;} /** *The type of source that will be generating the events. For example, if you * want to be notified of events generated by a cluster, you would set this * parameter to cluster. If this value is not specified, events are returned for * all Amazon Redshift objects in your Amazon Web Services account. You must * specify a source type in order to specify source IDs.
Valid values: * cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and * scheduled-action.
*/ inline ModifyEventSubscriptionRequest& WithSourceType(const char* value) { SetSourceType(value); return *this;} /** *A list of one or more identifiers of Amazon Redshift source objects. All of * the objects must be of the same type as was specified in the source type * parameter. The event subscription will return only events generated by the * specified objects. If not specified, then events are returned for all objects * within the source type specified.
Example: my-cluster-1, my-cluster-2
*Example: my-snapshot-20131010
*/ inline const Aws::VectorA list of one or more identifiers of Amazon Redshift source objects. All of * the objects must be of the same type as was specified in the source type * parameter. The event subscription will return only events generated by the * specified objects. If not specified, then events are returned for all objects * within the source type specified.
Example: my-cluster-1, my-cluster-2
*Example: my-snapshot-20131010
*/ inline bool SourceIdsHasBeenSet() const { return m_sourceIdsHasBeenSet; } /** *A list of one or more identifiers of Amazon Redshift source objects. All of * the objects must be of the same type as was specified in the source type * parameter. The event subscription will return only events generated by the * specified objects. If not specified, then events are returned for all objects * within the source type specified.
Example: my-cluster-1, my-cluster-2
*Example: my-snapshot-20131010
*/ inline void SetSourceIds(const Aws::VectorA list of one or more identifiers of Amazon Redshift source objects. All of * the objects must be of the same type as was specified in the source type * parameter. The event subscription will return only events generated by the * specified objects. If not specified, then events are returned for all objects * within the source type specified.
Example: my-cluster-1, my-cluster-2
*Example: my-snapshot-20131010
*/ inline void SetSourceIds(Aws::VectorA list of one or more identifiers of Amazon Redshift source objects. All of * the objects must be of the same type as was specified in the source type * parameter. The event subscription will return only events generated by the * specified objects. If not specified, then events are returned for all objects * within the source type specified.
Example: my-cluster-1, my-cluster-2
*Example: my-snapshot-20131010
*/ inline ModifyEventSubscriptionRequest& WithSourceIds(const Aws::VectorA list of one or more identifiers of Amazon Redshift source objects. All of * the objects must be of the same type as was specified in the source type * parameter. The event subscription will return only events generated by the * specified objects. If not specified, then events are returned for all objects * within the source type specified.
Example: my-cluster-1, my-cluster-2
*Example: my-snapshot-20131010
*/ inline ModifyEventSubscriptionRequest& WithSourceIds(Aws::VectorA list of one or more identifiers of Amazon Redshift source objects. All of * the objects must be of the same type as was specified in the source type * parameter. The event subscription will return only events generated by the * specified objects. If not specified, then events are returned for all objects * within the source type specified.
Example: my-cluster-1, my-cluster-2
*Example: my-snapshot-20131010
*/ inline ModifyEventSubscriptionRequest& AddSourceIds(const Aws::String& value) { m_sourceIdsHasBeenSet = true; m_sourceIds.push_back(value); return *this; } /** *A list of one or more identifiers of Amazon Redshift source objects. All of * the objects must be of the same type as was specified in the source type * parameter. The event subscription will return only events generated by the * specified objects. If not specified, then events are returned for all objects * within the source type specified.
Example: my-cluster-1, my-cluster-2
*Example: my-snapshot-20131010
*/ inline ModifyEventSubscriptionRequest& AddSourceIds(Aws::String&& value) { m_sourceIdsHasBeenSet = true; m_sourceIds.push_back(std::move(value)); return *this; } /** *A list of one or more identifiers of Amazon Redshift source objects. All of * the objects must be of the same type as was specified in the source type * parameter. The event subscription will return only events generated by the * specified objects. If not specified, then events are returned for all objects * within the source type specified.
Example: my-cluster-1, my-cluster-2
*Example: my-snapshot-20131010
*/ inline ModifyEventSubscriptionRequest& AddSourceIds(const char* value) { m_sourceIdsHasBeenSet = true; m_sourceIds.push_back(value); return *this; } /** *Specifies the Amazon Redshift event categories to be published by the event * notification subscription.
Values: configuration, management, monitoring, * security, pending
*/ inline const Aws::VectorSpecifies the Amazon Redshift event categories to be published by the event * notification subscription.
Values: configuration, management, monitoring, * security, pending
*/ inline bool EventCategoriesHasBeenSet() const { return m_eventCategoriesHasBeenSet; } /** *Specifies the Amazon Redshift event categories to be published by the event * notification subscription.
Values: configuration, management, monitoring, * security, pending
*/ inline void SetEventCategories(const Aws::VectorSpecifies the Amazon Redshift event categories to be published by the event * notification subscription.
Values: configuration, management, monitoring, * security, pending
*/ inline void SetEventCategories(Aws::VectorSpecifies the Amazon Redshift event categories to be published by the event * notification subscription.
Values: configuration, management, monitoring, * security, pending
*/ inline ModifyEventSubscriptionRequest& WithEventCategories(const Aws::VectorSpecifies the Amazon Redshift event categories to be published by the event * notification subscription.
Values: configuration, management, monitoring, * security, pending
*/ inline ModifyEventSubscriptionRequest& WithEventCategories(Aws::VectorSpecifies the Amazon Redshift event categories to be published by the event * notification subscription.
Values: configuration, management, monitoring, * security, pending
*/ inline ModifyEventSubscriptionRequest& AddEventCategories(const Aws::String& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; } /** *Specifies the Amazon Redshift event categories to be published by the event * notification subscription.
Values: configuration, management, monitoring, * security, pending
*/ inline ModifyEventSubscriptionRequest& AddEventCategories(Aws::String&& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(std::move(value)); return *this; } /** *Specifies the Amazon Redshift event categories to be published by the event * notification subscription.
Values: configuration, management, monitoring, * security, pending
*/ inline ModifyEventSubscriptionRequest& AddEventCategories(const char* value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; } /** *Specifies the Amazon Redshift event severity to be published by the event * notification subscription.
Values: ERROR, INFO
*/ inline const Aws::String& GetSeverity() const{ return m_severity; } /** *Specifies the Amazon Redshift event severity to be published by the event * notification subscription.
Values: ERROR, INFO
*/ inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } /** *Specifies the Amazon Redshift event severity to be published by the event * notification subscription.
Values: ERROR, INFO
*/ inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; } /** *Specifies the Amazon Redshift event severity to be published by the event * notification subscription.
Values: ERROR, INFO
*/ inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } /** *Specifies the Amazon Redshift event severity to be published by the event * notification subscription.
Values: ERROR, INFO
*/ inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); } /** *Specifies the Amazon Redshift event severity to be published by the event * notification subscription.
Values: ERROR, INFO
*/ inline ModifyEventSubscriptionRequest& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;} /** *Specifies the Amazon Redshift event severity to be published by the event * notification subscription.
Values: ERROR, INFO
*/ inline ModifyEventSubscriptionRequest& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;} /** *Specifies the Amazon Redshift event severity to be published by the event * notification subscription.
Values: ERROR, INFO
*/ inline ModifyEventSubscriptionRequest& WithSeverity(const char* value) { SetSeverity(value); return *this;} /** *A Boolean value indicating if the subscription is enabled. true
* indicates the subscription is enabled
A Boolean value indicating if the subscription is enabled. true
* indicates the subscription is enabled
A Boolean value indicating if the subscription is enabled. true
* indicates the subscription is enabled
A Boolean value indicating if the subscription is enabled. true
* indicates the subscription is enabled