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>
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
67 template<
typename SourceT = Aws::String>
68 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
69 template<
typename SourceT = Aws::String>
80 template<
typename DestinationT = Aws::String>
81 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
82 template<
typename DestinationT = Aws::String>
121 bool m_idHasBeenSet =
false;
124 bool m_sourceHasBeenSet =
false;
127 bool m_destinationHasBeenSet =
false;
130 bool m_metricHasBeenSet =
false;
133 bool m_statisticHasBeenSet =
false;
136 bool m_periodHasBeenSet =
false;
DataQuery & WithMetric(MetricType value)
StatisticType GetStatistic() const
AWS_EC2_API DataQuery & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DataQuery & WithStatistic(StatisticType value)
bool IdHasBeenSet() const
DataQuery & WithDestination(DestinationT &&value)
bool SourceHasBeenSet() const
PeriodType GetPeriod() const
AWS_EC2_API DataQuery()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool MetricHasBeenSet() const
void SetSource(SourceT &&value)
void SetMetric(MetricType value)
void SetStatistic(StatisticType value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetSource() const
void SetDestination(DestinationT &&value)
DataQuery & WithId(IdT &&value)
bool PeriodHasBeenSet() const
bool StatisticHasBeenSet() const
AWS_EC2_API DataQuery(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetId() const
void SetPeriod(PeriodType value)
MetricType GetMetric() const
const Aws::String & GetDestination() const
DataQuery & WithSource(SourceT &&value)
bool DestinationHasBeenSet() const
DataQuery & WithPeriod(PeriodType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream