/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ServiceCatalog { namespace Model { /** */ class AssociateServiceActionWithProvisioningArtifactRequest : public ServiceCatalogRequest { public: AWS_SERVICECATALOG_API AssociateServiceActionWithProvisioningArtifactRequest(); // 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 "AssociateServiceActionWithProvisioningArtifact"; } AWS_SERVICECATALOG_API Aws::String SerializePayload() const override; AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The product identifier. For example, prod-abcdzk7xy33qa.

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

The product identifier. For example, prod-abcdzk7xy33qa.

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

The product identifier. For example, prod-abcdzk7xy33qa.

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

The product identifier. For example, prod-abcdzk7xy33qa.

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

The product identifier. For example, prod-abcdzk7xy33qa.

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

The product identifier. For example, prod-abcdzk7xy33qa.

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

The product identifier. For example, prod-abcdzk7xy33qa.

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

The product identifier. For example, prod-abcdzk7xy33qa.

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

The identifier of the provisioning artifact. For example, * pa-4abcdjnxjj6ne.

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

The identifier of the provisioning artifact. For example, * pa-4abcdjnxjj6ne.

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

The identifier of the provisioning artifact. For example, * pa-4abcdjnxjj6ne.

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

The identifier of the provisioning artifact. For example, * pa-4abcdjnxjj6ne.

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

The identifier of the provisioning artifact. For example, * pa-4abcdjnxjj6ne.

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

The identifier of the provisioning artifact. For example, * pa-4abcdjnxjj6ne.

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

The identifier of the provisioning artifact. For example, * pa-4abcdjnxjj6ne.

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

The identifier of the provisioning artifact. For example, * pa-4abcdjnxjj6ne.

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

The self-service action identifier. For example, * act-fs7abcd89wxyz.

*/ inline const Aws::String& GetServiceActionId() const{ return m_serviceActionId; } /** *

The self-service action identifier. For example, * act-fs7abcd89wxyz.

*/ inline bool ServiceActionIdHasBeenSet() const { return m_serviceActionIdHasBeenSet; } /** *

The self-service action identifier. For example, * act-fs7abcd89wxyz.

*/ inline void SetServiceActionId(const Aws::String& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = value; } /** *

The self-service action identifier. For example, * act-fs7abcd89wxyz.

*/ inline void SetServiceActionId(Aws::String&& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = std::move(value); } /** *

The self-service action identifier. For example, * act-fs7abcd89wxyz.

*/ inline void SetServiceActionId(const char* value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId.assign(value); } /** *

The self-service action identifier. For example, * act-fs7abcd89wxyz.

*/ inline AssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionId(const Aws::String& value) { SetServiceActionId(value); return *this;} /** *

The self-service action identifier. For example, * act-fs7abcd89wxyz.

*/ inline AssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionId(Aws::String&& value) { SetServiceActionId(std::move(value)); return *this;} /** *

The self-service action identifier. For example, * act-fs7abcd89wxyz.

*/ inline AssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionId(const char* value) { SetServiceActionId(value); return *this;} /** *

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 AssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;} /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

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

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline AssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;} private: Aws::String m_productId; bool m_productIdHasBeenSet = false; Aws::String m_provisioningArtifactId; bool m_provisioningArtifactIdHasBeenSet = false; Aws::String m_serviceActionId; bool m_serviceActionIdHasBeenSet = false; Aws::String m_acceptLanguage; bool m_acceptLanguageHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws