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#include <aws/trustedadvisor/model/StatusReason.h>
29namespace TrustedAdvisor {
50 template <
typename IdT = Aws::String>
52 m_idHasBeenSet =
true;
53 m_id = std::forward<IdT>(value);
55 template <
typename IdT = Aws::String>
57 SetId(std::forward<IdT>(value));
70 m_typeHasBeenSet =
true;
85 template <
typename CheckArnT = Aws::String>
87 m_checkArnHasBeenSet =
true;
88 m_checkArn = std::forward<CheckArnT>(value);
90 template <
typename CheckArnT = Aws::String>
104 m_statusHasBeenSet =
true;
120 m_lifecycleStageHasBeenSet =
true;
121 m_lifecycleStage = value;
135 template <
typename PillarsT = Aws::Vector<RecommendationPillar>>
137 m_pillarsHasBeenSet =
true;
138 m_pillars = std::forward<PillarsT>(value);
140 template <
typename PillarsT = Aws::Vector<RecommendationPillar>>
146 m_pillarsHasBeenSet =
true;
147 m_pillars.push_back(value);
159 m_sourceHasBeenSet =
true;
174 template <
typename AwsServicesT = Aws::Vector<Aws::String>>
176 m_awsServicesHasBeenSet =
true;
177 m_awsServices = std::forward<AwsServicesT>(value);
179 template <
typename AwsServicesT = Aws::Vector<Aws::String>>
184 template <
typename AwsServicesT = Aws::String>
186 m_awsServicesHasBeenSet =
true;
187 m_awsServices.emplace_back(std::forward<AwsServicesT>(value));
198 template <
typename NameT = Aws::String>
200 m_nameHasBeenSet =
true;
201 m_name = std::forward<NameT>(value);
203 template <
typename NameT = Aws::String>
205 SetName(std::forward<NameT>(value));
216 template <
typename ResourcesAggregatesT = RecommendationResourcesAggregates>
218 m_resourcesAggregatesHasBeenSet =
true;
219 m_resourcesAggregates = std::forward<ResourcesAggregatesT>(value);
221 template <
typename ResourcesAggregatesT = RecommendationResourcesAggregates>
234 template <
typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
236 m_pillarSpecificAggregatesHasBeenSet =
true;
237 m_pillarSpecificAggregates = std::forward<PillarSpecificAggregatesT>(value);
239 template <
typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
253 template <
typename CreatedAtT = Aws::Utils::DateTime>
255 m_createdAtHasBeenSet =
true;
256 m_createdAt = std::forward<CreatedAtT>(value);
258 template <
typename CreatedAtT = Aws::Utils::DateTime>
271 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
273 m_lastUpdatedAtHasBeenSet =
true;
274 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
276 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
289 template <
typename ArnT = Aws::String>
291 m_arnHasBeenSet =
true;
292 m_arn = std::forward<ArnT>(value);
294 template <
typename ArnT = Aws::String>
296 SetArn(std::forward<ArnT>(value));
309 m_statusReasonHasBeenSet =
true;
310 m_statusReason = value;
336 RecommendationResourcesAggregates m_resourcesAggregates;
338 RecommendationPillarSpecificAggregates m_pillarSpecificAggregates;
347 bool m_idHasBeenSet =
false;
348 bool m_typeHasBeenSet =
false;
349 bool m_checkArnHasBeenSet =
false;
350 bool m_statusHasBeenSet =
false;
351 bool m_lifecycleStageHasBeenSet =
false;
352 bool m_pillarsHasBeenSet =
false;
353 bool m_sourceHasBeenSet =
false;
354 bool m_awsServicesHasBeenSet =
false;
355 bool m_nameHasBeenSet =
false;
356 bool m_resourcesAggregatesHasBeenSet =
false;
357 bool m_pillarSpecificAggregatesHasBeenSet =
false;
358 bool m_createdAtHasBeenSet =
false;
359 bool m_lastUpdatedAtHasBeenSet =
false;
360 bool m_arnHasBeenSet =
false;
361 bool m_statusReasonHasBeenSet =
false;
RecommendationType GetType() const
RecommendationSummary & WithResourcesAggregates(ResourcesAggregatesT &&value)
RecommendationSummary & WithPillarSpecificAggregates(PillarSpecificAggregatesT &&value)
bool TypeHasBeenSet() const
bool CreatedAtHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
void SetType(RecommendationType value)
bool AwsServicesHasBeenSet() const
RecommendationSummary & AddAwsServices(AwsServicesT &&value)
const Aws::String & GetCheckArn() const
void SetStatusReason(StatusReason value)
RecommendationSummary & WithCheckArn(CheckArnT &&value)
void SetResourcesAggregates(ResourcesAggregatesT &&value)
bool NameHasBeenSet() const
const Aws::String & GetArn() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
RecommendationSource GetSource() const
AWS_TRUSTEDADVISOR_API RecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
const RecommendationPillarSpecificAggregates & GetPillarSpecificAggregates() const
bool LifecycleStageHasBeenSet() const
const Aws::String & GetName() const
RecommendationSummary & WithCreatedAt(CreatedAtT &&value)
void SetName(NameT &&value)
void SetCheckArn(CheckArnT &&value)
RecommendationSummary & WithArn(ArnT &&value)
RecommendationSummary & WithAwsServices(AwsServicesT &&value)
RecommendationSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
RecommendationSummary & WithType(RecommendationType value)
const Aws::String & GetId() const
StatusReason GetStatusReason() const
void SetCreatedAt(CreatedAtT &&value)
void SetPillars(PillarsT &&value)
AWS_TRUSTEDADVISOR_API RecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationSummary & WithId(IdT &&value)
RecommendationSummary & WithStatus(RecommendationStatus value)
bool ArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetAwsServices() const
bool PillarSpecificAggregatesHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool StatusHasBeenSet() const
bool CheckArnHasBeenSet() const
void SetArn(ArnT &&value)
RecommendationSummary & AddPillars(RecommendationPillar value)
void SetStatus(RecommendationStatus value)
RecommendationStatus GetStatus() const
void SetAwsServices(AwsServicesT &&value)
bool SourceHasBeenSet() const
RecommendationLifecycleStage GetLifecycleStage() const
void SetPillarSpecificAggregates(PillarSpecificAggregatesT &&value)
RecommendationSummary & WithPillars(PillarsT &&value)
RecommendationSummary & WithLifecycleStage(RecommendationLifecycleStage value)
AWS_TRUSTEDADVISOR_API RecommendationSummary()=default
const RecommendationResourcesAggregates & GetResourcesAggregates() const
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationSummary & WithStatusReason(StatusReason value)
void SetSource(RecommendationSource value)
const Aws::Vector< RecommendationPillar > & GetPillars() const
bool PillarsHasBeenSet() const
bool StatusReasonHasBeenSet() const
bool IdHasBeenSet() const
bool ResourcesAggregatesHasBeenSet() const
RecommendationSummary & WithName(NameT &&value)
RecommendationSummary & WithSource(RecommendationSource value)
void SetLifecycleStage(RecommendationLifecycleStage value)
RecommendationLifecycleStage
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue