/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeProjectResult { public: AWS_SAGEMAKER_API DescribeProjectResult(); AWS_SAGEMAKER_API DescribeProjectResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeProjectResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the project.

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

The Amazon Resource Name (ARN) of the project.

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

The Amazon Resource Name (ARN) of the project.

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

The Amazon Resource Name (ARN) of the project.

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

The Amazon Resource Name (ARN) of the project.

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

The Amazon Resource Name (ARN) of the project.

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

The Amazon Resource Name (ARN) of the project.

*/ 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 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 description of the project.

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

The description of the project.

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

The description of the project.

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

The description of the project.

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

The description of the project.

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

The description of the project.

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

The description of the project.

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

Information used to provision a service catalog product. For information, see * What * is Amazon Web Services Service Catalog.

*/ inline const ServiceCatalogProvisioningDetails& GetServiceCatalogProvisioningDetails() const{ return m_serviceCatalogProvisioningDetails; } /** *

Information used to provision a service catalog product. For information, see * What * is Amazon Web Services Service Catalog.

*/ inline void SetServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails& value) { m_serviceCatalogProvisioningDetails = value; } /** *

Information used to provision a service catalog product. For information, see * What * is Amazon Web Services Service Catalog.

*/ inline void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails&& value) { m_serviceCatalogProvisioningDetails = std::move(value); } /** *

Information used to provision a service catalog product. For information, see * What * is Amazon Web Services Service Catalog.

*/ inline DescribeProjectResult& WithServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails& value) { SetServiceCatalogProvisioningDetails(value); return *this;} /** *

Information used to provision a service catalog product. For information, see * What * is Amazon Web Services Service Catalog.

*/ inline DescribeProjectResult& WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails&& value) { SetServiceCatalogProvisioningDetails(std::move(value)); return *this;} /** *

Information about a provisioned service catalog product.

*/ inline const ServiceCatalogProvisionedProductDetails& GetServiceCatalogProvisionedProductDetails() const{ return m_serviceCatalogProvisionedProductDetails; } /** *

Information about a provisioned service catalog product.

*/ inline void SetServiceCatalogProvisionedProductDetails(const ServiceCatalogProvisionedProductDetails& value) { m_serviceCatalogProvisionedProductDetails = value; } /** *

Information about a provisioned service catalog product.

*/ inline void SetServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetails&& value) { m_serviceCatalogProvisionedProductDetails = std::move(value); } /** *

Information about a provisioned service catalog product.

*/ inline DescribeProjectResult& WithServiceCatalogProvisionedProductDetails(const ServiceCatalogProvisionedProductDetails& value) { SetServiceCatalogProvisionedProductDetails(value); return *this;} /** *

Information about a provisioned service catalog product.

*/ inline DescribeProjectResult& WithServiceCatalogProvisionedProductDetails(ServiceCatalogProvisionedProductDetails&& value) { SetServiceCatalogProvisionedProductDetails(std::move(value)); return *this;} /** *

The status of the project.

*/ inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; } /** *

The status of the project.

*/ inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatus = value; } /** *

The status of the project.

*/ inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatus = std::move(value); } /** *

The status of the project.

*/ inline DescribeProjectResult& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;} /** *

The status of the project.

*/ inline DescribeProjectResult& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;} inline const UserContext& GetCreatedBy() const{ return m_createdBy; } inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; } inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); } inline DescribeProjectResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;} inline DescribeProjectResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The time when the project was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time when the project was created.

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

The time when the project was created.

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

The time when the project was created.

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

The time when the project was created.

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

The timestamp when project was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The timestamp when project was last modified.

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

The timestamp when project was last modified.

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

The timestamp when project was last modified.

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

The timestamp when project was last modified.

*/ inline DescribeProjectResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; } inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; } inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); } inline DescribeProjectResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;} inline DescribeProjectResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(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_projectArn; Aws::String m_projectName; Aws::String m_projectId; Aws::String m_projectDescription; ServiceCatalogProvisioningDetails m_serviceCatalogProvisioningDetails; ServiceCatalogProvisionedProductDetails m_serviceCatalogProvisionedProductDetails; ProjectStatus m_projectStatus; UserContext m_createdBy; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModifiedTime; UserContext m_lastModifiedBy; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws