AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
OrganizationRecommendationSummary.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/trustedadvisor/TrustedAdvisor_EXPORTS.h>
11#include <aws/trustedadvisor/model/RecommendationLifecycleStage.h>
12#include <aws/trustedadvisor/model/RecommendationPillar.h>
13#include <aws/trustedadvisor/model/RecommendationPillarSpecificAggregates.h>
14#include <aws/trustedadvisor/model/RecommendationResourcesAggregates.h>
15#include <aws/trustedadvisor/model/RecommendationSource.h>
16#include <aws/trustedadvisor/model/RecommendationStatus.h>
17#include <aws/trustedadvisor/model/RecommendationType.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace TrustedAdvisor {
29namespace Model {
30
38 public:
39 AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary() = default;
42 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template <typename IdT = Aws::String>
51 void SetId(IdT&& value) {
52 m_idHasBeenSet = true;
53 m_id = std::forward<IdT>(value);
54 }
55 template <typename IdT = Aws::String>
57 SetId(std::forward<IdT>(value));
58 return *this;
59 }
61
63
67 inline RecommendationType GetType() const { return m_type; }
68 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
69 inline void SetType(RecommendationType value) {
70 m_typeHasBeenSet = true;
71 m_type = value;
72 }
74 SetType(value);
75 return *this;
76 }
78
80
83 inline const Aws::String& GetCheckArn() const { return m_checkArn; }
84 inline bool CheckArnHasBeenSet() const { return m_checkArnHasBeenSet; }
85 template <typename CheckArnT = Aws::String>
86 void SetCheckArn(CheckArnT&& value) {
87 m_checkArnHasBeenSet = true;
88 m_checkArn = std::forward<CheckArnT>(value);
89 }
90 template <typename CheckArnT = Aws::String>
92 SetCheckArn(std::forward<CheckArnT>(value));
93 return *this;
94 }
96
98
101 inline RecommendationStatus GetStatus() const { return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(RecommendationStatus value) {
104 m_statusHasBeenSet = true;
105 m_status = value;
106 }
108 SetStatus(value);
109 return *this;
110 }
112
114
117 inline RecommendationLifecycleStage GetLifecycleStage() const { return m_lifecycleStage; }
118 inline bool LifecycleStageHasBeenSet() const { return m_lifecycleStageHasBeenSet; }
120 m_lifecycleStageHasBeenSet = true;
121 m_lifecycleStage = value;
122 }
128
130
133 inline const Aws::Vector<RecommendationPillar>& GetPillars() const { return m_pillars; }
134 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
135 template <typename PillarsT = Aws::Vector<RecommendationPillar>>
136 void SetPillars(PillarsT&& value) {
137 m_pillarsHasBeenSet = true;
138 m_pillars = std::forward<PillarsT>(value);
139 }
140 template <typename PillarsT = Aws::Vector<RecommendationPillar>>
142 SetPillars(std::forward<PillarsT>(value));
143 return *this;
144 }
146 m_pillarsHasBeenSet = true;
147 m_pillars.push_back(value);
148 return *this;
149 }
151
153
156 inline RecommendationSource GetSource() const { return m_source; }
157 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
158 inline void SetSource(RecommendationSource value) {
159 m_sourceHasBeenSet = true;
160 m_source = value;
161 }
163 SetSource(value);
164 return *this;
165 }
167
169
172 inline const Aws::Vector<Aws::String>& GetAwsServices() const { return m_awsServices; }
173 inline bool AwsServicesHasBeenSet() const { return m_awsServicesHasBeenSet; }
174 template <typename AwsServicesT = Aws::Vector<Aws::String>>
175 void SetAwsServices(AwsServicesT&& value) {
176 m_awsServicesHasBeenSet = true;
177 m_awsServices = std::forward<AwsServicesT>(value);
178 }
179 template <typename AwsServicesT = Aws::Vector<Aws::String>>
181 SetAwsServices(std::forward<AwsServicesT>(value));
182 return *this;
183 }
184 template <typename AwsServicesT = Aws::String>
186 m_awsServicesHasBeenSet = true;
187 m_awsServices.emplace_back(std::forward<AwsServicesT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::String& GetName() const { return m_name; }
197 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
198 template <typename NameT = Aws::String>
199 void SetName(NameT&& value) {
200 m_nameHasBeenSet = true;
201 m_name = std::forward<NameT>(value);
202 }
203 template <typename NameT = Aws::String>
205 SetName(std::forward<NameT>(value));
206 return *this;
207 }
209
211
214 inline const RecommendationResourcesAggregates& GetResourcesAggregates() const { return m_resourcesAggregates; }
215 inline bool ResourcesAggregatesHasBeenSet() const { return m_resourcesAggregatesHasBeenSet; }
216 template <typename ResourcesAggregatesT = RecommendationResourcesAggregates>
217 void SetResourcesAggregates(ResourcesAggregatesT&& value) {
218 m_resourcesAggregatesHasBeenSet = true;
219 m_resourcesAggregates = std::forward<ResourcesAggregatesT>(value);
220 }
221 template <typename ResourcesAggregatesT = RecommendationResourcesAggregates>
223 SetResourcesAggregates(std::forward<ResourcesAggregatesT>(value));
224 return *this;
225 }
227
229
232 inline const RecommendationPillarSpecificAggregates& GetPillarSpecificAggregates() const { return m_pillarSpecificAggregates; }
233 inline bool PillarSpecificAggregatesHasBeenSet() const { return m_pillarSpecificAggregatesHasBeenSet; }
234 template <typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
235 void SetPillarSpecificAggregates(PillarSpecificAggregatesT&& value) {
236 m_pillarSpecificAggregatesHasBeenSet = true;
237 m_pillarSpecificAggregates = std::forward<PillarSpecificAggregatesT>(value);
238 }
239 template <typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
241 SetPillarSpecificAggregates(std::forward<PillarSpecificAggregatesT>(value));
242 return *this;
243 }
245
247
251 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
252 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
253 template <typename CreatedAtT = Aws::Utils::DateTime>
254 void SetCreatedAt(CreatedAtT&& value) {
255 m_createdAtHasBeenSet = true;
256 m_createdAt = std::forward<CreatedAtT>(value);
257 }
258 template <typename CreatedAtT = Aws::Utils::DateTime>
260 SetCreatedAt(std::forward<CreatedAtT>(value));
261 return *this;
262 }
264
266
269 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
270 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
271 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
272 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
273 m_lastUpdatedAtHasBeenSet = true;
274 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
275 }
276 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
278 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
279 return *this;
280 }
282
284
287 inline const Aws::String& GetArn() const { return m_arn; }
288 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
289 template <typename ArnT = Aws::String>
290 void SetArn(ArnT&& value) {
291 m_arnHasBeenSet = true;
292 m_arn = std::forward<ArnT>(value);
293 }
294 template <typename ArnT = Aws::String>
296 SetArn(std::forward<ArnT>(value));
297 return *this;
298 }
300 private:
301 Aws::String m_id;
302
304
305 Aws::String m_checkArn;
306
308
310
312
314
315 Aws::Vector<Aws::String> m_awsServices;
316
317 Aws::String m_name;
318
319 RecommendationResourcesAggregates m_resourcesAggregates;
320
321 RecommendationPillarSpecificAggregates m_pillarSpecificAggregates;
322
323 Aws::Utils::DateTime m_createdAt{};
324
325 Aws::Utils::DateTime m_lastUpdatedAt{};
326
327 Aws::String m_arn;
328 bool m_idHasBeenSet = false;
329 bool m_typeHasBeenSet = false;
330 bool m_checkArnHasBeenSet = false;
331 bool m_statusHasBeenSet = false;
332 bool m_lifecycleStageHasBeenSet = false;
333 bool m_pillarsHasBeenSet = false;
334 bool m_sourceHasBeenSet = false;
335 bool m_awsServicesHasBeenSet = false;
336 bool m_nameHasBeenSet = false;
337 bool m_resourcesAggregatesHasBeenSet = false;
338 bool m_pillarSpecificAggregatesHasBeenSet = false;
339 bool m_createdAtHasBeenSet = false;
340 bool m_lastUpdatedAtHasBeenSet = false;
341 bool m_arnHasBeenSet = false;
342};
343
344} // namespace Model
345} // namespace TrustedAdvisor
346} // namespace Aws
OrganizationRecommendationSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
OrganizationRecommendationSummary & WithSource(RecommendationSource value)
AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
const RecommendationPillarSpecificAggregates & GetPillarSpecificAggregates() const
const RecommendationResourcesAggregates & GetResourcesAggregates() const
OrganizationRecommendationSummary & WithCreatedAt(CreatedAtT &&value)
OrganizationRecommendationSummary & AddPillars(RecommendationPillar value)
AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationRecommendationSummary & WithAwsServices(AwsServicesT &&value)
OrganizationRecommendationSummary & AddAwsServices(AwsServicesT &&value)
OrganizationRecommendationSummary & WithPillarSpecificAggregates(PillarSpecificAggregatesT &&value)
OrganizationRecommendationSummary & WithLifecycleStage(RecommendationLifecycleStage value)
AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary()=default
OrganizationRecommendationSummary & WithCheckArn(CheckArnT &&value)
OrganizationRecommendationSummary & WithType(RecommendationType value)
OrganizationRecommendationSummary & WithStatus(RecommendationStatus value)
OrganizationRecommendationSummary & WithPillars(PillarsT &&value)
OrganizationRecommendationSummary & WithResourcesAggregates(ResourcesAggregatesT &&value)
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue