/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object containing information about the error, along with identifying
* information about the self-service action and its associations.See
* Also:
AWS
* API Reference
The self-service action identifier. For example,
* act-fs7abcd89wxyz
.
The self-service action identifier. For example,
* act-fs7abcd89wxyz
.
The self-service action identifier. For example,
* act-fs7abcd89wxyz
.
The self-service action identifier. For example,
* act-fs7abcd89wxyz
.
The self-service action identifier. For example,
* act-fs7abcd89wxyz
.
The self-service action identifier. For example,
* act-fs7abcd89wxyz
.
The self-service action identifier. For example,
* act-fs7abcd89wxyz
.
The self-service action identifier. For example,
* act-fs7abcd89wxyz
.
The product identifier. For example, prod-abcdzk7xy33qa
.
The product identifier. For example, prod-abcdzk7xy33qa
.
The product identifier. For example, prod-abcdzk7xy33qa
.
The product identifier. For example, prod-abcdzk7xy33qa
.
The product identifier. For example, prod-abcdzk7xy33qa
.
The product identifier. For example, prod-abcdzk7xy33qa
.
The product identifier. For example, prod-abcdzk7xy33qa
.
The product identifier. For example, prod-abcdzk7xy33qa
.
The identifier of the provisioning artifact. For example,
* pa-4abcdjnxjj6ne
.
The identifier of the provisioning artifact. For example,
* pa-4abcdjnxjj6ne
.
The identifier of the provisioning artifact. For example,
* pa-4abcdjnxjj6ne
.
The identifier of the provisioning artifact. For example,
* pa-4abcdjnxjj6ne
.
The identifier of the provisioning artifact. For example,
* pa-4abcdjnxjj6ne
.
The identifier of the provisioning artifact. For example,
* pa-4abcdjnxjj6ne
.
The identifier of the provisioning artifact. For example,
* pa-4abcdjnxjj6ne
.
The identifier of the provisioning artifact. For example,
* pa-4abcdjnxjj6ne
.
The error code. Valid values are listed below.
*/ inline const ServiceActionAssociationErrorCode& GetErrorCode() const{ return m_errorCode; } /** *The error code. Valid values are listed below.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code. Valid values are listed below.
*/ inline void SetErrorCode(const ServiceActionAssociationErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code. Valid values are listed below.
*/ inline void SetErrorCode(ServiceActionAssociationErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code. Valid values are listed below.
*/ inline FailedServiceActionAssociation& WithErrorCode(const ServiceActionAssociationErrorCode& value) { SetErrorCode(value); return *this;} /** *The error code. Valid values are listed below.
*/ inline FailedServiceActionAssociation& WithErrorCode(ServiceActionAssociationErrorCode&& value) { SetErrorCode(std::move(value)); return *this;} /** *A text description of the error.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *A text description of the error.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *A text description of the error.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *A text description of the error.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *A text description of the error.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *A text description of the error.
*/ inline FailedServiceActionAssociation& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *A text description of the error.
*/ inline FailedServiceActionAssociation& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *A text description of the error.
*/ inline FailedServiceActionAssociation& WithErrorMessage(const char* value) { SetErrorMessage(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; ServiceActionAssociationErrorCode m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws