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

Details that you specify to provision a service catalog product. For * information about service catalog, see What * is Amazon Web Services Service Catalog.

See Also:

AWS * API Reference

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

The ID of the product to provision.

*/ inline const Aws::String& GetProductId() const{ return m_productId; } /** *

The ID of the product to provision.

*/ inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; } /** *

The ID of the product to provision.

*/ inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; } /** *

The ID of the product to provision.

*/ inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); } /** *

The ID of the product to provision.

*/ inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); } /** *

The ID of the product to provision.

*/ inline ServiceCatalogProvisioningDetails& WithProductId(const Aws::String& value) { SetProductId(value); return *this;} /** *

The ID of the product to provision.

*/ inline ServiceCatalogProvisioningDetails& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;} /** *

The ID of the product to provision.

*/ inline ServiceCatalogProvisioningDetails& WithProductId(const char* value) { SetProductId(value); return *this;} /** *

The ID of the provisioning artifact.

*/ inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; } /** *

The ID of the provisioning artifact.

*/ inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; } /** *

The ID of the provisioning artifact.

*/ inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; } /** *

The ID of the provisioning artifact.

*/ inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); } /** *

The ID of the provisioning artifact.

*/ inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); } /** *

The ID of the provisioning artifact.

*/ inline ServiceCatalogProvisioningDetails& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;} /** *

The ID of the provisioning artifact.

*/ inline ServiceCatalogProvisioningDetails& WithProvisioningArtifactId(Aws::String&& value) { SetProvisioningArtifactId(std::move(value)); return *this;} /** *

The ID of the provisioning artifact.

*/ inline ServiceCatalogProvisioningDetails& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;} /** *

The path identifier of the product. This value is optional if the product has * a default path, and required if the product has more than one path.

*/ inline const Aws::String& GetPathId() const{ return m_pathId; } /** *

The path identifier of the product. This value is optional if the product has * a default path, and required if the product has more than one path.

*/ inline bool PathIdHasBeenSet() const { return m_pathIdHasBeenSet; } /** *

The path identifier of the product. This value is optional if the product has * a default path, and required if the product has more than one path.

*/ inline void SetPathId(const Aws::String& value) { m_pathIdHasBeenSet = true; m_pathId = value; } /** *

The path identifier of the product. This value is optional if the product has * a default path, and required if the product has more than one path.

*/ inline void SetPathId(Aws::String&& value) { m_pathIdHasBeenSet = true; m_pathId = std::move(value); } /** *

The path identifier of the product. This value is optional if the product has * a default path, and required if the product has more than one path.

*/ inline void SetPathId(const char* value) { m_pathIdHasBeenSet = true; m_pathId.assign(value); } /** *

The path identifier of the product. This value is optional if the product has * a default path, and required if the product has more than one path.

*/ inline ServiceCatalogProvisioningDetails& WithPathId(const Aws::String& value) { SetPathId(value); return *this;} /** *

The path identifier of the product. This value is optional if the product has * a default path, and required if the product has more than one path.

*/ inline ServiceCatalogProvisioningDetails& WithPathId(Aws::String&& value) { SetPathId(std::move(value)); return *this;} /** *

The path identifier of the product. This value is optional if the product has * a default path, and required if the product has more than one path.

*/ inline ServiceCatalogProvisioningDetails& WithPathId(const char* value) { SetPathId(value); return *this;} /** *

A list of key value pairs that you specify when you provision a product.

*/ inline const Aws::Vector& GetProvisioningParameters() const{ return m_provisioningParameters; } /** *

A list of key value pairs that you specify when you provision a product.

*/ inline bool ProvisioningParametersHasBeenSet() const { return m_provisioningParametersHasBeenSet; } /** *

A list of key value pairs that you specify when you provision a product.

*/ inline void SetProvisioningParameters(const Aws::Vector& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters = value; } /** *

A list of key value pairs that you specify when you provision a product.

*/ inline void SetProvisioningParameters(Aws::Vector&& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters = std::move(value); } /** *

A list of key value pairs that you specify when you provision a product.

*/ inline ServiceCatalogProvisioningDetails& WithProvisioningParameters(const Aws::Vector& value) { SetProvisioningParameters(value); return *this;} /** *

A list of key value pairs that you specify when you provision a product.

*/ inline ServiceCatalogProvisioningDetails& WithProvisioningParameters(Aws::Vector&& value) { SetProvisioningParameters(std::move(value)); return *this;} /** *

A list of key value pairs that you specify when you provision a product.

*/ inline ServiceCatalogProvisioningDetails& AddProvisioningParameters(const ProvisioningParameter& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters.push_back(value); return *this; } /** *

A list of key value pairs that you specify when you provision a product.

*/ inline ServiceCatalogProvisioningDetails& AddProvisioningParameters(ProvisioningParameter&& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters.push_back(std::move(value)); return *this; } private: Aws::String m_productId; bool m_productIdHasBeenSet = false; Aws::String m_provisioningArtifactId; bool m_provisioningArtifactIdHasBeenSet = false; Aws::String m_pathId; bool m_pathIdHasBeenSet = false; Aws::Vector m_provisioningParameters; bool m_provisioningParametersHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws