/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Parameters to define a mitigation action that publishes findings to Amazon
* SNS. You can implement your own custom actions in response to the Amazon SNS
* messages.See Also:
AWS
* API Reference
The ARN of the topic to which you want to publish the findings.
*/ inline const Aws::String& GetTopicArn() const{ return m_topicArn; } /** *The ARN of the topic to which you want to publish the findings.
*/ inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; } /** *The ARN of the topic to which you want to publish the findings.
*/ inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; } /** *The ARN of the topic to which you want to publish the findings.
*/ inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); } /** *The ARN of the topic to which you want to publish the findings.
*/ inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); } /** *The ARN of the topic to which you want to publish the findings.
*/ inline PublishFindingToSnsParams& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} /** *The ARN of the topic to which you want to publish the findings.
*/ inline PublishFindingToSnsParams& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} /** *The ARN of the topic to which you want to publish the findings.
*/ inline PublishFindingToSnsParams& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} private: Aws::String m_topicArn; bool m_topicArnHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws