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

#include <AutoScalingGroupRecommendationOption.h>

Public Member Functions

 AutoScalingGroupRecommendationOption ()
 
 AutoScalingGroupRecommendationOption (Aws::Utils::Json::JsonView jsonValue)
 
AutoScalingGroupRecommendationOptionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const AutoScalingGroupConfigurationGetConfiguration () const
 
bool ConfigurationHasBeenSet () const
 
void SetConfiguration (const AutoScalingGroupConfiguration &value)
 
void SetConfiguration (AutoScalingGroupConfiguration &&value)
 
AutoScalingGroupRecommendationOptionWithConfiguration (const AutoScalingGroupConfiguration &value)
 
AutoScalingGroupRecommendationOptionWithConfiguration (AutoScalingGroupConfiguration &&value)
 
const Aws::Vector< UtilizationMetric > & GetProjectedUtilizationMetrics () const
 
bool ProjectedUtilizationMetricsHasBeenSet () const
 
void SetProjectedUtilizationMetrics (const Aws::Vector< UtilizationMetric > &value)
 
void SetProjectedUtilizationMetrics (Aws::Vector< UtilizationMetric > &&value)
 
AutoScalingGroupRecommendationOptionWithProjectedUtilizationMetrics (const Aws::Vector< UtilizationMetric > &value)
 
AutoScalingGroupRecommendationOptionWithProjectedUtilizationMetrics (Aws::Vector< UtilizationMetric > &&value)
 
AutoScalingGroupRecommendationOptionAddProjectedUtilizationMetrics (const UtilizationMetric &value)
 
AutoScalingGroupRecommendationOptionAddProjectedUtilizationMetrics (UtilizationMetric &&value)
 
double GetPerformanceRisk () const
 
bool PerformanceRiskHasBeenSet () const
 
void SetPerformanceRisk (double value)
 
AutoScalingGroupRecommendationOptionWithPerformanceRisk (double value)
 
int GetRank () const
 
bool RankHasBeenSet () const
 
void SetRank (int value)
 
AutoScalingGroupRecommendationOptionWithRank (int value)
 
const SavingsOpportunityGetSavingsOpportunity () const
 
bool SavingsOpportunityHasBeenSet () const
 
void SetSavingsOpportunity (const SavingsOpportunity &value)
 
void SetSavingsOpportunity (SavingsOpportunity &&value)
 
AutoScalingGroupRecommendationOptionWithSavingsOpportunity (const SavingsOpportunity &value)
 
AutoScalingGroupRecommendationOptionWithSavingsOpportunity (SavingsOpportunity &&value)
 

Detailed Description

Describes a recommendation option for an Auto Scaling group.

See Also:

AWS API Reference

Definition at line 35 of file AutoScalingGroupRecommendationOption.h.

Constructor & Destructor Documentation

◆ AutoScalingGroupRecommendationOption() [1/2]

Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::AutoScalingGroupRecommendationOption ( )

◆ AutoScalingGroupRecommendationOption() [2/2]

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

Member Function Documentation

◆ AddProjectedUtilizationMetrics() [1/2]

AutoScalingGroupRecommendationOption& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::AddProjectedUtilizationMetrics ( const UtilizationMetric value)
inline

An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned. 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.

Definition at line 157 of file AutoScalingGroupRecommendationOption.h.

◆ AddProjectedUtilizationMetrics() [2/2]

AutoScalingGroupRecommendationOption& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::AddProjectedUtilizationMetrics ( UtilizationMetric &&  value)
inline

An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned. 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.

Definition at line 169 of file AutoScalingGroupRecommendationOption.h.

◆ ConfigurationHasBeenSet()

bool Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::ConfigurationHasBeenSet ( ) const
inline

An array of objects that describe an Auto Scaling group configuration.

Definition at line 52 of file AutoScalingGroupRecommendationOption.h.

◆ GetConfiguration()

const AutoScalingGroupConfiguration& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::GetConfiguration ( ) const
inline

An array of objects that describe an Auto Scaling group configuration.

Definition at line 47 of file AutoScalingGroupRecommendationOption.h.

◆ GetPerformanceRisk()

double Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::GetPerformanceRisk ( ) const
inline

The performance risk of the Auto Scaling group configuration recommendation.

Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.

The value ranges from 0 - 4, with 0 meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.

Definition at line 187 of file AutoScalingGroupRecommendationOption.h.

◆ GetProjectedUtilizationMetrics()

const Aws::Vector<UtilizationMetric>& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::GetProjectedUtilizationMetrics ( ) const
inline

An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned. 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.

Definition at line 85 of file AutoScalingGroupRecommendationOption.h.

◆ GetRank()

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

The rank of the Auto Scaling group recommendation option.

The top recommendation option is ranked as 1.

Definition at line 245 of file AutoScalingGroupRecommendationOption.h.

◆ GetSavingsOpportunity()

const SavingsOpportunity& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::GetSavingsOpportunity ( ) const
inline

An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.

Definition at line 271 of file AutoScalingGroupRecommendationOption.h.

◆ Jsonize()

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

◆ operator=()

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

◆ PerformanceRiskHasBeenSet()

bool Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::PerformanceRiskHasBeenSet ( ) const
inline

The performance risk of the Auto Scaling group configuration recommendation.

Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.

The value ranges from 0 - 4, with 0 meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.

Definition at line 204 of file AutoScalingGroupRecommendationOption.h.

◆ ProjectedUtilizationMetricsHasBeenSet()

bool Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::ProjectedUtilizationMetricsHasBeenSet ( ) const
inline

An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned. 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.

Definition at line 97 of file AutoScalingGroupRecommendationOption.h.

◆ RankHasBeenSet()

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

The rank of the Auto Scaling group recommendation option.

The top recommendation option is ranked as 1.

Definition at line 251 of file AutoScalingGroupRecommendationOption.h.

◆ SavingsOpportunityHasBeenSet()

bool Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::SavingsOpportunityHasBeenSet ( ) const
inline

An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.

Definition at line 278 of file AutoScalingGroupRecommendationOption.h.

◆ SetConfiguration() [1/2]

void Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::SetConfiguration ( AutoScalingGroupConfiguration &&  value)
inline

An array of objects that describe an Auto Scaling group configuration.

Definition at line 62 of file AutoScalingGroupRecommendationOption.h.

◆ SetConfiguration() [2/2]

void Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::SetConfiguration ( const AutoScalingGroupConfiguration value)
inline

An array of objects that describe an Auto Scaling group configuration.

Definition at line 57 of file AutoScalingGroupRecommendationOption.h.

◆ SetPerformanceRisk()

void Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::SetPerformanceRisk ( double  value)
inline

The performance risk of the Auto Scaling group configuration recommendation.

Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.

The value ranges from 0 - 4, with 0 meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.

Definition at line 221 of file AutoScalingGroupRecommendationOption.h.

◆ SetProjectedUtilizationMetrics() [1/2]

void Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::SetProjectedUtilizationMetrics ( Aws::Vector< UtilizationMetric > &&  value)
inline

An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned. 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.

Definition at line 121 of file AutoScalingGroupRecommendationOption.h.

◆ SetProjectedUtilizationMetrics() [2/2]

void Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::SetProjectedUtilizationMetrics ( const Aws::Vector< UtilizationMetric > &  value)
inline

An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned. 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.

Definition at line 109 of file AutoScalingGroupRecommendationOption.h.

◆ SetRank()

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

The rank of the Auto Scaling group recommendation option.

The top recommendation option is ranked as 1.

Definition at line 257 of file AutoScalingGroupRecommendationOption.h.

◆ SetSavingsOpportunity() [1/2]

void Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::SetSavingsOpportunity ( const SavingsOpportunity value)
inline

An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.

Definition at line 285 of file AutoScalingGroupRecommendationOption.h.

◆ SetSavingsOpportunity() [2/2]

void Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::SetSavingsOpportunity ( SavingsOpportunity &&  value)
inline

An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.

Definition at line 292 of file AutoScalingGroupRecommendationOption.h.

◆ WithConfiguration() [1/2]

AutoScalingGroupRecommendationOption& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::WithConfiguration ( AutoScalingGroupConfiguration &&  value)
inline

An array of objects that describe an Auto Scaling group configuration.

Definition at line 72 of file AutoScalingGroupRecommendationOption.h.

◆ WithConfiguration() [2/2]

AutoScalingGroupRecommendationOption& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::WithConfiguration ( const AutoScalingGroupConfiguration value)
inline

An array of objects that describe an Auto Scaling group configuration.

Definition at line 67 of file AutoScalingGroupRecommendationOption.h.

◆ WithPerformanceRisk()

AutoScalingGroupRecommendationOption& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::WithPerformanceRisk ( double  value)
inline

The performance risk of the Auto Scaling group configuration recommendation.

Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.

The value ranges from 0 - 4, with 0 meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.

Definition at line 238 of file AutoScalingGroupRecommendationOption.h.

◆ WithProjectedUtilizationMetrics() [1/2]

AutoScalingGroupRecommendationOption& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::WithProjectedUtilizationMetrics ( Aws::Vector< UtilizationMetric > &&  value)
inline

An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned. 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.

Definition at line 145 of file AutoScalingGroupRecommendationOption.h.

◆ WithProjectedUtilizationMetrics() [2/2]

AutoScalingGroupRecommendationOption& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::WithProjectedUtilizationMetrics ( const Aws::Vector< UtilizationMetric > &  value)
inline

An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned. 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.

Definition at line 133 of file AutoScalingGroupRecommendationOption.h.

◆ WithRank()

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

The rank of the Auto Scaling group recommendation option.

The top recommendation option is ranked as 1.

Definition at line 263 of file AutoScalingGroupRecommendationOption.h.

◆ WithSavingsOpportunity() [1/2]

AutoScalingGroupRecommendationOption& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::WithSavingsOpportunity ( const SavingsOpportunity value)
inline

An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.

Definition at line 299 of file AutoScalingGroupRecommendationOption.h.

◆ WithSavingsOpportunity() [2/2]

AutoScalingGroupRecommendationOption& Aws::ComputeOptimizer::Model::AutoScalingGroupRecommendationOption::WithSavingsOpportunity ( SavingsOpportunity &&  value)
inline

An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.

Definition at line 306 of file AutoScalingGroupRecommendationOption.h.


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