/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the SNS topic to which you want to send your
* alerts and the IAM role that has access to that topic.See Also:
* AWS
* API Reference
The ARN of the IAM role that has access to the target SNS topic.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the IAM role that has access to the target SNS topic.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The ARN of the IAM role that has access to the target SNS topic.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The ARN of the IAM role that has access to the target SNS topic.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The ARN of the IAM role that has access to the target SNS topic.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The ARN of the IAM role that has access to the target SNS topic.
*/ inline SNSConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the IAM role that has access to the target SNS topic.
*/ inline SNSConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the IAM role that has access to the target SNS topic.
*/ inline SNSConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The ARN of the target SNS topic.
*/ inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; } /** *The ARN of the target SNS topic.
*/ inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; } /** *The ARN of the target SNS topic.
*/ inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; } /** *The ARN of the target SNS topic.
*/ inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); } /** *The ARN of the target SNS topic.
*/ inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); } /** *The ARN of the target SNS topic.
*/ inline SNSConfiguration& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;} /** *The ARN of the target SNS topic.
*/ inline SNSConfiguration& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;} /** *The ARN of the target SNS topic.
*/ inline SNSConfiguration& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;} /** *The format of the SNS topic.
JSON
– Send JSON
* alerts with an anomaly ID and a link to the anomaly detail page. This is the
* default.
LONG_TEXT
– Send human-readable alerts
* with information about the impacted timeseries and a link to the anomaly detail
* page. We recommend this for email.
SHORT_TEXT
–
* Send human-readable alerts with a link to the anomaly detail page. We recommend
* this for SMS.
The format of the SNS topic.
JSON
– Send JSON
* alerts with an anomaly ID and a link to the anomaly detail page. This is the
* default.
LONG_TEXT
– Send human-readable alerts
* with information about the impacted timeseries and a link to the anomaly detail
* page. We recommend this for email.
SHORT_TEXT
–
* Send human-readable alerts with a link to the anomaly detail page. We recommend
* this for SMS.
The format of the SNS topic.
JSON
– Send JSON
* alerts with an anomaly ID and a link to the anomaly detail page. This is the
* default.
LONG_TEXT
– Send human-readable alerts
* with information about the impacted timeseries and a link to the anomaly detail
* page. We recommend this for email.
SHORT_TEXT
–
* Send human-readable alerts with a link to the anomaly detail page. We recommend
* this for SMS.
The format of the SNS topic.
JSON
– Send JSON
* alerts with an anomaly ID and a link to the anomaly detail page. This is the
* default.
LONG_TEXT
– Send human-readable alerts
* with information about the impacted timeseries and a link to the anomaly detail
* page. We recommend this for email.
SHORT_TEXT
–
* Send human-readable alerts with a link to the anomaly detail page. We recommend
* this for SMS.
The format of the SNS topic.
JSON
– Send JSON
* alerts with an anomaly ID and a link to the anomaly detail page. This is the
* default.
LONG_TEXT
– Send human-readable alerts
* with information about the impacted timeseries and a link to the anomaly detail
* page. We recommend this for email.
SHORT_TEXT
–
* Send human-readable alerts with a link to the anomaly detail page. We recommend
* this for SMS.
The format of the SNS topic.
JSON
– Send JSON
* alerts with an anomaly ID and a link to the anomaly detail page. This is the
* default.
LONG_TEXT
– Send human-readable alerts
* with information about the impacted timeseries and a link to the anomaly detail
* page. We recommend this for email.
SHORT_TEXT
–
* Send human-readable alerts with a link to the anomaly detail page. We recommend
* this for SMS.