7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/Metric.h>
44 m_metricHasBeenSet =
true;
58 inline double GetValue()
const {
return m_value; }
61 m_valueHasBeenSet =
true;
73 bool m_metricHasBeenSet =
false;
74 bool m_valueHasBeenSet =
false;
bool ValueHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API MetricValue()=default
MetricValue & WithMetric(Metric value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
MetricValue & WithValue(double value)
bool MetricHasBeenSet() const
AWS_EC2_API MetricValue(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API MetricValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMetric(Metric value)
void SetValue(double value)
std::basic_ostream< char, std::char_traits< char > > OStream