/** * 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 { /** *

Summary data of an Proton service template resource.

See Also:

* AWS * API Reference

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The time when the service template was created.

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

The time when the service template was created.

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

The time when the service template was created.

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

The time when the service template was created.

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

The time when the service template was created.

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

The time when the service template was created.

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

A description of the service template.

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

A description of the service template.

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

A description of the service template.

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

A description of the service template.

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

A description of the service template.

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

A description of the service template.

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

A description of the service template.

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

A description of the service template.

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

The service template name as displayed in the developer interface.

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

The service template name as displayed in the developer interface.

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

The service template name as displayed in the developer interface.

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

The service template name as displayed in the developer interface.

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

The service template name as displayed in the developer interface.

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

The service template name as displayed in the developer interface.

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

The service template name as displayed in the developer interface.

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

The service template name as displayed in the developer interface.

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

The time when the service template was last modified.

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

The time when the service template was last modified.

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

The time when the service template was last modified.

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

The time when the service template was last modified.

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

The time when the service template was last modified.

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

The time when the service template was last modified.

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

The name of the service template.

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

The name of the service template.

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

The name of the service template.

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

The name of the service template.

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

The name of the service template.

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

The name of the service template.

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

The name of the service template.

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

The name of the service template.

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

If pipelineProvisioning is true, a service pipeline * is included in the service template, otherwise a service pipeline isn't * included in the service template.

*/ inline const Provisioning& GetPipelineProvisioning() const{ return m_pipelineProvisioning; } /** *

If pipelineProvisioning is true, a service pipeline * is included in the service template, otherwise a service pipeline isn't * included in the service template.

*/ inline bool PipelineProvisioningHasBeenSet() const { return m_pipelineProvisioningHasBeenSet; } /** *

If pipelineProvisioning is true, a service pipeline * is included in the service template, otherwise a service pipeline isn't * included in the service template.

*/ inline void SetPipelineProvisioning(const Provisioning& value) { m_pipelineProvisioningHasBeenSet = true; m_pipelineProvisioning = value; } /** *

If pipelineProvisioning is true, a service pipeline * is included in the service template, otherwise a service pipeline isn't * included in the service template.

*/ inline void SetPipelineProvisioning(Provisioning&& value) { m_pipelineProvisioningHasBeenSet = true; m_pipelineProvisioning = std::move(value); } /** *

If pipelineProvisioning is true, a service pipeline * is included in the service template, otherwise a service pipeline isn't * included in the service template.

*/ inline ServiceTemplateSummary& WithPipelineProvisioning(const Provisioning& value) { SetPipelineProvisioning(value); return *this;} /** *

If pipelineProvisioning is true, a service pipeline * is included in the service template, otherwise a service pipeline isn't * included in the service template.

*/ inline ServiceTemplateSummary& WithPipelineProvisioning(Provisioning&& value) { SetPipelineProvisioning(std::move(value)); return *this;} /** *

The recommended version of the service template.

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

The recommended version of the service template.

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

The recommended version of the service template.

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

The recommended version of the service template.

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

The recommended version of the service template.

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

The recommended version of the service template.

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

The recommended version of the service template.

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

The recommended version of the service template.

*/ inline ServiceTemplateSummary& 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_pipelineProvisioning; bool m_pipelineProvisioningHasBeenSet = false; Aws::String m_recommendedVersion; bool m_recommendedVersionHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws