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

The ARN of the dashboard.

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

The ARN of the dashboard.

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

The ARN of the dashboard.

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

The ARN of the dashboard.

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

The ARN of the dashboard.

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

The ARN of the dashboard.

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

The ARN of the dashboard.

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

The ARN of the dashboard, including the version number of the first version * that is created.

*/ inline const Aws::String& GetVersionArn() const{ return m_versionArn; } /** *

The ARN of the dashboard, including the version number of the first version * that is created.

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

The ARN of the dashboard, including the version number of the first version * that is created.

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

The ARN of the dashboard, including the version number of the first version * that is created.

*/ inline void SetVersionArn(const char* value) { m_versionArn.assign(value); } /** *

The ARN of the dashboard, including the version number of the first version * that is created.

*/ inline CreateDashboardResult& WithVersionArn(const Aws::String& value) { SetVersionArn(value); return *this;} /** *

The ARN of the dashboard, including the version number of the first version * that is created.

*/ inline CreateDashboardResult& WithVersionArn(Aws::String&& value) { SetVersionArn(std::move(value)); return *this;} /** *

The ARN of the dashboard, including the version number of the first version * that is created.

*/ inline CreateDashboardResult& WithVersionArn(const char* value) { SetVersionArn(value); return *this;} /** *

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 CreateDashboardResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;} /** *

The ID for the dashboard.

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

The ID for the dashboard.

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

The status of the dashboard creation request.

*/ inline const ResourceStatus& GetCreationStatus() const{ return m_creationStatus; } /** *

The status of the dashboard creation request.

*/ inline void SetCreationStatus(const ResourceStatus& value) { m_creationStatus = value; } /** *

The status of the dashboard creation request.

*/ inline void SetCreationStatus(ResourceStatus&& value) { m_creationStatus = std::move(value); } /** *

The status of the dashboard creation request.

*/ inline CreateDashboardResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;} /** *

The status of the dashboard creation request.

*/ inline CreateDashboardResult& WithCreationStatus(ResourceStatus&& value) { SetCreationStatus(std::move(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 CreateDashboardResult& 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 CreateDashboardResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDashboardResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDashboardResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_versionArn; Aws::String m_dashboardId; ResourceStatus m_creationStatus; int m_status; Aws::String m_requestId; }; } // namespace Model } // namespace QuickSight } // namespace Aws