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

One or more associations, each consisting of the Action ID, the Product ID, * and the Provisioning Artifact ID.

*/ inline const Aws::Vector& GetServiceActionAssociations() const{ return m_serviceActionAssociations; } /** *

One or more associations, each consisting of the Action ID, the Product ID, * and the Provisioning Artifact ID.

*/ inline bool ServiceActionAssociationsHasBeenSet() const { return m_serviceActionAssociationsHasBeenSet; } /** *

One or more associations, each consisting of the Action ID, the Product ID, * and the Provisioning Artifact ID.

*/ inline void SetServiceActionAssociations(const Aws::Vector& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations = value; } /** *

One or more associations, each consisting of the Action ID, the Product ID, * and the Provisioning Artifact ID.

*/ inline void SetServiceActionAssociations(Aws::Vector&& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations = std::move(value); } /** *

One or more associations, each consisting of the Action ID, the Product ID, * and the Provisioning Artifact ID.

*/ inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionAssociations(const Aws::Vector& value) { SetServiceActionAssociations(value); return *this;} /** *

One or more associations, each consisting of the Action ID, the Product ID, * and the Provisioning Artifact ID.

*/ inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionAssociations(Aws::Vector&& value) { SetServiceActionAssociations(std::move(value)); return *this;} /** *

One or more associations, each consisting of the Action ID, the Product ID, * and the Provisioning Artifact ID.

*/ inline BatchAssociateServiceActionWithProvisioningArtifactRequest& AddServiceActionAssociations(const ServiceActionAssociation& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations.push_back(value); return *this; } /** *

One or more associations, each consisting of the Action ID, the Product ID, * and the Provisioning Artifact ID.

*/ inline BatchAssociateServiceActionWithProvisioningArtifactRequest& AddServiceActionAssociations(ServiceActionAssociation&& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations.push_back(std::move(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 BatchAssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;} /** *

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

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

The language code.

  • jp - Japanese

  • *
  • zh - Chinese

*/ inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;} private: Aws::Vector m_serviceActionAssociations; bool m_serviceActionAssociationsHasBeenSet = false; Aws::String m_acceptLanguage; bool m_acceptLanguageHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws