7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/compute-optimizer/model/SavingsOpportunity.h>
10#include <aws/compute-optimizer/model/LambdaSavingsOpportunityAfterDiscounts.h>
11#include <aws/compute-optimizer/model/LambdaFunctionMemoryProjectedMetric.h>
24namespace ComputeOptimizer
49 inline int GetRank()
const{
return m_rank; }
51 inline void SetRank(
int value) { m_rankHasBeenSet =
true; m_rank = value; }
61 inline void SetMemorySize(
int value) { m_memorySizeHasBeenSet =
true; m_memorySize = value; }
110 bool m_rankHasBeenSet =
false;
113 bool m_memorySizeHasBeenSet =
false;
116 bool m_projectedUtilizationMetricsHasBeenSet =
false;
119 bool m_savingsOpportunityHasBeenSet =
false;
122 bool m_savingsOpportunityAfterDiscountsHasBeenSet =
false;
AWS_COMPUTEOPTIMIZER_API LambdaFunctionMemoryRecommendationOption(Aws::Utils::Json::JsonView jsonValue)
void SetSavingsOpportunity(SavingsOpportunity &&value)
void SetProjectedUtilizationMetrics(const Aws::Vector< LambdaFunctionMemoryProjectedMetric > &value)
LambdaFunctionMemoryRecommendationOption & WithMemorySize(int value)
LambdaFunctionMemoryRecommendationOption & AddProjectedUtilizationMetrics(const LambdaFunctionMemoryProjectedMetric &value)
LambdaFunctionMemoryRecommendationOption & WithSavingsOpportunity(SavingsOpportunity &&value)
LambdaFunctionMemoryRecommendationOption & WithSavingsOpportunityAfterDiscounts(const LambdaSavingsOpportunityAfterDiscounts &value)
bool SavingsOpportunityAfterDiscountsHasBeenSet() const
void SetProjectedUtilizationMetrics(Aws::Vector< LambdaFunctionMemoryProjectedMetric > &&value)
LambdaFunctionMemoryRecommendationOption & AddProjectedUtilizationMetrics(LambdaFunctionMemoryProjectedMetric &&value)
void SetMemorySize(int value)
LambdaFunctionMemoryRecommendationOption & WithSavingsOpportunityAfterDiscounts(LambdaSavingsOpportunityAfterDiscounts &&value)
LambdaFunctionMemoryRecommendationOption & WithRank(int value)
AWS_COMPUTEOPTIMIZER_API LambdaFunctionMemoryRecommendationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionMemoryRecommendationOption & WithProjectedUtilizationMetrics(Aws::Vector< LambdaFunctionMemoryProjectedMetric > &&value)
bool SavingsOpportunityHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< LambdaFunctionMemoryProjectedMetric > & GetProjectedUtilizationMetrics() const
void SetSavingsOpportunityAfterDiscounts(LambdaSavingsOpportunityAfterDiscounts &&value)
LambdaFunctionMemoryRecommendationOption & WithProjectedUtilizationMetrics(const Aws::Vector< LambdaFunctionMemoryProjectedMetric > &value)
void SetSavingsOpportunity(const SavingsOpportunity &value)
int GetMemorySize() const
void SetSavingsOpportunityAfterDiscounts(const LambdaSavingsOpportunityAfterDiscounts &value)
bool ProjectedUtilizationMetricsHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API LambdaFunctionMemoryRecommendationOption()
bool RankHasBeenSet() const
const LambdaSavingsOpportunityAfterDiscounts & GetSavingsOpportunityAfterDiscounts() const
LambdaFunctionMemoryRecommendationOption & WithSavingsOpportunity(const SavingsOpportunity &value)
bool MemorySizeHasBeenSet() const
const SavingsOpportunity & GetSavingsOpportunity() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue