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>
47 template <
typename SourceT = Aws::String>
49 m_sourceHasBeenSet =
true;
50 m_source = std::forward<SourceT>(value);
52 template <
typename SourceT = Aws::String>
66 template <
typename DestinationT = Aws::String>
68 m_destinationHasBeenSet =
true;
69 m_destination = std::forward<DestinationT>(value);
71 template <
typename DestinationT = Aws::String>
85 m_metricHasBeenSet =
true;
101 m_statisticHasBeenSet =
true;
117 m_periodHasBeenSet =
true;
135 bool m_sourceHasBeenSet =
false;
136 bool m_destinationHasBeenSet =
false;
137 bool m_metricHasBeenSet =
false;
138 bool m_statisticHasBeenSet =
false;
139 bool m_periodHasBeenSet =
false;
Subscription & WithDestination(DestinationT &&value)
PeriodType GetPeriod() const
bool DestinationHasBeenSet() const
const Aws::String & GetSource() const
bool SourceHasBeenSet() const
AWS_EC2_API Subscription()=default
AWS_EC2_API Subscription(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatistic(StatisticType value)
bool StatisticHasBeenSet() const
Subscription & WithPeriod(PeriodType value)
void SetSource(SourceT &&value)
Subscription & WithStatistic(StatisticType value)
bool PeriodHasBeenSet() const
MetricType GetMetric() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool MetricHasBeenSet() const
const Aws::String & GetDestination() const
Subscription & WithMetric(MetricType value)
void SetPeriod(PeriodType value)
void SetMetric(MetricType value)
void SetDestination(DestinationT &&value)
Subscription & WithSource(SourceT &&value)
StatisticType GetStatistic() const
AWS_EC2_API Subscription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream