/** * 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 ServiceCatalog { namespace Model { /** *

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

See Also:

AWS * API Reference

*/ class ProvisioningArtifactSummary { public: AWS_SERVICECATALOG_API ProvisioningArtifactSummary(); AWS_SERVICECATALOG_API ProvisioningArtifactSummary(Aws::Utils::Json::JsonView jsonValue); AWS_SERVICECATALOG_API ProvisioningArtifactSummary& 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 ProvisioningArtifactSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

*/ inline ProvisioningArtifactSummary& 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 ProvisioningArtifactSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the provisioning artifact.

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

The name of the provisioning artifact.

*/ inline ProvisioningArtifactSummary& 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 ProvisioningArtifactSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the provisioning artifact.

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

The description of the provisioning artifact.

*/ inline ProvisioningArtifactSummary& WithDescription(const char* value) { SetDescription(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 ProvisioningArtifactSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The UTC time stamp of the creation time.

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

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline const Aws::Map& GetProvisioningArtifactMetadata() const{ return m_provisioningArtifactMetadata; } /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline bool ProvisioningArtifactMetadataHasBeenSet() const { return m_provisioningArtifactMetadataHasBeenSet; } /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline void SetProvisioningArtifactMetadata(const Aws::Map& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata = value; } /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline void SetProvisioningArtifactMetadata(Aws::Map&& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata = std::move(value); } /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline ProvisioningArtifactSummary& WithProvisioningArtifactMetadata(const Aws::Map& value) { SetProvisioningArtifactMetadata(value); return *this;} /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline ProvisioningArtifactSummary& WithProvisioningArtifactMetadata(Aws::Map&& value) { SetProvisioningArtifactMetadata(std::move(value)); return *this;} /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(const Aws::String& key, const Aws::String& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(key, value); return *this; } /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(Aws::String&& key, const Aws::String& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(std::move(key), value); return *this; } /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(const Aws::String& key, Aws::String&& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(key, std::move(value)); return *this; } /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(Aws::String&& key, Aws::String&& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(std::move(key), std::move(value)); return *this; } /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(const char* key, Aws::String&& value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(key, std::move(value)); return *this; } /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(Aws::String&& key, const char* value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(std::move(key), value); return *this; } /** *

The metadata for the provisioning artifact. This is used with Amazon Web * Services Marketplace products.

*/ inline ProvisioningArtifactSummary& AddProvisioningArtifactMetadata(const char* key, const char* value) { m_provisioningArtifactMetadataHasBeenSet = true; m_provisioningArtifactMetadata.emplace(key, 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; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Map m_provisioningArtifactMetadata; bool m_provisioningArtifactMetadataHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws