/** * 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 ServiceCatalog { namespace Model { /** */ class UpdateProvisioningArtifactRequest : public ServiceCatalogRequest { public: AWS_SERVICECATALOG_API UpdateProvisioningArtifactRequest(); // 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 "UpdateProvisioningArtifact"; } AWS_SERVICECATALOG_API Aws::String SerializePayload() const override; AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; } /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; } /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; } /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); } /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); } /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline UpdateProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;} /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline UpdateProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;} /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline UpdateProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;} /** *

The product identifier.

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

The product identifier.

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

The product identifier.

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

The product identifier.

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

The product identifier.

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

The product identifier.

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

The product identifier.

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

The product identifier.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The identifier of the provisioning artifact.

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

The updated name of the provisioning artifact.

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

The updated name of the provisioning artifact.

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

The updated name of the provisioning artifact.

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

The updated name of the provisioning artifact.

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

The updated name of the provisioning artifact.

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

The updated name of the provisioning artifact.

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

The updated name of the provisioning artifact.

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

The updated name of the provisioning artifact.

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

The updated description of the provisioning artifact.

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

The updated description of the provisioning artifact.

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

The updated description of the provisioning artifact.

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

The updated description of the provisioning artifact.

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

The updated description of the provisioning artifact.

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

The updated description of the provisioning artifact.

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

The updated description of the provisioning artifact.

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

The updated description of the provisioning artifact.

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

Indicates whether the product version is active.

Inactive provisioning * artifacts are invisible to end users. End users cannot launch or update a * provisioned product from an inactive provisioning artifact.

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

Indicates whether the product version is active.

Inactive provisioning * artifacts are invisible to end users. End users cannot launch or update a * provisioned product from an inactive provisioning artifact.

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

Indicates whether the product version is active.

Inactive provisioning * artifacts are invisible to end users. End users cannot launch or update a * provisioned product from an inactive provisioning artifact.

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

Indicates whether the product version is active.

Inactive provisioning * artifacts are invisible to end users. End users cannot launch or update a * provisioned product from an inactive provisioning artifact.

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

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

The DEFAULT value * indicates that the product version is active.

The administrator can set * the guidance to DEPRECATED to inform users that the product version * is deprecated. Users are able to make updates to a provisioned product of a * deprecated version but cannot launch new provisioned products using a deprecated * version.

*/ 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.

The DEFAULT value * indicates that the product version is active.

The administrator can set * the guidance to DEPRECATED to inform users that the product version * is deprecated. Users are able to make updates to a provisioned product of a * deprecated version but cannot launch new provisioned products using a deprecated * version.

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

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

The DEFAULT value * indicates that the product version is active.

The administrator can set * the guidance to DEPRECATED to inform users that the product version * is deprecated. Users are able to make updates to a provisioned product of a * deprecated version but cannot launch new provisioned products using a deprecated * version.

*/ 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.

The DEFAULT value * indicates that the product version is active.

The administrator can set * the guidance to DEPRECATED to inform users that the product version * is deprecated. Users are able to make updates to a provisioned product of a * deprecated version but cannot launch new provisioned products using a deprecated * version.

*/ 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.

The DEFAULT value * indicates that the product version is active.

The administrator can set * the guidance to DEPRECATED to inform users that the product version * is deprecated. Users are able to make updates to a provisioned product of a * deprecated version but cannot launch new provisioned products using a deprecated * version.

*/ inline UpdateProvisioningArtifactRequest& 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.

The DEFAULT value * indicates that the product version is active.

The administrator can set * the guidance to DEPRECATED to inform users that the product version * is deprecated. Users are able to make updates to a provisioned product of a * deprecated version but cannot launch new provisioned products using a deprecated * version.

*/ inline UpdateProvisioningArtifactRequest& WithGuidance(ProvisioningArtifactGuidance&& value) { SetGuidance(std::move(value)); return *this;} private: Aws::String m_acceptLanguage; bool m_acceptLanguageHasBeenSet = false; Aws::String m_productId; bool m_productIdHasBeenSet = false; Aws::String m_provisioningArtifactId; bool m_provisioningArtifactIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; bool m_active; bool m_activeHasBeenSet = false; ProvisioningArtifactGuidance m_guidance; bool m_guidanceHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws