AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
AgentRecommendationSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11#include <aws/wellarchitected/model/Effort.h>
12#include <aws/wellarchitected/model/ImpactCategory.h>
13#include <aws/wellarchitected/model/Pillar.h>
14#include <aws/wellarchitected/model/Priority.h>
15#include <aws/wellarchitected/model/RecommendationState.h>
16#include <aws/wellarchitected/model/RecommendationStatus.h>
17#include <aws/wellarchitected/model/RecommendationType.h>
18#include <aws/wellarchitected/model/Roi.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace WellArchitected {
30namespace Model {
31
39 public:
40 AWS_WELLARCHITECTED_API AgentRecommendationSummary() = default;
41 AWS_WELLARCHITECTED_API AgentRecommendationSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
49 inline const Aws::String& GetRecommendationArn() const { return m_recommendationArn; }
50 inline bool RecommendationArnHasBeenSet() const { return m_recommendationArnHasBeenSet; }
51 template <typename RecommendationArnT = Aws::String>
52 void SetRecommendationArn(RecommendationArnT&& value) {
53 m_recommendationArnHasBeenSet = true;
54 m_recommendationArn = std::forward<RecommendationArnT>(value);
55 }
56 template <typename RecommendationArnT = Aws::String>
58 SetRecommendationArn(std::forward<RecommendationArnT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
68 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
69 template <typename ProfileArnT = Aws::String>
70 void SetProfileArn(ProfileArnT&& value) {
71 m_profileArnHasBeenSet = true;
72 m_profileArn = std::forward<ProfileArnT>(value);
73 }
74 template <typename ProfileArnT = Aws::String>
76 SetProfileArn(std::forward<ProfileArnT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetGenerationId() const { return m_generationId; }
87 inline bool GenerationIdHasBeenSet() const { return m_generationIdHasBeenSet; }
88 template <typename GenerationIdT = Aws::String>
89 void SetGenerationId(GenerationIdT&& value) {
90 m_generationIdHasBeenSet = true;
91 m_generationId = std::forward<GenerationIdT>(value);
92 }
93 template <typename GenerationIdT = Aws::String>
95 SetGenerationId(std::forward<GenerationIdT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetTitle() const { return m_title; }
105 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
106 template <typename TitleT = Aws::String>
107 void SetTitle(TitleT&& value) {
108 m_titleHasBeenSet = true;
109 m_title = std::forward<TitleT>(value);
110 }
111 template <typename TitleT = Aws::String>
113 SetTitle(std::forward<TitleT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetDescription() const { return m_description; }
123 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
124 template <typename DescriptionT = Aws::String>
125 void SetDescription(DescriptionT&& value) {
126 m_descriptionHasBeenSet = true;
127 m_description = std::forward<DescriptionT>(value);
128 }
129 template <typename DescriptionT = Aws::String>
131 SetDescription(std::forward<DescriptionT>(value));
132 return *this;
133 }
135
137
140 inline RecommendationType GetType() const { return m_type; }
141 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
142 inline void SetType(RecommendationType value) {
143 m_typeHasBeenSet = true;
144 m_type = value;
145 }
147 SetType(value);
148 return *this;
149 }
151
153
157 inline Pillar GetPillar() const { return m_pillar; }
158 inline bool PillarHasBeenSet() const { return m_pillarHasBeenSet; }
159 inline void SetPillar(Pillar value) {
160 m_pillarHasBeenSet = true;
161 m_pillar = value;
162 }
164 SetPillar(value);
165 return *this;
166 }
168
170
173 inline Priority GetPriority() const { return m_priority; }
174 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
175 inline void SetPriority(Priority value) {
176 m_priorityHasBeenSet = true;
177 m_priority = value;
178 }
180 SetPriority(value);
181 return *this;
182 }
184
186
189 inline Effort GetEffort() const { return m_effort; }
190 inline bool EffortHasBeenSet() const { return m_effortHasBeenSet; }
191 inline void SetEffort(Effort value) {
192 m_effortHasBeenSet = true;
193 m_effort = value;
194 }
196 SetEffort(value);
197 return *this;
198 }
200
202
205 inline RecommendationStatus GetStatus() const { return m_status; }
206 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
207 inline void SetStatus(RecommendationStatus value) {
208 m_statusHasBeenSet = true;
209 m_status = value;
210 }
212 SetStatus(value);
213 return *this;
214 }
216
218
221 inline RecommendationState GetState() const { return m_state; }
222 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
223 inline void SetState(RecommendationState value) {
224 m_stateHasBeenSet = true;
225 m_state = value;
226 }
228 SetState(value);
229 return *this;
230 }
232
234
238 inline const Aws::String& GetUpdateReason() const { return m_updateReason; }
239 inline bool UpdateReasonHasBeenSet() const { return m_updateReasonHasBeenSet; }
240 template <typename UpdateReasonT = Aws::String>
241 void SetUpdateReason(UpdateReasonT&& value) {
242 m_updateReasonHasBeenSet = true;
243 m_updateReason = std::forward<UpdateReasonT>(value);
244 }
245 template <typename UpdateReasonT = Aws::String>
247 SetUpdateReason(std::forward<UpdateReasonT>(value));
248 return *this;
249 }
251
253
256 inline ImpactCategory GetImpact() const { return m_impact; }
257 inline bool ImpactHasBeenSet() const { return m_impactHasBeenSet; }
258 inline void SetImpact(ImpactCategory value) {
259 m_impactHasBeenSet = true;
260 m_impact = value;
261 }
263 SetImpact(value);
264 return *this;
265 }
267
269
272 inline const Roi& GetRoi() const { return m_roi; }
273 inline bool RoiHasBeenSet() const { return m_roiHasBeenSet; }
274 template <typename RoiT = Roi>
275 void SetRoi(RoiT&& value) {
276 m_roiHasBeenSet = true;
277 m_roi = std::forward<RoiT>(value);
278 }
279 template <typename RoiT = Roi>
281 SetRoi(std::forward<RoiT>(value));
282 return *this;
283 }
285
287
290 inline int GetNumberOfResources() const { return m_numberOfResources; }
291 inline bool NumberOfResourcesHasBeenSet() const { return m_numberOfResourcesHasBeenSet; }
292 inline void SetNumberOfResources(int value) {
293 m_numberOfResourcesHasBeenSet = true;
294 m_numberOfResources = value;
295 }
298 return *this;
299 }
301
303
306 inline const Aws::Vector<Aws::String>& GetAwsServices() const { return m_awsServices; }
307 inline bool AwsServicesHasBeenSet() const { return m_awsServicesHasBeenSet; }
308 template <typename AwsServicesT = Aws::Vector<Aws::String>>
309 void SetAwsServices(AwsServicesT&& value) {
310 m_awsServicesHasBeenSet = true;
311 m_awsServices = std::forward<AwsServicesT>(value);
312 }
313 template <typename AwsServicesT = Aws::Vector<Aws::String>>
315 SetAwsServices(std::forward<AwsServicesT>(value));
316 return *this;
317 }
318 template <typename AwsServicesT = Aws::String>
320 m_awsServicesHasBeenSet = true;
321 m_awsServices.emplace_back(std::forward<AwsServicesT>(value));
322 return *this;
323 }
325
327
330 inline const Aws::Vector<Aws::String>& GetBusinessUnits() const { return m_businessUnits; }
331 inline bool BusinessUnitsHasBeenSet() const { return m_businessUnitsHasBeenSet; }
332 template <typename BusinessUnitsT = Aws::Vector<Aws::String>>
333 void SetBusinessUnits(BusinessUnitsT&& value) {
334 m_businessUnitsHasBeenSet = true;
335 m_businessUnits = std::forward<BusinessUnitsT>(value);
336 }
337 template <typename BusinessUnitsT = Aws::Vector<Aws::String>>
339 SetBusinessUnits(std::forward<BusinessUnitsT>(value));
340 return *this;
341 }
342 template <typename BusinessUnitsT = Aws::String>
344 m_businessUnitsHasBeenSet = true;
345 m_businessUnits.emplace_back(std::forward<BusinessUnitsT>(value));
346 return *this;
347 }
349
351
354 inline const Aws::Vector<Aws::String>& GetApplications() const { return m_applications; }
355 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
356 template <typename ApplicationsT = Aws::Vector<Aws::String>>
357 void SetApplications(ApplicationsT&& value) {
358 m_applicationsHasBeenSet = true;
359 m_applications = std::forward<ApplicationsT>(value);
360 }
361 template <typename ApplicationsT = Aws::Vector<Aws::String>>
363 SetApplications(std::forward<ApplicationsT>(value));
364 return *this;
365 }
366 template <typename ApplicationsT = Aws::String>
368 m_applicationsHasBeenSet = true;
369 m_applications.emplace_back(std::forward<ApplicationsT>(value));
370 return *this;
371 }
373
375
378 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
379 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
380 template <typename CreatedByT = Aws::String>
381 void SetCreatedBy(CreatedByT&& value) {
382 m_createdByHasBeenSet = true;
383 m_createdBy = std::forward<CreatedByT>(value);
384 }
385 template <typename CreatedByT = Aws::String>
387 SetCreatedBy(std::forward<CreatedByT>(value));
388 return *this;
389 }
391
393
396 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
397 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
398 template <typename CreatedAtT = Aws::Utils::DateTime>
399 void SetCreatedAt(CreatedAtT&& value) {
400 m_createdAtHasBeenSet = true;
401 m_createdAt = std::forward<CreatedAtT>(value);
402 }
403 template <typename CreatedAtT = Aws::Utils::DateTime>
405 SetCreatedAt(std::forward<CreatedAtT>(value));
406 return *this;
407 }
409
411
415 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
416 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
417 template <typename LastModifiedByT = Aws::String>
418 void SetLastModifiedBy(LastModifiedByT&& value) {
419 m_lastModifiedByHasBeenSet = true;
420 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
421 }
422 template <typename LastModifiedByT = Aws::String>
424 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
425 return *this;
426 }
428
430
433 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
434 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
435 template <typename LastModifiedAtT = Aws::Utils::DateTime>
436 void SetLastModifiedAt(LastModifiedAtT&& value) {
437 m_lastModifiedAtHasBeenSet = true;
438 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
439 }
440 template <typename LastModifiedAtT = Aws::Utils::DateTime>
442 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
443 return *this;
444 }
446 private:
447 Aws::String m_recommendationArn;
448
449 Aws::String m_profileArn;
450
451 Aws::String m_generationId;
452
453 Aws::String m_title;
454
455 Aws::String m_description;
456
458
459 Pillar m_pillar{Pillar::NOT_SET};
460
461 Priority m_priority{Priority::NOT_SET};
462
463 Effort m_effort{Effort::NOT_SET};
464
466
468
469 Aws::String m_updateReason;
470
472
473 Roi m_roi;
474
475 int m_numberOfResources{0};
476
477 Aws::Vector<Aws::String> m_awsServices;
478
479 Aws::Vector<Aws::String> m_businessUnits;
480
481 Aws::Vector<Aws::String> m_applications;
482
483 Aws::String m_createdBy;
484
485 Aws::Utils::DateTime m_createdAt{};
486
487 Aws::String m_lastModifiedBy;
488
489 Aws::Utils::DateTime m_lastModifiedAt{};
490 bool m_recommendationArnHasBeenSet = false;
491 bool m_profileArnHasBeenSet = false;
492 bool m_generationIdHasBeenSet = false;
493 bool m_titleHasBeenSet = false;
494 bool m_descriptionHasBeenSet = false;
495 bool m_typeHasBeenSet = false;
496 bool m_pillarHasBeenSet = false;
497 bool m_priorityHasBeenSet = false;
498 bool m_effortHasBeenSet = false;
499 bool m_statusHasBeenSet = false;
500 bool m_stateHasBeenSet = false;
501 bool m_updateReasonHasBeenSet = false;
502 bool m_impactHasBeenSet = false;
503 bool m_roiHasBeenSet = false;
504 bool m_numberOfResourcesHasBeenSet = false;
505 bool m_awsServicesHasBeenSet = false;
506 bool m_businessUnitsHasBeenSet = false;
507 bool m_applicationsHasBeenSet = false;
508 bool m_createdByHasBeenSet = false;
509 bool m_createdAtHasBeenSet = false;
510 bool m_lastModifiedByHasBeenSet = false;
511 bool m_lastModifiedAtHasBeenSet = false;
512};
513
514} // namespace Model
515} // namespace WellArchitected
516} // namespace Aws
AgentRecommendationSummary & WithRecommendationArn(RecommendationArnT &&value)
AgentRecommendationSummary & WithImpact(ImpactCategory value)
AgentRecommendationSummary & WithGenerationId(GenerationIdT &&value)
AWS_WELLARCHITECTED_API AgentRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
AgentRecommendationSummary & WithLastModifiedBy(LastModifiedByT &&value)
AgentRecommendationSummary & WithApplications(ApplicationsT &&value)
AWS_WELLARCHITECTED_API AgentRecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentRecommendationSummary & WithCreatedBy(CreatedByT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AgentRecommendationSummary & AddAwsServices(AwsServicesT &&value)
AgentRecommendationSummary & WithPriority(Priority value)
AgentRecommendationSummary & WithLastModifiedAt(LastModifiedAtT &&value)
AgentRecommendationSummary & WithUpdateReason(UpdateReasonT &&value)
const Aws::Vector< Aws::String > & GetBusinessUnits() const
AgentRecommendationSummary & WithProfileArn(ProfileArnT &&value)
AWS_WELLARCHITECTED_API AgentRecommendationSummary()=default
AgentRecommendationSummary & AddBusinessUnits(BusinessUnitsT &&value)
AgentRecommendationSummary & WithStatus(RecommendationStatus value)
AgentRecommendationSummary & WithCreatedAt(CreatedAtT &&value)
AgentRecommendationSummary & AddApplications(ApplicationsT &&value)
AgentRecommendationSummary & WithType(RecommendationType value)
AgentRecommendationSummary & WithState(RecommendationState value)
AgentRecommendationSummary & WithDescription(DescriptionT &&value)
AgentRecommendationSummary & WithBusinessUnits(BusinessUnitsT &&value)
AgentRecommendationSummary & WithAwsServices(AwsServicesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue