/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the event destination that the specified email
* sending events will be published to. When you create or update an
* event destination, you must provide one, and only one, destination. The
* destination can be Amazon CloudWatch, Amazon Kinesis Firehose or Amazon Simple
* Notification Service (Amazon SNS). Event destinations are
* associated with configuration sets, which enable you to publish email sending
* events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple
* Notification Service (Amazon SNS). For information about using configuration
* sets, see the Amazon
* SES Developer Guide.See Also:
AWS
* API Reference
The name of the event destination. The name must:
This value * can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or * dashes (-).
Contain less than 64 characters.
The name of the event destination. The name must:
This value * can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or * dashes (-).
Contain less than 64 characters.
The name of the event destination. The name must:
This value * can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or * dashes (-).
Contain less than 64 characters.
The name of the event destination. The name must:
This value * can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or * dashes (-).
Contain less than 64 characters.
The name of the event destination. The name must:
This value * can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or * dashes (-).
Contain less than 64 characters.
The name of the event destination. The name must:
This value * can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or * dashes (-).
Contain less than 64 characters.
The name of the event destination. The name must:
This value * can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or * dashes (-).
Contain less than 64 characters.
The name of the event destination. The name must:
This value * can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or * dashes (-).
Contain less than 64 characters.
Sets whether Amazon SES publishes events to this destination when you send an
* email with the associated configuration set. Set to true
to enable
* publishing to this destination; set to false
to prevent publishing
* to this destination. The default value is false
.
Sets whether Amazon SES publishes events to this destination when you send an
* email with the associated configuration set. Set to true
to enable
* publishing to this destination; set to false
to prevent publishing
* to this destination. The default value is false
.
Sets whether Amazon SES publishes events to this destination when you send an
* email with the associated configuration set. Set to true
to enable
* publishing to this destination; set to false
to prevent publishing
* to this destination. The default value is false
.
Sets whether Amazon SES publishes events to this destination when you send an
* email with the associated configuration set. Set to true
to enable
* publishing to this destination; set to false
to prevent publishing
* to this destination. The default value is false
.
The type of email sending events to publish to the event destination.
*/ inline const Aws::VectorThe type of email sending events to publish to the event destination.
*/ inline bool MatchingEventTypesHasBeenSet() const { return m_matchingEventTypesHasBeenSet; } /** *The type of email sending events to publish to the event destination.
*/ inline void SetMatchingEventTypes(const Aws::VectorThe type of email sending events to publish to the event destination.
*/ inline void SetMatchingEventTypes(Aws::VectorThe type of email sending events to publish to the event destination.
*/ inline EventDestination& WithMatchingEventTypes(const Aws::VectorThe type of email sending events to publish to the event destination.
*/ inline EventDestination& WithMatchingEventTypes(Aws::VectorThe type of email sending events to publish to the event destination.
*/ inline EventDestination& AddMatchingEventTypes(const EventType& value) { m_matchingEventTypesHasBeenSet = true; m_matchingEventTypes.push_back(value); return *this; } /** *The type of email sending events to publish to the event destination.
*/ inline EventDestination& AddMatchingEventTypes(EventType&& value) { m_matchingEventTypesHasBeenSet = true; m_matchingEventTypes.push_back(std::move(value)); return *this; } /** *An object that contains the delivery stream ARN and the IAM role ARN * associated with an Amazon Kinesis Firehose event destination.
*/ inline const KinesisFirehoseDestination& GetKinesisFirehoseDestination() const{ return m_kinesisFirehoseDestination; } /** *An object that contains the delivery stream ARN and the IAM role ARN * associated with an Amazon Kinesis Firehose event destination.
*/ inline bool KinesisFirehoseDestinationHasBeenSet() const { return m_kinesisFirehoseDestinationHasBeenSet; } /** *An object that contains the delivery stream ARN and the IAM role ARN * associated with an Amazon Kinesis Firehose event destination.
*/ inline void SetKinesisFirehoseDestination(const KinesisFirehoseDestination& value) { m_kinesisFirehoseDestinationHasBeenSet = true; m_kinesisFirehoseDestination = value; } /** *An object that contains the delivery stream ARN and the IAM role ARN * associated with an Amazon Kinesis Firehose event destination.
*/ inline void SetKinesisFirehoseDestination(KinesisFirehoseDestination&& value) { m_kinesisFirehoseDestinationHasBeenSet = true; m_kinesisFirehoseDestination = std::move(value); } /** *An object that contains the delivery stream ARN and the IAM role ARN * associated with an Amazon Kinesis Firehose event destination.
*/ inline EventDestination& WithKinesisFirehoseDestination(const KinesisFirehoseDestination& value) { SetKinesisFirehoseDestination(value); return *this;} /** *An object that contains the delivery stream ARN and the IAM role ARN * associated with an Amazon Kinesis Firehose event destination.
*/ inline EventDestination& WithKinesisFirehoseDestination(KinesisFirehoseDestination&& value) { SetKinesisFirehoseDestination(std::move(value)); return *this;} /** *An object that contains the names, default values, and sources of the * dimensions associated with an Amazon CloudWatch event destination.
*/ inline const CloudWatchDestination& GetCloudWatchDestination() const{ return m_cloudWatchDestination; } /** *An object that contains the names, default values, and sources of the * dimensions associated with an Amazon CloudWatch event destination.
*/ inline bool CloudWatchDestinationHasBeenSet() const { return m_cloudWatchDestinationHasBeenSet; } /** *An object that contains the names, default values, and sources of the * dimensions associated with an Amazon CloudWatch event destination.
*/ inline void SetCloudWatchDestination(const CloudWatchDestination& value) { m_cloudWatchDestinationHasBeenSet = true; m_cloudWatchDestination = value; } /** *An object that contains the names, default values, and sources of the * dimensions associated with an Amazon CloudWatch event destination.
*/ inline void SetCloudWatchDestination(CloudWatchDestination&& value) { m_cloudWatchDestinationHasBeenSet = true; m_cloudWatchDestination = std::move(value); } /** *An object that contains the names, default values, and sources of the * dimensions associated with an Amazon CloudWatch event destination.
*/ inline EventDestination& WithCloudWatchDestination(const CloudWatchDestination& value) { SetCloudWatchDestination(value); return *this;} /** *An object that contains the names, default values, and sources of the * dimensions associated with an Amazon CloudWatch event destination.
*/ inline EventDestination& WithCloudWatchDestination(CloudWatchDestination&& value) { SetCloudWatchDestination(std::move(value)); return *this;} /** *An object that contains the topic ARN associated with an Amazon Simple * Notification Service (Amazon SNS) event destination.
*/ inline const SNSDestination& GetSNSDestination() const{ return m_sNSDestination; } /** *An object that contains the topic ARN associated with an Amazon Simple * Notification Service (Amazon SNS) event destination.
*/ inline bool SNSDestinationHasBeenSet() const { return m_sNSDestinationHasBeenSet; } /** *An object that contains the topic ARN associated with an Amazon Simple * Notification Service (Amazon SNS) event destination.
*/ inline void SetSNSDestination(const SNSDestination& value) { m_sNSDestinationHasBeenSet = true; m_sNSDestination = value; } /** *An object that contains the topic ARN associated with an Amazon Simple * Notification Service (Amazon SNS) event destination.
*/ inline void SetSNSDestination(SNSDestination&& value) { m_sNSDestinationHasBeenSet = true; m_sNSDestination = std::move(value); } /** *An object that contains the topic ARN associated with an Amazon Simple * Notification Service (Amazon SNS) event destination.
*/ inline EventDestination& WithSNSDestination(const SNSDestination& value) { SetSNSDestination(value); return *this;} /** *An object that contains the topic ARN associated with an Amazon Simple * Notification Service (Amazon SNS) event destination.
*/ inline EventDestination& WithSNSDestination(SNSDestination&& value) { SetSNSDestination(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; Aws::Vector