/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace TimestreamQuery { namespace Model { /** *

Details on SNS that are required to send the notification.

See * Also:

AWS * API Reference

*/ class SnsConfiguration { public: AWS_TIMESTREAMQUERY_API SnsConfiguration(); AWS_TIMESTREAMQUERY_API SnsConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_TIMESTREAMQUERY_API SnsConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

SNS topic ARN that the scheduled query status notifications will be sent * to.

*/ inline const Aws::String& GetTopicArn() const{ return m_topicArn; } /** *

SNS topic ARN that the scheduled query status notifications will be sent * to.

*/ inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; } /** *

SNS topic ARN that the scheduled query status notifications will be sent * to.

*/ inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; } /** *

SNS topic ARN that the scheduled query status notifications will be sent * to.

*/ inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); } /** *

SNS topic ARN that the scheduled query status notifications will be sent * to.

*/ inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); } /** *

SNS topic ARN that the scheduled query status notifications will be sent * to.

*/ inline SnsConfiguration& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} /** *

SNS topic ARN that the scheduled query status notifications will be sent * to.

*/ inline SnsConfiguration& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} /** *

SNS topic ARN that the scheduled query status notifications will be sent * to.

*/ inline SnsConfiguration& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} private: Aws::String m_topicArn; bool m_topicArnHasBeenSet = false; }; } // namespace Model } // namespace TimestreamQuery } // namespace Aws