7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/autoscaling/model/MetricDimension.h>
55 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
69 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
97 bool m_namespaceHasBeenSet =
false;
100 bool m_metricNameHasBeenSet =
false;
103 bool m_dimensionsHasBeenSet =
false;
const Aws::String & GetNamespace() const
AWS_AUTOSCALING_API Metric()
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetMetricName(const char *value)
Metric & WithDimensions(Aws::Vector< MetricDimension > &&value)
void SetMetricName(const Aws::String &value)
Metric & WithNamespace(const Aws::String &value)
Metric & AddDimensions(MetricDimension &&value)
void SetNamespace(Aws::String &&value)
void SetNamespace(const char *value)
const Aws::Vector< MetricDimension > & GetDimensions() const
void SetMetricName(Aws::String &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDimensions(const Aws::Vector< MetricDimension > &value)
Metric & WithDimensions(const Aws::Vector< MetricDimension > &value)
Metric & AddDimensions(const MetricDimension &value)
void SetDimensions(Aws::Vector< MetricDimension > &&value)
AWS_AUTOSCALING_API Metric(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNamespace(const Aws::String &value)
const Aws::String & GetMetricName() const
AWS_AUTOSCALING_API Metric & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Metric & WithNamespace(const char *value)
Metric & WithNamespace(Aws::String &&value)
Metric & WithMetricName(const Aws::String &value)
bool MetricNameHasBeenSet() const
Metric & WithMetricName(Aws::String &&value)
bool NamespaceHasBeenSet() const
bool DimensionsHasBeenSet() const
Metric & WithMetricName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream