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/InferredWorkloadSaving.h>
27namespace ComputeOptimizer
80 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
132 bool m_summariesHasBeenSet =
false;
135 bool m_recommendationResourceTypeHasBeenSet =
false;
138 bool m_accountIdHasBeenSet =
false;
141 bool m_savingsOpportunityHasBeenSet =
false;
144 bool m_currentPerformanceRiskRatingsHasBeenSet =
false;
147 bool m_inferredWorkloadSavingsHasBeenSet =
false;
const SavingsOpportunity & GetSavingsOpportunity() const
void SetSummaries(const Aws::Vector< Summary > &value)
bool SavingsOpportunityHasBeenSet() const
RecommendationSummary & WithInferredWorkloadSavings(const Aws::Vector< InferredWorkloadSaving > &value)
bool SummariesHasBeenSet() const
RecommendationSummary & WithAccountId(Aws::String &&value)
const Aws::Vector< InferredWorkloadSaving > & GetInferredWorkloadSavings() const
RecommendationSummary & AddInferredWorkloadSavings(const InferredWorkloadSaving &value)
void SetRecommendationResourceType(const RecommendationSourceType &value)
const Aws::String & GetAccountId() const
RecommendationSummary & AddSummaries(Summary &&value)
void SetCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatings &&value)
const Aws::Vector< Summary > & GetSummaries() const
void SetAccountId(const Aws::String &value)
void SetAccountId(const char *value)
void SetCurrentPerformanceRiskRatings(const CurrentPerformanceRiskRatings &value)
void SetSummaries(Aws::Vector< Summary > &&value)
bool RecommendationResourceTypeHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API RecommendationSummary()
const CurrentPerformanceRiskRatings & GetCurrentPerformanceRiskRatings() const
RecommendationSummary & AddSummaries(const Summary &value)
void SetAccountId(Aws::String &&value)
AWS_COMPUTEOPTIMIZER_API RecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationSummary & WithCurrentPerformanceRiskRatings(CurrentPerformanceRiskRatings &&value)
bool InferredWorkloadSavingsHasBeenSet() const
void SetSavingsOpportunity(const SavingsOpportunity &value)
RecommendationSummary & WithAccountId(const Aws::String &value)
void SetInferredWorkloadSavings(const Aws::Vector< InferredWorkloadSaving > &value)
void SetInferredWorkloadSavings(Aws::Vector< InferredWorkloadSaving > &&value)
RecommendationSummary & WithRecommendationResourceType(const RecommendationSourceType &value)
bool CurrentPerformanceRiskRatingsHasBeenSet() const
RecommendationSummary & WithSavingsOpportunity(const SavingsOpportunity &value)
void SetSavingsOpportunity(SavingsOpportunity &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationSummary & WithInferredWorkloadSavings(Aws::Vector< InferredWorkloadSaving > &&value)
RecommendationSummary & WithSummaries(Aws::Vector< Summary > &&value)
RecommendationSummary & WithSavingsOpportunity(SavingsOpportunity &&value)
RecommendationSummary & WithCurrentPerformanceRiskRatings(const CurrentPerformanceRiskRatings &value)
AWS_COMPUTEOPTIMIZER_API RecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
bool AccountIdHasBeenSet() const
RecommendationSummary & WithSummaries(const Aws::Vector< Summary > &value)
RecommendationSummary & AddInferredWorkloadSavings(InferredWorkloadSaving &&value)
void SetRecommendationResourceType(RecommendationSourceType &&value)
RecommendationSummary & WithAccountId(const char *value)
RecommendationSummary & WithRecommendationResourceType(RecommendationSourceType &&value)
const RecommendationSourceType & GetRecommendationResourceType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue