/** * 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 UpdateProjectRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API UpdateProjectRequest(); // 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 "UpdateProject"; } 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 UpdateProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The name of the project.

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

The name of the project.

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

The description for the project.

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

The description for the project.

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

The description for the project.

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

The description for the project.

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

The description for the project.

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

The description for the project.

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

The description for the project.

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

The description for the project.

*/ inline UpdateProjectRequest& 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 ServiceCatalogProvisioningUpdateDetails& GetServiceCatalogProvisioningUpdateDetails() const{ return m_serviceCatalogProvisioningUpdateDetails; } /** *

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 ServiceCatalogProvisioningUpdateDetailsHasBeenSet() const { return m_serviceCatalogProvisioningUpdateDetailsHasBeenSet; } /** *

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 SetServiceCatalogProvisioningUpdateDetails(const ServiceCatalogProvisioningUpdateDetails& value) { m_serviceCatalogProvisioningUpdateDetailsHasBeenSet = true; m_serviceCatalogProvisioningUpdateDetails = 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 SetServiceCatalogProvisioningUpdateDetails(ServiceCatalogProvisioningUpdateDetails&& value) { m_serviceCatalogProvisioningUpdateDetailsHasBeenSet = true; m_serviceCatalogProvisioningUpdateDetails = 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 UpdateProjectRequest& WithServiceCatalogProvisioningUpdateDetails(const ServiceCatalogProvisioningUpdateDetails& value) { SetServiceCatalogProvisioningUpdateDetails(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 UpdateProjectRequest& WithServiceCatalogProvisioningUpdateDetails(ServiceCatalogProvisioningUpdateDetails&& value) { SetServiceCatalogProvisioningUpdateDetails(std::move(value)); return *this;} /** *

An array of key-value pairs. You can use tags to categorize your Amazon Web * Services resources in different ways, for example, by purpose, owner, or * environment. For more information, see Tagging * Amazon Web Services Resources. In addition, the project must have tag update * constraints set in order to include this parameter in the request. For more * information, see Amazon * Web Services Service Catalog Tag Update Constraints.

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

An array of key-value pairs. You can use tags to categorize your Amazon Web * Services resources in different ways, for example, by purpose, owner, or * environment. For more information, see Tagging * Amazon Web Services Resources. In addition, the project must have tag update * constraints set in order to include this parameter in the request. For more * information, see Amazon * Web Services Service Catalog Tag Update Constraints.

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

An array of key-value pairs. You can use tags to categorize your Amazon Web * Services resources in different ways, for example, by purpose, owner, or * environment. For more information, see Tagging * Amazon Web Services Resources. In addition, the project must have tag update * constraints set in order to include this parameter in the request. For more * information, see Amazon * Web Services Service Catalog Tag Update Constraints.

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

An array of key-value pairs. You can use tags to categorize your Amazon Web * Services resources in different ways, for example, by purpose, owner, or * environment. For more information, see Tagging * Amazon Web Services Resources. In addition, the project must have tag update * constraints set in order to include this parameter in the request. For more * information, see Amazon * Web Services Service Catalog Tag Update Constraints.

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

An array of key-value pairs. You can use tags to categorize your Amazon Web * Services resources in different ways, for example, by purpose, owner, or * environment. For more information, see Tagging * Amazon Web Services Resources. In addition, the project must have tag update * constraints set in order to include this parameter in the request. For more * information, see Amazon * Web Services Service Catalog Tag Update Constraints.

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

An array of key-value pairs. You can use tags to categorize your Amazon Web * Services resources in different ways, for example, by purpose, owner, or * environment. For more information, see Tagging * Amazon Web Services Resources. In addition, the project must have tag update * constraints set in order to include this parameter in the request. For more * information, see Amazon * Web Services Service Catalog Tag Update Constraints.

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

An array of key-value pairs. You can use tags to categorize your Amazon Web * Services resources in different ways, for example, by purpose, owner, or * environment. For more information, see Tagging * Amazon Web Services Resources. In addition, the project must have tag update * constraints set in order to include this parameter in the request. For more * information, see Amazon * Web Services Service Catalog Tag Update Constraints.

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

An array of key-value pairs. You can use tags to categorize your Amazon Web * Services resources in different ways, for example, by purpose, owner, or * environment. For more information, see Tagging * Amazon Web Services Resources. In addition, the project must have tag update * constraints set in order to include this parameter in the request. For more * information, see Amazon * Web Services Service Catalog Tag Update Constraints.

*/ inline UpdateProjectRequest& 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; ServiceCatalogProvisioningUpdateDetails m_serviceCatalogProvisioningUpdateDetails; bool m_serviceCatalogProvisioningUpdateDetailsHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws