7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/MetricType.h>
11#include <aws/ec2/model/StatisticType.h>
12#include <aws/ec2/model/PeriodType.h>
55 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
56 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
71 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
86 inline void SetDestination(
const char* value) { m_destinationHasBeenSet =
true; m_destination.assign(value); }
133 bool m_idHasBeenSet =
false;
136 bool m_sourceHasBeenSet =
false;
139 bool m_destinationHasBeenSet =
false;
142 bool m_metricHasBeenSet =
false;
145 bool m_statisticHasBeenSet =
false;
148 bool m_periodHasBeenSet =
false;
const PeriodType & GetPeriod() const
AWS_EC2_API DataQuery & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDestination(Aws::String &&value)
void SetSource(const Aws::String &value)
DataQuery & WithMetric(const MetricType &value)
const StatisticType & GetStatistic() const
bool IdHasBeenSet() const
bool SourceHasBeenSet() const
DataQuery & WithDestination(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool MetricHasBeenSet() const
void SetMetric(const MetricType &value)
DataQuery & WithMetric(MetricType &&value)
void SetId(Aws::String &&value)
void SetDestination(const char *value)
void SetId(const Aws::String &value)
DataQuery & WithId(const Aws::String &value)
void SetMetric(MetricType &&value)
void SetStatistic(const StatisticType &value)
void SetSource(const char *value)
DataQuery & WithPeriod(const PeriodType &value)
DataQuery & WithSource(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetSource() const
DataQuery & WithSource(const Aws::String &value)
const MetricType & GetMetric() const
void SetPeriod(PeriodType &&value)
void SetPeriod(const PeriodType &value)
bool PeriodHasBeenSet() const
void SetSource(Aws::String &&value)
bool StatisticHasBeenSet() const
AWS_EC2_API DataQuery(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetId() const
DataQuery & WithStatistic(StatisticType &&value)
DataQuery & WithDestination(Aws::String &&value)
void SetStatistic(StatisticType &&value)
DataQuery & WithStatistic(const StatisticType &value)
DataQuery & WithDestination(const Aws::String &value)
const Aws::String & GetDestination() const
void SetId(const char *value)
DataQuery & WithId(const char *value)
void SetDestination(const Aws::String &value)
DataQuery & WithSource(Aws::String &&value)
DataQuery & WithId(Aws::String &&value)
DataQuery & WithPeriod(PeriodType &&value)
bool DestinationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream