7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/compute-optimizer/model/ProjectedMetric.h>
23namespace ComputeOptimizer
58 inline void SetRecommendedInstanceType(
const char* value) { m_recommendedInstanceTypeHasBeenSet =
true; m_recommendedInstanceType.assign(value); }
72 inline int GetRank()
const{
return m_rank; }
74 inline void SetRank(
int value) { m_rankHasBeenSet =
true; m_rank = value; }
94 bool m_recommendedInstanceTypeHasBeenSet =
false;
97 bool m_rankHasBeenSet =
false;
100 bool m_projectedMetricsHasBeenSet =
false;
RecommendedOptionProjectedMetric & WithRecommendedInstanceType(Aws::String &&value)
RecommendedOptionProjectedMetric & AddProjectedMetrics(ProjectedMetric &&value)
void SetRecommendedInstanceType(Aws::String &&value)
RecommendedOptionProjectedMetric & WithRecommendedInstanceType(const char *value)
const Aws::String & GetRecommendedInstanceType() const
bool RecommendedInstanceTypeHasBeenSet() const
void SetProjectedMetrics(Aws::Vector< ProjectedMetric > &&value)
RecommendedOptionProjectedMetric & AddProjectedMetrics(const ProjectedMetric &value)
AWS_COMPUTEOPTIMIZER_API RecommendedOptionProjectedMetric(Aws::Utils::Json::JsonView jsonValue)
RecommendedOptionProjectedMetric & WithProjectedMetrics(Aws::Vector< ProjectedMetric > &&value)
void SetProjectedMetrics(const Aws::Vector< ProjectedMetric > &value)
bool RankHasBeenSet() const
bool ProjectedMetricsHasBeenSet() const
void SetRecommendedInstanceType(const char *value)
const Aws::Vector< ProjectedMetric > & GetProjectedMetrics() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPUTEOPTIMIZER_API RecommendedOptionProjectedMetric()
AWS_COMPUTEOPTIMIZER_API RecommendedOptionProjectedMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendedOptionProjectedMetric & WithRecommendedInstanceType(const Aws::String &value)
RecommendedOptionProjectedMetric & WithRank(int value)
void SetRecommendedInstanceType(const Aws::String &value)
RecommendedOptionProjectedMetric & WithProjectedMetrics(const Aws::Vector< ProjectedMetric > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue