AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetServiceActionId(const Aws::String& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = value; }
51 inline void SetServiceActionId(Aws::String&& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = std::move(value); }
52 inline void SetServiceActionId(const char* value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId.assign(value); }
54 inline FailedServiceActionAssociation& WithServiceActionId(Aws::String&& value) { SetServiceActionId(std::move(value)); return *this;}
55 inline FailedServiceActionAssociation& WithServiceActionId(const char* value) { SetServiceActionId(value); return *this;}
57
59
62 inline const Aws::String& GetProductId() const{ return m_productId; }
63 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
64 inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
65 inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
66 inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
67 inline FailedServiceActionAssociation& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
68 inline FailedServiceActionAssociation& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
69 inline FailedServiceActionAssociation& WithProductId(const char* value) { SetProductId(value); return *this;}
71
73
77 inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
78 inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
79 inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; }
80 inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); }
81 inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); }
86
88
91 inline const ServiceActionAssociationErrorCode& GetErrorCode() const{ return m_errorCode; }
92 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
93 inline void SetErrorCode(const ServiceActionAssociationErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
94 inline void SetErrorCode(ServiceActionAssociationErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
98
100
103 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
104 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
105 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
106 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
107 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
108 inline FailedServiceActionAssociation& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
109 inline FailedServiceActionAssociation& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
110 inline FailedServiceActionAssociation& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
112 private:
113
114 Aws::String m_serviceActionId;
115 bool m_serviceActionIdHasBeenSet = false;
116
117 Aws::String m_productId;
118 bool m_productIdHasBeenSet = false;
119
120 Aws::String m_provisioningArtifactId;
121 bool m_provisioningArtifactIdHasBeenSet = false;
122
124 bool m_errorCodeHasBeenSet = false;
125
126 Aws::String m_errorMessage;
127 bool m_errorMessageHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace ServiceCatalog
132} // namespace Aws
FailedServiceActionAssociation & WithErrorCode(ServiceActionAssociationErrorCode &&value)
FailedServiceActionAssociation & WithProductId(Aws::String &&value)
FailedServiceActionAssociation & WithErrorMessage(const Aws::String &value)
AWS_SERVICECATALOG_API FailedServiceActionAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const ServiceActionAssociationErrorCode &value)
FailedServiceActionAssociation & WithProvisioningArtifactId(const char *value)
FailedServiceActionAssociation & WithErrorMessage(Aws::String &&value)
FailedServiceActionAssociation & WithProvisioningArtifactId(const Aws::String &value)
FailedServiceActionAssociation & WithProvisioningArtifactId(Aws::String &&value)
FailedServiceActionAssociation & WithErrorCode(const ServiceActionAssociationErrorCode &value)
AWS_SERVICECATALOG_API FailedServiceActionAssociation(Aws::Utils::Json::JsonView jsonValue)
FailedServiceActionAssociation & WithServiceActionId(const Aws::String &value)
FailedServiceActionAssociation & WithProductId(const char *value)
FailedServiceActionAssociation & WithServiceActionId(const char *value)
FailedServiceActionAssociation & WithProductId(const Aws::String &value)
FailedServiceActionAssociation & WithErrorMessage(const char *value)
FailedServiceActionAssociation & WithServiceActionId(Aws::String &&value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
const ServiceActionAssociationErrorCode & GetErrorCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue