/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ServiceCatalog { namespace Model { /** *

A self-service action association consisting of the Action ID, the Product * ID, and the Provisioning Artifact ID.

See Also:

AWS * API Reference

*/ class ServiceActionAssociation { public: AWS_SERVICECATALOG_API ServiceActionAssociation(); AWS_SERVICECATALOG_API ServiceActionAssociation(Aws::Utils::Json::JsonView jsonValue); AWS_SERVICECATALOG_API ServiceActionAssociation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 ServiceActionAssociation& WithServiceActionId(const Aws::String& value) { SetServiceActionId(value); return *this;} /** *

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

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

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

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

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 ServiceActionAssociation& WithProductId(const Aws::String& value) { SetProductId(value); return *this;} /** *

The product identifier. For example, prod-abcdzk7xy33qa.

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

The product identifier. For example, prod-abcdzk7xy33qa.

*/ inline ServiceActionAssociation& 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 ServiceActionAssociation& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;} /** *

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

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

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

*/ inline ServiceActionAssociation& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;} private: Aws::String m_serviceActionId; bool m_serviceActionIdHasBeenSet = false; Aws::String m_productId; bool m_productIdHasBeenSet = false; Aws::String m_provisioningArtifactId; bool m_provisioningArtifactIdHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws