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

#include <EBSUtilizationMetric.h>

Public Member Functions

 EBSUtilizationMetric ()
 
 EBSUtilizationMetric (Aws::Utils::Json::JsonView jsonValue)
 
EBSUtilizationMetricoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const EBSMetricNameGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const EBSMetricName &value)
 
void SetName (EBSMetricName &&value)
 
EBSUtilizationMetricWithName (const EBSMetricName &value)
 
EBSUtilizationMetricWithName (EBSMetricName &&value)
 
const MetricStatisticGetStatistic () const
 
bool StatisticHasBeenSet () const
 
void SetStatistic (const MetricStatistic &value)
 
void SetStatistic (MetricStatistic &&value)
 
EBSUtilizationMetricWithStatistic (const MetricStatistic &value)
 
EBSUtilizationMetricWithStatistic (MetricStatistic &&value)
 
double GetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (double value)
 
EBSUtilizationMetricWithValue (double value)
 

Detailed Description

Describes a utilization metric of an Amazon Elastic Block Store (Amazon EBS) volume.

Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.

See Also:

AWS API Reference

Definition at line 36 of file EBSUtilizationMetric.h.

Constructor & Destructor Documentation

◆ EBSUtilizationMetric() [1/2]

Aws::ComputeOptimizer::Model::EBSUtilizationMetric::EBSUtilizationMetric ( )

◆ EBSUtilizationMetric() [2/2]

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

Member Function Documentation

◆ GetName()

const EBSMetricName& Aws::ComputeOptimizer::Model::EBSUtilizationMetric::GetName ( ) const
inline

The name of the utilization metric.

The following utilization metrics are available:

  • VolumeReadOpsPerSecond - The completed read operations per second from the volume in a specified period of time.

    Unit: Count

  • VolumeWriteOpsPerSecond

    • The completed write operations per second to the volume in a specified period of time.

    Unit: Count

  • VolumeReadBytesPerSecond - The bytes read per second from the volume in a specified period of time.

    Unit: Bytes

  • VolumeWriteBytesPerSecond - The bytes written to the volume in a specified period of time.

    Unit: Bytes

Definition at line 57 of file EBSUtilizationMetric.h.

◆ GetStatistic()

const MetricStatistic& Aws::ComputeOptimizer::Model::EBSUtilizationMetric::GetStatistic ( ) const
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 145 of file EBSUtilizationMetric.h.

◆ GetValue()

double Aws::ComputeOptimizer::Model::EBSUtilizationMetric::GetValue ( ) const
inline

The value of the utilization metric.

Definition at line 236 of file EBSUtilizationMetric.h.

◆ Jsonize()

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

◆ NameHasBeenSet()

bool Aws::ComputeOptimizer::Model::EBSUtilizationMetric::NameHasBeenSet ( ) const
inline

The name of the utilization metric.

The following utilization metrics are available:

  • VolumeReadOpsPerSecond - The completed read operations per second from the volume in a specified period of time.

    Unit: Count

  • VolumeWriteOpsPerSecond

    • The completed write operations per second to the volume in a specified period of time.

    Unit: Count

  • VolumeReadBytesPerSecond - The bytes read per second from the volume in a specified period of time.

    Unit: Bytes

  • VolumeWriteBytesPerSecond - The bytes written to the volume in a specified period of time.

    Unit: Bytes

Definition at line 71 of file EBSUtilizationMetric.h.

◆ operator=()

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

◆ SetName() [1/2]

void Aws::ComputeOptimizer::Model::EBSUtilizationMetric::SetName ( const EBSMetricName value)
inline

The name of the utilization metric.

The following utilization metrics are available:

  • VolumeReadOpsPerSecond - The completed read operations per second from the volume in a specified period of time.

    Unit: Count

  • VolumeWriteOpsPerSecond

    • The completed write operations per second to the volume in a specified period of time.

    Unit: Count

  • VolumeReadBytesPerSecond - The bytes read per second from the volume in a specified period of time.

    Unit: Bytes

  • VolumeWriteBytesPerSecond - The bytes written to the volume in a specified period of time.

    Unit: Bytes

Definition at line 85 of file EBSUtilizationMetric.h.

◆ SetName() [2/2]

void Aws::ComputeOptimizer::Model::EBSUtilizationMetric::SetName ( EBSMetricName &&  value)
inline

The name of the utilization metric.

The following utilization metrics are available:

  • VolumeReadOpsPerSecond - The completed read operations per second from the volume in a specified period of time.

    Unit: Count

  • VolumeWriteOpsPerSecond

    • The completed write operations per second to the volume in a specified period of time.

    Unit: Count

  • VolumeReadBytesPerSecond - The bytes read per second from the volume in a specified period of time.

    Unit: Bytes

  • VolumeWriteBytesPerSecond - The bytes written to the volume in a specified period of time.

    Unit: Bytes

Definition at line 99 of file EBSUtilizationMetric.h.

◆ SetStatistic() [1/2]

void Aws::ComputeOptimizer::Model::EBSUtilizationMetric::SetStatistic ( const MetricStatistic value)
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 179 of file EBSUtilizationMetric.h.

◆ SetStatistic() [2/2]

void Aws::ComputeOptimizer::Model::EBSUtilizationMetric::SetStatistic ( MetricStatistic &&  value)
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 196 of file EBSUtilizationMetric.h.

◆ SetValue()

void Aws::ComputeOptimizer::Model::EBSUtilizationMetric::SetValue ( double  value)
inline

The value of the utilization metric.

Definition at line 246 of file EBSUtilizationMetric.h.

◆ StatisticHasBeenSet()

bool Aws::ComputeOptimizer::Model::EBSUtilizationMetric::StatisticHasBeenSet ( ) const
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 162 of file EBSUtilizationMetric.h.

◆ ValueHasBeenSet()

bool Aws::ComputeOptimizer::Model::EBSUtilizationMetric::ValueHasBeenSet ( ) const
inline

The value of the utilization metric.

Definition at line 241 of file EBSUtilizationMetric.h.

◆ WithName() [1/2]

EBSUtilizationMetric& Aws::ComputeOptimizer::Model::EBSUtilizationMetric::WithName ( const EBSMetricName value)
inline

The name of the utilization metric.

The following utilization metrics are available:

  • VolumeReadOpsPerSecond - The completed read operations per second from the volume in a specified period of time.

    Unit: Count

  • VolumeWriteOpsPerSecond

    • The completed write operations per second to the volume in a specified period of time.

    Unit: Count

  • VolumeReadBytesPerSecond - The bytes read per second from the volume in a specified period of time.

    Unit: Bytes

  • VolumeWriteBytesPerSecond - The bytes written to the volume in a specified period of time.

    Unit: Bytes

Definition at line 113 of file EBSUtilizationMetric.h.

◆ WithName() [2/2]

EBSUtilizationMetric& Aws::ComputeOptimizer::Model::EBSUtilizationMetric::WithName ( EBSMetricName &&  value)
inline

The name of the utilization metric.

The following utilization metrics are available:

  • VolumeReadOpsPerSecond - The completed read operations per second from the volume in a specified period of time.

    Unit: Count

  • VolumeWriteOpsPerSecond

    • The completed write operations per second to the volume in a specified period of time.

    Unit: Count

  • VolumeReadBytesPerSecond - The bytes read per second from the volume in a specified period of time.

    Unit: Bytes

  • VolumeWriteBytesPerSecond - The bytes written to the volume in a specified period of time.

    Unit: Bytes

Definition at line 127 of file EBSUtilizationMetric.h.

◆ WithStatistic() [1/2]

EBSUtilizationMetric& Aws::ComputeOptimizer::Model::EBSUtilizationMetric::WithStatistic ( const MetricStatistic value)
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 213 of file EBSUtilizationMetric.h.

◆ WithStatistic() [2/2]

EBSUtilizationMetric& Aws::ComputeOptimizer::Model::EBSUtilizationMetric::WithStatistic ( MetricStatistic &&  value)
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 230 of file EBSUtilizationMetric.h.

◆ WithValue()

EBSUtilizationMetric& Aws::ComputeOptimizer::Model::EBSUtilizationMetric::WithValue ( double  value)
inline

The value of the utilization metric.

Definition at line 251 of file EBSUtilizationMetric.h.


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