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

Details of the refresh, which is performed when the topic is created or * updated.

*/ inline const TopicRefreshDetails& GetRefreshDetails() const{ return m_refreshDetails; } /** *

Details of the refresh, which is performed when the topic is created or * updated.

*/ inline void SetRefreshDetails(const TopicRefreshDetails& value) { m_refreshDetails = value; } /** *

Details of the refresh, which is performed when the topic is created or * updated.

*/ inline void SetRefreshDetails(TopicRefreshDetails&& value) { m_refreshDetails = std::move(value); } /** *

Details of the refresh, which is performed when the topic is created or * updated.

*/ inline DescribeTopicRefreshResult& WithRefreshDetails(const TopicRefreshDetails& value) { SetRefreshDetails(value); return *this;} /** *

Details of the refresh, which is performed when the topic is created or * updated.

*/ inline DescribeTopicRefreshResult& WithRefreshDetails(TopicRefreshDetails&& value) { SetRefreshDetails(std::move(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 DescribeTopicRefreshResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeTopicRefreshResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeTopicRefreshResult& 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 DescribeTopicRefreshResult& WithStatus(int value) { SetStatus(value); return *this;} private: TopicRefreshDetails m_refreshDetails; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws