AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
GetAgentRecommendationGenerationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/Document.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
12#include <aws/wellarchitected/model/ErrorDetails.h>
13#include <aws/wellarchitected/model/GenerationStatus.h>
14#include <aws/wellarchitected/model/Progress.h>
15#include <aws/wellarchitected/model/Scope.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace WellArchitected {
29namespace Model {
31 public:
32 AWS_WELLARCHITECTED_API GetAgentRecommendationGenerationResult() = default;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
59 template <typename ProfileArnT = Aws::String>
60 void SetProfileArn(ProfileArnT&& value) {
61 m_profileArnHasBeenSet = true;
62 m_profileArn = std::forward<ProfileArnT>(value);
63 }
64 template <typename ProfileArnT = Aws::String>
66 SetProfileArn(std::forward<ProfileArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline GenerationStatus GetStatus() const { return m_status; }
93 inline void SetStatus(GenerationStatus value) {
94 m_statusHasBeenSet = true;
95 m_status = value;
96 }
98 SetStatus(value);
99 return *this;
100 }
102
104
107 inline const Aws::Utils::DateTime& GetEstimatedCompletionTime() const { return m_estimatedCompletionTime; }
108 template <typename EstimatedCompletionTimeT = Aws::Utils::DateTime>
109 void SetEstimatedCompletionTime(EstimatedCompletionTimeT&& value) {
110 m_estimatedCompletionTimeHasBeenSet = true;
111 m_estimatedCompletionTime = std::forward<EstimatedCompletionTimeT>(value);
112 }
113 template <typename EstimatedCompletionTimeT = Aws::Utils::DateTime>
115 SetEstimatedCompletionTime(std::forward<EstimatedCompletionTimeT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
125 template <typename CreatedByT = Aws::String>
126 void SetCreatedBy(CreatedByT&& value) {
127 m_createdByHasBeenSet = true;
128 m_createdBy = std::forward<CreatedByT>(value);
129 }
130 template <typename CreatedByT = Aws::String>
132 SetCreatedBy(std::forward<CreatedByT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
142 template <typename CreatedAtT = Aws::Utils::DateTime>
143 void SetCreatedAt(CreatedAtT&& value) {
144 m_createdAtHasBeenSet = true;
145 m_createdAt = std::forward<CreatedAtT>(value);
146 }
147 template <typename CreatedAtT = Aws::Utils::DateTime>
149 SetCreatedAt(std::forward<CreatedAtT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
159 template <typename LastModifiedByT = Aws::String>
160 void SetLastModifiedBy(LastModifiedByT&& value) {
161 m_lastModifiedByHasBeenSet = true;
162 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
163 }
164 template <typename LastModifiedByT = Aws::String>
166 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
176 template <typename LastModifiedAtT = Aws::Utils::DateTime>
177 void SetLastModifiedAt(LastModifiedAtT&& value) {
178 m_lastModifiedAtHasBeenSet = true;
179 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
180 }
181 template <typename LastModifiedAtT = Aws::Utils::DateTime>
183 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
184 return *this;
185 }
187
189
193 inline Aws::Utils::DocumentView GetAdditionalContext() const { return m_additionalContext; }
194 template <typename AdditionalContextT = Aws::Utils::Document>
195 void SetAdditionalContext(AdditionalContextT&& value) {
196 m_additionalContextHasBeenSet = true;
197 m_additionalContext = std::forward<AdditionalContextT>(value);
198 }
199 template <typename AdditionalContextT = Aws::Utils::Document>
201 SetAdditionalContext(std::forward<AdditionalContextT>(value));
202 return *this;
203 }
205
207
211 inline const Scope& GetScope() const { return m_scope; }
212 template <typename ScopeT = Scope>
213 void SetScope(ScopeT&& value) {
214 m_scopeHasBeenSet = true;
215 m_scope = std::forward<ScopeT>(value);
216 }
217 template <typename ScopeT = Scope>
219 SetScope(std::forward<ScopeT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
229 template <typename StartedAtT = Aws::Utils::DateTime>
230 void SetStartedAt(StartedAtT&& value) {
231 m_startedAtHasBeenSet = true;
232 m_startedAt = std::forward<StartedAtT>(value);
233 }
234 template <typename StartedAtT = Aws::Utils::DateTime>
236 SetStartedAt(std::forward<StartedAtT>(value));
237 return *this;
238 }
240
242
245 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
246 template <typename EndedAtT = Aws::Utils::DateTime>
247 void SetEndedAt(EndedAtT&& value) {
248 m_endedAtHasBeenSet = true;
249 m_endedAt = std::forward<EndedAtT>(value);
250 }
251 template <typename EndedAtT = Aws::Utils::DateTime>
253 SetEndedAt(std::forward<EndedAtT>(value));
254 return *this;
255 }
257
259
263 inline const Progress& GetProgress() const { return m_progress; }
264 template <typename ProgressT = Progress>
265 void SetProgress(ProgressT&& value) {
266 m_progressHasBeenSet = true;
267 m_progress = std::forward<ProgressT>(value);
268 }
269 template <typename ProgressT = Progress>
271 SetProgress(std::forward<ProgressT>(value));
272 return *this;
273 }
275
277
280 inline const ErrorDetails& GetErrorDetails() const { return m_errorDetails; }
281 template <typename ErrorDetailsT = ErrorDetails>
282 void SetErrorDetails(ErrorDetailsT&& value) {
283 m_errorDetailsHasBeenSet = true;
284 m_errorDetails = std::forward<ErrorDetailsT>(value);
285 }
286 template <typename ErrorDetailsT = ErrorDetails>
288 SetErrorDetails(std::forward<ErrorDetailsT>(value));
289 return *this;
290 }
292
294
295 inline const Aws::String& GetRequestId() const { return m_requestId; }
296 template <typename RequestIdT = Aws::String>
297 void SetRequestId(RequestIdT&& value) {
298 m_requestIdHasBeenSet = true;
299 m_requestId = std::forward<RequestIdT>(value);
300 }
301 template <typename RequestIdT = Aws::String>
303 SetRequestId(std::forward<RequestIdT>(value));
304 return *this;
305 }
307 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
308
309 private:
310 Aws::String m_id;
311
312 Aws::String m_profileArn;
313
314 Aws::String m_name;
315
317
318 Aws::Utils::DateTime m_estimatedCompletionTime{};
319
320 Aws::String m_createdBy;
321
322 Aws::Utils::DateTime m_createdAt{};
323
324 Aws::String m_lastModifiedBy;
325
326 Aws::Utils::DateTime m_lastModifiedAt{};
327
328 Aws::Utils::Document m_additionalContext;
329
330 Scope m_scope;
331
332 Aws::Utils::DateTime m_startedAt{};
333
334 Aws::Utils::DateTime m_endedAt{};
335
336 Progress m_progress;
337
338 ErrorDetails m_errorDetails;
339
340 Aws::String m_requestId;
341 Aws::Http::HttpResponseCode m_HttpResponseCode;
342 bool m_idHasBeenSet = false;
343 bool m_profileArnHasBeenSet = false;
344 bool m_nameHasBeenSet = false;
345 bool m_statusHasBeenSet = false;
346 bool m_estimatedCompletionTimeHasBeenSet = false;
347 bool m_createdByHasBeenSet = false;
348 bool m_createdAtHasBeenSet = false;
349 bool m_lastModifiedByHasBeenSet = false;
350 bool m_lastModifiedAtHasBeenSet = false;
351 bool m_additionalContextHasBeenSet = false;
352 bool m_scopeHasBeenSet = false;
353 bool m_startedAtHasBeenSet = false;
354 bool m_endedAtHasBeenSet = false;
355 bool m_progressHasBeenSet = false;
356 bool m_errorDetailsHasBeenSet = false;
357 bool m_requestIdHasBeenSet = false;
358};
359
360} // namespace Model
361} // namespace WellArchitected
362} // namespace Aws
GetAgentRecommendationGenerationResult & WithAdditionalContext(AdditionalContextT &&value)
AWS_WELLARCHITECTED_API GetAgentRecommendationGenerationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAgentRecommendationGenerationResult & WithLastModifiedAt(LastModifiedAtT &&value)
GetAgentRecommendationGenerationResult & WithLastModifiedBy(LastModifiedByT &&value)
GetAgentRecommendationGenerationResult & WithRequestId(RequestIdT &&value)
GetAgentRecommendationGenerationResult & WithStatus(GenerationStatus value)
AWS_WELLARCHITECTED_API GetAgentRecommendationGenerationResult()=default
GetAgentRecommendationGenerationResult & WithCreatedAt(CreatedAtT &&value)
GetAgentRecommendationGenerationResult & WithEstimatedCompletionTime(EstimatedCompletionTimeT &&value)
GetAgentRecommendationGenerationResult & WithErrorDetails(ErrorDetailsT &&value)
GetAgentRecommendationGenerationResult & WithStartedAt(StartedAtT &&value)
GetAgentRecommendationGenerationResult & WithProfileArn(ProfileArnT &&value)
AWS_WELLARCHITECTED_API GetAgentRecommendationGenerationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAgentRecommendationGenerationResult & WithCreatedBy(CreatedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue