7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/AutoScalingGroupConfiguration.h>
9#include <aws/compute-optimizer/model/GpuInfo.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/compute-optimizer/model/SavingsOpportunity.h>
12#include <aws/compute-optimizer/model/AutoScalingGroupSavingsOpportunityAfterDiscounts.h>
13#include <aws/compute-optimizer/model/MigrationEffort.h>
14#include <aws/compute-optimizer/model/UtilizationMetric.h>
27namespace ComputeOptimizer
111 inline void SetPerformanceRisk(
double value) { m_performanceRiskHasBeenSet =
true; m_performanceRisk = value; }
122 inline void SetRank(
int value) { m_rankHasBeenSet =
true; m_rank = value; }
176 bool m_configurationHasBeenSet =
false;
179 bool m_instanceGpuInfoHasBeenSet =
false;
182 bool m_projectedUtilizationMetricsHasBeenSet =
false;
184 double m_performanceRisk;
185 bool m_performanceRiskHasBeenSet =
false;
188 bool m_rankHasBeenSet =
false;
191 bool m_savingsOpportunityHasBeenSet =
false;
194 bool m_savingsOpportunityAfterDiscountsHasBeenSet =
false;
197 bool m_migrationEffortHasBeenSet =
false;
AutoScalingGroupRecommendationOption & WithSavingsOpportunityAfterDiscounts(AutoScalingGroupSavingsOpportunityAfterDiscounts &&value)
double GetPerformanceRisk() const
void SetSavingsOpportunityAfterDiscounts(const AutoScalingGroupSavingsOpportunityAfterDiscounts &value)
AWS_COMPUTEOPTIMIZER_API AutoScalingGroupRecommendationOption()
bool ProjectedUtilizationMetricsHasBeenSet() const
AutoScalingGroupRecommendationOption & AddProjectedUtilizationMetrics(const UtilizationMetric &value)
AutoScalingGroupRecommendationOption & WithSavingsOpportunityAfterDiscounts(const AutoScalingGroupSavingsOpportunityAfterDiscounts &value)
void SetProjectedUtilizationMetrics(const Aws::Vector< UtilizationMetric > &value)
void SetConfiguration(const AutoScalingGroupConfiguration &value)
void SetPerformanceRisk(double value)
AutoScalingGroupRecommendationOption & WithSavingsOpportunity(const SavingsOpportunity &value)
const SavingsOpportunity & GetSavingsOpportunity() const
void SetProjectedUtilizationMetrics(Aws::Vector< UtilizationMetric > &&value)
AutoScalingGroupRecommendationOption & AddProjectedUtilizationMetrics(UtilizationMetric &&value)
void SetInstanceGpuInfo(GpuInfo &&value)
bool MigrationEffortHasBeenSet() const
AutoScalingGroupRecommendationOption & WithSavingsOpportunity(SavingsOpportunity &&value)
AutoScalingGroupRecommendationOption & WithProjectedUtilizationMetrics(Aws::Vector< UtilizationMetric > &&value)
void SetMigrationEffort(MigrationEffort &&value)
AutoScalingGroupRecommendationOption & WithInstanceGpuInfo(const GpuInfo &value)
AWS_COMPUTEOPTIMIZER_API AutoScalingGroupRecommendationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConfigurationHasBeenSet() const
void SetSavingsOpportunityAfterDiscounts(AutoScalingGroupSavingsOpportunityAfterDiscounts &&value)
bool InstanceGpuInfoHasBeenSet() const
AutoScalingGroupRecommendationOption & WithConfiguration(AutoScalingGroupConfiguration &&value)
AutoScalingGroupRecommendationOption & WithConfiguration(const AutoScalingGroupConfiguration &value)
AWS_COMPUTEOPTIMIZER_API AutoScalingGroupRecommendationOption(Aws::Utils::Json::JsonView jsonValue)
const GpuInfo & GetInstanceGpuInfo() const
bool SavingsOpportunityHasBeenSet() const
const MigrationEffort & GetMigrationEffort() const
bool RankHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AutoScalingGroupRecommendationOption & WithRank(int value)
void SetSavingsOpportunity(const SavingsOpportunity &value)
AutoScalingGroupRecommendationOption & WithMigrationEffort(MigrationEffort &&value)
AutoScalingGroupRecommendationOption & WithPerformanceRisk(double value)
const AutoScalingGroupConfiguration & GetConfiguration() const
const Aws::Vector< UtilizationMetric > & GetProjectedUtilizationMetrics() const
void SetConfiguration(AutoScalingGroupConfiguration &&value)
AutoScalingGroupRecommendationOption & WithMigrationEffort(const MigrationEffort &value)
void SetInstanceGpuInfo(const GpuInfo &value)
bool SavingsOpportunityAfterDiscountsHasBeenSet() const
void SetSavingsOpportunity(SavingsOpportunity &&value)
void SetMigrationEffort(const MigrationEffort &value)
AutoScalingGroupRecommendationOption & WithInstanceGpuInfo(GpuInfo &&value)
AutoScalingGroupRecommendationOption & WithProjectedUtilizationMetrics(const Aws::Vector< UtilizationMetric > &value)
const AutoScalingGroupSavingsOpportunityAfterDiscounts & GetSavingsOpportunityAfterDiscounts() const
bool PerformanceRiskHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue