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

Information about the dashboard.

*/ inline const Dashboard& GetDashboard() const{ return m_dashboard; } /** *

Information about the dashboard.

*/ inline void SetDashboard(const Dashboard& value) { m_dashboard = value; } /** *

Information about the dashboard.

*/ inline void SetDashboard(Dashboard&& value) { m_dashboard = std::move(value); } /** *

Information about the dashboard.

*/ inline DescribeDashboardResult& WithDashboard(const Dashboard& value) { SetDashboard(value); return *this;} /** *

Information about the dashboard.

*/ inline DescribeDashboardResult& WithDashboard(Dashboard&& value) { SetDashboard(std::move(value)); return *this;} /** *

The HTTP status of this request.

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

The HTTP status of this request.

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

The HTTP status of this request.

*/ inline DescribeDashboardResult& 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 DescribeDashboardResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDashboardResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDashboardResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Dashboard m_dashboard; int m_status; Aws::String m_requestId; }; } // namespace Model } // namespace QuickSight } // namespace Aws