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

#include <CustomizedMetricSpecification.h>

Public Member Functions

 CustomizedMetricSpecification ()
 
 CustomizedMetricSpecification (const Aws::Utils::Xml::XmlNode &xmlNode)
 
CustomizedMetricSpecificationoperator= (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 Aws::StringGetMetricName () const
 
bool MetricNameHasBeenSet () const
 
void SetMetricName (const Aws::String &value)
 
void SetMetricName (Aws::String &&value)
 
void SetMetricName (const char *value)
 
CustomizedMetricSpecificationWithMetricName (const Aws::String &value)
 
CustomizedMetricSpecificationWithMetricName (Aws::String &&value)
 
CustomizedMetricSpecificationWithMetricName (const char *value)
 
const Aws::StringGetNamespace () const
 
bool NamespaceHasBeenSet () const
 
void SetNamespace (const Aws::String &value)
 
void SetNamespace (Aws::String &&value)
 
void SetNamespace (const char *value)
 
CustomizedMetricSpecificationWithNamespace (const Aws::String &value)
 
CustomizedMetricSpecificationWithNamespace (Aws::String &&value)
 
CustomizedMetricSpecificationWithNamespace (const char *value)
 
const Aws::Vector< MetricDimension > & GetDimensions () const
 
bool DimensionsHasBeenSet () const
 
void SetDimensions (const Aws::Vector< MetricDimension > &value)
 
void SetDimensions (Aws::Vector< MetricDimension > &&value)
 
CustomizedMetricSpecificationWithDimensions (const Aws::Vector< MetricDimension > &value)
 
CustomizedMetricSpecificationWithDimensions (Aws::Vector< MetricDimension > &&value)
 
CustomizedMetricSpecificationAddDimensions (const MetricDimension &value)
 
CustomizedMetricSpecificationAddDimensions (MetricDimension &&value)
 
const MetricStatisticGetStatistic () const
 
bool StatisticHasBeenSet () const
 
void SetStatistic (const MetricStatistic &value)
 
void SetStatistic (MetricStatistic &&value)
 
CustomizedMetricSpecificationWithStatistic (const MetricStatistic &value)
 
CustomizedMetricSpecificationWithStatistic (MetricStatistic &&value)
 
const Aws::StringGetUnit () const
 
bool UnitHasBeenSet () const
 
void SetUnit (const Aws::String &value)
 
void SetUnit (Aws::String &&value)
 
void SetUnit (const char *value)
 
CustomizedMetricSpecificationWithUnit (const Aws::String &value)
 
CustomizedMetricSpecificationWithUnit (Aws::String &&value)
 
CustomizedMetricSpecificationWithUnit (const char *value)
 

Detailed Description

Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.

To create your customized metric specification:

For more information about CloudWatch, see Amazon CloudWatch Concepts.

See Also:

AWS API Reference

Definition at line 47 of file CustomizedMetricSpecification.h.

Constructor & Destructor Documentation

◆ CustomizedMetricSpecification() [1/2]

Aws::AutoScaling::Model::CustomizedMetricSpecification::CustomizedMetricSpecification ( )

◆ CustomizedMetricSpecification() [2/2]

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

Member Function Documentation

◆ AddDimensions() [1/2]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::AddDimensions ( const MetricDimension value)
inline

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Definition at line 187 of file CustomizedMetricSpecification.h.

◆ AddDimensions() [2/2]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::AddDimensions ( MetricDimension &&  value)
inline

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Definition at line 194 of file CustomizedMetricSpecification.h.

◆ DimensionsHasBeenSet()

bool Aws::AutoScaling::Model::CustomizedMetricSpecification::DimensionsHasBeenSet ( ) const
inline

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Definition at line 152 of file CustomizedMetricSpecification.h.

◆ GetDimensions()

const Aws::Vector<MetricDimension>& Aws::AutoScaling::Model::CustomizedMetricSpecification::GetDimensions ( ) const
inline

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Definition at line 145 of file CustomizedMetricSpecification.h.

◆ GetMetricName()

const Aws::String& Aws::AutoScaling::Model::CustomizedMetricSpecification::GetMetricName ( ) const
inline

The name of the metric.

Definition at line 61 of file CustomizedMetricSpecification.h.

◆ GetNamespace()

const Aws::String& Aws::AutoScaling::Model::CustomizedMetricSpecification::GetNamespace ( ) const
inline

The namespace of the metric.

Definition at line 102 of file CustomizedMetricSpecification.h.

◆ GetStatistic()

const MetricStatistic& Aws::AutoScaling::Model::CustomizedMetricSpecification::GetStatistic ( ) const
inline

The statistic of the metric.

Definition at line 200 of file CustomizedMetricSpecification.h.

◆ GetUnit()

const Aws::String& Aws::AutoScaling::Model::CustomizedMetricSpecification::GetUnit ( ) const
inline

The unit of the metric.

Definition at line 231 of file CustomizedMetricSpecification.h.

◆ MetricNameHasBeenSet()

bool Aws::AutoScaling::Model::CustomizedMetricSpecification::MetricNameHasBeenSet ( ) const
inline

The name of the metric.

Definition at line 66 of file CustomizedMetricSpecification.h.

◆ NamespaceHasBeenSet()

bool Aws::AutoScaling::Model::CustomizedMetricSpecification::NamespaceHasBeenSet ( ) const
inline

The namespace of the metric.

Definition at line 107 of file CustomizedMetricSpecification.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetDimensions() [1/2]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetDimensions ( Aws::Vector< MetricDimension > &&  value)
inline

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Definition at line 166 of file CustomizedMetricSpecification.h.

◆ SetDimensions() [2/2]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetDimensions ( const Aws::Vector< MetricDimension > &  value)
inline

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Definition at line 159 of file CustomizedMetricSpecification.h.

◆ SetMetricName() [1/3]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetMetricName ( Aws::String &&  value)
inline

The name of the metric.

Definition at line 76 of file CustomizedMetricSpecification.h.

◆ SetMetricName() [2/3]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetMetricName ( const Aws::String value)
inline

The name of the metric.

Definition at line 71 of file CustomizedMetricSpecification.h.

◆ SetMetricName() [3/3]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetMetricName ( const char *  value)
inline

The name of the metric.

Definition at line 81 of file CustomizedMetricSpecification.h.

◆ SetNamespace() [1/3]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetNamespace ( Aws::String &&  value)
inline

The namespace of the metric.

Definition at line 117 of file CustomizedMetricSpecification.h.

◆ SetNamespace() [2/3]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetNamespace ( const Aws::String value)
inline

The namespace of the metric.

Definition at line 112 of file CustomizedMetricSpecification.h.

◆ SetNamespace() [3/3]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetNamespace ( const char *  value)
inline

The namespace of the metric.

Definition at line 122 of file CustomizedMetricSpecification.h.

◆ SetStatistic() [1/2]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetStatistic ( const MetricStatistic value)
inline

The statistic of the metric.

Definition at line 210 of file CustomizedMetricSpecification.h.

◆ SetStatistic() [2/2]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetStatistic ( MetricStatistic &&  value)
inline

The statistic of the metric.

Definition at line 215 of file CustomizedMetricSpecification.h.

◆ SetUnit() [1/3]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetUnit ( Aws::String &&  value)
inline

The unit of the metric.

Definition at line 246 of file CustomizedMetricSpecification.h.

◆ SetUnit() [2/3]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetUnit ( const Aws::String value)
inline

The unit of the metric.

Definition at line 241 of file CustomizedMetricSpecification.h.

◆ SetUnit() [3/3]

void Aws::AutoScaling::Model::CustomizedMetricSpecification::SetUnit ( const char *  value)
inline

The unit of the metric.

Definition at line 251 of file CustomizedMetricSpecification.h.

◆ StatisticHasBeenSet()

bool Aws::AutoScaling::Model::CustomizedMetricSpecification::StatisticHasBeenSet ( ) const
inline

The statistic of the metric.

Definition at line 205 of file CustomizedMetricSpecification.h.

◆ UnitHasBeenSet()

bool Aws::AutoScaling::Model::CustomizedMetricSpecification::UnitHasBeenSet ( ) const
inline

The unit of the metric.

Definition at line 236 of file CustomizedMetricSpecification.h.

◆ WithDimensions() [1/2]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithDimensions ( Aws::Vector< MetricDimension > &&  value)
inline

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Definition at line 180 of file CustomizedMetricSpecification.h.

◆ WithDimensions() [2/2]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithDimensions ( const Aws::Vector< MetricDimension > &  value)
inline

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Definition at line 173 of file CustomizedMetricSpecification.h.

◆ WithMetricName() [1/3]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithMetricName ( Aws::String &&  value)
inline

The name of the metric.

Definition at line 91 of file CustomizedMetricSpecification.h.

◆ WithMetricName() [2/3]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithMetricName ( const Aws::String value)
inline

The name of the metric.

Definition at line 86 of file CustomizedMetricSpecification.h.

◆ WithMetricName() [3/3]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithMetricName ( const char *  value)
inline

The name of the metric.

Definition at line 96 of file CustomizedMetricSpecification.h.

◆ WithNamespace() [1/3]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithNamespace ( Aws::String &&  value)
inline

The namespace of the metric.

Definition at line 132 of file CustomizedMetricSpecification.h.

◆ WithNamespace() [2/3]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithNamespace ( const Aws::String value)
inline

The namespace of the metric.

Definition at line 127 of file CustomizedMetricSpecification.h.

◆ WithNamespace() [3/3]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithNamespace ( const char *  value)
inline

The namespace of the metric.

Definition at line 137 of file CustomizedMetricSpecification.h.

◆ WithStatistic() [1/2]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithStatistic ( const MetricStatistic value)
inline

The statistic of the metric.

Definition at line 220 of file CustomizedMetricSpecification.h.

◆ WithStatistic() [2/2]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithStatistic ( MetricStatistic &&  value)
inline

The statistic of the metric.

Definition at line 225 of file CustomizedMetricSpecification.h.

◆ WithUnit() [1/3]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithUnit ( Aws::String &&  value)
inline

The unit of the metric.

Definition at line 261 of file CustomizedMetricSpecification.h.

◆ WithUnit() [2/3]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithUnit ( const Aws::String value)
inline

The unit of the metric.

Definition at line 256 of file CustomizedMetricSpecification.h.

◆ WithUnit() [3/3]

CustomizedMetricSpecification& Aws::AutoScaling::Model::CustomizedMetricSpecification::WithUnit ( const char *  value)
inline

The unit of the metric.

Definition at line 266 of file CustomizedMetricSpecification.h.


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