/**
* 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 events. You can use
* Amazon SNS to send notification when certain events occur.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to * publish events to.
*/ inline const Aws::String& GetTopicArn() const{ return m_topicArn; } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to * publish events to.
*/ inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to * publish events to.
*/ inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to * publish events to.
*/ inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to * publish events to.
*/ inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to * publish events to.
*/ inline SnsDestination& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to * publish events to.
*/ inline SnsDestination& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to * publish events to.
*/ inline SnsDestination& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} private: Aws::String m_topicArn; bool m_topicArnHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws