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
57 template<
typename ArnT = Aws::String>
58 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
59 template<
typename ArnT = Aws::String>
69 template<
typename AwsServicesT = Aws::Vector<Aws::String>>
70 void SetAwsServices(AwsServicesT&& value) { m_awsServicesHasBeenSet =
true; m_awsServices = std::forward<AwsServicesT>(value); }
71 template<
typename AwsServicesT = Aws::Vector<Aws::String>>
73 template<
typename AwsServicesT = Aws::String>
83 template<
typename CheckArnT = Aws::String>
84 void SetCheckArn(CheckArnT&& value) { m_checkArnHasBeenSet =
true; m_checkArn = std::forward<CheckArnT>(value); }
85 template<
typename CheckArnT = Aws::String>
96 template<
typename CreatedAtT = Aws::Utils::DateTime>
97 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
98 template<
typename CreatedAtT = Aws::Utils::DateTime>
108 template<
typename CreatedByT = Aws::String>
109 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
110 template<
typename CreatedByT = Aws::String>
120 template<
typename DescriptionT = Aws::String>
121 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
122 template<
typename DescriptionT = Aws::String>
132 template<
typename IdT = Aws::String>
133 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
134 template<
typename IdT = Aws::String>
144 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
145 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
146 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
166 template<
typename NameT = Aws::String>
167 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
168 template<
typename NameT = Aws::String>
178 template<
typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
179 void SetPillarSpecificAggregates(PillarSpecificAggregatesT&& value) { m_pillarSpecificAggregatesHasBeenSet =
true; m_pillarSpecificAggregates = std::forward<PillarSpecificAggregatesT>(value); }
180 template<
typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
190 template<
typename PillarsT = Aws::Vector<RecommendationPillar>>
191 void SetPillars(PillarsT&& value) { m_pillarsHasBeenSet =
true; m_pillars = std::forward<PillarsT>(value); }
192 template<
typename PillarsT = Aws::Vector<RecommendationPillar>>
203 template<
typename ResolvedAtT = Aws::Utils::DateTime>
204 void SetResolvedAt(ResolvedAtT&& value) { m_resolvedAtHasBeenSet =
true; m_resolvedAt = std::forward<ResolvedAtT>(value); }
205 template<
typename ResolvedAtT = Aws::Utils::DateTime>
215 template<
typename ResourcesAggregatesT = RecommendationResourcesAggregates>
216 void SetResourcesAggregates(ResourcesAggregatesT&& value) { m_resourcesAggregatesHasBeenSet =
true; m_resourcesAggregates = std::forward<ResourcesAggregatesT>(value); }
217 template<
typename ResourcesAggregatesT = RecommendationResourcesAggregates>
258 template<
typename UpdateReasonT = Aws::String>
259 void SetUpdateReason(UpdateReasonT&& value) { m_updateReasonHasBeenSet =
true; m_updateReason = std::forward<UpdateReasonT>(value); }
260 template<
typename UpdateReasonT = Aws::String>
283 template<
typename UpdatedOnBehalfOfT = Aws::String>
284 void SetUpdatedOnBehalfOf(UpdatedOnBehalfOfT&& value) { m_updatedOnBehalfOfHasBeenSet =
true; m_updatedOnBehalfOf = std::forward<UpdatedOnBehalfOfT>(value); }
285 template<
typename UpdatedOnBehalfOfT = Aws::String>
298 template<
typename UpdatedOnBehalfOfJobTitleT = Aws::String>
299 void SetUpdatedOnBehalfOfJobTitle(UpdatedOnBehalfOfJobTitleT&& value) { m_updatedOnBehalfOfJobTitleHasBeenSet =
true; m_updatedOnBehalfOfJobTitle = std::forward<UpdatedOnBehalfOfJobTitleT>(value); }
300 template<
typename UpdatedOnBehalfOfJobTitleT = Aws::String>
306 bool m_arnHasBeenSet =
false;
309 bool m_awsServicesHasBeenSet =
false;
312 bool m_checkArnHasBeenSet =
false;
315 bool m_createdAtHasBeenSet =
false;
318 bool m_createdByHasBeenSet =
false;
321 bool m_descriptionHasBeenSet =
false;
324 bool m_idHasBeenSet =
false;
327 bool m_lastUpdatedAtHasBeenSet =
false;
330 bool m_lifecycleStageHasBeenSet =
false;
333 bool m_nameHasBeenSet =
false;
335 RecommendationPillarSpecificAggregates m_pillarSpecificAggregates;
336 bool m_pillarSpecificAggregatesHasBeenSet =
false;
339 bool m_pillarsHasBeenSet =
false;
342 bool m_resolvedAtHasBeenSet =
false;
344 RecommendationResourcesAggregates m_resourcesAggregates;
345 bool m_resourcesAggregatesHasBeenSet =
false;
348 bool m_sourceHasBeenSet =
false;
351 bool m_statusHasBeenSet =
false;
354 bool m_typeHasBeenSet =
false;
357 bool m_updateReasonHasBeenSet =
false;
360 bool m_updateReasonCodeHasBeenSet =
false;
363 bool m_updatedOnBehalfOfHasBeenSet =
false;
366 bool m_updatedOnBehalfOfJobTitleHasBeenSet =
false;
const RecommendationPillarSpecificAggregates & GetPillarSpecificAggregates() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
OrganizationRecommendation & WithArn(ArnT &&value)
OrganizationRecommendation & AddPillars(RecommendationPillar value)
void SetUpdatedOnBehalfOfJobTitle(UpdatedOnBehalfOfJobTitleT &&value)
OrganizationRecommendation & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetCheckArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
OrganizationRecommendation & WithPillarSpecificAggregates(PillarSpecificAggregatesT &&value)
bool PillarsHasBeenSet() const
const Aws::String & GetUpdatedOnBehalfOf() const
OrganizationRecommendation & WithUpdatedOnBehalfOfJobTitle(UpdatedOnBehalfOfJobTitleT &&value)
AWS_TRUSTEDADVISOR_API OrganizationRecommendation()=default
void SetCheckArn(CheckArnT &&value)
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetCreatedBy() const
bool PillarSpecificAggregatesHasBeenSet() const
OrganizationRecommendation & WithResourcesAggregates(ResourcesAggregatesT &&value)
bool UpdatedOnBehalfOfJobTitleHasBeenSet() const
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationRecommendation & WithPillars(PillarsT &&value)
bool TypeHasBeenSet() const
bool LifecycleStageHasBeenSet() const
OrganizationRecommendation & AddAwsServices(AwsServicesT &&value)
void SetType(RecommendationType value)
OrganizationRecommendation & WithUpdateReason(UpdateReasonT &&value)
UpdateRecommendationLifecycleStageReasonCode GetUpdateReasonCode() const
bool DescriptionHasBeenSet() const
void SetPillarSpecificAggregates(PillarSpecificAggregatesT &&value)
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetResolvedAt() const
OrganizationRecommendation & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetId() const
void SetUpdatedOnBehalfOf(UpdatedOnBehalfOfT &&value)
AWS_TRUSTEDADVISOR_API OrganizationRecommendation(Aws::Utils::Json::JsonView jsonValue)
RecommendationLifecycleStage GetLifecycleStage() const
OrganizationRecommendation & WithResolvedAt(ResolvedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetSource(RecommendationSource value)
void SetStatus(RecommendationStatus value)
void SetUpdateReason(UpdateReasonT &&value)
bool CreatedByHasBeenSet() const
RecommendationStatus GetStatus() const
OrganizationRecommendation & WithUpdatedOnBehalfOf(UpdatedOnBehalfOfT &&value)
bool IdHasBeenSet() const
const Aws::String & GetArn() const
void SetResourcesAggregates(ResourcesAggregatesT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetUpdatedOnBehalfOfJobTitle() const
bool LastUpdatedAtHasBeenSet() const
bool UpdateReasonCodeHasBeenSet() const
bool NameHasBeenSet() const
bool UpdateReasonHasBeenSet() const
RecommendationSource GetSource() const
bool ResourcesAggregatesHasBeenSet() const
AWS_TRUSTEDADVISOR_API OrganizationRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResolvedAt(ResolvedAtT &&value)
OrganizationRecommendation & WithType(RecommendationType value)
OrganizationRecommendation & WithLifecycleStage(RecommendationLifecycleStage value)
void SetUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode value)
bool ArnHasBeenSet() const
const RecommendationResourcesAggregates & GetResourcesAggregates() const
bool AwsServicesHasBeenSet() const
OrganizationRecommendation & WithDescription(DescriptionT &&value)
OrganizationRecommendation & WithUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode value)
void SetLifecycleStage(RecommendationLifecycleStage value)
bool SourceHasBeenSet() const
const Aws::String & GetUpdateReason() const
RecommendationType GetType() const
OrganizationRecommendation & WithName(NameT &&value)
const Aws::Vector< RecommendationPillar > & GetPillars() const
void SetPillars(PillarsT &&value)
bool CheckArnHasBeenSet() const
OrganizationRecommendation & WithSource(RecommendationSource value)
const Aws::String & GetDescription() const
OrganizationRecommendation & WithStatus(RecommendationStatus value)
const Aws::String & GetName() const
OrganizationRecommendation & WithId(IdT &&value)
OrganizationRecommendation & WithCreatedAt(CreatedAtT &&value)
void SetName(NameT &&value)
bool UpdatedOnBehalfOfHasBeenSet() const
bool StatusHasBeenSet() const
bool ResolvedAtHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::Vector< Aws::String > & GetAwsServices() const
void SetAwsServices(AwsServicesT &&value)
OrganizationRecommendation & WithCheckArn(CheckArnT &&value)
OrganizationRecommendation & WithAwsServices(AwsServicesT &&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