AWS SDK for C++  1.9.102
AWS SDK for C++
FailedServiceActionAssociation.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ServiceCatalog
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetServiceActionId() const{ return m_serviceActionId; }
48 
53  inline bool ServiceActionIdHasBeenSet() const { return m_serviceActionIdHasBeenSet; }
54 
59  inline void SetServiceActionId(const Aws::String& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = value; }
60 
65  inline void SetServiceActionId(Aws::String&& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = std::move(value); }
66 
71  inline void SetServiceActionId(const char* value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId.assign(value); }
72 
77  inline FailedServiceActionAssociation& WithServiceActionId(const Aws::String& value) { SetServiceActionId(value); return *this;}
78 
83  inline FailedServiceActionAssociation& WithServiceActionId(Aws::String&& value) { SetServiceActionId(std::move(value)); return *this;}
84 
89  inline FailedServiceActionAssociation& WithServiceActionId(const char* value) { SetServiceActionId(value); return *this;}
90 
91 
95  inline const Aws::String& GetProductId() const{ return m_productId; }
96 
100  inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
101 
105  inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
106 
110  inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
111 
115  inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
116 
120  inline FailedServiceActionAssociation& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
121 
125  inline FailedServiceActionAssociation& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
126 
130  inline FailedServiceActionAssociation& WithProductId(const char* value) { SetProductId(value); return *this;}
131 
132 
137  inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
138 
143  inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
144 
149  inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; }
150 
155  inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); }
156 
161  inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); }
162 
167  inline FailedServiceActionAssociation& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;}
168 
173  inline FailedServiceActionAssociation& WithProvisioningArtifactId(Aws::String&& value) { SetProvisioningArtifactId(std::move(value)); return *this;}
174 
179  inline FailedServiceActionAssociation& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;}
180 
181 
185  inline const ServiceActionAssociationErrorCode& GetErrorCode() const{ return m_errorCode; }
186 
190  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
191 
195  inline void SetErrorCode(const ServiceActionAssociationErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
196 
200  inline void SetErrorCode(ServiceActionAssociationErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
201 
205  inline FailedServiceActionAssociation& WithErrorCode(const ServiceActionAssociationErrorCode& value) { SetErrorCode(value); return *this;}
206 
210  inline FailedServiceActionAssociation& WithErrorCode(ServiceActionAssociationErrorCode&& value) { SetErrorCode(std::move(value)); return *this;}
211 
212 
216  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
217 
221  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
222 
226  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
227 
231  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
232 
236  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
237 
241  inline FailedServiceActionAssociation& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
242 
246  inline FailedServiceActionAssociation& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
247 
251  inline FailedServiceActionAssociation& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
252 
253  private:
254 
255  Aws::String m_serviceActionId;
256  bool m_serviceActionIdHasBeenSet;
257 
258  Aws::String m_productId;
259  bool m_productIdHasBeenSet;
260 
261  Aws::String m_provisioningArtifactId;
262  bool m_provisioningArtifactIdHasBeenSet;
263 
265  bool m_errorCodeHasBeenSet;
266 
267  Aws::String m_errorMessage;
268  bool m_errorMessageHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace ServiceCatalog
273 } // namespace Aws
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithErrorMessage
FailedServiceActionAssociation & WithErrorMessage(const char *value)
Definition: FailedServiceActionAssociation.h:251
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: FailedServiceActionAssociation.h:236
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithErrorMessage
FailedServiceActionAssociation & WithErrorMessage(const Aws::String &value)
Definition: FailedServiceActionAssociation.h:241
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetProvisioningArtifactId
void SetProvisioningArtifactId(const char *value)
Definition: FailedServiceActionAssociation.h:161
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithErrorCode
FailedServiceActionAssociation & WithErrorCode(ServiceActionAssociationErrorCode &&value)
Definition: FailedServiceActionAssociation.h:210
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: FailedServiceActionAssociation.h:231
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetProvisioningArtifactId
void SetProvisioningArtifactId(const Aws::String &value)
Definition: FailedServiceActionAssociation.h:149
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::operator=
FailedServiceActionAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetProvisioningArtifactId
void SetProvisioningArtifactId(Aws::String &&value)
Definition: FailedServiceActionAssociation.h:155
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: FailedServiceActionAssociation.h:221
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithServiceActionId
FailedServiceActionAssociation & WithServiceActionId(Aws::String &&value)
Definition: FailedServiceActionAssociation.h:83
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithProvisioningArtifactId
FailedServiceActionAssociation & WithProvisioningArtifactId(const char *value)
Definition: FailedServiceActionAssociation.h:179
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::FailedServiceActionAssociation
FailedServiceActionAssociation()
Aws::ServiceCatalog::Model::FailedServiceActionAssociation
Definition: FailedServiceActionAssociation.h:35
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithProvisioningArtifactId
FailedServiceActionAssociation & WithProvisioningArtifactId(Aws::String &&value)
Definition: FailedServiceActionAssociation.h:173
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetServiceActionId
void SetServiceActionId(const char *value)
Definition: FailedServiceActionAssociation.h:71
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetErrorCode
void SetErrorCode(const ServiceActionAssociationErrorCode &value)
Definition: FailedServiceActionAssociation.h:195
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetProductId
void SetProductId(const char *value)
Definition: FailedServiceActionAssociation.h:115
Aws::ServiceCatalog::Model::ServiceActionAssociationErrorCode
ServiceActionAssociationErrorCode
Definition: ServiceActionAssociationErrorCode.h:17
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetErrorCode
void SetErrorCode(ServiceActionAssociationErrorCode &&value)
Definition: FailedServiceActionAssociation.h:200
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetProductId
void SetProductId(const Aws::String &value)
Definition: FailedServiceActionAssociation.h:105
ServiceActionAssociationErrorCode.h
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithProductId
FailedServiceActionAssociation & WithProductId(const Aws::String &value)
Definition: FailedServiceActionAssociation.h:120
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::ProvisioningArtifactIdHasBeenSet
bool ProvisioningArtifactIdHasBeenSet() const
Definition: FailedServiceActionAssociation.h:143
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::GetProductId
const Aws::String & GetProductId() const
Definition: FailedServiceActionAssociation.h:95
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithProductId
FailedServiceActionAssociation & WithProductId(Aws::String &&value)
Definition: FailedServiceActionAssociation.h:125
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithProductId
FailedServiceActionAssociation & WithProductId(const char *value)
Definition: FailedServiceActionAssociation.h:130
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithErrorMessage
FailedServiceActionAssociation & WithErrorMessage(Aws::String &&value)
Definition: FailedServiceActionAssociation.h:246
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetServiceActionId
void SetServiceActionId(Aws::String &&value)
Definition: FailedServiceActionAssociation.h:65
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: FailedServiceActionAssociation.h:216
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::ServiceActionIdHasBeenSet
bool ServiceActionIdHasBeenSet() const
Definition: FailedServiceActionAssociation.h:53
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetProductId
void SetProductId(Aws::String &&value)
Definition: FailedServiceActionAssociation.h:110
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetServiceActionId
void SetServiceActionId(const Aws::String &value)
Definition: FailedServiceActionAssociation.h:59
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithErrorCode
FailedServiceActionAssociation & WithErrorCode(const ServiceActionAssociationErrorCode &value)
Definition: FailedServiceActionAssociation.h:205
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::GetServiceActionId
const Aws::String & GetServiceActionId() const
Definition: FailedServiceActionAssociation.h:47
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::ProductIdHasBeenSet
bool ProductIdHasBeenSet() const
Definition: FailedServiceActionAssociation.h:100
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::GetProvisioningArtifactId
const Aws::String & GetProvisioningArtifactId() const
Definition: FailedServiceActionAssociation.h:137
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithServiceActionId
FailedServiceActionAssociation & WithServiceActionId(const char *value)
Definition: FailedServiceActionAssociation.h:89
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: FailedServiceActionAssociation.h:226
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::FailedServiceActionAssociation
FailedServiceActionAssociation(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithServiceActionId
FailedServiceActionAssociation & WithServiceActionId(const Aws::String &value)
Definition: FailedServiceActionAssociation.h:77
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::WithProvisioningArtifactId
FailedServiceActionAssociation & WithProvisioningArtifactId(const Aws::String &value)
Definition: FailedServiceActionAssociation.h:167
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::GetErrorCode
const ServiceActionAssociationErrorCode & GetErrorCode() const
Definition: FailedServiceActionAssociation.h:185
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: FailedServiceActionAssociation.h:190
Aws::ServiceCatalog::Model::FailedServiceActionAssociation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const