AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
UpdateAgentProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
13#include <aws/wellarchitected/model/AggregationConfiguration.h>
14#include <aws/wellarchitected/model/Pillar.h>
15#include <aws/wellarchitected/model/Tag.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 UpdateAgentProfileResult() = default;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 template <typename DisplayNameT = Aws::String>
59 void SetDisplayName(DisplayNameT&& value) {
60 m_displayNameHasBeenSet = true;
61 m_displayName = std::forward<DisplayNameT>(value);
62 }
63 template <typename DisplayNameT = Aws::String>
65 SetDisplayName(std::forward<DisplayNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetBusinessOverview() const { return m_businessOverview; }
92 template <typename BusinessOverviewT = Aws::String>
93 void SetBusinessOverview(BusinessOverviewT&& value) {
94 m_businessOverviewHasBeenSet = true;
95 m_businessOverview = std::forward<BusinessOverviewT>(value);
96 }
97 template <typename BusinessOverviewT = Aws::String>
98 UpdateAgentProfileResult& WithBusinessOverview(BusinessOverviewT&& value) {
99 SetBusinessOverview(std::forward<BusinessOverviewT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::Vector<Pillar>& GetPillars() const { return m_pillars; }
110 template <typename PillarsT = Aws::Vector<Pillar>>
111 void SetPillars(PillarsT&& value) {
112 m_pillarsHasBeenSet = true;
113 m_pillars = std::forward<PillarsT>(value);
114 }
115 template <typename PillarsT = Aws::Vector<Pillar>>
117 SetPillars(std::forward<PillarsT>(value));
118 return *this;
119 }
121 m_pillarsHasBeenSet = true;
122 m_pillars.push_back(value);
123 return *this;
124 }
126
128
131 inline bool GetDeletionProtection() const { return m_deletionProtection; }
132 inline void SetDeletionProtection(bool value) {
133 m_deletionProtectionHasBeenSet = true;
134 m_deletionProtection = value;
135 }
138 return *this;
139 }
141
143
146 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
147 template <typename ExecutionRoleArnT = Aws::String>
148 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
149 m_executionRoleArnHasBeenSet = true;
150 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
151 }
152 template <typename ExecutionRoleArnT = Aws::String>
153 UpdateAgentProfileResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
154 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Vector<AggregationConfiguration>& GetAggregationConfiguration() const { return m_aggregationConfiguration; }
164 template <typename AggregationConfigurationT = Aws::Vector<AggregationConfiguration>>
165 void SetAggregationConfiguration(AggregationConfigurationT&& value) {
166 m_aggregationConfigurationHasBeenSet = true;
167 m_aggregationConfiguration = std::forward<AggregationConfigurationT>(value);
168 }
169 template <typename AggregationConfigurationT = Aws::Vector<AggregationConfiguration>>
170 UpdateAgentProfileResult& WithAggregationConfiguration(AggregationConfigurationT&& value) {
171 SetAggregationConfiguration(std::forward<AggregationConfigurationT>(value));
172 return *this;
173 }
174 template <typename AggregationConfigurationT = AggregationConfiguration>
175 UpdateAgentProfileResult& AddAggregationConfiguration(AggregationConfigurationT&& value) {
176 m_aggregationConfigurationHasBeenSet = true;
177 m_aggregationConfiguration.emplace_back(std::forward<AggregationConfigurationT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::String& GetArn() const { return m_arn; }
187 template <typename ArnT = Aws::String>
188 void SetArn(ArnT&& value) {
189 m_arnHasBeenSet = true;
190 m_arn = std::forward<ArnT>(value);
191 }
192 template <typename ArnT = Aws::String>
194 SetArn(std::forward<ArnT>(value));
195 return *this;
196 }
198
200
204 inline bool GetEligibleForScheduledGeneration() const { return m_eligibleForScheduledGeneration; }
205 inline void SetEligibleForScheduledGeneration(bool value) {
206 m_eligibleForScheduledGenerationHasBeenSet = true;
207 m_eligibleForScheduledGeneration = value;
208 }
211 return *this;
212 }
214
216
220 inline bool GetEligibleForArchitectureGeneration() const { return m_eligibleForArchitectureGeneration; }
221 inline void SetEligibleForArchitectureGeneration(bool value) {
222 m_eligibleForArchitectureGenerationHasBeenSet = true;
223 m_eligibleForArchitectureGeneration = value;
224 }
227 return *this;
228 }
230
232
236 inline const Aws::Map<Aws::String, Aws::String>& GetFieldErrors() const { return m_fieldErrors; }
237 template <typename FieldErrorsT = Aws::Map<Aws::String, Aws::String>>
238 void SetFieldErrors(FieldErrorsT&& value) {
239 m_fieldErrorsHasBeenSet = true;
240 m_fieldErrors = std::forward<FieldErrorsT>(value);
241 }
242 template <typename FieldErrorsT = Aws::Map<Aws::String, Aws::String>>
244 SetFieldErrors(std::forward<FieldErrorsT>(value));
245 return *this;
246 }
247 template <typename FieldErrorsKeyT = Aws::String, typename FieldErrorsValueT = Aws::String>
248 UpdateAgentProfileResult& AddFieldErrors(FieldErrorsKeyT&& key, FieldErrorsValueT&& value) {
249 m_fieldErrorsHasBeenSet = true;
250 m_fieldErrors.emplace(std::forward<FieldErrorsKeyT>(key), std::forward<FieldErrorsValueT>(value));
251 return *this;
252 }
254
256
259 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
260 template <typename TagsT = Aws::Vector<Tag>>
261 void SetTags(TagsT&& value) {
262 m_tagsHasBeenSet = true;
263 m_tags = std::forward<TagsT>(value);
264 }
265 template <typename TagsT = Aws::Vector<Tag>>
267 SetTags(std::forward<TagsT>(value));
268 return *this;
269 }
270 template <typename TagsT = Tag>
272 m_tagsHasBeenSet = true;
273 m_tags.emplace_back(std::forward<TagsT>(value));
274 return *this;
275 }
277
279
282 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
283 template <typename CreatedByT = Aws::String>
284 void SetCreatedBy(CreatedByT&& value) {
285 m_createdByHasBeenSet = true;
286 m_createdBy = std::forward<CreatedByT>(value);
287 }
288 template <typename CreatedByT = Aws::String>
290 SetCreatedBy(std::forward<CreatedByT>(value));
291 return *this;
292 }
294
296
299 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
300 template <typename CreatedAtT = Aws::Utils::DateTime>
301 void SetCreatedAt(CreatedAtT&& value) {
302 m_createdAtHasBeenSet = true;
303 m_createdAt = std::forward<CreatedAtT>(value);
304 }
305 template <typename CreatedAtT = Aws::Utils::DateTime>
307 SetCreatedAt(std::forward<CreatedAtT>(value));
308 return *this;
309 }
311
313
316 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
317 template <typename LastModifiedByT = Aws::String>
318 void SetLastModifiedBy(LastModifiedByT&& value) {
319 m_lastModifiedByHasBeenSet = true;
320 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
321 }
322 template <typename LastModifiedByT = Aws::String>
324 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
325 return *this;
326 }
328
330
333 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
334 template <typename LastModifiedAtT = Aws::Utils::DateTime>
335 void SetLastModifiedAt(LastModifiedAtT&& value) {
336 m_lastModifiedAtHasBeenSet = true;
337 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
338 }
339 template <typename LastModifiedAtT = Aws::Utils::DateTime>
341 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
342 return *this;
343 }
345
347
348 inline const Aws::String& GetRequestId() const { return m_requestId; }
349 template <typename RequestIdT = Aws::String>
350 void SetRequestId(RequestIdT&& value) {
351 m_requestIdHasBeenSet = true;
352 m_requestId = std::forward<RequestIdT>(value);
353 }
354 template <typename RequestIdT = Aws::String>
356 SetRequestId(std::forward<RequestIdT>(value));
357 return *this;
358 }
360 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
361
362 private:
363 Aws::String m_name;
364
365 Aws::String m_displayName;
366
367 Aws::String m_description;
368
369 Aws::String m_businessOverview;
370
371 Aws::Vector<Pillar> m_pillars;
372
373 bool m_deletionProtection{false};
374
375 Aws::String m_executionRoleArn;
376
377 Aws::Vector<AggregationConfiguration> m_aggregationConfiguration;
378
379 Aws::String m_arn;
380
381 bool m_eligibleForScheduledGeneration{false};
382
383 bool m_eligibleForArchitectureGeneration{false};
384
386
387 Aws::Vector<Tag> m_tags;
388
389 Aws::String m_createdBy;
390
391 Aws::Utils::DateTime m_createdAt{};
392
393 Aws::String m_lastModifiedBy;
394
395 Aws::Utils::DateTime m_lastModifiedAt{};
396
397 Aws::String m_requestId;
398 Aws::Http::HttpResponseCode m_HttpResponseCode;
399 bool m_nameHasBeenSet = false;
400 bool m_displayNameHasBeenSet = false;
401 bool m_descriptionHasBeenSet = false;
402 bool m_businessOverviewHasBeenSet = false;
403 bool m_pillarsHasBeenSet = false;
404 bool m_deletionProtectionHasBeenSet = false;
405 bool m_executionRoleArnHasBeenSet = false;
406 bool m_aggregationConfigurationHasBeenSet = false;
407 bool m_arnHasBeenSet = false;
408 bool m_eligibleForScheduledGenerationHasBeenSet = false;
409 bool m_eligibleForArchitectureGenerationHasBeenSet = false;
410 bool m_fieldErrorsHasBeenSet = false;
411 bool m_tagsHasBeenSet = false;
412 bool m_createdByHasBeenSet = false;
413 bool m_createdAtHasBeenSet = false;
414 bool m_lastModifiedByHasBeenSet = false;
415 bool m_lastModifiedAtHasBeenSet = false;
416 bool m_requestIdHasBeenSet = false;
417};
418
419} // namespace Model
420} // namespace WellArchitected
421} // namespace Aws
UpdateAgentProfileResult & WithPillars(PillarsT &&value)
UpdateAgentProfileResult & WithBusinessOverview(BusinessOverviewT &&value)
UpdateAgentProfileResult & WithDescription(DescriptionT &&value)
UpdateAgentProfileResult & WithAggregationConfiguration(AggregationConfigurationT &&value)
UpdateAgentProfileResult & WithRequestId(RequestIdT &&value)
void SetAggregationConfiguration(AggregationConfigurationT &&value)
UpdateAgentProfileResult & WithDisplayName(DisplayNameT &&value)
AWS_WELLARCHITECTED_API UpdateAgentProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAgentProfileResult & WithLastModifiedAt(LastModifiedAtT &&value)
UpdateAgentProfileResult & WithCreatedBy(CreatedByT &&value)
UpdateAgentProfileResult & WithFieldErrors(FieldErrorsT &&value)
const Aws::Vector< AggregationConfiguration > & GetAggregationConfiguration() const
UpdateAgentProfileResult & WithLastModifiedBy(LastModifiedByT &&value)
UpdateAgentProfileResult & WithDeletionProtection(bool value)
UpdateAgentProfileResult & AddFieldErrors(FieldErrorsKeyT &&key, FieldErrorsValueT &&value)
UpdateAgentProfileResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetFieldErrors() const
UpdateAgentProfileResult & WithEligibleForScheduledGeneration(bool value)
UpdateAgentProfileResult & WithEligibleForArchitectureGeneration(bool value)
UpdateAgentProfileResult & AddAggregationConfiguration(AggregationConfigurationT &&value)
AWS_WELLARCHITECTED_API UpdateAgentProfileResult()=default
UpdateAgentProfileResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_WELLARCHITECTED_API UpdateAgentProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue