AWS SDK for C++  1.9.156
AWS SDK for C++
Public Member Functions | List of all members
Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric Class Reference

#include <RecommendedOptionProjectedMetric.h>

Public Member Functions

 RecommendedOptionProjectedMetric ()
 
 RecommendedOptionProjectedMetric (Aws::Utils::Json::JsonView jsonValue)
 
RecommendedOptionProjectedMetricoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetRecommendedInstanceType () const
 
bool RecommendedInstanceTypeHasBeenSet () const
 
void SetRecommendedInstanceType (const Aws::String &value)
 
void SetRecommendedInstanceType (Aws::String &&value)
 
void SetRecommendedInstanceType (const char *value)
 
RecommendedOptionProjectedMetricWithRecommendedInstanceType (const Aws::String &value)
 
RecommendedOptionProjectedMetricWithRecommendedInstanceType (Aws::String &&value)
 
RecommendedOptionProjectedMetricWithRecommendedInstanceType (const char *value)
 
int GetRank () const
 
bool RankHasBeenSet () const
 
void SetRank (int value)
 
RecommendedOptionProjectedMetricWithRank (int value)
 
const Aws::Vector< ProjectedMetric > & GetProjectedMetrics () const
 
bool ProjectedMetricsHasBeenSet () const
 
void SetProjectedMetrics (const Aws::Vector< ProjectedMetric > &value)
 
void SetProjectedMetrics (Aws::Vector< ProjectedMetric > &&value)
 
RecommendedOptionProjectedMetricWithProjectedMetrics (const Aws::Vector< ProjectedMetric > &value)
 
RecommendedOptionProjectedMetricWithProjectedMetrics (Aws::Vector< ProjectedMetric > &&value)
 
RecommendedOptionProjectedMetricAddProjectedMetrics (const ProjectedMetric &value)
 
RecommendedOptionProjectedMetricAddProjectedMetrics (ProjectedMetric &&value)
 

Detailed Description

Describes a projected utilization metric of a recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

See Also:

AWS API Reference

Definition at line 41 of file RecommendedOptionProjectedMetric.h.

Constructor & Destructor Documentation

◆ RecommendedOptionProjectedMetric() [1/2]

Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::RecommendedOptionProjectedMetric ( )

◆ RecommendedOptionProjectedMetric() [2/2]

Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::RecommendedOptionProjectedMetric ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddProjectedMetrics() [1/2]

RecommendedOptionProjectedMetric& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::AddProjectedMetrics ( const ProjectedMetric value)
inline

An array of objects that describe a projected utilization metric.

Definition at line 161 of file RecommendedOptionProjectedMetric.h.

◆ AddProjectedMetrics() [2/2]

RecommendedOptionProjectedMetric& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::AddProjectedMetrics ( ProjectedMetric &&  value)
inline

An array of objects that describe a projected utilization metric.

Definition at line 166 of file RecommendedOptionProjectedMetric.h.

◆ GetProjectedMetrics()

const Aws::Vector<ProjectedMetric>& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::GetProjectedMetrics ( ) const
inline

An array of objects that describe a projected utilization metric.

Definition at line 131 of file RecommendedOptionProjectedMetric.h.

◆ GetRank()

int Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::GetRank ( ) const
inline

The rank of the recommendation option projected metric.

The top recommendation option is ranked as 1.

The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as 1 is related to the recommendation option that is also ranked as 1 in the same response.

Definition at line 98 of file RecommendedOptionProjectedMetric.h.

◆ GetRecommendedInstanceType()

const Aws::String& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::GetRecommendedInstanceType ( ) const
inline

The recommended instance type.

Definition at line 53 of file RecommendedOptionProjectedMetric.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::Jsonize ( ) const

◆ operator=()

RecommendedOptionProjectedMetric& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ProjectedMetricsHasBeenSet()

bool Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::ProjectedMetricsHasBeenSet ( ) const
inline

An array of objects that describe a projected utilization metric.

Definition at line 136 of file RecommendedOptionProjectedMetric.h.

◆ RankHasBeenSet()

bool Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::RankHasBeenSet ( ) const
inline

The rank of the recommendation option projected metric.

The top recommendation option is ranked as 1.

The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as 1 is related to the recommendation option that is also ranked as 1 in the same response.

Definition at line 107 of file RecommendedOptionProjectedMetric.h.

◆ RecommendedInstanceTypeHasBeenSet()

bool Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::RecommendedInstanceTypeHasBeenSet ( ) const
inline

The recommended instance type.

Definition at line 58 of file RecommendedOptionProjectedMetric.h.

◆ SetProjectedMetrics() [1/2]

void Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::SetProjectedMetrics ( Aws::Vector< ProjectedMetric > &&  value)
inline

An array of objects that describe a projected utilization metric.

Definition at line 146 of file RecommendedOptionProjectedMetric.h.

◆ SetProjectedMetrics() [2/2]

void Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::SetProjectedMetrics ( const Aws::Vector< ProjectedMetric > &  value)
inline

An array of objects that describe a projected utilization metric.

Definition at line 141 of file RecommendedOptionProjectedMetric.h.

◆ SetRank()

void Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::SetRank ( int  value)
inline

The rank of the recommendation option projected metric.

The top recommendation option is ranked as 1.

The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as 1 is related to the recommendation option that is also ranked as 1 in the same response.

Definition at line 116 of file RecommendedOptionProjectedMetric.h.

◆ SetRecommendedInstanceType() [1/3]

void Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::SetRecommendedInstanceType ( Aws::String &&  value)
inline

The recommended instance type.

Definition at line 68 of file RecommendedOptionProjectedMetric.h.

◆ SetRecommendedInstanceType() [2/3]

void Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::SetRecommendedInstanceType ( const Aws::String value)
inline

The recommended instance type.

Definition at line 63 of file RecommendedOptionProjectedMetric.h.

◆ SetRecommendedInstanceType() [3/3]

void Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::SetRecommendedInstanceType ( const char *  value)
inline

The recommended instance type.

Definition at line 73 of file RecommendedOptionProjectedMetric.h.

◆ WithProjectedMetrics() [1/2]

RecommendedOptionProjectedMetric& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::WithProjectedMetrics ( Aws::Vector< ProjectedMetric > &&  value)
inline

An array of objects that describe a projected utilization metric.

Definition at line 156 of file RecommendedOptionProjectedMetric.h.

◆ WithProjectedMetrics() [2/2]

RecommendedOptionProjectedMetric& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::WithProjectedMetrics ( const Aws::Vector< ProjectedMetric > &  value)
inline

An array of objects that describe a projected utilization metric.

Definition at line 151 of file RecommendedOptionProjectedMetric.h.

◆ WithRank()

RecommendedOptionProjectedMetric& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::WithRank ( int  value)
inline

The rank of the recommendation option projected metric.

The top recommendation option is ranked as 1.

The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as 1 is related to the recommendation option that is also ranked as 1 in the same response.

Definition at line 125 of file RecommendedOptionProjectedMetric.h.

◆ WithRecommendedInstanceType() [1/3]

RecommendedOptionProjectedMetric& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::WithRecommendedInstanceType ( Aws::String &&  value)
inline

The recommended instance type.

Definition at line 83 of file RecommendedOptionProjectedMetric.h.

◆ WithRecommendedInstanceType() [2/3]

RecommendedOptionProjectedMetric& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::WithRecommendedInstanceType ( const Aws::String value)
inline

The recommended instance type.

Definition at line 78 of file RecommendedOptionProjectedMetric.h.

◆ WithRecommendedInstanceType() [3/3]

RecommendedOptionProjectedMetric& Aws::ComputeOptimizer::Model::RecommendedOptionProjectedMetric::WithRecommendedInstanceType ( const char *  value)
inline

The recommended instance type.

Definition at line 88 of file RecommendedOptionProjectedMetric.h.


The documentation for this class was generated from the following file: