7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/ComparisonOperator.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53/model/Statistic.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/route53/model/Dimension.h>
53 inline void SetEvaluationPeriods(
int value) { m_evaluationPeriodsHasBeenSet =
true; m_evaluationPeriods = value; }
64 inline void SetThreshold(
double value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
86 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
96 template<
typename MetricNameT = Aws::String>
97 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
98 template<
typename MetricNameT = Aws::String>
112 template<
typename NamespaceT = Aws::String>
113 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
114 template<
typename NamespaceT = Aws::String>
140 template<
typename DimensionsT = Aws::Vector<Dimension>>
141 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions = std::forward<DimensionsT>(value); }
142 template<
typename DimensionsT = Aws::Vector<Dimension>>
144 template<
typename DimensionsT = Dimension>
149 int m_evaluationPeriods{0};
150 bool m_evaluationPeriodsHasBeenSet =
false;
152 double m_threshold{0.0};
153 bool m_thresholdHasBeenSet =
false;
156 bool m_comparisonOperatorHasBeenSet =
false;
159 bool m_periodHasBeenSet =
false;
162 bool m_metricNameHasBeenSet =
false;
165 bool m_namespaceHasBeenSet =
false;
168 bool m_statisticHasBeenSet =
false;
171 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