AWS SDK for C++

AWS SDK for C++ Version 1.11.868

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
85 inline const Aws::String& GetTitle() const { return m_title; }
86 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
87 template <typename TitleT = Aws::String>
88 void SetTitle(TitleT&& value) {
89 m_titleHasBeenSet = true;
90 m_title = std::forward<TitleT>(value);
91 }
92 template <typename TitleT = Aws::String>
94 SetTitle(std::forward<TitleT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetDescription() const { return m_description; }
104 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
105 template <typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) {
107 m_descriptionHasBeenSet = true;
108 m_description = std::forward<DescriptionT>(value);
109 }
110 template <typename DescriptionT = Aws::String>
112 SetDescription(std::forward<DescriptionT>(value));
113 return *this;
114 }
116
118
121 inline RecommendationType GetType() const { return m_type; }
122 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
123 inline void SetType(RecommendationType value) {
124 m_typeHasBeenSet = true;
125 m_type = value;
126 }
128 SetType(value);
129 return *this;
130 }
132
134
138 inline Pillar GetPillar() const { return m_pillar; }
139 inline bool PillarHasBeenSet() const { return m_pillarHasBeenSet; }
140 inline void SetPillar(Pillar value) {
141 m_pillarHasBeenSet = true;
142 m_pillar = value;
143 }
145 SetPillar(value);
146 return *this;
147 }
149
151
154 inline Priority GetPriority() const { return m_priority; }
155 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
156 inline void SetPriority(Priority value) {
157 m_priorityHasBeenSet = true;
158 m_priority = value;
159 }
161 SetPriority(value);
162 return *this;
163 }
165
167
170 inline Effort GetEffort() const { return m_effort; }
171 inline bool EffortHasBeenSet() const { return m_effortHasBeenSet; }
172 inline void SetEffort(Effort value) {
173 m_effortHasBeenSet = true;
174 m_effort = value;
175 }
177 SetEffort(value);
178 return *this;
179 }
181
183
186 inline RecommendationStatus GetStatus() const { return m_status; }
187 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
188 inline void SetStatus(RecommendationStatus value) {
189 m_statusHasBeenSet = true;
190 m_status = value;
191 }
193 SetStatus(value);
194 return *this;
195 }
197
199
202 inline RecommendationState GetState() const { return m_state; }
203 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
204 inline void SetState(RecommendationState value) {
205 m_stateHasBeenSet = true;
206 m_state = value;
207 }
209 SetState(value);
210 return *this;
211 }
213
215
219 inline const Aws::String& GetUpdateReason() const { return m_updateReason; }
220 inline bool UpdateReasonHasBeenSet() const { return m_updateReasonHasBeenSet; }
221 template <typename UpdateReasonT = Aws::String>
222 void SetUpdateReason(UpdateReasonT&& value) {
223 m_updateReasonHasBeenSet = true;
224 m_updateReason = std::forward<UpdateReasonT>(value);
225 }
226 template <typename UpdateReasonT = Aws::String>
228 SetUpdateReason(std::forward<UpdateReasonT>(value));
229 return *this;
230 }
232
234
237 inline ImpactCategory GetImpact() const { return m_impact; }
238 inline bool ImpactHasBeenSet() const { return m_impactHasBeenSet; }
239 inline void SetImpact(ImpactCategory value) {
240 m_impactHasBeenSet = true;
241 m_impact = value;
242 }
244 SetImpact(value);
245 return *this;
246 }
248
250
253 inline const Roi& GetRoi() const { return m_roi; }
254 inline bool RoiHasBeenSet() const { return m_roiHasBeenSet; }
255 template <typename RoiT = Roi>
256 void SetRoi(RoiT&& value) {
257 m_roiHasBeenSet = true;
258 m_roi = std::forward<RoiT>(value);
259 }
260 template <typename RoiT = Roi>
262 SetRoi(std::forward<RoiT>(value));
263 return *this;
264 }
266
268
271 inline int GetNumberOfResources() const { return m_numberOfResources; }
272 inline bool NumberOfResourcesHasBeenSet() const { return m_numberOfResourcesHasBeenSet; }
273 inline void SetNumberOfResources(int value) {
274 m_numberOfResourcesHasBeenSet = true;
275 m_numberOfResources = value;
276 }
279 return *this;
280 }
282
284
287 inline const Aws::Vector<Aws::String>& GetAwsServices() const { return m_awsServices; }
288 inline bool AwsServicesHasBeenSet() const { return m_awsServicesHasBeenSet; }
289 template <typename AwsServicesT = Aws::Vector<Aws::String>>
290 void SetAwsServices(AwsServicesT&& value) {
291 m_awsServicesHasBeenSet = true;
292 m_awsServices = std::forward<AwsServicesT>(value);
293 }
294 template <typename AwsServicesT = Aws::Vector<Aws::String>>
296 SetAwsServices(std::forward<AwsServicesT>(value));
297 return *this;
298 }
299 template <typename AwsServicesT = Aws::String>
301 m_awsServicesHasBeenSet = true;
302 m_awsServices.emplace_back(std::forward<AwsServicesT>(value));
303 return *this;
304 }
306
308
311 inline const Aws::Vector<Aws::String>& GetBusinessUnits() const { return m_businessUnits; }
312 inline bool BusinessUnitsHasBeenSet() const { return m_businessUnitsHasBeenSet; }
313 template <typename BusinessUnitsT = Aws::Vector<Aws::String>>
314 void SetBusinessUnits(BusinessUnitsT&& value) {
315 m_businessUnitsHasBeenSet = true;
316 m_businessUnits = std::forward<BusinessUnitsT>(value);
317 }
318 template <typename BusinessUnitsT = Aws::Vector<Aws::String>>
320 SetBusinessUnits(std::forward<BusinessUnitsT>(value));
321 return *this;
322 }
323 template <typename BusinessUnitsT = Aws::String>
325 m_businessUnitsHasBeenSet = true;
326 m_businessUnits.emplace_back(std::forward<BusinessUnitsT>(value));
327 return *this;
328 }
330
332
335 inline const Aws::Vector<Aws::String>& GetApplications() const { return m_applications; }
336 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
337 template <typename ApplicationsT = Aws::Vector<Aws::String>>
338 void SetApplications(ApplicationsT&& value) {
339 m_applicationsHasBeenSet = true;
340 m_applications = std::forward<ApplicationsT>(value);
341 }
342 template <typename ApplicationsT = Aws::Vector<Aws::String>>
344 SetApplications(std::forward<ApplicationsT>(value));
345 return *this;
346 }
347 template <typename ApplicationsT = Aws::String>
349 m_applicationsHasBeenSet = true;
350 m_applications.emplace_back(std::forward<ApplicationsT>(value));
351 return *this;
352 }
354
356
359 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
360 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
361 template <typename CreatedByT = Aws::String>
362 void SetCreatedBy(CreatedByT&& value) {
363 m_createdByHasBeenSet = true;
364 m_createdBy = std::forward<CreatedByT>(value);
365 }
366 template <typename CreatedByT = Aws::String>
368 SetCreatedBy(std::forward<CreatedByT>(value));
369 return *this;
370 }
372
374
377 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
378 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
379 template <typename CreatedAtT = Aws::Utils::DateTime>
380 void SetCreatedAt(CreatedAtT&& value) {
381 m_createdAtHasBeenSet = true;
382 m_createdAt = std::forward<CreatedAtT>(value);
383 }
384 template <typename CreatedAtT = Aws::Utils::DateTime>
386 SetCreatedAt(std::forward<CreatedAtT>(value));
387 return *this;
388 }
390
392
396 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
397 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
398 template <typename LastModifiedByT = Aws::String>
399 void SetLastModifiedBy(LastModifiedByT&& value) {
400 m_lastModifiedByHasBeenSet = true;
401 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
402 }
403 template <typename LastModifiedByT = Aws::String>
405 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
406 return *this;
407 }
409
411
414 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
415 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
416 template <typename LastModifiedAtT = Aws::Utils::DateTime>
417 void SetLastModifiedAt(LastModifiedAtT&& value) {
418 m_lastModifiedAtHasBeenSet = true;
419 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
420 }
421 template <typename LastModifiedAtT = Aws::Utils::DateTime>
423 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
424 return *this;
425 }
427 private:
428 Aws::String m_recommendationArn;
429
430 Aws::String m_profileArn;
431
432 Aws::String m_title;
433
434 Aws::String m_description;
435
437
438 Pillar m_pillar{Pillar::NOT_SET};
439
440 Priority m_priority{Priority::NOT_SET};
441
442 Effort m_effort{Effort::NOT_SET};
443
445
447
448 Aws::String m_updateReason;
449
451
452 Roi m_roi;
453
454 int m_numberOfResources{0};
455
456 Aws::Vector<Aws::String> m_awsServices;
457
458 Aws::Vector<Aws::String> m_businessUnits;
459
460 Aws::Vector<Aws::String> m_applications;
461
462 Aws::String m_createdBy;
463
464 Aws::Utils::DateTime m_createdAt{};
465
466 Aws::String m_lastModifiedBy;
467
468 Aws::Utils::DateTime m_lastModifiedAt{};
469 bool m_recommendationArnHasBeenSet = false;
470 bool m_profileArnHasBeenSet = false;
471 bool m_titleHasBeenSet = false;
472 bool m_descriptionHasBeenSet = false;
473 bool m_typeHasBeenSet = false;
474 bool m_pillarHasBeenSet = false;
475 bool m_priorityHasBeenSet = false;
476 bool m_effortHasBeenSet = false;
477 bool m_statusHasBeenSet = false;
478 bool m_stateHasBeenSet = false;
479 bool m_updateReasonHasBeenSet = false;
480 bool m_impactHasBeenSet = false;
481 bool m_roiHasBeenSet = false;
482 bool m_numberOfResourcesHasBeenSet = false;
483 bool m_awsServicesHasBeenSet = false;
484 bool m_businessUnitsHasBeenSet = false;
485 bool m_applicationsHasBeenSet = false;
486 bool m_createdByHasBeenSet = false;
487 bool m_createdAtHasBeenSet = false;
488 bool m_lastModifiedByHasBeenSet = false;
489 bool m_lastModifiedAtHasBeenSet = false;
490};
491
492} // namespace Model
493} // namespace WellArchitected
494} // namespace Aws
AgentRecommendationSummary & WithRecommendationArn(RecommendationArnT &&value)
AgentRecommendationSummary & WithImpact(ImpactCategory 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 & WithTitle(TitleT &&value)
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