7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/SavingsOpportunity.h>
9#include <aws/compute-optimizer/model/ECSSavingsOpportunityAfterDiscounts.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/compute-optimizer/model/ECSServiceProjectedUtilizationMetric.h>
12#include <aws/compute-optimizer/model/ContainerRecommendation.h>
25namespace ComputeOptimizer
51 inline void SetMemory(
int value) { m_memoryHasBeenSet =
true; m_memory = value; }
59 inline int GetCpu()
const{
return m_cpu; }
61 inline void SetCpu(
int value) { m_cpuHasBeenSet =
true; m_cpu = value; }
122 bool m_memoryHasBeenSet =
false;
125 bool m_cpuHasBeenSet =
false;
128 bool m_savingsOpportunityHasBeenSet =
false;
131 bool m_savingsOpportunityAfterDiscountsHasBeenSet =
false;
134 bool m_projectedUtilizationMetricsHasBeenSet =
false;
137 bool m_containerRecommendationsHasBeenSet =
false;
ECSServiceRecommendationOption & WithProjectedUtilizationMetrics(Aws::Vector< ECSServiceProjectedUtilizationMetric > &&value)
const Aws::Vector< ECSServiceProjectedUtilizationMetric > & GetProjectedUtilizationMetrics() const
void SetSavingsOpportunity(SavingsOpportunity &&value)
bool CpuHasBeenSet() const
ECSServiceRecommendationOption & WithContainerRecommendations(const Aws::Vector< ContainerRecommendation > &value)
AWS_COMPUTEOPTIMIZER_API ECSServiceRecommendationOption()
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContainerRecommendations(Aws::Vector< ContainerRecommendation > &&value)
ECSServiceRecommendationOption & WithMemory(int value)
void SetProjectedUtilizationMetrics(Aws::Vector< ECSServiceProjectedUtilizationMetric > &&value)
AWS_COMPUTEOPTIMIZER_API ECSServiceRecommendationOption(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ContainerRecommendation > & GetContainerRecommendations() const
void SetMemory(int value)
ECSServiceRecommendationOption & AddContainerRecommendations(ContainerRecommendation &&value)
AWS_COMPUTEOPTIMIZER_API ECSServiceRecommendationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
ECSServiceRecommendationOption & AddProjectedUtilizationMetrics(const ECSServiceProjectedUtilizationMetric &value)
void SetSavingsOpportunity(const SavingsOpportunity &value)
ECSServiceRecommendationOption & WithContainerRecommendations(Aws::Vector< ContainerRecommendation > &&value)
void SetSavingsOpportunityAfterDiscounts(const ECSSavingsOpportunityAfterDiscounts &value)
void SetSavingsOpportunityAfterDiscounts(ECSSavingsOpportunityAfterDiscounts &&value)
bool SavingsOpportunityAfterDiscountsHasBeenSet() const
ECSServiceRecommendationOption & WithSavingsOpportunityAfterDiscounts(ECSSavingsOpportunityAfterDiscounts &&value)
ECSServiceRecommendationOption & AddProjectedUtilizationMetrics(ECSServiceProjectedUtilizationMetric &&value)
bool ProjectedUtilizationMetricsHasBeenSet() const
void SetContainerRecommendations(const Aws::Vector< ContainerRecommendation > &value)
ECSServiceRecommendationOption & WithSavingsOpportunityAfterDiscounts(const ECSSavingsOpportunityAfterDiscounts &value)
ECSServiceRecommendationOption & AddContainerRecommendations(const ContainerRecommendation &value)
ECSServiceRecommendationOption & WithProjectedUtilizationMetrics(const Aws::Vector< ECSServiceProjectedUtilizationMetric > &value)
bool ContainerRecommendationsHasBeenSet() const
bool MemoryHasBeenSet() const
ECSServiceRecommendationOption & WithSavingsOpportunity(const SavingsOpportunity &value)
const SavingsOpportunity & GetSavingsOpportunity() const
ECSServiceRecommendationOption & WithCpu(int value)
void SetProjectedUtilizationMetrics(const Aws::Vector< ECSServiceProjectedUtilizationMetric > &value)
ECSServiceRecommendationOption & WithSavingsOpportunity(SavingsOpportunity &&value)
const ECSSavingsOpportunityAfterDiscounts & GetSavingsOpportunityAfterDiscounts() const
bool SavingsOpportunityHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue