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>
19#include <aws/trustedadvisor/model/UpdateRecommendationLifecycleStageReasonCode.h>
30namespace TrustedAdvisor {
51 template <
typename IdT = Aws::String>
53 m_idHasBeenSet =
true;
54 m_id = std::forward<IdT>(value);
56 template <
typename IdT = Aws::String>
58 SetId(std::forward<IdT>(value));
71 m_typeHasBeenSet =
true;
86 template <
typename CheckArnT = Aws::String>
88 m_checkArnHasBeenSet =
true;
89 m_checkArn = std::forward<CheckArnT>(value);
91 template <
typename CheckArnT = Aws::String>
105 m_statusHasBeenSet =
true;
121 m_lifecycleStageHasBeenSet =
true;
122 m_lifecycleStage = value;
136 template <
typename PillarsT = Aws::Vector<RecommendationPillar>>
138 m_pillarsHasBeenSet =
true;
139 m_pillars = std::forward<PillarsT>(value);
141 template <
typename PillarsT = Aws::Vector<RecommendationPillar>>
147 m_pillarsHasBeenSet =
true;
148 m_pillars.push_back(value);
160 m_sourceHasBeenSet =
true;
175 template <
typename AwsServicesT = Aws::Vector<Aws::String>>
177 m_awsServicesHasBeenSet =
true;
178 m_awsServices = std::forward<AwsServicesT>(value);
180 template <
typename AwsServicesT = Aws::Vector<Aws::String>>
185 template <
typename AwsServicesT = Aws::String>
187 m_awsServicesHasBeenSet =
true;
188 m_awsServices.emplace_back(std::forward<AwsServicesT>(value));
199 template <
typename NameT = Aws::String>
201 m_nameHasBeenSet =
true;
202 m_name = std::forward<NameT>(value);
204 template <
typename NameT = Aws::String>
206 SetName(std::forward<NameT>(value));
217 template <
typename ResourcesAggregatesT = RecommendationResourcesAggregates>
219 m_resourcesAggregatesHasBeenSet =
true;
220 m_resourcesAggregates = std::forward<ResourcesAggregatesT>(value);
222 template <
typename ResourcesAggregatesT = RecommendationResourcesAggregates>
235 template <
typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
237 m_pillarSpecificAggregatesHasBeenSet =
true;
238 m_pillarSpecificAggregates = std::forward<PillarSpecificAggregatesT>(value);
240 template <
typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
254 template <
typename CreatedAtT = Aws::Utils::DateTime>
256 m_createdAtHasBeenSet =
true;
257 m_createdAt = std::forward<CreatedAtT>(value);
259 template <
typename CreatedAtT = Aws::Utils::DateTime>
272 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
274 m_lastUpdatedAtHasBeenSet =
true;
275 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
277 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
290 template <
typename ArnT = Aws::String>
292 m_arnHasBeenSet =
true;
293 m_arn = std::forward<ArnT>(value);
295 template <
typename ArnT = Aws::String>
297 SetArn(std::forward<ArnT>(value));
310 m_statusReasonHasBeenSet =
true;
311 m_statusReason = value;
325 template <
typename DescriptionT = Aws::String>
327 m_descriptionHasBeenSet =
true;
328 m_description = std::forward<DescriptionT>(value);
330 template <
typename DescriptionT = Aws::String>
343 template <
typename CreatedByT = Aws::String>
345 m_createdByHasBeenSet =
true;
346 m_createdBy = std::forward<CreatedByT>(value);
348 template <
typename CreatedByT = Aws::String>
364 template <
typename UpdatedOnBehalfOfT = Aws::String>
366 m_updatedOnBehalfOfHasBeenSet =
true;
367 m_updatedOnBehalfOf = std::forward<UpdatedOnBehalfOfT>(value);
369 template <
typename UpdatedOnBehalfOfT = Aws::String>
385 template <
typename UpdatedOnBehalfOfJobTitleT = Aws::String>
387 m_updatedOnBehalfOfJobTitleHasBeenSet =
true;
388 m_updatedOnBehalfOfJobTitle = std::forward<UpdatedOnBehalfOfJobTitleT>(value);
390 template <
typename UpdatedOnBehalfOfJobTitleT = Aws::String>
403 template <
typename UpdateReasonT = Aws::String>
405 m_updateReasonHasBeenSet =
true;
406 m_updateReason = std::forward<UpdateReasonT>(value);
408 template <
typename UpdateReasonT = Aws::String>
422 m_updateReasonCodeHasBeenSet =
true;
423 m_updateReasonCode = value;
437 template <
typename ResolvedAtT = Aws::Utils::DateTime>
439 m_resolvedAtHasBeenSet =
true;
440 m_resolvedAt = std::forward<ResolvedAtT>(value);
442 template <
typename ResolvedAtT = Aws::Utils::DateTime>
467 RecommendationResourcesAggregates m_resourcesAggregates;
469 RecommendationPillarSpecificAggregates m_pillarSpecificAggregates;
492 bool m_idHasBeenSet =
false;
493 bool m_typeHasBeenSet =
false;
494 bool m_checkArnHasBeenSet =
false;
495 bool m_statusHasBeenSet =
false;
496 bool m_lifecycleStageHasBeenSet =
false;
497 bool m_pillarsHasBeenSet =
false;
498 bool m_sourceHasBeenSet =
false;
499 bool m_awsServicesHasBeenSet =
false;
500 bool m_nameHasBeenSet =
false;
501 bool m_resourcesAggregatesHasBeenSet =
false;
502 bool m_pillarSpecificAggregatesHasBeenSet =
false;
503 bool m_createdAtHasBeenSet =
false;
504 bool m_lastUpdatedAtHasBeenSet =
false;
505 bool m_arnHasBeenSet =
false;
506 bool m_statusReasonHasBeenSet =
false;
507 bool m_descriptionHasBeenSet =
false;
508 bool m_createdByHasBeenSet =
false;
509 bool m_updatedOnBehalfOfHasBeenSet =
false;
510 bool m_updatedOnBehalfOfJobTitleHasBeenSet =
false;
511 bool m_updateReasonHasBeenSet =
false;
512 bool m_updateReasonCodeHasBeenSet =
false;
513 bool m_resolvedAtHasBeenSet =
false;
Recommendation & WithSource(RecommendationSource value)
bool UpdateReasonCodeHasBeenSet() const
bool TypeHasBeenSet() const
Recommendation & WithStatus(RecommendationStatus value)
bool LifecycleStageHasBeenSet() const
const Aws::Vector< Aws::String > & GetAwsServices() const
bool IdHasBeenSet() const
AWS_TRUSTEDADVISOR_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
bool AwsServicesHasBeenSet() const
const Aws::String & GetId() const
const RecommendationResourcesAggregates & GetResourcesAggregates() const
void SetPillarSpecificAggregates(PillarSpecificAggregatesT &&value)
Recommendation & WithLifecycleStage(RecommendationLifecycleStage value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool SourceHasBeenSet() const
Recommendation & WithUpdatedOnBehalfOfJobTitle(UpdatedOnBehalfOfJobTitleT &&value)
void SetCheckArn(CheckArnT &&value)
void SetPillars(PillarsT &&value)
bool ArnHasBeenSet() const
AWS_TRUSTEDADVISOR_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UpdatedOnBehalfOfJobTitleHasBeenSet() const
RecommendationStatus GetStatus() const
const Aws::String & GetArn() const
void SetCreatedBy(CreatedByT &&value)
Recommendation & WithCheckArn(CheckArnT &&value)
bool PillarSpecificAggregatesHasBeenSet() const
Recommendation & WithUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode value)
void SetResolvedAt(ResolvedAtT &&value)
RecommendationSource GetSource() const
bool UpdatedOnBehalfOfHasBeenSet() const
const Aws::String & GetUpdateReason() const
void SetResourcesAggregates(ResourcesAggregatesT &&value)
void SetUpdateReason(UpdateReasonT &&value)
void SetDescription(DescriptionT &&value)
bool LastUpdatedAtHasBeenSet() const
void SetType(RecommendationType value)
void SetLifecycleStage(RecommendationLifecycleStage value)
bool NameHasBeenSet() const
StatusReason GetStatusReason() const
bool StatusHasBeenSet() const
UpdateRecommendationLifecycleStageReasonCode GetUpdateReasonCode() const
const Aws::String & GetUpdatedOnBehalfOfJobTitle() const
bool StatusReasonHasBeenSet() const
RecommendationLifecycleStage GetLifecycleStage() const
void SetStatusReason(StatusReason value)
Recommendation & WithCreatedAt(CreatedAtT &&value)
Recommendation & WithPillars(PillarsT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetResolvedAt() const
Recommendation & WithDescription(DescriptionT &&value)
bool ResourcesAggregatesHasBeenSet() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
bool CheckArnHasBeenSet() const
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationType GetType() const
void SetStatus(RecommendationStatus value)
void SetName(NameT &&value)
const Aws::String & GetCheckArn() const
Recommendation & WithUpdateReason(UpdateReasonT &&value)
Recommendation & WithResolvedAt(ResolvedAtT &&value)
bool CreatedByHasBeenSet() const
Recommendation & WithPillarSpecificAggregates(PillarSpecificAggregatesT &&value)
Recommendation & WithId(IdT &&value)
bool PillarsHasBeenSet() const
Recommendation & WithName(NameT &&value)
Recommendation & WithUpdatedOnBehalfOf(UpdatedOnBehalfOfT &&value)
const RecommendationPillarSpecificAggregates & GetPillarSpecificAggregates() const
Recommendation & WithStatusReason(StatusReason value)
AWS_TRUSTEDADVISOR_API Recommendation()=default
void SetUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode value)
bool UpdateReasonHasBeenSet() const
const Aws::String & GetCreatedBy() const
Recommendation & WithType(RecommendationType value)
const Aws::String & GetDescription() const
bool ResolvedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< RecommendationPillar > & GetPillars() const
Recommendation & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetName() const
Recommendation & WithArn(ArnT &&value)
void SetAwsServices(AwsServicesT &&value)
Recommendation & WithAwsServices(AwsServicesT &&value)
bool DescriptionHasBeenSet() const
void SetUpdatedOnBehalfOfJobTitle(UpdatedOnBehalfOfJobTitleT &&value)
bool CreatedAtHasBeenSet() const
Recommendation & WithLastUpdatedAt(LastUpdatedAtT &&value)
Recommendation & WithResourcesAggregates(ResourcesAggregatesT &&value)
Recommendation & AddAwsServices(AwsServicesT &&value)
Recommendation & AddPillars(RecommendationPillar value)
const Aws::String & GetUpdatedOnBehalfOf() const
void SetSource(RecommendationSource value)
void SetArn(ArnT &&value)
void SetUpdatedOnBehalfOf(UpdatedOnBehalfOfT &&value)
UpdateRecommendationLifecycleStageReasonCode
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