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

The display name for the project.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The display name for the project.

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

The display name for the project.

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

The display name for the project.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The display name for the project.

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

The display name for the project.

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

The display name for the project.

*/ inline DescribeProjectResult& WithName(const char* value) { SetName(value); return *this;} /** *

The ID of the project.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the project.

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

The ID of the project.

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

The ID of the project.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The ID of the project.

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

The ID of the project.

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

The ID of the project.

*/ inline DescribeProjectResult& WithId(const char* value) { SetId(value); return *this;} /** *

The Amazon Resource Name (ARN) for the project.

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

The Amazon Resource Name (ARN) for the project.

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

The Amazon Resource Name (ARN) for the project.

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

The Amazon Resource Name (ARN) for the project.

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

The Amazon Resource Name (ARN) for the project.

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

The Amazon Resource Name (ARN) for the project.

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

The Amazon Resource Name (ARN) for the project.

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

The description of the project, if any.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the project, if any.

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

The description of the project, if any.

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

The description of the project, if any.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the project, if any.

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

The description of the project, if any.

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

The description of the project, if any.

*/ inline DescribeProjectResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A user- or system-generated token that identifies the entity that requested * project creation.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

A user- or system-generated token that identifies the entity that requested * project creation.

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

A user- or system-generated token that identifies the entity that requested * project creation.

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

A user- or system-generated token that identifies the entity that requested * project creation.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); } /** *

A user- or system-generated token that identifies the entity that requested * project creation.

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

A user- or system-generated token that identifies the entity that requested * project creation.

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

A user- or system-generated token that identifies the entity that requested * project creation.

*/ inline DescribeProjectResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

The date and time the project was created, in timestamp format.

*/ inline const Aws::Utils::DateTime& GetCreatedTimeStamp() const{ return m_createdTimeStamp; } /** *

The date and time the project was created, in timestamp format.

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

The date and time the project was created, in timestamp format.

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

The date and time the project was created, in timestamp format.

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

The date and time the project was created, in timestamp format.

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

The ID of the primary stack in AWS CloudFormation used to generate resources * for the project.

*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *

The ID of the primary stack in AWS CloudFormation used to generate resources * for the project.

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

The ID of the primary stack in AWS CloudFormation used to generate resources * for the project.

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

The ID of the primary stack in AWS CloudFormation used to generate resources * for the project.

*/ inline void SetStackId(const char* value) { m_stackId.assign(value); } /** *

The ID of the primary stack in AWS CloudFormation used to generate resources * for the project.

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

The ID of the primary stack in AWS CloudFormation used to generate resources * for the project.

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

The ID of the primary stack in AWS CloudFormation used to generate resources * for the project.

*/ inline DescribeProjectResult& WithStackId(const char* value) { SetStackId(value); return *this;} /** *

The ID for the AWS CodeStar project template used to create the project.

*/ inline const Aws::String& GetProjectTemplateId() const{ return m_projectTemplateId; } /** *

The ID for the AWS CodeStar project template used to create the project.

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

The ID for the AWS CodeStar project template used to create the project.

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

The ID for the AWS CodeStar project template used to create the project.

*/ inline void SetProjectTemplateId(const char* value) { m_projectTemplateId.assign(value); } /** *

The ID for the AWS CodeStar project template used to create the project.

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

The ID for the AWS CodeStar project template used to create the project.

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

The ID for the AWS CodeStar project template used to create the project.

*/ inline DescribeProjectResult& WithProjectTemplateId(const char* value) { SetProjectTemplateId(value); return *this;} /** *

The project creation or deletion status.

*/ inline const ProjectStatus& GetStatus() const{ return m_status; } /** *

The project creation or deletion status.

*/ inline void SetStatus(const ProjectStatus& value) { m_status = value; } /** *

The project creation or deletion status.

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

The project creation or deletion status.

*/ inline DescribeProjectResult& WithStatus(const ProjectStatus& value) { SetStatus(value); return *this;} /** *

The project creation or deletion status.

*/ inline DescribeProjectResult& WithStatus(ProjectStatus&& value) { SetStatus(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_name; Aws::String m_id; Aws::String m_arn; Aws::String m_description; Aws::String m_clientRequestToken; Aws::Utils::DateTime m_createdTimeStamp; Aws::String m_stackId; Aws::String m_projectTemplateId; ProjectStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace CodeStar } // namespace Aws