7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
76 inline double GetValue()
const{
return m_value; }
78 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
90 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
98 bool m_startDateHasBeenSet =
false;
101 bool m_endDateHasBeenSet =
false;
104 bool m_valueHasBeenSet =
false;
107 bool m_statusHasBeenSet =
false;
MetricPoint & WithStatus(const char *value)
void SetEndDate(Aws::Utils::DateTime &&value)
void SetStatus(Aws::String &&value)
void SetValue(double value)
MetricPoint & WithStatus(Aws::String &&value)
AWS_EC2_API MetricPoint()
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetStartDate() const
MetricPoint & WithStartDate(const Aws::Utils::DateTime &value)
void SetStatus(const char *value)
MetricPoint & WithStartDate(Aws::Utils::DateTime &&value)
void SetStartDate(const Aws::Utils::DateTime &value)
bool ValueHasBeenSet() const
MetricPoint & WithValue(double value)
void SetEndDate(const Aws::Utils::DateTime &value)
const Aws::String & GetStatus() const
bool EndDateHasBeenSet() const
AWS_EC2_API MetricPoint(const Aws::Utils::Xml::XmlNode &xmlNode)
MetricPoint & WithEndDate(const Aws::Utils::DateTime &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
MetricPoint & WithStatus(const Aws::String &value)
void SetStartDate(Aws::Utils::DateTime &&value)
AWS_EC2_API MetricPoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MetricPoint & WithEndDate(Aws::Utils::DateTime &&value)
bool StatusHasBeenSet() const
bool StartDateHasBeenSet() const
const Aws::Utils::DateTime & GetEndDate() const
void SetStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream