AWS SDK for C++

AWS SDK for C++ Version 1.11.869

Loading...
Searching...
No Matches
GetAgentProfileResult.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 GetAgentProfileResult() = 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>
64 GetAgentProfileResult& WithDisplayName(DisplayNameT&& value) {
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>
81 GetAgentProfileResult& WithDescription(DescriptionT&& value) {
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 GetAgentProfileResult& WithBusinessOverview(BusinessOverviewT&& value) {
99 SetBusinessOverview(std::forward<BusinessOverviewT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::Vector<Pillar>& GetPillars() const { return m_pillars; }
109 template <typename PillarsT = Aws::Vector<Pillar>>
110 void SetPillars(PillarsT&& value) {
111 m_pillarsHasBeenSet = true;
112 m_pillars = std::forward<PillarsT>(value);
113 }
114 template <typename PillarsT = Aws::Vector<Pillar>>
116 SetPillars(std::forward<PillarsT>(value));
117 return *this;
118 }
120 m_pillarsHasBeenSet = true;
121 m_pillars.push_back(value);
122 return *this;
123 }
125
127
130 inline bool GetDeletionProtection() const { return m_deletionProtection; }
131 inline void SetDeletionProtection(bool value) {
132 m_deletionProtectionHasBeenSet = true;
133 m_deletionProtection = value;
134 }
137 return *this;
138 }
140
142
145 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
146 template <typename ExecutionRoleArnT = Aws::String>
147 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
148 m_executionRoleArnHasBeenSet = true;
149 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
150 }
151 template <typename ExecutionRoleArnT = Aws::String>
152 GetAgentProfileResult& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
153 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::Vector<AggregationConfiguration>& GetAggregationConfiguration() const { return m_aggregationConfiguration; }
163 template <typename AggregationConfigurationT = Aws::Vector<AggregationConfiguration>>
164 void SetAggregationConfiguration(AggregationConfigurationT&& value) {
165 m_aggregationConfigurationHasBeenSet = true;
166 m_aggregationConfiguration = std::forward<AggregationConfigurationT>(value);
167 }
168 template <typename AggregationConfigurationT = Aws::Vector<AggregationConfiguration>>
169 GetAgentProfileResult& WithAggregationConfiguration(AggregationConfigurationT&& value) {
170 SetAggregationConfiguration(std::forward<AggregationConfigurationT>(value));
171 return *this;
172 }
173 template <typename AggregationConfigurationT = AggregationConfiguration>
174 GetAgentProfileResult& AddAggregationConfiguration(AggregationConfigurationT&& value) {
175 m_aggregationConfigurationHasBeenSet = true;
176 m_aggregationConfiguration.emplace_back(std::forward<AggregationConfigurationT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::String& GetArn() const { return m_arn; }
186 template <typename ArnT = Aws::String>
187 void SetArn(ArnT&& value) {
188 m_arnHasBeenSet = true;
189 m_arn = std::forward<ArnT>(value);
190 }
191 template <typename ArnT = Aws::String>
193 SetArn(std::forward<ArnT>(value));
194 return *this;
195 }
197
199
203 inline bool GetEligibleForScheduledGeneration() const { return m_eligibleForScheduledGeneration; }
204 inline void SetEligibleForScheduledGeneration(bool value) {
205 m_eligibleForScheduledGenerationHasBeenSet = true;
206 m_eligibleForScheduledGeneration = value;
207 }
210 return *this;
211 }
213
215
219 inline bool GetEligibleForArchitectureGeneration() const { return m_eligibleForArchitectureGeneration; }
220 inline void SetEligibleForArchitectureGeneration(bool value) {
221 m_eligibleForArchitectureGenerationHasBeenSet = true;
222 m_eligibleForArchitectureGeneration = value;
223 }
226 return *this;
227 }
229
231
235 inline const Aws::Map<Aws::String, Aws::String>& GetFieldErrors() const { return m_fieldErrors; }
236 template <typename FieldErrorsT = Aws::Map<Aws::String, Aws::String>>
237 void SetFieldErrors(FieldErrorsT&& value) {
238 m_fieldErrorsHasBeenSet = true;
239 m_fieldErrors = std::forward<FieldErrorsT>(value);
240 }
241 template <typename FieldErrorsT = Aws::Map<Aws::String, Aws::String>>
242 GetAgentProfileResult& WithFieldErrors(FieldErrorsT&& value) {
243 SetFieldErrors(std::forward<FieldErrorsT>(value));
244 return *this;
245 }
246 template <typename FieldErrorsKeyT = Aws::String, typename FieldErrorsValueT = Aws::String>
247 GetAgentProfileResult& AddFieldErrors(FieldErrorsKeyT&& key, FieldErrorsValueT&& value) {
248 m_fieldErrorsHasBeenSet = true;
249 m_fieldErrors.emplace(std::forward<FieldErrorsKeyT>(key), std::forward<FieldErrorsValueT>(value));
250 return *this;
251 }
253
255
258 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
259 template <typename TagsT = Aws::Vector<Tag>>
260 void SetTags(TagsT&& value) {
261 m_tagsHasBeenSet = true;
262 m_tags = std::forward<TagsT>(value);
263 }
264 template <typename TagsT = Aws::Vector<Tag>>
266 SetTags(std::forward<TagsT>(value));
267 return *this;
268 }
269 template <typename TagsT = Tag>
271 m_tagsHasBeenSet = true;
272 m_tags.emplace_back(std::forward<TagsT>(value));
273 return *this;
274 }
276
278
281 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
282 template <typename CreatedByT = Aws::String>
283 void SetCreatedBy(CreatedByT&& value) {
284 m_createdByHasBeenSet = true;
285 m_createdBy = std::forward<CreatedByT>(value);
286 }
287 template <typename CreatedByT = Aws::String>
289 SetCreatedBy(std::forward<CreatedByT>(value));
290 return *this;
291 }
293
295
298 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
299 template <typename CreatedAtT = Aws::Utils::DateTime>
300 void SetCreatedAt(CreatedAtT&& value) {
301 m_createdAtHasBeenSet = true;
302 m_createdAt = std::forward<CreatedAtT>(value);
303 }
304 template <typename CreatedAtT = Aws::Utils::DateTime>
306 SetCreatedAt(std::forward<CreatedAtT>(value));
307 return *this;
308 }
310
312
315 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
316 template <typename LastModifiedByT = Aws::String>
317 void SetLastModifiedBy(LastModifiedByT&& value) {
318 m_lastModifiedByHasBeenSet = true;
319 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
320 }
321 template <typename LastModifiedByT = Aws::String>
322 GetAgentProfileResult& WithLastModifiedBy(LastModifiedByT&& value) {
323 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
324 return *this;
325 }
327
329
332 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
333 template <typename LastModifiedAtT = Aws::Utils::DateTime>
334 void SetLastModifiedAt(LastModifiedAtT&& value) {
335 m_lastModifiedAtHasBeenSet = true;
336 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
337 }
338 template <typename LastModifiedAtT = Aws::Utils::DateTime>
339 GetAgentProfileResult& WithLastModifiedAt(LastModifiedAtT&& value) {
340 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
341 return *this;
342 }
344
346
347 inline const Aws::String& GetRequestId() const { return m_requestId; }
348 template <typename RequestIdT = Aws::String>
349 void SetRequestId(RequestIdT&& value) {
350 m_requestIdHasBeenSet = true;
351 m_requestId = std::forward<RequestIdT>(value);
352 }
353 template <typename RequestIdT = Aws::String>
355 SetRequestId(std::forward<RequestIdT>(value));
356 return *this;
357 }
359 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
360
361 private:
362 Aws::String m_name;
363
364 Aws::String m_displayName;
365
366 Aws::String m_description;
367
368 Aws::String m_businessOverview;
369
370 Aws::Vector<Pillar> m_pillars;
371
372 bool m_deletionProtection{false};
373
374 Aws::String m_executionRoleArn;
375
376 Aws::Vector<AggregationConfiguration> m_aggregationConfiguration;
377
378 Aws::String m_arn;
379
380 bool m_eligibleForScheduledGeneration{false};
381
382 bool m_eligibleForArchitectureGeneration{false};
383
385
386 Aws::Vector<Tag> m_tags;
387
388 Aws::String m_createdBy;
389
390 Aws::Utils::DateTime m_createdAt{};
391
392 Aws::String m_lastModifiedBy;
393
394 Aws::Utils::DateTime m_lastModifiedAt{};
395
396 Aws::String m_requestId;
397 Aws::Http::HttpResponseCode m_HttpResponseCode;
398 bool m_nameHasBeenSet = false;
399 bool m_displayNameHasBeenSet = false;
400 bool m_descriptionHasBeenSet = false;
401 bool m_businessOverviewHasBeenSet = false;
402 bool m_pillarsHasBeenSet = false;
403 bool m_deletionProtectionHasBeenSet = false;
404 bool m_executionRoleArnHasBeenSet = false;
405 bool m_aggregationConfigurationHasBeenSet = false;
406 bool m_arnHasBeenSet = false;
407 bool m_eligibleForScheduledGenerationHasBeenSet = false;
408 bool m_eligibleForArchitectureGenerationHasBeenSet = false;
409 bool m_fieldErrorsHasBeenSet = false;
410 bool m_tagsHasBeenSet = false;
411 bool m_createdByHasBeenSet = false;
412 bool m_createdAtHasBeenSet = false;
413 bool m_lastModifiedByHasBeenSet = false;
414 bool m_lastModifiedAtHasBeenSet = false;
415 bool m_requestIdHasBeenSet = false;
416};
417
418} // namespace Model
419} // namespace WellArchitected
420} // namespace Aws
GetAgentProfileResult & WithEligibleForArchitectureGeneration(bool value)
GetAgentProfileResult & WithName(NameT &&value)
GetAgentProfileResult & WithPillars(PillarsT &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
GetAgentProfileResult & WithBusinessOverview(BusinessOverviewT &&value)
void SetAggregationConfiguration(AggregationConfigurationT &&value)
GetAgentProfileResult & WithFieldErrors(FieldErrorsT &&value)
GetAgentProfileResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
GetAgentProfileResult & WithLastModifiedAt(LastModifiedAtT &&value)
GetAgentProfileResult & WithLastModifiedBy(LastModifiedByT &&value)
GetAgentProfileResult & WithAggregationConfiguration(AggregationConfigurationT &&value)
GetAgentProfileResult & WithDisplayName(DisplayNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetFieldErrors() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetAgentProfileResult & AddFieldErrors(FieldErrorsKeyT &&key, FieldErrorsValueT &&value)
AWS_WELLARCHITECTED_API GetAgentProfileResult()=default
GetAgentProfileResult & AddAggregationConfiguration(AggregationConfigurationT &&value)
GetAgentProfileResult & WithCreatedBy(CreatedByT &&value)
GetAgentProfileResult & WithRequestId(RequestIdT &&value)
AWS_WELLARCHITECTED_API GetAgentProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAgentProfileResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< AggregationConfiguration > & GetAggregationConfiguration() const
GetAgentProfileResult & WithDescription(DescriptionT &&value)
GetAgentProfileResult & WithDeletionProtection(bool value)
GetAgentProfileResult & WithTags(TagsT &&value)
AWS_WELLARCHITECTED_API GetAgentProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAgentProfileResult & WithEligibleForScheduledGeneration(bool value)
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