7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/MetricPoint.h>
12#include <aws/ec2/model/MetricType.h>
13#include <aws/ec2/model/PeriodType.h>
14#include <aws/ec2/model/StatisticType.h>
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
66 template <
typename SourceT = Aws::String>
68 m_sourceHasBeenSet =
true;
69 m_source = std::forward<SourceT>(value);
71 template <
typename SourceT = Aws::String>
85 template <
typename DestinationT = Aws::String>
87 m_destinationHasBeenSet =
true;
88 m_destination = std::forward<DestinationT>(value);
90 template <
typename DestinationT = Aws::String>
104 m_metricHasBeenSet =
true;
120 m_statisticHasBeenSet =
true;
136 m_periodHasBeenSet =
true;
151 template <
typename MetricPo
intsT = Aws::Vector<MetricPo
int>>
153 m_metricPointsHasBeenSet =
true;
154 m_metricPoints = std::forward<MetricPointsT>(value);
156 template <
typename MetricPo
intsT = Aws::Vector<MetricPo
int>>
161 template <
typename MetricPo
intsT = MetricPo
int>
163 m_metricPointsHasBeenSet =
true;
164 m_metricPoints.emplace_back(std::forward<MetricPointsT>(value));
182 bool m_idHasBeenSet =
false;
183 bool m_sourceHasBeenSet =
false;
184 bool m_destinationHasBeenSet =
false;
185 bool m_metricHasBeenSet =
false;
186 bool m_statisticHasBeenSet =
false;
187 bool m_periodHasBeenSet =
false;
188 bool m_metricPointsHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DataResponse & WithDestination(DestinationT &&value)
void SetMetricPoints(MetricPointsT &&value)
const Aws::Vector< MetricPoint > & GetMetricPoints() const
DataResponse & WithSource(SourceT &&value)
bool SourceHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool PeriodHasBeenSet() const
AWS_EC2_API DataResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DataResponse & WithMetricPoints(MetricPointsT &&value)
void SetPeriod(PeriodType value)
DataResponse & WithMetric(MetricType value)
StatisticType GetStatistic() const
bool DestinationHasBeenSet() const
DataResponse & WithPeriod(PeriodType value)
AWS_EC2_API DataResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
DataResponse & WithId(IdT &&value)
bool MetricPointsHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetSource() const
void SetMetric(MetricType value)
PeriodType GetPeriod() const
const Aws::String & GetDestination() const
const Aws::String & GetId() const
bool StatisticHasBeenSet() const
void SetDestination(DestinationT &&value)
DataResponse & WithStatistic(StatisticType value)
DataResponse & AddMetricPoints(MetricPointsT &&value)
void SetSource(SourceT &&value)
AWS_EC2_API DataResponse()=default
bool MetricHasBeenSet() const
MetricType GetMetric() const
void SetStatistic(StatisticType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream