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/UpdateRecommendationLifecycleStageReasonCode.h>
18#include <aws/trustedadvisor/model/RecommendationPillar.h>
31namespace TrustedAdvisor
56 template<
typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
58 template<
typename ArnT = Aws::String>
68 template<
typename AwsServicesT = Aws::Vector<Aws::String>>
69 void SetAwsServices(AwsServicesT&& value) { m_awsServicesHasBeenSet =
true; m_awsServices = std::forward<AwsServicesT>(value); }
70 template<
typename AwsServicesT = Aws::Vector<Aws::String>>
72 template<
typename AwsServicesT = Aws::String>
73 Recommendation&
AddAwsServices(AwsServicesT&& value) { m_awsServicesHasBeenSet =
true; m_awsServices.emplace_back(std::forward<AwsServicesT>(value));
return *
this; }
82 template<
typename CheckArnT = Aws::String>
83 void SetCheckArn(CheckArnT&& value) { m_checkArnHasBeenSet =
true; m_checkArn = std::forward<CheckArnT>(value); }
84 template<
typename CheckArnT = Aws::String>
95 template<
typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
97 template<
typename CreatedAtT = Aws::Utils::DateTime>
107 template<
typename CreatedByT = Aws::String>
108 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
109 template<
typename CreatedByT = Aws::String>
119 template<
typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
121 template<
typename DescriptionT = Aws::String>
131 template<
typename IdT = Aws::String>
132 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
133 template<
typename IdT = Aws::String>
143 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
144 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
145 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
165 template<
typename NameT = Aws::String>
166 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
167 template<
typename NameT = Aws::String>
177 template<
typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
178 void SetPillarSpecificAggregates(PillarSpecificAggregatesT&& value) { m_pillarSpecificAggregatesHasBeenSet =
true; m_pillarSpecificAggregates = std::forward<PillarSpecificAggregatesT>(value); }
179 template<
typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
189 template<
typename PillarsT = Aws::Vector<RecommendationPillar>>
190 void SetPillars(PillarsT&& value) { m_pillarsHasBeenSet =
true; m_pillars = std::forward<PillarsT>(value); }
191 template<
typename PillarsT = Aws::Vector<RecommendationPillar>>
202 template<
typename ResolvedAtT = Aws::Utils::DateTime>
203 void SetResolvedAt(ResolvedAtT&& value) { m_resolvedAtHasBeenSet =
true; m_resolvedAt = std::forward<ResolvedAtT>(value); }
204 template<
typename ResolvedAtT = Aws::Utils::DateTime>
214 template<
typename ResourcesAggregatesT = RecommendationResourcesAggregates>
215 void SetResourcesAggregates(ResourcesAggregatesT&& value) { m_resourcesAggregatesHasBeenSet =
true; m_resourcesAggregates = std::forward<ResourcesAggregatesT>(value); }
216 template<
typename ResourcesAggregatesT = RecommendationResourcesAggregates>
257 template<
typename UpdateReasonT = Aws::String>
258 void SetUpdateReason(UpdateReasonT&& value) { m_updateReasonHasBeenSet =
true; m_updateReason = std::forward<UpdateReasonT>(value); }
259 template<
typename UpdateReasonT = Aws::String>
282 template<
typename UpdatedOnBehalfOfT = Aws::String>
283 void SetUpdatedOnBehalfOf(UpdatedOnBehalfOfT&& value) { m_updatedOnBehalfOfHasBeenSet =
true; m_updatedOnBehalfOf = std::forward<UpdatedOnBehalfOfT>(value); }
284 template<
typename UpdatedOnBehalfOfT = Aws::String>
297 template<
typename UpdatedOnBehalfOfJobTitleT = Aws::String>
298 void SetUpdatedOnBehalfOfJobTitle(UpdatedOnBehalfOfJobTitleT&& value) { m_updatedOnBehalfOfJobTitleHasBeenSet =
true; m_updatedOnBehalfOfJobTitle = std::forward<UpdatedOnBehalfOfJobTitleT>(value); }
299 template<
typename UpdatedOnBehalfOfJobTitleT = Aws::String>
305 bool m_arnHasBeenSet =
false;
308 bool m_awsServicesHasBeenSet =
false;
311 bool m_checkArnHasBeenSet =
false;
314 bool m_createdAtHasBeenSet =
false;
317 bool m_createdByHasBeenSet =
false;
320 bool m_descriptionHasBeenSet =
false;
323 bool m_idHasBeenSet =
false;
326 bool m_lastUpdatedAtHasBeenSet =
false;
329 bool m_lifecycleStageHasBeenSet =
false;
332 bool m_nameHasBeenSet =
false;
334 RecommendationPillarSpecificAggregates m_pillarSpecificAggregates;
335 bool m_pillarSpecificAggregatesHasBeenSet =
false;
338 bool m_pillarsHasBeenSet =
false;
341 bool m_resolvedAtHasBeenSet =
false;
343 RecommendationResourcesAggregates m_resourcesAggregates;
344 bool m_resourcesAggregatesHasBeenSet =
false;
347 bool m_sourceHasBeenSet =
false;
350 bool m_statusHasBeenSet =
false;
353 bool m_typeHasBeenSet =
false;
356 bool m_updateReasonHasBeenSet =
false;
359 bool m_updateReasonCodeHasBeenSet =
false;
362 bool m_updatedOnBehalfOfHasBeenSet =
false;
365 bool m_updatedOnBehalfOfJobTitleHasBeenSet =
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
bool StatusHasBeenSet() const
UpdateRecommendationLifecycleStageReasonCode GetUpdateReasonCode() const
const Aws::String & GetUpdatedOnBehalfOfJobTitle() const
RecommendationLifecycleStage GetLifecycleStage() const
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
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