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

The ID of the project.

*/ inline const Aws::String& GetProjectId() const{ return m_projectId; } /** *

The ID of the project.

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

The ID of the project.

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

The ID of the project.

*/ inline void SetProjectId(const char* value) { m_projectId.assign(value); } /** *

The ID of the project.

*/ inline DescribeProjectResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;} /** *

The ID of the project.

*/ inline DescribeProjectResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;} /** *

The ID of the project.

*/ inline DescribeProjectResult& WithProjectId(const char* value) { SetProjectId(value); return *this;} /** *

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

* arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId} *

*/ inline const Aws::String& GetProjectArn() const{ return m_projectArn; } /** *

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

* arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId} *

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

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

* arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId} *

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

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

* arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId} *

*/ inline void SetProjectArn(const char* value) { m_projectArn.assign(value); } /** *

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

* arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId} *

*/ inline DescribeProjectResult& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;} /** *

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

* arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId} *

*/ inline DescribeProjectResult& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;} /** *

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

* arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId} *

*/ inline DescribeProjectResult& WithProjectArn(const char* value) { SetProjectArn(value); return *this;} /** *

The name of the project.

*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *

The name of the project.

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

The name of the project.

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

The name of the project.

*/ inline void SetProjectName(const char* value) { m_projectName.assign(value); } /** *

The name of the project.

*/ inline DescribeProjectResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The name of the project.

*/ inline DescribeProjectResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *

The name of the project.

*/ inline DescribeProjectResult& WithProjectName(const char* value) { SetProjectName(value); return *this;} /** *

The ID of the portal that the project is in.

*/ inline const Aws::String& GetPortalId() const{ return m_portalId; } /** *

The ID of the portal that the project is in.

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

The ID of the portal that the project is in.

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

The ID of the portal that the project is in.

*/ inline void SetPortalId(const char* value) { m_portalId.assign(value); } /** *

The ID of the portal that the project is in.

*/ inline DescribeProjectResult& WithPortalId(const Aws::String& value) { SetPortalId(value); return *this;} /** *

The ID of the portal that the project is in.

*/ inline DescribeProjectResult& WithPortalId(Aws::String&& value) { SetPortalId(std::move(value)); return *this;} /** *

The ID of the portal that the project is in.

*/ inline DescribeProjectResult& WithPortalId(const char* value) { SetPortalId(value); return *this;} /** *

The project's description.

*/ inline const Aws::String& GetProjectDescription() const{ return m_projectDescription; } /** *

The project's description.

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

The project's description.

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

The project's description.

*/ inline void SetProjectDescription(const char* value) { m_projectDescription.assign(value); } /** *

The project's description.

*/ inline DescribeProjectResult& WithProjectDescription(const Aws::String& value) { SetProjectDescription(value); return *this;} /** *

The project's description.

*/ inline DescribeProjectResult& WithProjectDescription(Aws::String&& value) { SetProjectDescription(std::move(value)); return *this;} /** *

The project's description.

*/ inline DescribeProjectResult& WithProjectDescription(const char* value) { SetProjectDescription(value); return *this;} /** *

The date the project was created, in Unix epoch time.

*/ inline const Aws::Utils::DateTime& GetProjectCreationDate() const{ return m_projectCreationDate; } /** *

The date the project was created, in Unix epoch time.

*/ inline void SetProjectCreationDate(const Aws::Utils::DateTime& value) { m_projectCreationDate = value; } /** *

The date the project was created, in Unix epoch time.

*/ inline void SetProjectCreationDate(Aws::Utils::DateTime&& value) { m_projectCreationDate = std::move(value); } /** *

The date the project was created, in Unix epoch time.

*/ inline DescribeProjectResult& WithProjectCreationDate(const Aws::Utils::DateTime& value) { SetProjectCreationDate(value); return *this;} /** *

The date the project was created, in Unix epoch time.

*/ inline DescribeProjectResult& WithProjectCreationDate(Aws::Utils::DateTime&& value) { SetProjectCreationDate(std::move(value)); return *this;} /** *

The date the project was last updated, in Unix epoch time.

*/ inline const Aws::Utils::DateTime& GetProjectLastUpdateDate() const{ return m_projectLastUpdateDate; } /** *

The date the project was last updated, in Unix epoch time.

*/ inline void SetProjectLastUpdateDate(const Aws::Utils::DateTime& value) { m_projectLastUpdateDate = value; } /** *

The date the project was last updated, in Unix epoch time.

*/ inline void SetProjectLastUpdateDate(Aws::Utils::DateTime&& value) { m_projectLastUpdateDate = std::move(value); } /** *

The date the project was last updated, in Unix epoch time.

*/ inline DescribeProjectResult& WithProjectLastUpdateDate(const Aws::Utils::DateTime& value) { SetProjectLastUpdateDate(value); return *this;} /** *

The date the project was last updated, in Unix epoch time.

*/ inline DescribeProjectResult& WithProjectLastUpdateDate(Aws::Utils::DateTime&& value) { SetProjectLastUpdateDate(std::move(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 DescribeProjectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeProjectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeProjectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_projectId; Aws::String m_projectArn; Aws::String m_projectName; Aws::String m_portalId; Aws::String m_projectDescription; Aws::Utils::DateTime m_projectCreationDate; Aws::Utils::DateTime m_projectLastUpdateDate; Aws::String m_requestId; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws