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

#include <TargetTrackingConfiguration.h>

Public Member Functions

 TargetTrackingConfiguration ()
 
 TargetTrackingConfiguration (const Aws::Utils::Xml::XmlNode &xmlNode)
 
TargetTrackingConfigurationoperator= (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
 
const PredefinedMetricSpecificationGetPredefinedMetricSpecification () const
 
bool PredefinedMetricSpecificationHasBeenSet () const
 
void SetPredefinedMetricSpecification (const PredefinedMetricSpecification &value)
 
void SetPredefinedMetricSpecification (PredefinedMetricSpecification &&value)
 
TargetTrackingConfigurationWithPredefinedMetricSpecification (const PredefinedMetricSpecification &value)
 
TargetTrackingConfigurationWithPredefinedMetricSpecification (PredefinedMetricSpecification &&value)
 
const CustomizedMetricSpecificationGetCustomizedMetricSpecification () const
 
bool CustomizedMetricSpecificationHasBeenSet () const
 
void SetCustomizedMetricSpecification (const CustomizedMetricSpecification &value)
 
void SetCustomizedMetricSpecification (CustomizedMetricSpecification &&value)
 
TargetTrackingConfigurationWithCustomizedMetricSpecification (const CustomizedMetricSpecification &value)
 
TargetTrackingConfigurationWithCustomizedMetricSpecification (CustomizedMetricSpecification &&value)
 
double GetTargetValue () const
 
bool TargetValueHasBeenSet () const
 
void SetTargetValue (double value)
 
TargetTrackingConfigurationWithTargetValue (double value)
 
bool GetDisableScaleIn () const
 
bool DisableScaleInHasBeenSet () const
 
void SetDisableScaleIn (bool value)
 
TargetTrackingConfigurationWithDisableScaleIn (bool value)
 

Detailed Description

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

See Also:

AWS API Reference

Definition at line 33 of file TargetTrackingConfiguration.h.

Constructor & Destructor Documentation

◆ TargetTrackingConfiguration() [1/2]

Aws::AutoScaling::Model::TargetTrackingConfiguration::TargetTrackingConfiguration ( )

◆ TargetTrackingConfiguration() [2/2]

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

Member Function Documentation

◆ CustomizedMetricSpecificationHasBeenSet()

bool Aws::AutoScaling::Model::TargetTrackingConfiguration::CustomizedMetricSpecificationHasBeenSet ( ) const
inline

A customized metric. You must specify either a predefined metric or a customized metric.

Definition at line 91 of file TargetTrackingConfiguration.h.

◆ DisableScaleInHasBeenSet()

bool Aws::AutoScaling::Model::TargetTrackingConfiguration::DisableScaleInHasBeenSet ( ) const
inline

Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

Definition at line 155 of file TargetTrackingConfiguration.h.

◆ GetCustomizedMetricSpecification()

const CustomizedMetricSpecification& Aws::AutoScaling::Model::TargetTrackingConfiguration::GetCustomizedMetricSpecification ( ) const
inline

A customized metric. You must specify either a predefined metric or a customized metric.

Definition at line 85 of file TargetTrackingConfiguration.h.

◆ GetDisableScaleIn()

bool Aws::AutoScaling::Model::TargetTrackingConfiguration::GetDisableScaleIn ( ) const
inline

Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

Definition at line 146 of file TargetTrackingConfiguration.h.

◆ GetPredefinedMetricSpecification()

const PredefinedMetricSpecification& Aws::AutoScaling::Model::TargetTrackingConfiguration::GetPredefinedMetricSpecification ( ) const
inline

A predefined metric. You must specify either a predefined metric or a customized metric.

Definition at line 48 of file TargetTrackingConfiguration.h.

◆ GetTargetValue()

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

The target value for the metric.

Definition at line 121 of file TargetTrackingConfiguration.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PredefinedMetricSpecificationHasBeenSet()

bool Aws::AutoScaling::Model::TargetTrackingConfiguration::PredefinedMetricSpecificationHasBeenSet ( ) const
inline

A predefined metric. You must specify either a predefined metric or a customized metric.

Definition at line 54 of file TargetTrackingConfiguration.h.

◆ SetCustomizedMetricSpecification() [1/2]

void Aws::AutoScaling::Model::TargetTrackingConfiguration::SetCustomizedMetricSpecification ( const CustomizedMetricSpecification value)
inline

A customized metric. You must specify either a predefined metric or a customized metric.

Definition at line 97 of file TargetTrackingConfiguration.h.

◆ SetCustomizedMetricSpecification() [2/2]

void Aws::AutoScaling::Model::TargetTrackingConfiguration::SetCustomizedMetricSpecification ( CustomizedMetricSpecification &&  value)
inline

A customized metric. You must specify either a predefined metric or a customized metric.

Definition at line 103 of file TargetTrackingConfiguration.h.

◆ SetDisableScaleIn()

void Aws::AutoScaling::Model::TargetTrackingConfiguration::SetDisableScaleIn ( bool  value)
inline

Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

Definition at line 164 of file TargetTrackingConfiguration.h.

◆ SetPredefinedMetricSpecification() [1/2]

void Aws::AutoScaling::Model::TargetTrackingConfiguration::SetPredefinedMetricSpecification ( const PredefinedMetricSpecification value)
inline

A predefined metric. You must specify either a predefined metric or a customized metric.

Definition at line 60 of file TargetTrackingConfiguration.h.

◆ SetPredefinedMetricSpecification() [2/2]

void Aws::AutoScaling::Model::TargetTrackingConfiguration::SetPredefinedMetricSpecification ( PredefinedMetricSpecification &&  value)
inline

A predefined metric. You must specify either a predefined metric or a customized metric.

Definition at line 66 of file TargetTrackingConfiguration.h.

◆ SetTargetValue()

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

The target value for the metric.

Definition at line 131 of file TargetTrackingConfiguration.h.

◆ TargetValueHasBeenSet()

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

The target value for the metric.

Definition at line 126 of file TargetTrackingConfiguration.h.

◆ WithCustomizedMetricSpecification() [1/2]

TargetTrackingConfiguration& Aws::AutoScaling::Model::TargetTrackingConfiguration::WithCustomizedMetricSpecification ( const CustomizedMetricSpecification value)
inline

A customized metric. You must specify either a predefined metric or a customized metric.

Definition at line 109 of file TargetTrackingConfiguration.h.

◆ WithCustomizedMetricSpecification() [2/2]

TargetTrackingConfiguration& Aws::AutoScaling::Model::TargetTrackingConfiguration::WithCustomizedMetricSpecification ( CustomizedMetricSpecification &&  value)
inline

A customized metric. You must specify either a predefined metric or a customized metric.

Definition at line 115 of file TargetTrackingConfiguration.h.

◆ WithDisableScaleIn()

TargetTrackingConfiguration& Aws::AutoScaling::Model::TargetTrackingConfiguration::WithDisableScaleIn ( bool  value)
inline

Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

Definition at line 173 of file TargetTrackingConfiguration.h.

◆ WithPredefinedMetricSpecification() [1/2]

TargetTrackingConfiguration& Aws::AutoScaling::Model::TargetTrackingConfiguration::WithPredefinedMetricSpecification ( const PredefinedMetricSpecification value)
inline

A predefined metric. You must specify either a predefined metric or a customized metric.

Definition at line 72 of file TargetTrackingConfiguration.h.

◆ WithPredefinedMetricSpecification() [2/2]

TargetTrackingConfiguration& Aws::AutoScaling::Model::TargetTrackingConfiguration::WithPredefinedMetricSpecification ( PredefinedMetricSpecification &&  value)
inline

A predefined metric. You must specify either a predefined metric or a customized metric.

Definition at line 78 of file TargetTrackingConfiguration.h.

◆ WithTargetValue()

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

The target value for the metric.

Definition at line 136 of file TargetTrackingConfiguration.h.


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