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>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/MetricPoint.h>
54 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
55 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
70 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
85 inline void SetDestination(
const char* value) { m_destinationHasBeenSet =
true; m_destination.assign(value); }
143 bool m_idHasBeenSet =
false;
146 bool m_sourceHasBeenSet =
false;
149 bool m_destinationHasBeenSet =
false;
152 bool m_metricHasBeenSet =
false;
155 bool m_statisticHasBeenSet =
false;
158 bool m_periodHasBeenSet =
false;
161 bool m_metricPointsHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DataResponse & WithMetric(const MetricType &value)
const Aws::Vector< MetricPoint > & GetMetricPoints() const
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)
const StatisticType & GetStatistic() const
void SetStatistic(StatisticType &&value)
const PeriodType & GetPeriod() const
DataResponse & WithPeriod(PeriodType &&value)
void SetId(const char *value)
DataResponse & WithMetric(MetricType &&value)
DataResponse & WithMetricPoints(Aws::Vector< MetricPoint > &&value)
bool DestinationHasBeenSet() const
DataResponse & AddMetricPoints(const MetricPoint &value)
AWS_EC2_API DataResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
DataResponse & WithSource(Aws::String &&value)
void SetMetricPoints(const Aws::Vector< MetricPoint > &value)
bool MetricPointsHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetSource() const
AWS_EC2_API DataResponse()
void SetMetricPoints(Aws::Vector< MetricPoint > &&value)
const MetricType & GetMetric() const
DataResponse & WithSource(const char *value)
DataResponse & WithId(const Aws::String &value)
DataResponse & WithId(Aws::String &&value)
void SetId(Aws::String &&value)
DataResponse & WithPeriod(const PeriodType &value)
const Aws::String & GetDestination() const
void SetPeriod(PeriodType &&value)
const Aws::String & GetId() const
bool StatisticHasBeenSet() const
DataResponse & WithDestination(const char *value)
DataResponse & WithStatistic(StatisticType &&value)
void SetSource(const char *value)
void SetDestination(const Aws::String &value)
void SetStatistic(const StatisticType &value)
void SetMetric(MetricType &&value)
void SetPeriod(const PeriodType &value)
DataResponse & WithDestination(Aws::String &&value)
DataResponse & WithDestination(const Aws::String &value)
DataResponse & WithSource(const Aws::String &value)
void SetSource(Aws::String &&value)
void SetDestination(Aws::String &&value)
DataResponse & WithId(const char *value)
DataResponse & AddMetricPoints(MetricPoint &&value)
bool MetricHasBeenSet() const
DataResponse & WithMetricPoints(const Aws::Vector< MetricPoint > &value)
DataResponse & WithStatistic(const StatisticType &value)
void SetDestination(const char *value)
void SetMetric(const MetricType &value)
void SetId(const Aws::String &value)
void SetSource(const Aws::String &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