/** * 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 CreateTopicRefreshScheduleResult { public: AWS_QUICKSIGHT_API CreateTopicRefreshScheduleResult(); AWS_QUICKSIGHT_API CreateTopicRefreshScheduleResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API CreateTopicRefreshScheduleResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the topic that you want to modify. 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 modify. 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 modify. 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 modify. 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 modify. This ID is unique per Amazon Web * Services Region for each Amazon Web Services account.

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

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

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

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

*/ inline CreateTopicRefreshScheduleResult& WithTopicId(const char* value) { SetTopicId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the topic.

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

The Amazon Resource Name (ARN) of the topic.

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

The Amazon Resource Name (ARN) of the topic.

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

The Amazon Resource Name (ARN) of the topic.

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

The Amazon Resource Name (ARN) of the topic.

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

The Amazon Resource Name (ARN) of the topic.

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

The Amazon Resource Name (ARN) of the topic.

*/ inline CreateTopicRefreshScheduleResult& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetDatasetArn(const char* value) { m_datasetArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline CreateTopicRefreshScheduleResult& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline CreateTopicRefreshScheduleResult& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline CreateTopicRefreshScheduleResult& WithDatasetArn(const char* value) { SetDatasetArn(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 CreateTopicRefreshScheduleResult& WithStatus(int value) { SetStatus(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 CreateTopicRefreshScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateTopicRefreshScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateTopicRefreshScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_topicId; Aws::String m_topicArn; Aws::String m_datasetArn; int m_status; Aws::String m_requestId; }; } // namespace Model } // namespace QuickSight } // namespace Aws