/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ServiceCatalog { namespace Model { /** *

Information about a provisioning artifact (also known as a version) for a * product.

See Also:

AWS * API Reference

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The name of the provisioning artifact.

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

The name of the provisioning artifact.

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

The name of the provisioning artifact.

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

The name of the provisioning artifact.

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

The name of the provisioning artifact.

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

The name of the provisioning artifact.

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

The name of the provisioning artifact.

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

The name of the provisioning artifact.

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

The description of the provisioning artifact.

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

The description of the provisioning artifact.

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

The description of the provisioning artifact.

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

The description of the provisioning artifact.

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

The description of the provisioning artifact.

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

The description of the provisioning artifact.

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

The description of the provisioning artifact.

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

The description of the provisioning artifact.

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

The type of provisioning artifact.

  • * CLOUD_FORMATION_TEMPLATE - CloudFormation template

  • *

    MARKETPLACE_AMI - Amazon Web Services Marketplace AMI

  • *
  • MARKETPLACE_CAR - Amazon Web Services Marketplace Clusters * and Amazon Web Services Resources

*/ inline const ProvisioningArtifactType& GetType() const{ return m_type; } /** *

The type of provisioning artifact.

  • * CLOUD_FORMATION_TEMPLATE - CloudFormation template

  • *

    MARKETPLACE_AMI - Amazon Web Services Marketplace AMI

  • *
  • MARKETPLACE_CAR - Amazon Web Services Marketplace Clusters * and Amazon Web Services Resources

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of provisioning artifact.

  • * CLOUD_FORMATION_TEMPLATE - CloudFormation template

  • *

    MARKETPLACE_AMI - Amazon Web Services Marketplace AMI

  • *
  • MARKETPLACE_CAR - Amazon Web Services Marketplace Clusters * and Amazon Web Services Resources

*/ inline void SetType(const ProvisioningArtifactType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of provisioning artifact.

  • * CLOUD_FORMATION_TEMPLATE - CloudFormation template

  • *

    MARKETPLACE_AMI - Amazon Web Services Marketplace AMI

  • *
  • MARKETPLACE_CAR - Amazon Web Services Marketplace Clusters * and Amazon Web Services Resources

*/ inline void SetType(ProvisioningArtifactType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of provisioning artifact.

  • * CLOUD_FORMATION_TEMPLATE - CloudFormation template

  • *

    MARKETPLACE_AMI - Amazon Web Services Marketplace AMI

  • *
  • MARKETPLACE_CAR - Amazon Web Services Marketplace Clusters * and Amazon Web Services Resources

*/ inline ProvisioningArtifactDetail& WithType(const ProvisioningArtifactType& value) { SetType(value); return *this;} /** *

The type of provisioning artifact.

  • * CLOUD_FORMATION_TEMPLATE - CloudFormation template

  • *

    MARKETPLACE_AMI - Amazon Web Services Marketplace AMI

  • *
  • MARKETPLACE_CAR - Amazon Web Services Marketplace Clusters * and Amazon Web Services Resources

*/ inline ProvisioningArtifactDetail& WithType(ProvisioningArtifactType&& value) { SetType(std::move(value)); return *this;} /** *

The UTC time stamp of the creation time.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

The UTC time stamp of the creation time.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

The UTC time stamp of the creation time.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

The UTC time stamp of the creation time.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

The UTC time stamp of the creation time.

*/ inline ProvisioningArtifactDetail& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The UTC time stamp of the creation time.

*/ inline ProvisioningArtifactDetail& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

Indicates whether the product version is active.

*/ inline bool GetActive() const{ return m_active; } /** *

Indicates whether the product version is active.

*/ inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; } /** *

Indicates whether the product version is active.

*/ inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; } /** *

Indicates whether the product version is active.

*/ inline ProvisioningArtifactDetail& WithActive(bool value) { SetActive(value); return *this;} /** *

Information set by the administrator to provide guidance to end users about * which provisioning artifacts to use.

*/ inline const ProvisioningArtifactGuidance& GetGuidance() const{ return m_guidance; } /** *

Information set by the administrator to provide guidance to end users about * which provisioning artifacts to use.

*/ inline bool GuidanceHasBeenSet() const { return m_guidanceHasBeenSet; } /** *

Information set by the administrator to provide guidance to end users about * which provisioning artifacts to use.

*/ inline void SetGuidance(const ProvisioningArtifactGuidance& value) { m_guidanceHasBeenSet = true; m_guidance = value; } /** *

Information set by the administrator to provide guidance to end users about * which provisioning artifacts to use.

*/ inline void SetGuidance(ProvisioningArtifactGuidance&& value) { m_guidanceHasBeenSet = true; m_guidance = std::move(value); } /** *

Information set by the administrator to provide guidance to end users about * which provisioning artifacts to use.

*/ inline ProvisioningArtifactDetail& WithGuidance(const ProvisioningArtifactGuidance& value) { SetGuidance(value); return *this;} /** *

Information set by the administrator to provide guidance to end users about * which provisioning artifacts to use.

*/ inline ProvisioningArtifactDetail& WithGuidance(ProvisioningArtifactGuidance&& value) { SetGuidance(std::move(value)); return *this;} /** *

Specifies the revision of the external artifact that was used to * automatically sync the Service Catalog product and create the provisioning * artifact. Service Catalog includes this response parameter as a high level field * to the existing ProvisioningArtifactDetail type, which is returned * as part of the response for CreateProduct, * UpdateProduct, DescribeProductAsAdmin, * DescribeProvisioningArtifact, * ListProvisioningArtifact, and * UpdateProvisioningArticat APIs.

This field only exists for * Repo-Synced products.

*/ inline const Aws::String& GetSourceRevision() const{ return m_sourceRevision; } /** *

Specifies the revision of the external artifact that was used to * automatically sync the Service Catalog product and create the provisioning * artifact. Service Catalog includes this response parameter as a high level field * to the existing ProvisioningArtifactDetail type, which is returned * as part of the response for CreateProduct, * UpdateProduct, DescribeProductAsAdmin, * DescribeProvisioningArtifact, * ListProvisioningArtifact, and * UpdateProvisioningArticat APIs.

This field only exists for * Repo-Synced products.

*/ inline bool SourceRevisionHasBeenSet() const { return m_sourceRevisionHasBeenSet; } /** *

Specifies the revision of the external artifact that was used to * automatically sync the Service Catalog product and create the provisioning * artifact. Service Catalog includes this response parameter as a high level field * to the existing ProvisioningArtifactDetail type, which is returned * as part of the response for CreateProduct, * UpdateProduct, DescribeProductAsAdmin, * DescribeProvisioningArtifact, * ListProvisioningArtifact, and * UpdateProvisioningArticat APIs.

This field only exists for * Repo-Synced products.

*/ inline void SetSourceRevision(const Aws::String& value) { m_sourceRevisionHasBeenSet = true; m_sourceRevision = value; } /** *

Specifies the revision of the external artifact that was used to * automatically sync the Service Catalog product and create the provisioning * artifact. Service Catalog includes this response parameter as a high level field * to the existing ProvisioningArtifactDetail type, which is returned * as part of the response for CreateProduct, * UpdateProduct, DescribeProductAsAdmin, * DescribeProvisioningArtifact, * ListProvisioningArtifact, and * UpdateProvisioningArticat APIs.

This field only exists for * Repo-Synced products.

*/ inline void SetSourceRevision(Aws::String&& value) { m_sourceRevisionHasBeenSet = true; m_sourceRevision = std::move(value); } /** *

Specifies the revision of the external artifact that was used to * automatically sync the Service Catalog product and create the provisioning * artifact. Service Catalog includes this response parameter as a high level field * to the existing ProvisioningArtifactDetail type, which is returned * as part of the response for CreateProduct, * UpdateProduct, DescribeProductAsAdmin, * DescribeProvisioningArtifact, * ListProvisioningArtifact, and * UpdateProvisioningArticat APIs.

This field only exists for * Repo-Synced products.

*/ inline void SetSourceRevision(const char* value) { m_sourceRevisionHasBeenSet = true; m_sourceRevision.assign(value); } /** *

Specifies the revision of the external artifact that was used to * automatically sync the Service Catalog product and create the provisioning * artifact. Service Catalog includes this response parameter as a high level field * to the existing ProvisioningArtifactDetail type, which is returned * as part of the response for CreateProduct, * UpdateProduct, DescribeProductAsAdmin, * DescribeProvisioningArtifact, * ListProvisioningArtifact, and * UpdateProvisioningArticat APIs.

This field only exists for * Repo-Synced products.

*/ inline ProvisioningArtifactDetail& WithSourceRevision(const Aws::String& value) { SetSourceRevision(value); return *this;} /** *

Specifies the revision of the external artifact that was used to * automatically sync the Service Catalog product and create the provisioning * artifact. Service Catalog includes this response parameter as a high level field * to the existing ProvisioningArtifactDetail type, which is returned * as part of the response for CreateProduct, * UpdateProduct, DescribeProductAsAdmin, * DescribeProvisioningArtifact, * ListProvisioningArtifact, and * UpdateProvisioningArticat APIs.

This field only exists for * Repo-Synced products.

*/ inline ProvisioningArtifactDetail& WithSourceRevision(Aws::String&& value) { SetSourceRevision(std::move(value)); return *this;} /** *

Specifies the revision of the external artifact that was used to * automatically sync the Service Catalog product and create the provisioning * artifact. Service Catalog includes this response parameter as a high level field * to the existing ProvisioningArtifactDetail type, which is returned * as part of the response for CreateProduct, * UpdateProduct, DescribeProductAsAdmin, * DescribeProvisioningArtifact, * ListProvisioningArtifact, and * UpdateProvisioningArticat APIs.

This field only exists for * Repo-Synced products.

*/ inline ProvisioningArtifactDetail& WithSourceRevision(const char* value) { SetSourceRevision(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ProvisioningArtifactType m_type; bool m_typeHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; bool m_active; bool m_activeHasBeenSet = false; ProvisioningArtifactGuidance m_guidance; bool m_guidanceHasBeenSet = false; Aws::String m_sourceRevision; bool m_sourceRevisionHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws