/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { class DeleteTopicResult { public: AWS_QUICKSIGHT_API DeleteTopicResult(); AWS_QUICKSIGHT_API DeleteTopicResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API DeleteTopicResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the topic.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the topic.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (ARN) of the topic.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the topic.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the topic.

*/ inline DeleteTopicResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the topic.

*/ inline DeleteTopicResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the topic.

*/ inline DeleteTopicResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The ID of the topic that you want to delete. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline const Aws::String& GetTopicId() const{ return m_topicId; } /** *

The ID of the topic that you want to delete. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline void SetTopicId(const Aws::String& value) { m_topicId = value; } /** *

The ID of the topic that you want to delete. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline void SetTopicId(Aws::String&& value) { m_topicId = std::move(value); } /** *

The ID of the topic that you want to delete. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline void SetTopicId(const char* value) { m_topicId.assign(value); } /** *

The ID of the topic that you want to delete. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline DeleteTopicResult& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;} /** *

The ID of the topic that you want to delete. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline DeleteTopicResult& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;} /** *

The ID of the topic that you want to delete. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

*/ inline DeleteTopicResult& WithTopicId(const char* value) { SetTopicId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteTopicResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteTopicResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteTopicResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline DeleteTopicResult& WithStatus(int value) { SetStatus(value); return *this;} private: Aws::String m_arn; Aws::String m_topicId; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws