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 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); }
87 inline void SetCheckArn(
const char* value) { m_checkArnHasBeenSet =
true; m_checkArn.assign(value); }
114 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
128 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
142 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
180 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
281 inline void SetUpdateReason(
const char* value) { m_updateReasonHasBeenSet =
true; m_updateReason.assign(value); }
310 inline void SetUpdatedOnBehalfOf(
const char* value) { m_updatedOnBehalfOfHasBeenSet =
true; m_updatedOnBehalfOf.assign(value); }
327 inline void SetUpdatedOnBehalfOfJobTitle(
const char* value) { m_updatedOnBehalfOfJobTitleHasBeenSet =
true; m_updatedOnBehalfOfJobTitle.assign(value); }
335 bool m_arnHasBeenSet =
false;
338 bool m_awsServicesHasBeenSet =
false;
341 bool m_checkArnHasBeenSet =
false;
344 bool m_createdAtHasBeenSet =
false;
347 bool m_createdByHasBeenSet =
false;
350 bool m_descriptionHasBeenSet =
false;
353 bool m_idHasBeenSet =
false;
356 bool m_lastUpdatedAtHasBeenSet =
false;
359 bool m_lifecycleStageHasBeenSet =
false;
362 bool m_nameHasBeenSet =
false;
365 bool m_pillarSpecificAggregatesHasBeenSet =
false;
368 bool m_pillarsHasBeenSet =
false;
371 bool m_resolvedAtHasBeenSet =
false;
374 bool m_resourcesAggregatesHasBeenSet =
false;
377 bool m_sourceHasBeenSet =
false;
380 bool m_statusHasBeenSet =
false;
383 bool m_typeHasBeenSet =
false;
386 bool m_updateReasonHasBeenSet =
false;
389 bool m_updateReasonCodeHasBeenSet =
false;
392 bool m_updatedOnBehalfOfHasBeenSet =
false;
395 bool m_updatedOnBehalfOfJobTitleHasBeenSet =
false;
Recommendation & WithCheckArn(const char *value)
Recommendation & WithUpdatedOnBehalfOfJobTitle(Aws::String &&value)
Recommendation & WithId(const char *value)
bool UpdateReasonCodeHasBeenSet() const
bool TypeHasBeenSet() const
void SetUpdateReasonCode(const UpdateRecommendationLifecycleStageReasonCode &value)
void SetUpdatedOnBehalfOf(const char *value)
void SetResolvedAt(const Aws::Utils::DateTime &value)
bool LifecycleStageHasBeenSet() const
Recommendation & WithCreatedBy(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetUpdateReason(Aws::String &&value)
void SetType(const RecommendationType &value)
const Aws::Vector< Aws::String > & GetAwsServices() const
bool IdHasBeenSet() const
Recommendation & WithSource(const RecommendationSource &value)
Recommendation & WithId(Aws::String &&value)
Recommendation & WithType(RecommendationType &&value)
void SetPillars(Aws::Vector< RecommendationPillar > &&value)
Recommendation & WithDescription(Aws::String &&value)
void SetLifecycleStage(const RecommendationLifecycleStage &value)
AWS_TRUSTEDADVISOR_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
Recommendation & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
bool AwsServicesHasBeenSet() const
const Aws::String & GetId() const
const RecommendationResourcesAggregates & GetResourcesAggregates() const
Recommendation & AddAwsServices(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool SourceHasBeenSet() const
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Recommendation & AddAwsServices(Aws::String &&value)
Recommendation & WithPillarSpecificAggregates(RecommendationPillarSpecificAggregates &&value)
Recommendation & WithResolvedAt(const Aws::Utils::DateTime &value)
bool ArnHasBeenSet() const
AWS_TRUSTEDADVISOR_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPillarSpecificAggregates(const RecommendationPillarSpecificAggregates &value)
bool UpdatedOnBehalfOfJobTitleHasBeenSet() const
void SetCreatedBy(const char *value)
Recommendation & WithStatus(const RecommendationStatus &value)
void SetDescription(const char *value)
void SetResourcesAggregates(RecommendationResourcesAggregates &&value)
const Aws::String & GetArn() const
void SetType(RecommendationType &&value)
void SetAwsServices(const Aws::Vector< Aws::String > &value)
void SetCheckArn(const char *value)
Recommendation & WithUpdatedOnBehalfOf(const Aws::String &value)
bool PillarSpecificAggregatesHasBeenSet() const
void SetStatus(const RecommendationStatus &value)
Recommendation & WithCreatedAt(Aws::Utils::DateTime &&value)
bool UpdatedOnBehalfOfHasBeenSet() const
Recommendation & WithUpdateReason(Aws::String &&value)
Recommendation & AddPillars(RecommendationPillar &&value)
const Aws::String & GetUpdateReason() const
void SetStatus(RecommendationStatus &&value)
Recommendation & WithCreatedBy(const char *value)
void SetUpdateReason(const char *value)
void SetPillars(const Aws::Vector< RecommendationPillar > &value)
Recommendation & WithPillars(const Aws::Vector< RecommendationPillar > &value)
const RecommendationSource & GetSource() const
void SetSource(const RecommendationSource &value)
void SetUpdatedOnBehalfOfJobTitle(const Aws::String &value)
Recommendation & WithUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode &&value)
void SetUpdateReason(const Aws::String &value)
bool LastUpdatedAtHasBeenSet() const
Recommendation & WithArn(const Aws::String &value)
Recommendation & WithUpdatedOnBehalfOf(const char *value)
Recommendation & WithResourcesAggregates(RecommendationResourcesAggregates &&value)
Recommendation & WithId(const Aws::String &value)
Recommendation & WithUpdateReasonCode(const UpdateRecommendationLifecycleStageReasonCode &value)
void SetArn(Aws::String &&value)
Recommendation & WithName(Aws::String &&value)
void SetSource(RecommendationSource &&value)
Recommendation & WithStatus(RecommendationStatus &&value)
bool NameHasBeenSet() const
const RecommendationLifecycleStage & GetLifecycleStage() const
Recommendation & AddPillars(const RecommendationPillar &value)
void SetName(const Aws::String &value)
AWS_TRUSTEDADVISOR_API Recommendation()
Recommendation & WithLifecycleStage(RecommendationLifecycleStage &&value)
void SetId(Aws::String &&value)
bool StatusHasBeenSet() const
Recommendation & WithAwsServices(const Aws::Vector< Aws::String > &value)
void SetLifecycleStage(RecommendationLifecycleStage &&value)
const Aws::String & GetUpdatedOnBehalfOfJobTitle() const
Recommendation & WithArn(Aws::String &&value)
void SetCreatedBy(Aws::String &&value)
Recommendation & WithName(const char *value)
Recommendation & WithDescription(const char *value)
Recommendation & WithUpdateReason(const Aws::String &value)
void SetName(const char *value)
Recommendation & WithArn(const char *value)
const Aws::Utils::DateTime & GetResolvedAt() const
Recommendation & WithUpdatedOnBehalfOfJobTitle(const char *value)
bool ResourcesAggregatesHasBeenSet() const
Recommendation & WithResourcesAggregates(const RecommendationResourcesAggregates &value)
bool CheckArnHasBeenSet() const
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
Recommendation & WithCreatedAt(const Aws::Utils::DateTime &value)
Recommendation & WithName(const Aws::String &value)
Recommendation & WithCheckArn(const Aws::String &value)
void SetUpdatedOnBehalfOfJobTitle(const char *value)
const Aws::String & GetCheckArn() const
void SetArn(const char *value)
void SetResourcesAggregates(const RecommendationResourcesAggregates &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
Recommendation & WithPillarSpecificAggregates(const RecommendationPillarSpecificAggregates &value)
bool CreatedByHasBeenSet() const
void SetPillarSpecificAggregates(RecommendationPillarSpecificAggregates &&value)
bool PillarsHasBeenSet() const
void SetUpdatedOnBehalfOfJobTitle(Aws::String &&value)
Recommendation & WithUpdateReason(const char *value)
void SetUpdatedOnBehalfOf(const Aws::String &value)
Recommendation & WithSource(RecommendationSource &&value)
void SetAwsServices(Aws::Vector< Aws::String > &&value)
Recommendation & AddAwsServices(const Aws::String &value)
Recommendation & WithAwsServices(Aws::Vector< Aws::String > &&value)
Recommendation & WithPillars(Aws::Vector< RecommendationPillar > &&value)
Recommendation & WithType(const RecommendationType &value)
const RecommendationPillarSpecificAggregates & GetPillarSpecificAggregates() const
void SetResolvedAt(Aws::Utils::DateTime &&value)
Recommendation & WithUpdatedOnBehalfOfJobTitle(const Aws::String &value)
bool UpdateReasonHasBeenSet() const
void SetCheckArn(Aws::String &&value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetDescription() const
bool ResolvedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedOnBehalfOf(Aws::String &&value)
const Aws::Vector< RecommendationPillar > & GetPillars() const
Recommendation & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
Recommendation & WithCreatedBy(Aws::String &&value)
const UpdateRecommendationLifecycleStageReasonCode & GetUpdateReasonCode() const
const Aws::String & GetName() const
void SetCheckArn(const Aws::String &value)
void SetId(const Aws::String &value)
void SetDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
Recommendation & WithDescription(const Aws::String &value)
void SetCreatedBy(const Aws::String &value)
void SetId(const char *value)
bool CreatedAtHasBeenSet() const
Recommendation & WithUpdatedOnBehalfOf(Aws::String &&value)
void SetName(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Recommendation & WithCheckArn(Aws::String &&value)
const RecommendationStatus & GetStatus() const
Recommendation & WithLifecycleStage(const RecommendationLifecycleStage &value)
const Aws::String & GetUpdatedOnBehalfOf() const
void SetUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode &&value)
const RecommendationType & GetType() const
Recommendation & WithResolvedAt(Aws::Utils::DateTime &&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