/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details on SNS that are required to send the notification.See
* Also:
AWS
* API Reference
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