/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Response from CreateTopic action.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) assigned to the created topic.
*/ inline const Aws::String& GetTopicArn() const{ return m_topicArn; } /** *The Amazon Resource Name (ARN) assigned to the created topic.
*/ inline void SetTopicArn(const Aws::String& value) { m_topicArn = value; } /** *The Amazon Resource Name (ARN) assigned to the created topic.
*/ inline void SetTopicArn(Aws::String&& value) { m_topicArn = std::move(value); } /** *The Amazon Resource Name (ARN) assigned to the created topic.
*/ inline void SetTopicArn(const char* value) { m_topicArn.assign(value); } /** *The Amazon Resource Name (ARN) assigned to the created topic.
*/ inline CreateTopicResult& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} /** *The Amazon Resource Name (ARN) assigned to the created topic.
*/ inline CreateTopicResult& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) assigned to the created topic.
*/ inline CreateTopicResult& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline CreateTopicResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateTopicResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_topicArn; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SNS } // namespace Aws