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

The ID for the dashboard.

*/ inline const Aws::String& GetDashboardId() const{ return m_dashboardId; } /** *

The ID for the dashboard.

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

The ID for the dashboard.

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

The ID for the dashboard.

*/ inline void SetDashboardId(const char* value) { m_dashboardId.assign(value); } /** *

The ID for the dashboard.

*/ inline UpdateDashboardPublishedVersionResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;} /** *

The ID for the dashboard.

*/ inline UpdateDashboardPublishedVersionResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;} /** *

The ID for the dashboard.

*/ inline UpdateDashboardPublishedVersionResult& WithDashboardId(const char* value) { SetDashboardId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dashboard.

*/ inline const Aws::String& GetDashboardArn() const{ return m_dashboardArn; } /** *

The Amazon Resource Name (ARN) of the dashboard.

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

The Amazon Resource Name (ARN) of the dashboard.

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

The Amazon Resource Name (ARN) of the dashboard.

*/ inline void SetDashboardArn(const char* value) { m_dashboardArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the dashboard.

*/ inline UpdateDashboardPublishedVersionResult& WithDashboardArn(const Aws::String& value) { SetDashboardArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dashboard.

*/ inline UpdateDashboardPublishedVersionResult& WithDashboardArn(Aws::String&& value) { SetDashboardArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the dashboard.

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