AWS SDK for C++  1.9.104
AWS SDK for C++
Public Member Functions | List of all members
Aws::AutoScaling::Model::PredictiveScalingMetricSpecification Class Reference

#include <PredictiveScalingMetricSpecification.h>

Public Member Functions

 PredictiveScalingMetricSpecification ()
 
 PredictiveScalingMetricSpecification (const Aws::Utils::Xml::XmlNode &xmlNode)
 
PredictiveScalingMetricSpecificationoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
double GetTargetValue () const
 
bool TargetValueHasBeenSet () const
 
void SetTargetValue (double value)
 
PredictiveScalingMetricSpecificationWithTargetValue (double value)
 
const PredictiveScalingPredefinedMetricPairGetPredefinedMetricPairSpecification () const
 
bool PredefinedMetricPairSpecificationHasBeenSet () const
 
void SetPredefinedMetricPairSpecification (const PredictiveScalingPredefinedMetricPair &value)
 
void SetPredefinedMetricPairSpecification (PredictiveScalingPredefinedMetricPair &&value)
 
PredictiveScalingMetricSpecificationWithPredefinedMetricPairSpecification (const PredictiveScalingPredefinedMetricPair &value)
 
PredictiveScalingMetricSpecificationWithPredefinedMetricPairSpecification (PredictiveScalingPredefinedMetricPair &&value)
 
const PredictiveScalingPredefinedScalingMetricGetPredefinedScalingMetricSpecification () const
 
bool PredefinedScalingMetricSpecificationHasBeenSet () const
 
void SetPredefinedScalingMetricSpecification (const PredictiveScalingPredefinedScalingMetric &value)
 
void SetPredefinedScalingMetricSpecification (PredictiveScalingPredefinedScalingMetric &&value)
 
PredictiveScalingMetricSpecificationWithPredefinedScalingMetricSpecification (const PredictiveScalingPredefinedScalingMetric &value)
 
PredictiveScalingMetricSpecificationWithPredefinedScalingMetricSpecification (PredictiveScalingPredefinedScalingMetric &&value)
 
const PredictiveScalingPredefinedLoadMetricGetPredefinedLoadMetricSpecification () const
 
bool PredefinedLoadMetricSpecificationHasBeenSet () const
 
void SetPredefinedLoadMetricSpecification (const PredictiveScalingPredefinedLoadMetric &value)
 
void SetPredefinedLoadMetricSpecification (PredictiveScalingPredefinedLoadMetric &&value)
 
PredictiveScalingMetricSpecificationWithPredefinedLoadMetricSpecification (const PredictiveScalingPredefinedLoadMetric &value)
 
PredictiveScalingMetricSpecificationWithPredefinedLoadMetricSpecification (PredictiveScalingPredefinedLoadMetric &&value)
 

Detailed Description

This structure specifies the metrics and target utilization settings for a predictive scaling policy.

You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.

Example

See Also:

AWS API Reference

Definition at line 59 of file PredictiveScalingMetricSpecification.h.

Constructor & Destructor Documentation

◆ PredictiveScalingMetricSpecification() [1/2]

Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::PredictiveScalingMetricSpecification ( )

◆ PredictiveScalingMetricSpecification() [2/2]

Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::PredictiveScalingMetricSpecification ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ GetPredefinedLoadMetricSpecification()

const PredictiveScalingPredefinedLoadMetric& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::GetPredefinedLoadMetricSpecification ( ) const
inline

The load metric specification.

Definition at line 162 of file PredictiveScalingMetricSpecification.h.

◆ GetPredefinedMetricPairSpecification()

const PredictiveScalingPredefinedMetricPair& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::GetPredefinedMetricPairSpecification ( ) const
inline

The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.

Definition at line 95 of file PredictiveScalingMetricSpecification.h.

◆ GetPredefinedScalingMetricSpecification()

const PredictiveScalingPredefinedScalingMetric& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::GetPredefinedScalingMetricSpecification ( ) const
inline

The scaling metric specification.

Definition at line 131 of file PredictiveScalingMetricSpecification.h.

◆ GetTargetValue()

double Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::GetTargetValue ( ) const
inline

Specifies the target utilization.

Definition at line 73 of file PredictiveScalingMetricSpecification.h.

◆ operator=()

PredictiveScalingMetricSpecification& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ PredefinedLoadMetricSpecificationHasBeenSet()

bool Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::PredefinedLoadMetricSpecificationHasBeenSet ( ) const
inline

The load metric specification.

Definition at line 167 of file PredictiveScalingMetricSpecification.h.

◆ PredefinedMetricPairSpecificationHasBeenSet()

bool Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::PredefinedMetricPairSpecificationHasBeenSet ( ) const
inline

The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.

Definition at line 101 of file PredictiveScalingMetricSpecification.h.

◆ PredefinedScalingMetricSpecificationHasBeenSet()

bool Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::PredefinedScalingMetricSpecificationHasBeenSet ( ) const
inline

The scaling metric specification.

Definition at line 136 of file PredictiveScalingMetricSpecification.h.

◆ SetPredefinedLoadMetricSpecification() [1/2]

void Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::SetPredefinedLoadMetricSpecification ( const PredictiveScalingPredefinedLoadMetric value)
inline

The load metric specification.

Definition at line 172 of file PredictiveScalingMetricSpecification.h.

◆ SetPredefinedLoadMetricSpecification() [2/2]

void Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::SetPredefinedLoadMetricSpecification ( PredictiveScalingPredefinedLoadMetric &&  value)
inline

The load metric specification.

Definition at line 177 of file PredictiveScalingMetricSpecification.h.

◆ SetPredefinedMetricPairSpecification() [1/2]

void Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::SetPredefinedMetricPairSpecification ( const PredictiveScalingPredefinedMetricPair value)
inline

The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.

Definition at line 107 of file PredictiveScalingMetricSpecification.h.

◆ SetPredefinedMetricPairSpecification() [2/2]

void Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::SetPredefinedMetricPairSpecification ( PredictiveScalingPredefinedMetricPair &&  value)
inline

The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.

Definition at line 113 of file PredictiveScalingMetricSpecification.h.

◆ SetPredefinedScalingMetricSpecification() [1/2]

void Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::SetPredefinedScalingMetricSpecification ( const PredictiveScalingPredefinedScalingMetric value)
inline

The scaling metric specification.

Definition at line 141 of file PredictiveScalingMetricSpecification.h.

◆ SetPredefinedScalingMetricSpecification() [2/2]

void Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::SetPredefinedScalingMetricSpecification ( PredictiveScalingPredefinedScalingMetric &&  value)
inline

The scaling metric specification.

Definition at line 146 of file PredictiveScalingMetricSpecification.h.

◆ SetTargetValue()

void Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::SetTargetValue ( double  value)
inline

Specifies the target utilization.

Definition at line 83 of file PredictiveScalingMetricSpecification.h.

◆ TargetValueHasBeenSet()

bool Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::TargetValueHasBeenSet ( ) const
inline

Specifies the target utilization.

Definition at line 78 of file PredictiveScalingMetricSpecification.h.

◆ WithPredefinedLoadMetricSpecification() [1/2]

PredictiveScalingMetricSpecification& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::WithPredefinedLoadMetricSpecification ( const PredictiveScalingPredefinedLoadMetric value)
inline

The load metric specification.

Definition at line 182 of file PredictiveScalingMetricSpecification.h.

◆ WithPredefinedLoadMetricSpecification() [2/2]

PredictiveScalingMetricSpecification& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::WithPredefinedLoadMetricSpecification ( PredictiveScalingPredefinedLoadMetric &&  value)
inline

The load metric specification.

Definition at line 187 of file PredictiveScalingMetricSpecification.h.

◆ WithPredefinedMetricPairSpecification() [1/2]

PredictiveScalingMetricSpecification& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::WithPredefinedMetricPairSpecification ( const PredictiveScalingPredefinedMetricPair value)
inline

The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.

Definition at line 119 of file PredictiveScalingMetricSpecification.h.

◆ WithPredefinedMetricPairSpecification() [2/2]

PredictiveScalingMetricSpecification& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::WithPredefinedMetricPairSpecification ( PredictiveScalingPredefinedMetricPair &&  value)
inline

The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.

Definition at line 125 of file PredictiveScalingMetricSpecification.h.

◆ WithPredefinedScalingMetricSpecification() [1/2]

PredictiveScalingMetricSpecification& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::WithPredefinedScalingMetricSpecification ( const PredictiveScalingPredefinedScalingMetric value)
inline

The scaling metric specification.

Definition at line 151 of file PredictiveScalingMetricSpecification.h.

◆ WithPredefinedScalingMetricSpecification() [2/2]

PredictiveScalingMetricSpecification& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::WithPredefinedScalingMetricSpecification ( PredictiveScalingPredefinedScalingMetric &&  value)
inline

The scaling metric specification.

Definition at line 156 of file PredictiveScalingMetricSpecification.h.

◆ WithTargetValue()

PredictiveScalingMetricSpecification& Aws::AutoScaling::Model::PredictiveScalingMetricSpecification::WithTargetValue ( double  value)
inline

Specifies the target utilization.

Definition at line 88 of file PredictiveScalingMetricSpecification.h.


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