/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The SNS targets that are notified when updates are made to an
* incident.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the SNS topic.
*/ inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; } /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; } /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); } /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline NotificationTargetItem& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline NotificationTargetItem& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline NotificationTargetItem& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;} private: Aws::String m_snsTopicArn; bool m_snsTopicArnHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws