/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class CreateProjectRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API CreateProjectRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateProject"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the project.

*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *

The name of the project.

*/ inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } /** *

The name of the project.

*/ inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; } /** *

The name of the project.

*/ inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); } /** *

The name of the project.

*/ inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); } /** *

The name of the project.

*/ inline CreateProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The name of the project.

*/ inline CreateProjectRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *

The name of the project.

*/ inline CreateProjectRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;} /** *

A description for the project.

*/ inline const Aws::String& GetProjectDescription() const{ return m_projectDescription; } /** *

A description for the project.

*/ inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; } /** *

A description for the project.

*/ inline void SetProjectDescription(const Aws::String& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = value; } /** *

A description for the project.

*/ inline void SetProjectDescription(Aws::String&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::move(value); } /** *

A description for the project.

*/ inline void SetProjectDescription(const char* value) { m_projectDescriptionHasBeenSet = true; m_projectDescription.assign(value); } /** *

A description for the project.

*/ inline CreateProjectRequest& WithProjectDescription(const Aws::String& value) { SetProjectDescription(value); return *this;} /** *

A description for the project.

*/ inline CreateProjectRequest& WithProjectDescription(Aws::String&& value) { SetProjectDescription(std::move(value)); return *this;} /** *

A description for the project.

*/ inline CreateProjectRequest& WithProjectDescription(const char* value) { SetProjectDescription(value); return *this;} /** *

The product ID and provisioning artifact ID to provision a service catalog. * The provisioning artifact ID will default to the latest provisioning artifact ID * of the product, if you don't provide the provisioning artifact ID. For more * information, see What * is Amazon Web Services Service Catalog.

*/ inline const ServiceCatalogProvisioningDetails& GetServiceCatalogProvisioningDetails() const{ return m_serviceCatalogProvisioningDetails; } /** *

The product ID and provisioning artifact ID to provision a service catalog. * The provisioning artifact ID will default to the latest provisioning artifact ID * of the product, if you don't provide the provisioning artifact ID. For more * information, see What * is Amazon Web Services Service Catalog.

*/ inline bool ServiceCatalogProvisioningDetailsHasBeenSet() const { return m_serviceCatalogProvisioningDetailsHasBeenSet; } /** *

The product ID and provisioning artifact ID to provision a service catalog. * The provisioning artifact ID will default to the latest provisioning artifact ID * of the product, if you don't provide the provisioning artifact ID. For more * information, see What * is Amazon Web Services Service Catalog.

*/ inline void SetServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails& value) { m_serviceCatalogProvisioningDetailsHasBeenSet = true; m_serviceCatalogProvisioningDetails = value; } /** *

The product ID and provisioning artifact ID to provision a service catalog. * The provisioning artifact ID will default to the latest provisioning artifact ID * of the product, if you don't provide the provisioning artifact ID. For more * information, see What * is Amazon Web Services Service Catalog.

*/ inline void SetServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails&& value) { m_serviceCatalogProvisioningDetailsHasBeenSet = true; m_serviceCatalogProvisioningDetails = std::move(value); } /** *

The product ID and provisioning artifact ID to provision a service catalog. * The provisioning artifact ID will default to the latest provisioning artifact ID * of the product, if you don't provide the provisioning artifact ID. For more * information, see What * is Amazon Web Services Service Catalog.

*/ inline CreateProjectRequest& WithServiceCatalogProvisioningDetails(const ServiceCatalogProvisioningDetails& value) { SetServiceCatalogProvisioningDetails(value); return *this;} /** *

The product ID and provisioning artifact ID to provision a service catalog. * The provisioning artifact ID will default to the latest provisioning artifact ID * of the product, if you don't provide the provisioning artifact ID. For more * information, see What * is Amazon Web Services Service Catalog.

*/ inline CreateProjectRequest& WithServiceCatalogProvisioningDetails(ServiceCatalogProvisioningDetails&& value) { SetServiceCatalogProvisioningDetails(std::move(value)); return *this;} /** *

An array of key-value pairs that you want to use to organize and track your * Amazon Web Services resource costs. For more information, see Tagging * Amazon Web Services resources in the Amazon Web Services General * Reference Guide.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

An array of key-value pairs that you want to use to organize and track your * Amazon Web Services resource costs. For more information, see Tagging * Amazon Web Services resources in the Amazon Web Services General * Reference Guide.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

An array of key-value pairs that you want to use to organize and track your * Amazon Web Services resource costs. For more information, see Tagging * Amazon Web Services resources in the Amazon Web Services General * Reference Guide.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

An array of key-value pairs that you want to use to organize and track your * Amazon Web Services resource costs. For more information, see Tagging * Amazon Web Services resources in the Amazon Web Services General * Reference Guide.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

An array of key-value pairs that you want to use to organize and track your * Amazon Web Services resource costs. For more information, see Tagging * Amazon Web Services resources in the Amazon Web Services General * Reference Guide.

*/ inline CreateProjectRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

An array of key-value pairs that you want to use to organize and track your * Amazon Web Services resource costs. For more information, see Tagging * Amazon Web Services resources in the Amazon Web Services General * Reference Guide.

*/ inline CreateProjectRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

An array of key-value pairs that you want to use to organize and track your * Amazon Web Services resource costs. For more information, see Tagging * Amazon Web Services resources in the Amazon Web Services General * Reference Guide.

*/ inline CreateProjectRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

An array of key-value pairs that you want to use to organize and track your * Amazon Web Services resource costs. For more information, see Tagging * Amazon Web Services resources in the Amazon Web Services General * Reference Guide.

*/ inline CreateProjectRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_projectName; bool m_projectNameHasBeenSet = false; Aws::String m_projectDescription; bool m_projectDescriptionHasBeenSet = false; ServiceCatalogProvisioningDetails m_serviceCatalogProvisioningDetails; bool m_serviceCatalogProvisioningDetailsHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws