AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationRecommendationSummary.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/trustedadvisor/model/RecommendationLifecycleStage.h>
12#include <aws/trustedadvisor/model/RecommendationPillarSpecificAggregates.h>
13#include <aws/trustedadvisor/model/RecommendationResourcesAggregates.h>
14#include <aws/trustedadvisor/model/RecommendationSource.h>
15#include <aws/trustedadvisor/model/RecommendationStatus.h>
16#include <aws/trustedadvisor/model/RecommendationType.h>
17#include <aws/trustedadvisor/model/RecommendationPillar.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace TrustedAdvisor
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary();
47 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
59 inline OrganizationRecommendationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline OrganizationRecommendationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline OrganizationRecommendationSummary& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const Aws::Vector<Aws::String>& GetAwsServices() const{ return m_awsServices; }
69 inline bool AwsServicesHasBeenSet() const { return m_awsServicesHasBeenSet; }
70 inline void SetAwsServices(const Aws::Vector<Aws::String>& value) { m_awsServicesHasBeenSet = true; m_awsServices = value; }
71 inline void SetAwsServices(Aws::Vector<Aws::String>&& value) { m_awsServicesHasBeenSet = true; m_awsServices = std::move(value); }
74 inline OrganizationRecommendationSummary& AddAwsServices(const Aws::String& value) { m_awsServicesHasBeenSet = true; m_awsServices.push_back(value); return *this; }
75 inline OrganizationRecommendationSummary& AddAwsServices(Aws::String&& value) { m_awsServicesHasBeenSet = true; m_awsServices.push_back(std::move(value)); return *this; }
76 inline OrganizationRecommendationSummary& AddAwsServices(const char* value) { m_awsServicesHasBeenSet = true; m_awsServices.push_back(value); return *this; }
78
80
83 inline const Aws::String& GetCheckArn() const{ return m_checkArn; }
84 inline bool CheckArnHasBeenSet() const { return m_checkArnHasBeenSet; }
85 inline void SetCheckArn(const Aws::String& value) { m_checkArnHasBeenSet = true; m_checkArn = value; }
86 inline void SetCheckArn(Aws::String&& value) { m_checkArnHasBeenSet = true; m_checkArn = std::move(value); }
87 inline void SetCheckArn(const char* value) { m_checkArnHasBeenSet = true; m_checkArn.assign(value); }
88 inline OrganizationRecommendationSummary& WithCheckArn(const Aws::String& value) { SetCheckArn(value); return *this;}
89 inline OrganizationRecommendationSummary& WithCheckArn(Aws::String&& value) { SetCheckArn(std::move(value)); return *this;}
90 inline OrganizationRecommendationSummary& WithCheckArn(const char* value) { SetCheckArn(value); return *this;}
92
94
98 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
99 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
100 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
101 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
103 inline OrganizationRecommendationSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
105
107
110 inline const Aws::String& GetId() const{ return m_id; }
111 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
112 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
113 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
114 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
115 inline OrganizationRecommendationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
116 inline OrganizationRecommendationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
117 inline OrganizationRecommendationSummary& WithId(const char* value) { SetId(value); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
125 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
126 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
127 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
131
133
136 inline const RecommendationLifecycleStage& GetLifecycleStage() const{ return m_lifecycleStage; }
137 inline bool LifecycleStageHasBeenSet() const { return m_lifecycleStageHasBeenSet; }
138 inline void SetLifecycleStage(const RecommendationLifecycleStage& value) { m_lifecycleStageHasBeenSet = true; m_lifecycleStage = value; }
139 inline void SetLifecycleStage(RecommendationLifecycleStage&& value) { m_lifecycleStageHasBeenSet = true; m_lifecycleStage = std::move(value); }
143
145
148 inline const Aws::String& GetName() const{ return m_name; }
149 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
150 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
151 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
152 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
153 inline OrganizationRecommendationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
154 inline OrganizationRecommendationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
155 inline OrganizationRecommendationSummary& WithName(const char* value) { SetName(value); return *this;}
157
159
162 inline const RecommendationPillarSpecificAggregates& GetPillarSpecificAggregates() const{ return m_pillarSpecificAggregates; }
163 inline bool PillarSpecificAggregatesHasBeenSet() const { return m_pillarSpecificAggregatesHasBeenSet; }
164 inline void SetPillarSpecificAggregates(const RecommendationPillarSpecificAggregates& value) { m_pillarSpecificAggregatesHasBeenSet = true; m_pillarSpecificAggregates = value; }
165 inline void SetPillarSpecificAggregates(RecommendationPillarSpecificAggregates&& value) { m_pillarSpecificAggregatesHasBeenSet = true; m_pillarSpecificAggregates = std::move(value); }
169
171
174 inline const Aws::Vector<RecommendationPillar>& GetPillars() const{ return m_pillars; }
175 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
176 inline void SetPillars(const Aws::Vector<RecommendationPillar>& value) { m_pillarsHasBeenSet = true; m_pillars = value; }
177 inline void SetPillars(Aws::Vector<RecommendationPillar>&& value) { m_pillarsHasBeenSet = true; m_pillars = std::move(value); }
180 inline OrganizationRecommendationSummary& AddPillars(const RecommendationPillar& value) { m_pillarsHasBeenSet = true; m_pillars.push_back(value); return *this; }
181 inline OrganizationRecommendationSummary& AddPillars(RecommendationPillar&& value) { m_pillarsHasBeenSet = true; m_pillars.push_back(std::move(value)); return *this; }
183
185
188 inline const RecommendationResourcesAggregates& GetResourcesAggregates() const{ return m_resourcesAggregates; }
189 inline bool ResourcesAggregatesHasBeenSet() const { return m_resourcesAggregatesHasBeenSet; }
190 inline void SetResourcesAggregates(const RecommendationResourcesAggregates& value) { m_resourcesAggregatesHasBeenSet = true; m_resourcesAggregates = value; }
191 inline void SetResourcesAggregates(RecommendationResourcesAggregates&& value) { m_resourcesAggregatesHasBeenSet = true; m_resourcesAggregates = std::move(value); }
195
197
200 inline const RecommendationSource& GetSource() const{ return m_source; }
201 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
202 inline void SetSource(const RecommendationSource& value) { m_sourceHasBeenSet = true; m_source = value; }
203 inline void SetSource(RecommendationSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
204 inline OrganizationRecommendationSummary& WithSource(const RecommendationSource& value) { SetSource(value); return *this;}
205 inline OrganizationRecommendationSummary& WithSource(RecommendationSource&& value) { SetSource(std::move(value)); return *this;}
207
209
212 inline const RecommendationStatus& GetStatus() const{ return m_status; }
213 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
214 inline void SetStatus(const RecommendationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
215 inline void SetStatus(RecommendationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
216 inline OrganizationRecommendationSummary& WithStatus(const RecommendationStatus& value) { SetStatus(value); return *this;}
217 inline OrganizationRecommendationSummary& WithStatus(RecommendationStatus&& value) { SetStatus(std::move(value)); return *this;}
219
221
225 inline const RecommendationType& GetType() const{ return m_type; }
226 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
227 inline void SetType(const RecommendationType& value) { m_typeHasBeenSet = true; m_type = value; }
228 inline void SetType(RecommendationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
229 inline OrganizationRecommendationSummary& WithType(const RecommendationType& value) { SetType(value); return *this;}
230 inline OrganizationRecommendationSummary& WithType(RecommendationType&& value) { SetType(std::move(value)); return *this;}
232 private:
233
234 Aws::String m_arn;
235 bool m_arnHasBeenSet = false;
236
237 Aws::Vector<Aws::String> m_awsServices;
238 bool m_awsServicesHasBeenSet = false;
239
240 Aws::String m_checkArn;
241 bool m_checkArnHasBeenSet = false;
242
243 Aws::Utils::DateTime m_createdAt;
244 bool m_createdAtHasBeenSet = false;
245
246 Aws::String m_id;
247 bool m_idHasBeenSet = false;
248
249 Aws::Utils::DateTime m_lastUpdatedAt;
250 bool m_lastUpdatedAtHasBeenSet = false;
251
252 RecommendationLifecycleStage m_lifecycleStage;
253 bool m_lifecycleStageHasBeenSet = false;
254
255 Aws::String m_name;
256 bool m_nameHasBeenSet = false;
257
258 RecommendationPillarSpecificAggregates m_pillarSpecificAggregates;
259 bool m_pillarSpecificAggregatesHasBeenSet = false;
260
262 bool m_pillarsHasBeenSet = false;
263
264 RecommendationResourcesAggregates m_resourcesAggregates;
265 bool m_resourcesAggregatesHasBeenSet = false;
266
267 RecommendationSource m_source;
268 bool m_sourceHasBeenSet = false;
269
270 RecommendationStatus m_status;
271 bool m_statusHasBeenSet = false;
272
273 RecommendationType m_type;
274 bool m_typeHasBeenSet = false;
275 };
276
277} // namespace Model
278} // namespace TrustedAdvisor
279} // namespace Aws
OrganizationRecommendationSummary & WithArn(const Aws::String &value)
OrganizationRecommendationSummary & WithCheckArn(const Aws::String &value)
OrganizationRecommendationSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
OrganizationRecommendationSummary & WithCheckArn(const char *value)
void SetPillarSpecificAggregates(const RecommendationPillarSpecificAggregates &value)
OrganizationRecommendationSummary & WithName(Aws::String &&value)
OrganizationRecommendationSummary & WithId(const Aws::String &value)
OrganizationRecommendationSummary & WithSource(const RecommendationSource &value)
OrganizationRecommendationSummary & WithResourcesAggregates(const RecommendationResourcesAggregates &value)
OrganizationRecommendationSummary & WithSource(RecommendationSource &&value)
OrganizationRecommendationSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetPillarSpecificAggregates(RecommendationPillarSpecificAggregates &&value)
OrganizationRecommendationSummary & WithName(const char *value)
AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
OrganizationRecommendationSummary & WithPillars(Aws::Vector< RecommendationPillar > &&value)
OrganizationRecommendationSummary & WithCheckArn(Aws::String &&value)
OrganizationRecommendationSummary & WithAwsServices(Aws::Vector< Aws::String > &&value)
OrganizationRecommendationSummary & AddPillars(const RecommendationPillar &value)
OrganizationRecommendationSummary & WithType(RecommendationType &&value)
OrganizationRecommendationSummary & WithStatus(RecommendationStatus &&value)
OrganizationRecommendationSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
const RecommendationPillarSpecificAggregates & GetPillarSpecificAggregates() const
OrganizationRecommendationSummary & WithId(Aws::String &&value)
OrganizationRecommendationSummary & WithName(const Aws::String &value)
OrganizationRecommendationSummary & WithArn(Aws::String &&value)
const RecommendationResourcesAggregates & GetResourcesAggregates() const
AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationRecommendationSummary & AddAwsServices(const Aws::String &value)
OrganizationRecommendationSummary & WithAwsServices(const Aws::Vector< Aws::String > &value)
void SetResourcesAggregates(const RecommendationResourcesAggregates &value)
OrganizationRecommendationSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
OrganizationRecommendationSummary & AddAwsServices(const char *value)
void SetPillars(const Aws::Vector< RecommendationPillar > &value)
OrganizationRecommendationSummary & WithPillars(const Aws::Vector< RecommendationPillar > &value)
OrganizationRecommendationSummary & AddPillars(RecommendationPillar &&value)
OrganizationRecommendationSummary & WithPillarSpecificAggregates(const RecommendationPillarSpecificAggregates &value)
OrganizationRecommendationSummary & WithId(const char *value)
OrganizationRecommendationSummary & WithLifecycleStage(RecommendationLifecycleStage &&value)
OrganizationRecommendationSummary & WithArn(const char *value)
OrganizationRecommendationSummary & WithPillarSpecificAggregates(RecommendationPillarSpecificAggregates &&value)
OrganizationRecommendationSummary & WithResourcesAggregates(RecommendationResourcesAggregates &&value)
OrganizationRecommendationSummary & AddAwsServices(Aws::String &&value)
OrganizationRecommendationSummary & WithType(const RecommendationType &value)
OrganizationRecommendationSummary & WithStatus(const RecommendationStatus &value)
OrganizationRecommendationSummary & WithLifecycleStage(const RecommendationLifecycleStage &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