7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/ComparisonOperator.h>
11#include <aws/route53/model/Dimension.h>
12#include <aws/route53/model/Statistic.h>
48 m_evaluationPeriodsHasBeenSet =
true;
49 m_evaluationPeriods = value;
65 m_thresholdHasBeenSet =
true;
82 m_comparisonOperatorHasBeenSet =
true;
83 m_comparisonOperator = value;
99 m_periodHasBeenSet =
true;
114 template <
typename MetricNameT = Aws::String>
116 m_metricNameHasBeenSet =
true;
117 m_metricName = std::forward<MetricNameT>(value);
119 template <
typename MetricNameT = Aws::String>
136 template <
typename NamespaceT = Aws::String>
138 m_namespaceHasBeenSet =
true;
139 m_namespace = std::forward<NamespaceT>(value);
141 template <
typename NamespaceT = Aws::String>
156 m_statisticHasBeenSet =
true;
176 template <
typename DimensionsT = Aws::Vector<Dimension>>
178 m_dimensionsHasBeenSet =
true;
179 m_dimensions = std::forward<DimensionsT>(value);
181 template <
typename DimensionsT = Aws::Vector<Dimension>>
186 template <
typename DimensionsT = Dimension>
188 m_dimensionsHasBeenSet =
true;
189 m_dimensions.emplace_back(std::forward<DimensionsT>(value));
194 int m_evaluationPeriods{0};
196 double m_threshold{0.0};
209 bool m_evaluationPeriodsHasBeenSet =
false;
210 bool m_thresholdHasBeenSet =
false;
211 bool m_comparisonOperatorHasBeenSet =
false;
212 bool m_periodHasBeenSet =
false;
213 bool m_metricNameHasBeenSet =
false;
214 bool m_namespaceHasBeenSet =
false;
215 bool m_statisticHasBeenSet =
false;
216 bool m_dimensionsHasBeenSet =
false;
CloudWatchAlarmConfiguration & AddDimensions(DimensionsT &&value)
double GetThreshold() const
void SetMetricName(MetricNameT &&value)
bool DimensionsHasBeenSet() const
void SetStatistic(Statistic value)
const Aws::Vector< Dimension > & GetDimensions() const
AWS_ROUTE53_API CloudWatchAlarmConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNamespace(NamespaceT &&value)
void SetComparisonOperator(ComparisonOperator value)
CloudWatchAlarmConfiguration & WithComparisonOperator(ComparisonOperator value)
CloudWatchAlarmConfiguration & WithNamespace(NamespaceT &&value)
bool PeriodHasBeenSet() const
bool NamespaceHasBeenSet() const
bool EvaluationPeriodsHasBeenSet() const
void SetPeriod(int value)
Statistic GetStatistic() const
bool MetricNameHasBeenSet() const
AWS_ROUTE53_API CloudWatchAlarmConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudWatchAlarmConfiguration & WithEvaluationPeriods(int value)
void SetThreshold(double value)
ComparisonOperator GetComparisonOperator() const
bool StatisticHasBeenSet() const
int GetEvaluationPeriods() const
CloudWatchAlarmConfiguration & WithStatistic(Statistic value)
void SetEvaluationPeriods(int value)
CloudWatchAlarmConfiguration & WithMetricName(MetricNameT &&value)
const Aws::String & GetMetricName() const
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_ROUTE53_API CloudWatchAlarmConfiguration()=default
bool ThresholdHasBeenSet() const
CloudWatchAlarmConfiguration & WithDimensions(DimensionsT &&value)
void SetDimensions(DimensionsT &&value)
CloudWatchAlarmConfiguration & WithThreshold(double value)
CloudWatchAlarmConfiguration & WithPeriod(int value)
bool ComparisonOperatorHasBeenSet() const
const Aws::String & GetNamespace() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector