7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/compute-optimizer/model/RecommendationSourceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/compute-optimizer/model/SavingsOpportunity.h>
12#include <aws/compute-optimizer/model/CurrentPerformanceRiskRatings.h>
13#include <aws/compute-optimizer/model/Summary.h>
14#include <aws/compute-optimizer/model/IdleSummary.h>
15#include <aws/compute-optimizer/model/InferredWorkloadSaving.h>
28namespace ComputeOptimizer
53 template<
typename SummariesT = Aws::Vector<Summary>>
54 void SetSummaries(SummariesT&& value) { m_summariesHasBeenSet =
true; m_summaries = std::forward<SummariesT>(value); }
55 template<
typename SummariesT = Aws::Vector<Summary>>
57 template<
typename SummariesT = Summary>
67 template<
typename IdleSummariesT = Aws::Vector<IdleSummary>>
68 void SetIdleSummaries(IdleSummariesT&& value) { m_idleSummariesHasBeenSet =
true; m_idleSummaries = std::forward<IdleSummariesT>(value); }
69 template<
typename IdleSummariesT = Aws::Vector<IdleSummary>>
71 template<
typename IdleSummariesT = IdleSummary>
91 template<
typename AccountIdT = Aws::String>
92 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
93 template<
typename AccountIdT = Aws::String>
105 template<
typename SavingsOpportunityT = SavingsOpportunity>
106 void SetSavingsOpportunity(SavingsOpportunityT&& value) { m_savingsOpportunityHasBeenSet =
true; m_savingsOpportunity = std::forward<SavingsOpportunityT>(value); }
107 template<
typename SavingsOpportunityT = SavingsOpportunity>
115 template<
typename IdleSavingsOpportunityT = SavingsOpportunity>
116 void SetIdleSavingsOpportunity(IdleSavingsOpportunityT&& value) { m_idleSavingsOpportunityHasBeenSet =
true; m_idleSavingsOpportunity = std::forward<IdleSavingsOpportunityT>(value); }
117 template<
typename IdleSavingsOpportunityT = SavingsOpportunity>
125 template<
typename AggregatedSavingsOpportunityT = SavingsOpportunity>
126 void SetAggregatedSavingsOpportunity(AggregatedSavingsOpportunityT&& value) { m_aggregatedSavingsOpportunityHasBeenSet =
true; m_aggregatedSavingsOpportunity = std::forward<AggregatedSavingsOpportunityT>(value); }
127 template<
typename AggregatedSavingsOpportunityT = SavingsOpportunity>
138 template<
typename CurrentPerformanceRiskRatingsT = CurrentPerformanceRiskRatings>
139 void SetCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatingsT&& value) { m_currentPerformanceRiskRatingsHasBeenSet =
true; m_currentPerformanceRiskRatings = std::forward<CurrentPerformanceRiskRatingsT>(value); }
140 template<
typename CurrentPerformanceRiskRatingsT = CurrentPerformanceRiskRatings>
153 template<
typename InferredWorkloadSavingsT = Aws::Vector<InferredWorkloadSaving>>
154 void SetInferredWorkloadSavings(InferredWorkloadSavingsT&& value) { m_inferredWorkloadSavingsHasBeenSet =
true; m_inferredWorkloadSavings = std::forward<InferredWorkloadSavingsT>(value); }
155 template<
typename InferredWorkloadSavingsT = Aws::Vector<InferredWorkloadSaving>>
157 template<
typename InferredWorkloadSavingsT = InferredWorkloadSaving>
163 bool m_summariesHasBeenSet =
false;
166 bool m_idleSummariesHasBeenSet =
false;
169 bool m_recommendationResourceTypeHasBeenSet =
false;
172 bool m_accountIdHasBeenSet =
false;
174 SavingsOpportunity m_savingsOpportunity;
175 bool m_savingsOpportunityHasBeenSet =
false;
177 SavingsOpportunity m_idleSavingsOpportunity;
178 bool m_idleSavingsOpportunityHasBeenSet =
false;
180 SavingsOpportunity m_aggregatedSavingsOpportunity;
181 bool m_aggregatedSavingsOpportunityHasBeenSet =
false;
183 CurrentPerformanceRiskRatings m_currentPerformanceRiskRatings;
184 bool m_currentPerformanceRiskRatingsHasBeenSet =
false;
187 bool m_inferredWorkloadSavingsHasBeenSet =
false;
RecommendationSummary & WithAggregatedSavingsOpportunity(AggregatedSavingsOpportunityT &&value)
const SavingsOpportunity & GetSavingsOpportunity() const
bool AggregatedSavingsOpportunityHasBeenSet() const
bool SavingsOpportunityHasBeenSet() const
bool SummariesHasBeenSet() const
const SavingsOpportunity & GetAggregatedSavingsOpportunity() const
void SetAccountId(AccountIdT &&value)
const Aws::Vector< InferredWorkloadSaving > & GetInferredWorkloadSavings() const
RecommendationSummary & WithInferredWorkloadSavings(InferredWorkloadSavingsT &&value)
const Aws::String & GetAccountId() const
const Aws::Vector< Summary > & GetSummaries() const
void SetInferredWorkloadSavings(InferredWorkloadSavingsT &&value)
void SetRecommendationResourceType(RecommendationSourceType value)
bool RecommendationResourceTypeHasBeenSet() const
bool IdleSavingsOpportunityHasBeenSet() const
RecommendationSummary & WithIdleSummaries(IdleSummariesT &&value)
void SetIdleSavingsOpportunity(IdleSavingsOpportunityT &&value)
const CurrentPerformanceRiskRatings & GetCurrentPerformanceRiskRatings() const
AWS_COMPUTEOPTIMIZER_API RecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationSourceType GetRecommendationResourceType() const
RecommendationSummary & WithCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatingsT &&value)
void SetSummaries(SummariesT &&value)
RecommendationSummary & AddIdleSummaries(IdleSummariesT &&value)
RecommendationSummary & WithSavingsOpportunity(SavingsOpportunityT &&value)
bool InferredWorkloadSavingsHasBeenSet() const
RecommendationSummary & WithSummaries(SummariesT &&value)
RecommendationSummary & WithRecommendationResourceType(RecommendationSourceType value)
bool CurrentPerformanceRiskRatingsHasBeenSet() const
const SavingsOpportunity & GetIdleSavingsOpportunity() const
AWS_COMPUTEOPTIMIZER_API RecommendationSummary()=default
bool IdleSummariesHasBeenSet() const
RecommendationSummary & AddInferredWorkloadSavings(InferredWorkloadSavingsT &&value)
RecommendationSummary & WithAccountId(AccountIdT &&value)
const Aws::Vector< IdleSummary > & GetIdleSummaries() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSavingsOpportunity(SavingsOpportunityT &&value)
AWS_COMPUTEOPTIMIZER_API RecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
bool AccountIdHasBeenSet() const
void SetAggregatedSavingsOpportunity(AggregatedSavingsOpportunityT &&value)
void SetIdleSummaries(IdleSummariesT &&value)
void SetCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatingsT &&value)
RecommendationSummary & AddSummaries(SummariesT &&value)
RecommendationSummary & WithIdleSavingsOpportunity(IdleSavingsOpportunityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue