7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/VolumeConfiguration.h>
9#include <aws/compute-optimizer/model/SavingsOpportunity.h>
10#include <aws/compute-optimizer/model/EBSSavingsOpportunityAfterDiscounts.h>
23namespace ComputeOptimizer
68 inline void SetPerformanceRisk(
double value) { m_performanceRiskHasBeenSet =
true; m_performanceRisk = value; }
77 inline int GetRank()
const{
return m_rank; }
79 inline void SetRank(
int value) { m_rankHasBeenSet =
true; m_rank = value; }
113 bool m_configurationHasBeenSet =
false;
115 double m_performanceRisk;
116 bool m_performanceRiskHasBeenSet =
false;
119 bool m_rankHasBeenSet =
false;
122 bool m_savingsOpportunityHasBeenSet =
false;
125 bool m_savingsOpportunityAfterDiscountsHasBeenSet =
false;
VolumeRecommendationOption & WithPerformanceRisk(double value)
VolumeRecommendationOption & WithConfiguration(const VolumeConfiguration &value)
VolumeRecommendationOption & WithSavingsOpportunity(const SavingsOpportunity &value)
void SetSavingsOpportunity(const SavingsOpportunity &value)
VolumeRecommendationOption & WithSavingsOpportunityAfterDiscounts(EBSSavingsOpportunityAfterDiscounts &&value)
void SetSavingsOpportunity(SavingsOpportunity &&value)
bool RankHasBeenSet() const
VolumeRecommendationOption & WithSavingsOpportunity(SavingsOpportunity &&value)
VolumeRecommendationOption & WithConfiguration(VolumeConfiguration &&value)
const EBSSavingsOpportunityAfterDiscounts & GetSavingsOpportunityAfterDiscounts() const
void SetConfiguration(const VolumeConfiguration &value)
const SavingsOpportunity & GetSavingsOpportunity() const
void SetConfiguration(VolumeConfiguration &&value)
bool PerformanceRiskHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API VolumeRecommendationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SavingsOpportunityAfterDiscountsHasBeenSet() const
VolumeRecommendationOption & WithRank(int value)
bool ConfigurationHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPerformanceRisk(double value)
VolumeRecommendationOption & WithSavingsOpportunityAfterDiscounts(const EBSSavingsOpportunityAfterDiscounts &value)
double GetPerformanceRisk() const
AWS_COMPUTEOPTIMIZER_API VolumeRecommendationOption()
bool SavingsOpportunityHasBeenSet() const
void SetSavingsOpportunityAfterDiscounts(EBSSavingsOpportunityAfterDiscounts &&value)
AWS_COMPUTEOPTIMIZER_API VolumeRecommendationOption(Aws::Utils::Json::JsonView jsonValue)
void SetSavingsOpportunityAfterDiscounts(const EBSSavingsOpportunityAfterDiscounts &value)
const VolumeConfiguration & GetConfiguration() const
Aws::Utils::Json::JsonValue JsonValue