/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Proton { namespace Model { /** *

The environment template data.

See Also:

AWS * API Reference

*/ class EnvironmentTemplateSummary { public: AWS_PROTON_API EnvironmentTemplateSummary(); AWS_PROTON_API EnvironmentTemplateSummary(Aws::Utils::Json::JsonView jsonValue); AWS_PROTON_API EnvironmentTemplateSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the environment template.

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

The Amazon Resource Name (ARN) of the environment template.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the environment template.

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

The Amazon Resource Name (ARN) of the environment template.

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

The Amazon Resource Name (ARN) of the environment template.

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

The Amazon Resource Name (ARN) of the environment template.

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

The Amazon Resource Name (ARN) of the environment template.

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

The Amazon Resource Name (ARN) of the environment template.

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

The time when the environment template was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The time when the environment template was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The time when the environment template was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The time when the environment template was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The time when the environment template was created.

*/ inline EnvironmentTemplateSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The time when the environment template was created.

*/ inline EnvironmentTemplateSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

A description of the environment template.

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

A description of the environment template.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the environment template.

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

A description of the environment template.

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

A description of the environment template.

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

A description of the environment template.

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

A description of the environment template.

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

A description of the environment template.

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

The name of the environment template as displayed in the developer * interface.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The name of the environment template as displayed in the developer * interface.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

The name of the environment template as displayed in the developer * interface.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *

The name of the environment template as displayed in the developer * interface.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *

The name of the environment template as displayed in the developer * interface.

*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

The name of the environment template as displayed in the developer * interface.

*/ inline EnvironmentTemplateSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The name of the environment template as displayed in the developer * interface.

*/ inline EnvironmentTemplateSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The name of the environment template as displayed in the developer * interface.

*/ inline EnvironmentTemplateSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The time when the environment template was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; } /** *

The time when the environment template was last modified.

*/ inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; } /** *

The time when the environment template was last modified.

*/ inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; } /** *

The time when the environment template was last modified.

*/ inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); } /** *

The time when the environment template was last modified.

*/ inline EnvironmentTemplateSummary& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;} /** *

The time when the environment template was last modified.

*/ inline EnvironmentTemplateSummary& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;} /** *

The name of the environment template.

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

The name of the environment template.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the environment template.

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

The name of the environment template.

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

The name of the environment template.

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

The name of the environment template.

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

The name of the environment template.

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

The name of the environment template.

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

When included, indicates that the environment template is for customer * provisioned and managed infrastructure.

*/ inline const Provisioning& GetProvisioning() const{ return m_provisioning; } /** *

When included, indicates that the environment template is for customer * provisioned and managed infrastructure.

*/ inline bool ProvisioningHasBeenSet() const { return m_provisioningHasBeenSet; } /** *

When included, indicates that the environment template is for customer * provisioned and managed infrastructure.

*/ inline void SetProvisioning(const Provisioning& value) { m_provisioningHasBeenSet = true; m_provisioning = value; } /** *

When included, indicates that the environment template is for customer * provisioned and managed infrastructure.

*/ inline void SetProvisioning(Provisioning&& value) { m_provisioningHasBeenSet = true; m_provisioning = std::move(value); } /** *

When included, indicates that the environment template is for customer * provisioned and managed infrastructure.

*/ inline EnvironmentTemplateSummary& WithProvisioning(const Provisioning& value) { SetProvisioning(value); return *this;} /** *

When included, indicates that the environment template is for customer * provisioned and managed infrastructure.

*/ inline EnvironmentTemplateSummary& WithProvisioning(Provisioning&& value) { SetProvisioning(std::move(value)); return *this;} /** *

The recommended version of the environment template.

*/ inline const Aws::String& GetRecommendedVersion() const{ return m_recommendedVersion; } /** *

The recommended version of the environment template.

*/ inline bool RecommendedVersionHasBeenSet() const { return m_recommendedVersionHasBeenSet; } /** *

The recommended version of the environment template.

*/ inline void SetRecommendedVersion(const Aws::String& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = value; } /** *

The recommended version of the environment template.

*/ inline void SetRecommendedVersion(Aws::String&& value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion = std::move(value); } /** *

The recommended version of the environment template.

*/ inline void SetRecommendedVersion(const char* value) { m_recommendedVersionHasBeenSet = true; m_recommendedVersion.assign(value); } /** *

The recommended version of the environment template.

*/ inline EnvironmentTemplateSummary& WithRecommendedVersion(const Aws::String& value) { SetRecommendedVersion(value); return *this;} /** *

The recommended version of the environment template.

*/ inline EnvironmentTemplateSummary& WithRecommendedVersion(Aws::String&& value) { SetRecommendedVersion(std::move(value)); return *this;} /** *

The recommended version of the environment template.

*/ inline EnvironmentTemplateSummary& WithRecommendedVersion(const char* value) { SetRecommendedVersion(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedAt; bool m_lastModifiedAtHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Provisioning m_provisioning; bool m_provisioningHasBeenSet = false; Aws::String m_recommendedVersion; bool m_recommendedVersionHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws