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

#include <Metric.h>

Public Member Functions

 Metric ()
 
 Metric (const Aws::Utils::Xml::XmlNode &xmlNode)
 
Metricoperator= (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::StringGetNamespace () const
 
bool NamespaceHasBeenSet () const
 
void SetNamespace (const Aws::String &value)
 
void SetNamespace (Aws::String &&value)
 
void SetNamespace (const char *value)
 
MetricWithNamespace (const Aws::String &value)
 
MetricWithNamespace (Aws::String &&value)
 
MetricWithNamespace (const char *value)
 
const Aws::StringGetMetricName () const
 
bool MetricNameHasBeenSet () const
 
void SetMetricName (const Aws::String &value)
 
void SetMetricName (Aws::String &&value)
 
void SetMetricName (const char *value)
 
MetricWithMetricName (const Aws::String &value)
 
MetricWithMetricName (Aws::String &&value)
 
MetricWithMetricName (const char *value)
 
const Aws::Vector< Dimension > & GetDimensions () const
 
bool DimensionsHasBeenSet () const
 
void SetDimensions (const Aws::Vector< Dimension > &value)
 
void SetDimensions (Aws::Vector< Dimension > &&value)
 
MetricWithDimensions (const Aws::Vector< Dimension > &value)
 
MetricWithDimensions (Aws::Vector< Dimension > &&value)
 
MetricAddDimensions (const Dimension &value)
 
MetricAddDimensions (Dimension &&value)
 

Detailed Description

Represents a specific metric.

See Also:

AWS API Reference

Definition at line 33 of file Metric.h.

Constructor & Destructor Documentation

◆ Metric() [1/2]

Aws::CloudWatch::Model::Metric::Metric ( )

◆ Metric() [2/2]

Aws::CloudWatch::Model::Metric::Metric ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddDimensions() [1/2]

Metric& Aws::CloudWatch::Model::Metric::AddDimensions ( const Dimension value)
inline

The dimensions for the metric.

Definition at line 159 of file Metric.h.

◆ AddDimensions() [2/2]

Metric& Aws::CloudWatch::Model::Metric::AddDimensions ( Dimension &&  value)
inline

The dimensions for the metric.

Definition at line 164 of file Metric.h.

◆ DimensionsHasBeenSet()

bool Aws::CloudWatch::Model::Metric::DimensionsHasBeenSet ( ) const
inline

The dimensions for the metric.

Definition at line 134 of file Metric.h.

◆ GetDimensions()

const Aws::Vector<Dimension>& Aws::CloudWatch::Model::Metric::GetDimensions ( ) const
inline

The dimensions for the metric.

Definition at line 129 of file Metric.h.

◆ GetMetricName()

const Aws::String& Aws::CloudWatch::Model::Metric::GetMetricName ( ) const
inline

The name of the metric. This is a required field.

Definition at line 88 of file Metric.h.

◆ GetNamespace()

const Aws::String& Aws::CloudWatch::Model::Metric::GetNamespace ( ) const
inline

The namespace of the metric.

Definition at line 47 of file Metric.h.

◆ MetricNameHasBeenSet()

bool Aws::CloudWatch::Model::Metric::MetricNameHasBeenSet ( ) const
inline

The name of the metric. This is a required field.

Definition at line 93 of file Metric.h.

◆ NamespaceHasBeenSet()

bool Aws::CloudWatch::Model::Metric::NamespaceHasBeenSet ( ) const
inline

The namespace of the metric.

Definition at line 52 of file Metric.h.

◆ operator=()

Metric& Aws::CloudWatch::Model::Metric::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::CloudWatch::Model::Metric::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

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

◆ SetDimensions() [1/2]

void Aws::CloudWatch::Model::Metric::SetDimensions ( Aws::Vector< Dimension > &&  value)
inline

The dimensions for the metric.

Definition at line 144 of file Metric.h.

◆ SetDimensions() [2/2]

void Aws::CloudWatch::Model::Metric::SetDimensions ( const Aws::Vector< Dimension > &  value)
inline

The dimensions for the metric.

Definition at line 139 of file Metric.h.

◆ SetMetricName() [1/3]

void Aws::CloudWatch::Model::Metric::SetMetricName ( Aws::String &&  value)
inline

The name of the metric. This is a required field.

Definition at line 103 of file Metric.h.

◆ SetMetricName() [2/3]

void Aws::CloudWatch::Model::Metric::SetMetricName ( const Aws::String value)
inline

The name of the metric. This is a required field.

Definition at line 98 of file Metric.h.

◆ SetMetricName() [3/3]

void Aws::CloudWatch::Model::Metric::SetMetricName ( const char *  value)
inline

The name of the metric. This is a required field.

Definition at line 108 of file Metric.h.

◆ SetNamespace() [1/3]

void Aws::CloudWatch::Model::Metric::SetNamespace ( Aws::String &&  value)
inline

The namespace of the metric.

Definition at line 62 of file Metric.h.

◆ SetNamespace() [2/3]

void Aws::CloudWatch::Model::Metric::SetNamespace ( const Aws::String value)
inline

The namespace of the metric.

Definition at line 57 of file Metric.h.

◆ SetNamespace() [3/3]

void Aws::CloudWatch::Model::Metric::SetNamespace ( const char *  value)
inline

The namespace of the metric.

Definition at line 67 of file Metric.h.

◆ WithDimensions() [1/2]

Metric& Aws::CloudWatch::Model::Metric::WithDimensions ( Aws::Vector< Dimension > &&  value)
inline

The dimensions for the metric.

Definition at line 154 of file Metric.h.

◆ WithDimensions() [2/2]

Metric& Aws::CloudWatch::Model::Metric::WithDimensions ( const Aws::Vector< Dimension > &  value)
inline

The dimensions for the metric.

Definition at line 149 of file Metric.h.

◆ WithMetricName() [1/3]

Metric& Aws::CloudWatch::Model::Metric::WithMetricName ( Aws::String &&  value)
inline

The name of the metric. This is a required field.

Definition at line 118 of file Metric.h.

◆ WithMetricName() [2/3]

Metric& Aws::CloudWatch::Model::Metric::WithMetricName ( const Aws::String value)
inline

The name of the metric. This is a required field.

Definition at line 113 of file Metric.h.

◆ WithMetricName() [3/3]

Metric& Aws::CloudWatch::Model::Metric::WithMetricName ( const char *  value)
inline

The name of the metric. This is a required field.

Definition at line 123 of file Metric.h.

◆ WithNamespace() [1/3]

Metric& Aws::CloudWatch::Model::Metric::WithNamespace ( Aws::String &&  value)
inline

The namespace of the metric.

Definition at line 77 of file Metric.h.

◆ WithNamespace() [2/3]

Metric& Aws::CloudWatch::Model::Metric::WithNamespace ( const Aws::String value)
inline

The namespace of the metric.

Definition at line 72 of file Metric.h.

◆ WithNamespace() [3/3]

Metric& Aws::CloudWatch::Model::Metric::WithNamespace ( const char *  value)
inline

The namespace of the metric.

Definition at line 82 of file Metric.h.


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