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

The application Amazon Resource Name (ARN).

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The application Amazon Resource Name (ARN).

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

The application Amazon Resource Name (ARN).

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

The application Amazon Resource Name (ARN).

*/ inline void SetApplicationId(const char* value) { m_applicationId.assign(value); } /** *

The application Amazon Resource Name (ARN).

*/ inline CreateCloudFormationTemplateResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The application Amazon Resource Name (ARN).

*/ inline CreateCloudFormationTemplateResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The application Amazon Resource Name (ARN).

*/ inline CreateCloudFormationTemplateResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The date and time this resource was created.

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

The date and time this resource was created.

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

The date and time this resource was created.

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

The date and time this resource was created.

*/ inline void SetCreationTime(const char* value) { m_creationTime.assign(value); } /** *

The date and time this resource was created.

*/ inline CreateCloudFormationTemplateResult& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;} /** *

The date and time this resource was created.

*/ inline CreateCloudFormationTemplateResult& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The date and time this resource was created.

*/ inline CreateCloudFormationTemplateResult& WithCreationTime(const char* value) { SetCreationTime(value); return *this;} /** *

The date and time this template expires. Templates expire 1 hour after * creation.

*/ inline const Aws::String& GetExpirationTime() const{ return m_expirationTime; } /** *

The date and time this template expires. Templates expire 1 hour after * creation.

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

The date and time this template expires. Templates expire 1 hour after * creation.

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

The date and time this template expires. Templates expire 1 hour after * creation.

*/ inline void SetExpirationTime(const char* value) { m_expirationTime.assign(value); } /** *

The date and time this template expires. Templates expire 1 hour after * creation.

*/ inline CreateCloudFormationTemplateResult& WithExpirationTime(const Aws::String& value) { SetExpirationTime(value); return *this;} /** *

The date and time this template expires. Templates expire 1 hour after * creation.

*/ inline CreateCloudFormationTemplateResult& WithExpirationTime(Aws::String&& value) { SetExpirationTime(std::move(value)); return *this;} /** *

The date and time this template expires. Templates expire 1 hour after * creation.

*/ inline CreateCloudFormationTemplateResult& WithExpirationTime(const char* value) { SetExpirationTime(value); return *this;} /** *

The semantic version of the application:

https://semver.org/

*/ inline const Aws::String& GetSemanticVersion() const{ return m_semanticVersion; } /** *

The semantic version of the application:

https://semver.org/

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

The semantic version of the application:

https://semver.org/

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

The semantic version of the application:

https://semver.org/

*/ inline void SetSemanticVersion(const char* value) { m_semanticVersion.assign(value); } /** *

The semantic version of the application:

https://semver.org/

*/ inline CreateCloudFormationTemplateResult& WithSemanticVersion(const Aws::String& value) { SetSemanticVersion(value); return *this;} /** *

The semantic version of the application:

https://semver.org/

*/ inline CreateCloudFormationTemplateResult& WithSemanticVersion(Aws::String&& value) { SetSemanticVersion(std::move(value)); return *this;} /** *

The semantic version of the application:

https://semver.org/

*/ inline CreateCloudFormationTemplateResult& WithSemanticVersion(const char* value) { SetSemanticVersion(value); return *this;} /** *

Status of the template creation workflow.

Possible values: PREPARING | * ACTIVE | EXPIRED

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

Status of the template creation workflow.

Possible values: PREPARING | * ACTIVE | EXPIRED

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

Status of the template creation workflow.

Possible values: PREPARING | * ACTIVE | EXPIRED

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

Status of the template creation workflow.

Possible values: PREPARING | * ACTIVE | EXPIRED

*/ inline CreateCloudFormationTemplateResult& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *

Status of the template creation workflow.

Possible values: PREPARING | * ACTIVE | EXPIRED

*/ inline CreateCloudFormationTemplateResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** *

The UUID returned by CreateCloudFormationTemplate.

Pattern: * [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

*/ inline const Aws::String& GetTemplateId() const{ return m_templateId; } /** *

The UUID returned by CreateCloudFormationTemplate.

Pattern: * [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

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

The UUID returned by CreateCloudFormationTemplate.

Pattern: * [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

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

The UUID returned by CreateCloudFormationTemplate.

Pattern: * [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

*/ inline void SetTemplateId(const char* value) { m_templateId.assign(value); } /** *

The UUID returned by CreateCloudFormationTemplate.

Pattern: * [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

*/ inline CreateCloudFormationTemplateResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;} /** *

The UUID returned by CreateCloudFormationTemplate.

Pattern: * [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

*/ inline CreateCloudFormationTemplateResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;} /** *

The UUID returned by CreateCloudFormationTemplate.

Pattern: * [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

*/ inline CreateCloudFormationTemplateResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;} /** *

A link to the template that can be used to deploy the application using AWS * CloudFormation.

*/ inline const Aws::String& GetTemplateUrl() const{ return m_templateUrl; } /** *

A link to the template that can be used to deploy the application using AWS * CloudFormation.

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

A link to the template that can be used to deploy the application using AWS * CloudFormation.

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

A link to the template that can be used to deploy the application using AWS * CloudFormation.

*/ inline void SetTemplateUrl(const char* value) { m_templateUrl.assign(value); } /** *

A link to the template that can be used to deploy the application using AWS * CloudFormation.

*/ inline CreateCloudFormationTemplateResult& WithTemplateUrl(const Aws::String& value) { SetTemplateUrl(value); return *this;} /** *

A link to the template that can be used to deploy the application using AWS * CloudFormation.

*/ inline CreateCloudFormationTemplateResult& WithTemplateUrl(Aws::String&& value) { SetTemplateUrl(std::move(value)); return *this;} /** *

A link to the template that can be used to deploy the application using AWS * CloudFormation.

*/ inline CreateCloudFormationTemplateResult& WithTemplateUrl(const char* value) { SetTemplateUrl(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 CreateCloudFormationTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateCloudFormationTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateCloudFormationTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationId; Aws::String m_creationTime; Aws::String m_expirationTime; Aws::String m_semanticVersion; Status m_status; Aws::String m_templateId; Aws::String m_templateUrl; Aws::String m_requestId; }; } // namespace Model } // namespace ServerlessApplicationRepository } // namespace Aws