/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that defines an Amazon SNS destination for email events. You can
* use Amazon SNS to send notification when certain email events
* occur.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email * events to. For more information about Amazon SNS topics, see the Amazon SNS * Developer Guide.
*/ inline const Aws::String& GetTopicArn() const{ return m_topicArn; } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email * events to. For more information about Amazon SNS topics, see the Amazon SNS * Developer Guide.
*/ inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email * events to. For more information about Amazon SNS topics, see the Amazon SNS * Developer Guide.
*/ inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email * events to. For more information about Amazon SNS topics, see the Amazon SNS * Developer Guide.
*/ inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email * events to. For more information about Amazon SNS topics, see the Amazon SNS * Developer Guide.
*/ inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email * events to. For more information about Amazon SNS topics, see the Amazon SNS * Developer Guide.
*/ inline SnsDestination& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email * events to. For more information about Amazon SNS topics, see the Amazon SNS * Developer Guide.
*/ inline SnsDestination& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email * events to. For more information about Amazon SNS topics, see the Amazon SNS * Developer Guide.
*/ inline SnsDestination& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} private: Aws::String m_topicArn; bool m_topicArnHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws