AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
FailedServiceActionAssociation.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicecatalog/model/ServiceActionAssociationErrorCode.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ServiceCatalog
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SERVICECATALOG_API FailedServiceActionAssociation() = default;
40 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetServiceActionId() const { return m_serviceActionId; }
49 inline bool ServiceActionIdHasBeenSet() const { return m_serviceActionIdHasBeenSet; }
50 template<typename ServiceActionIdT = Aws::String>
51 void SetServiceActionId(ServiceActionIdT&& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = std::forward<ServiceActionIdT>(value); }
52 template<typename ServiceActionIdT = Aws::String>
53 FailedServiceActionAssociation& WithServiceActionId(ServiceActionIdT&& value) { SetServiceActionId(std::forward<ServiceActionIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetProductId() const { return m_productId; }
61 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
62 template<typename ProductIdT = Aws::String>
63 void SetProductId(ProductIdT&& value) { m_productIdHasBeenSet = true; m_productId = std::forward<ProductIdT>(value); }
64 template<typename ProductIdT = Aws::String>
65 FailedServiceActionAssociation& WithProductId(ProductIdT&& value) { SetProductId(std::forward<ProductIdT>(value)); return *this;}
67
69
73 inline const Aws::String& GetProvisioningArtifactId() const { return m_provisioningArtifactId; }
74 inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
75 template<typename ProvisioningArtifactIdT = Aws::String>
76 void SetProvisioningArtifactId(ProvisioningArtifactIdT&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::forward<ProvisioningArtifactIdT>(value); }
77 template<typename ProvisioningArtifactIdT = Aws::String>
78 FailedServiceActionAssociation& WithProvisioningArtifactId(ProvisioningArtifactIdT&& value) { SetProvisioningArtifactId(std::forward<ProvisioningArtifactIdT>(value)); return *this;}
80
82
85 inline ServiceActionAssociationErrorCode GetErrorCode() const { return m_errorCode; }
86 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
87 inline void SetErrorCode(ServiceActionAssociationErrorCode value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
90
92
95 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
96 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
97 template<typename ErrorMessageT = Aws::String>
98 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
99 template<typename ErrorMessageT = Aws::String>
100 FailedServiceActionAssociation& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
102 private:
103
104 Aws::String m_serviceActionId;
105 bool m_serviceActionIdHasBeenSet = false;
106
107 Aws::String m_productId;
108 bool m_productIdHasBeenSet = false;
109
110 Aws::String m_provisioningArtifactId;
111 bool m_provisioningArtifactIdHasBeenSet = false;
112
114 bool m_errorCodeHasBeenSet = false;
115
116 Aws::String m_errorMessage;
117 bool m_errorMessageHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace ServiceCatalog
122} // namespace Aws
AWS_SERVICECATALOG_API FailedServiceActionAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
FailedServiceActionAssociation & WithProductId(ProductIdT &&value)
FailedServiceActionAssociation & WithProvisioningArtifactId(ProvisioningArtifactIdT &&value)
AWS_SERVICECATALOG_API FailedServiceActionAssociation()=default
AWS_SERVICECATALOG_API FailedServiceActionAssociation(Aws::Utils::Json::JsonView jsonValue)
FailedServiceActionAssociation & WithErrorCode(ServiceActionAssociationErrorCode value)
FailedServiceActionAssociation & WithErrorMessage(ErrorMessageT &&value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
FailedServiceActionAssociation & WithServiceActionId(ServiceActionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue