/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of a recommendation.See Also:
AWS
* API Reference
An array of objects that describe a recommendation summary.
*/ inline const Aws::VectorAn array of objects that describe a recommendation summary.
*/ inline bool SummariesHasBeenSet() const { return m_summariesHasBeenSet; } /** *An array of objects that describe a recommendation summary.
*/ inline void SetSummaries(const Aws::VectorAn array of objects that describe a recommendation summary.
*/ inline void SetSummaries(Aws::VectorAn array of objects that describe a recommendation summary.
*/ inline RecommendationSummary& WithSummaries(const Aws::VectorAn array of objects that describe a recommendation summary.
*/ inline RecommendationSummary& WithSummaries(Aws::VectorAn array of objects that describe a recommendation summary.
*/ inline RecommendationSummary& AddSummaries(const Summary& value) { m_summariesHasBeenSet = true; m_summaries.push_back(value); return *this; } /** *An array of objects that describe a recommendation summary.
*/ inline RecommendationSummary& AddSummaries(Summary&& value) { m_summariesHasBeenSet = true; m_summaries.push_back(std::move(value)); return *this; } /** *The resource type that the recommendation summary applies to.
*/ inline const RecommendationSourceType& GetRecommendationResourceType() const{ return m_recommendationResourceType; } /** *The resource type that the recommendation summary applies to.
*/ inline bool RecommendationResourceTypeHasBeenSet() const { return m_recommendationResourceTypeHasBeenSet; } /** *The resource type that the recommendation summary applies to.
*/ inline void SetRecommendationResourceType(const RecommendationSourceType& value) { m_recommendationResourceTypeHasBeenSet = true; m_recommendationResourceType = value; } /** *The resource type that the recommendation summary applies to.
*/ inline void SetRecommendationResourceType(RecommendationSourceType&& value) { m_recommendationResourceTypeHasBeenSet = true; m_recommendationResourceType = std::move(value); } /** *The resource type that the recommendation summary applies to.
*/ inline RecommendationSummary& WithRecommendationResourceType(const RecommendationSourceType& value) { SetRecommendationResourceType(value); return *this;} /** *The resource type that the recommendation summary applies to.
*/ inline RecommendationSummary& WithRecommendationResourceType(RecommendationSourceType&& value) { SetRecommendationResourceType(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the recommendation summary.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The Amazon Web Services account ID of the recommendation summary.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The Amazon Web Services account ID of the recommendation summary.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The Amazon Web Services account ID of the recommendation summary.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The Amazon Web Services account ID of the recommendation summary.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The Amazon Web Services account ID of the recommendation summary.
*/ inline RecommendationSummary& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The Amazon Web Services account ID of the recommendation summary.
*/ inline RecommendationSummary& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the recommendation summary.
*/ inline RecommendationSummary& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *An object that describes the savings opportunity for a given resource type. * Savings opportunity includes the estimated monthly savings amount and * percentage.
*/ inline const SavingsOpportunity& GetSavingsOpportunity() const{ return m_savingsOpportunity; } /** *An object that describes the savings opportunity for a given resource type. * Savings opportunity includes the estimated monthly savings amount and * percentage.
*/ inline bool SavingsOpportunityHasBeenSet() const { return m_savingsOpportunityHasBeenSet; } /** *An object that describes the savings opportunity for a given resource type. * Savings opportunity includes the estimated monthly savings amount and * percentage.
*/ inline void SetSavingsOpportunity(const SavingsOpportunity& value) { m_savingsOpportunityHasBeenSet = true; m_savingsOpportunity = value; } /** *An object that describes the savings opportunity for a given resource type. * Savings opportunity includes the estimated monthly savings amount and * percentage.
*/ inline void SetSavingsOpportunity(SavingsOpportunity&& value) { m_savingsOpportunityHasBeenSet = true; m_savingsOpportunity = std::move(value); } /** *An object that describes the savings opportunity for a given resource type. * Savings opportunity includes the estimated monthly savings amount and * percentage.
*/ inline RecommendationSummary& WithSavingsOpportunity(const SavingsOpportunity& value) { SetSavingsOpportunity(value); return *this;} /** *An object that describes the savings opportunity for a given resource type. * Savings opportunity includes the estimated monthly savings amount and * percentage.
*/ inline RecommendationSummary& WithSavingsOpportunity(SavingsOpportunity&& value) { SetSavingsOpportunity(std::move(value)); return *this;} /** *An object that describes the performance risk ratings for a given resource * type.
*/ inline const CurrentPerformanceRiskRatings& GetCurrentPerformanceRiskRatings() const{ return m_currentPerformanceRiskRatings; } /** *An object that describes the performance risk ratings for a given resource * type.
*/ inline bool CurrentPerformanceRiskRatingsHasBeenSet() const { return m_currentPerformanceRiskRatingsHasBeenSet; } /** *An object that describes the performance risk ratings for a given resource * type.
*/ inline void SetCurrentPerformanceRiskRatings(const CurrentPerformanceRiskRatings& value) { m_currentPerformanceRiskRatingsHasBeenSet = true; m_currentPerformanceRiskRatings = value; } /** *An object that describes the performance risk ratings for a given resource * type.
*/ inline void SetCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatings&& value) { m_currentPerformanceRiskRatingsHasBeenSet = true; m_currentPerformanceRiskRatings = std::move(value); } /** *An object that describes the performance risk ratings for a given resource * type.
*/ inline RecommendationSummary& WithCurrentPerformanceRiskRatings(const CurrentPerformanceRiskRatings& value) { SetCurrentPerformanceRiskRatings(value); return *this;} /** *An object that describes the performance risk ratings for a given resource * type.
*/ inline RecommendationSummary& WithCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatings&& value) { SetCurrentPerformanceRiskRatings(std::move(value)); return *this;} /** * An array of objects that describes the estimated monthly saving amounts for
* the instances running on the specified inferredWorkloadTypes
. The
* array contains the top three savings opportunites for the instances running
* inferred workload types.
An array of objects that describes the estimated monthly saving amounts for
* the instances running on the specified inferredWorkloadTypes
. The
* array contains the top three savings opportunites for the instances running
* inferred workload types.
An array of objects that describes the estimated monthly saving amounts for
* the instances running on the specified inferredWorkloadTypes
. The
* array contains the top three savings opportunites for the instances running
* inferred workload types.
An array of objects that describes the estimated monthly saving amounts for
* the instances running on the specified inferredWorkloadTypes
. The
* array contains the top three savings opportunites for the instances running
* inferred workload types.
An array of objects that describes the estimated monthly saving amounts for
* the instances running on the specified inferredWorkloadTypes
. The
* array contains the top three savings opportunites for the instances running
* inferred workload types.
An array of objects that describes the estimated monthly saving amounts for
* the instances running on the specified inferredWorkloadTypes
. The
* array contains the top three savings opportunites for the instances running
* inferred workload types.
An array of objects that describes the estimated monthly saving amounts for
* the instances running on the specified inferredWorkloadTypes
. The
* array contains the top three savings opportunites for the instances running
* inferred workload types.
An array of objects that describes the estimated monthly saving amounts for
* the instances running on the specified inferredWorkloadTypes
. The
* array contains the top three savings opportunites for the instances running
* inferred workload types.