7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/MetricType.h>
11#include <aws/ec2/model/PeriodType.h>
12#include <aws/ec2/model/StatisticType.h>
48 template <
typename IdT = Aws::String>
50 m_idHasBeenSet =
true;
51 m_id = std::forward<IdT>(value);
53 template <
typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
67 template <
typename SourceT = Aws::String>
69 m_sourceHasBeenSet =
true;
70 m_source = std::forward<SourceT>(value);
72 template <
typename SourceT = Aws::String>
86 template <
typename DestinationT = Aws::String>
88 m_destinationHasBeenSet =
true;
89 m_destination = std::forward<DestinationT>(value);
91 template <
typename DestinationT = Aws::String>
105 m_metricHasBeenSet =
true;
124 m_statisticHasBeenSet =
true;
140 m_periodHasBeenSet =
true;
160 bool m_idHasBeenSet =
false;
161 bool m_sourceHasBeenSet =
false;
162 bool m_destinationHasBeenSet =
false;
163 bool m_metricHasBeenSet =
false;
164 bool m_statisticHasBeenSet =
false;
165 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