AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProgressEvent.h
1
6#pragma once
7#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudcontrol/model/Operation.h>
10#include <aws/cloudcontrol/model/OperationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/cloudcontrol/model/HandlerErrorCode.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CloudControlApi
26{
27namespace Model
28{
29
40 {
41 public:
42 AWS_CLOUDCONTROLAPI_API ProgressEvent();
43 AWS_CLOUDCONTROLAPI_API ProgressEvent(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLOUDCONTROLAPI_API ProgressEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CLOUDCONTROLAPI_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetTypeName() const{ return m_typeName; }
53 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
54 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
55 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
56 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
57 inline ProgressEvent& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
58 inline ProgressEvent& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
59 inline ProgressEvent& WithTypeName(const char* value) { SetTypeName(value); return *this;}
61
63
68 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
69 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
70 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
71 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
72 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
73 inline ProgressEvent& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
74 inline ProgressEvent& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
75 inline ProgressEvent& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
77
79
85 inline const Aws::String& GetRequestToken() const{ return m_requestToken; }
86 inline bool RequestTokenHasBeenSet() const { return m_requestTokenHasBeenSet; }
87 inline void SetRequestToken(const Aws::String& value) { m_requestTokenHasBeenSet = true; m_requestToken = value; }
88 inline void SetRequestToken(Aws::String&& value) { m_requestTokenHasBeenSet = true; m_requestToken = std::move(value); }
89 inline void SetRequestToken(const char* value) { m_requestTokenHasBeenSet = true; m_requestToken.assign(value); }
90 inline ProgressEvent& WithRequestToken(const Aws::String& value) { SetRequestToken(value); return *this;}
91 inline ProgressEvent& WithRequestToken(Aws::String&& value) { SetRequestToken(std::move(value)); return *this;}
92 inline ProgressEvent& WithRequestToken(const char* value) { SetRequestToken(value); return *this;}
94
96
99 inline const Operation& GetOperation() const{ return m_operation; }
100 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
101 inline void SetOperation(const Operation& value) { m_operationHasBeenSet = true; m_operation = value; }
102 inline void SetOperation(Operation&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
103 inline ProgressEvent& WithOperation(const Operation& value) { SetOperation(value); return *this;}
104 inline ProgressEvent& WithOperation(Operation&& value) { SetOperation(std::move(value)); return *this;}
106
108
120 inline const OperationStatus& GetOperationStatus() const{ return m_operationStatus; }
121 inline bool OperationStatusHasBeenSet() const { return m_operationStatusHasBeenSet; }
122 inline void SetOperationStatus(const OperationStatus& value) { m_operationStatusHasBeenSet = true; m_operationStatus = value; }
123 inline void SetOperationStatus(OperationStatus&& value) { m_operationStatusHasBeenSet = true; m_operationStatus = std::move(value); }
124 inline ProgressEvent& WithOperationStatus(const OperationStatus& value) { SetOperationStatus(value); return *this;}
125 inline ProgressEvent& WithOperationStatus(OperationStatus&& value) { SetOperationStatus(std::move(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetEventTime() const{ return m_eventTime; }
133 inline bool EventTimeHasBeenSet() const { return m_eventTimeHasBeenSet; }
134 inline void SetEventTime(const Aws::Utils::DateTime& value) { m_eventTimeHasBeenSet = true; m_eventTime = value; }
135 inline void SetEventTime(Aws::Utils::DateTime&& value) { m_eventTimeHasBeenSet = true; m_eventTime = std::move(value); }
136 inline ProgressEvent& WithEventTime(const Aws::Utils::DateTime& value) { SetEventTime(value); return *this;}
137 inline ProgressEvent& WithEventTime(Aws::Utils::DateTime&& value) { SetEventTime(std::move(value)); return *this;}
139
141
145 inline const Aws::String& GetResourceModel() const{ return m_resourceModel; }
146 inline bool ResourceModelHasBeenSet() const { return m_resourceModelHasBeenSet; }
147 inline void SetResourceModel(const Aws::String& value) { m_resourceModelHasBeenSet = true; m_resourceModel = value; }
148 inline void SetResourceModel(Aws::String&& value) { m_resourceModelHasBeenSet = true; m_resourceModel = std::move(value); }
149 inline void SetResourceModel(const char* value) { m_resourceModelHasBeenSet = true; m_resourceModel.assign(value); }
150 inline ProgressEvent& WithResourceModel(const Aws::String& value) { SetResourceModel(value); return *this;}
151 inline ProgressEvent& WithResourceModel(Aws::String&& value) { SetResourceModel(std::move(value)); return *this;}
152 inline ProgressEvent& WithResourceModel(const char* value) { SetResourceModel(value); return *this;}
154
156
159 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
160 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
161 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
162 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
163 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
164 inline ProgressEvent& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
165 inline ProgressEvent& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
166 inline ProgressEvent& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
168
170
177 inline const HandlerErrorCode& GetErrorCode() const{ return m_errorCode; }
178 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
179 inline void SetErrorCode(const HandlerErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
180 inline void SetErrorCode(HandlerErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
181 inline ProgressEvent& WithErrorCode(const HandlerErrorCode& value) { SetErrorCode(value); return *this;}
182 inline ProgressEvent& WithErrorCode(HandlerErrorCode&& value) { SetErrorCode(std::move(value)); return *this;}
184
186
189 inline const Aws::Utils::DateTime& GetRetryAfter() const{ return m_retryAfter; }
190 inline bool RetryAfterHasBeenSet() const { return m_retryAfterHasBeenSet; }
191 inline void SetRetryAfter(const Aws::Utils::DateTime& value) { m_retryAfterHasBeenSet = true; m_retryAfter = value; }
192 inline void SetRetryAfter(Aws::Utils::DateTime&& value) { m_retryAfterHasBeenSet = true; m_retryAfter = std::move(value); }
193 inline ProgressEvent& WithRetryAfter(const Aws::Utils::DateTime& value) { SetRetryAfter(value); return *this;}
194 inline ProgressEvent& WithRetryAfter(Aws::Utils::DateTime&& value) { SetRetryAfter(std::move(value)); return *this;}
196 private:
197
198 Aws::String m_typeName;
199 bool m_typeNameHasBeenSet = false;
200
201 Aws::String m_identifier;
202 bool m_identifierHasBeenSet = false;
203
204 Aws::String m_requestToken;
205 bool m_requestTokenHasBeenSet = false;
206
207 Operation m_operation;
208 bool m_operationHasBeenSet = false;
209
210 OperationStatus m_operationStatus;
211 bool m_operationStatusHasBeenSet = false;
212
213 Aws::Utils::DateTime m_eventTime;
214 bool m_eventTimeHasBeenSet = false;
215
216 Aws::String m_resourceModel;
217 bool m_resourceModelHasBeenSet = false;
218
219 Aws::String m_statusMessage;
220 bool m_statusMessageHasBeenSet = false;
221
222 HandlerErrorCode m_errorCode;
223 bool m_errorCodeHasBeenSet = false;
224
225 Aws::Utils::DateTime m_retryAfter;
226 bool m_retryAfterHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace CloudControlApi
231} // namespace Aws
void SetRetryAfter(const Aws::Utils::DateTime &value)
void SetIdentifier(const Aws::String &value)
void SetIdentifier(Aws::String &&value)
const Aws::String & GetStatusMessage() const
ProgressEvent & WithResourceModel(Aws::String &&value)
void SetRequestToken(const Aws::String &value)
void SetOperationStatus(const OperationStatus &value)
AWS_CLOUDCONTROLAPI_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceModel() const
void SetEventTime(const Aws::Utils::DateTime &value)
AWS_CLOUDCONTROLAPI_API ProgressEvent()
const OperationStatus & GetOperationStatus() const
void SetResourceModel(const Aws::String &value)
void SetRetryAfter(Aws::Utils::DateTime &&value)
ProgressEvent & WithEventTime(const Aws::Utils::DateTime &value)
ProgressEvent & WithRetryAfter(Aws::Utils::DateTime &&value)
void SetResourceModel(Aws::String &&value)
void SetErrorCode(const HandlerErrorCode &value)
ProgressEvent & WithStatusMessage(const Aws::String &value)
void SetTypeName(const Aws::String &value)
ProgressEvent & WithRequestToken(const Aws::String &value)
void SetErrorCode(HandlerErrorCode &&value)
ProgressEvent & WithErrorCode(const HandlerErrorCode &value)
ProgressEvent & WithIdentifier(Aws::String &&value)
AWS_CLOUDCONTROLAPI_API ProgressEvent(Aws::Utils::Json::JsonView jsonValue)
ProgressEvent & WithTypeName(const Aws::String &value)
ProgressEvent & WithResourceModel(const char *value)
ProgressEvent & WithResourceModel(const Aws::String &value)
const Aws::String & GetIdentifier() const
ProgressEvent & WithStatusMessage(Aws::String &&value)
ProgressEvent & WithIdentifier(const Aws::String &value)
ProgressEvent & WithTypeName(Aws::String &&value)
ProgressEvent & WithRetryAfter(const Aws::Utils::DateTime &value)
void SetStatusMessage(const Aws::String &value)
ProgressEvent & WithOperation(const Operation &value)
void SetEventTime(Aws::Utils::DateTime &&value)
ProgressEvent & WithEventTime(Aws::Utils::DateTime &&value)
ProgressEvent & WithRequestToken(Aws::String &&value)
void SetStatusMessage(Aws::String &&value)
ProgressEvent & WithOperation(Operation &&value)
AWS_CLOUDCONTROLAPI_API ProgressEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTypeName() const
ProgressEvent & WithIdentifier(const char *value)
ProgressEvent & WithStatusMessage(const char *value)
ProgressEvent & WithOperationStatus(const OperationStatus &value)
const Aws::Utils::DateTime & GetEventTime() const
const Aws::String & GetRequestToken() const
void SetOperation(const Operation &value)
void SetOperationStatus(OperationStatus &&value)
const Aws::Utils::DateTime & GetRetryAfter() const
void SetRequestToken(Aws::String &&value)
ProgressEvent & WithOperationStatus(OperationStatus &&value)
ProgressEvent & WithTypeName(const char *value)
ProgressEvent & WithRequestToken(const char *value)
ProgressEvent & WithErrorCode(HandlerErrorCode &&value)
const HandlerErrorCode & GetErrorCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue