/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/iotsitewise/IoTSiteWise_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTSiteWise { namespace Model { class CreateDashboardResult { public: AWS_IOTSITEWISE_API CreateDashboardResult(); AWS_IOTSITEWISE_API CreateDashboardResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); AWS_IOTSITEWISE_API CreateDashboardResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); /** * <p>The ID of the dashboard.</p> */ inline const Aws::String& GetDashboardId() const{ return m_dashboardId; } /** * <p>The ID of the dashboard.</p> */ inline void SetDashboardId(const Aws::String& value) { m_dashboardId = value; } /** * <p>The ID of the dashboard.</p> */ inline void SetDashboardId(Aws::String&& value) { m_dashboardId = std::move(value); } /** * <p>The ID of the dashboard.</p> */ inline void SetDashboardId(const char* value) { m_dashboardId.assign(value); } /** * <p>The ID of the dashboard.</p> */ inline CreateDashboardResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;} /** * <p>The ID of the dashboard.</p> */ inline CreateDashboardResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;} /** * <p>The ID of the dashboard.</p> */ inline CreateDashboardResult& WithDashboardId(const char* value) { SetDashboardId(value); return *this;} /** * <p>The <a * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> * of the dashboard, which has the following format.</p> <p> * <code>arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}</code> * </p> */ inline const Aws::String& GetDashboardArn() const{ return m_dashboardArn; } /** * <p>The <a * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> * of the dashboard, which has the following format.</p> <p> * <code>arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}</code> * </p> */ inline void SetDashboardArn(const Aws::String& value) { m_dashboardArn = value; } /** * <p>The <a * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> * of the dashboard, which has the following format.</p> <p> * <code>arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}</code> * </p> */ inline void SetDashboardArn(Aws::String&& value) { m_dashboardArn = std::move(value); } /** * <p>The <a * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> * of the dashboard, which has the following format.</p> <p> * <code>arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}</code> * </p> */ inline void SetDashboardArn(const char* value) { m_dashboardArn.assign(value); } /** * <p>The <a * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> * of the dashboard, which has the following format.</p> <p> * <code>arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}</code> * </p> */ inline CreateDashboardResult& WithDashboardArn(const Aws::String& value) { SetDashboardArn(value); return *this;} /** * <p>The <a * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> * of the dashboard, which has the following format.</p> <p> * <code>arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}</code> * </p> */ inline CreateDashboardResult& WithDashboardArn(Aws::String&& value) { SetDashboardArn(std::move(value)); return *this;} /** * <p>The <a * href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> * of the dashboard, which has the following format.</p> <p> * <code>arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}</code> * </p> */ inline CreateDashboardResult& WithDashboardArn(const char* value) { SetDashboardArn(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_dashboardId; Aws::String m_dashboardArn; Aws::String m_requestId; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws