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

The ID of the dashboard.

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

The ID of the dashboard.

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

The ID of the dashboard.

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

The ID of the dashboard.

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

The ID of the dashboard.

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

The ID of the dashboard.

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

The ID of the dashboard.

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

The ARN * of the dashboard, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId} *

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

The ARN * of the dashboard, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId} *

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

The ARN * of the dashboard, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId} *

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

The ARN * of the dashboard, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId} *

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

The ARN * of the dashboard, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId} *

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

The ARN * of the dashboard, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId} *

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

The ARN * of the dashboard, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId} *

*/ inline CreateDashboardResult& WithDashboardArn(const char* value) { SetDashboardArn(value); return *this;} private: Aws::String m_dashboardId; Aws::String m_dashboardArn; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws