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; }
88 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
100 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
118 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
157 int m_evaluationPeriods;
158 bool m_evaluationPeriodsHasBeenSet =
false;
161 bool m_thresholdHasBeenSet =
false;
164 bool m_comparisonOperatorHasBeenSet =
false;
167 bool m_periodHasBeenSet =
false;
170 bool m_metricNameHasBeenSet =
false;
173 bool m_namespaceHasBeenSet =
false;
176 bool m_statisticHasBeenSet =
false;
179 bool m_dimensionsHasBeenSet =
false;
double GetThreshold() const
void SetStatistic(const Statistic &value)
void SetNamespace(Aws::String &&value)
void SetNamespace(const char *value)
CloudWatchAlarmConfiguration & AddDimensions(const Dimension &value)
void SetStatistic(Statistic &&value)
CloudWatchAlarmConfiguration & WithNamespace(Aws::String &&value)
bool DimensionsHasBeenSet() const
CloudWatchAlarmConfiguration & WithDimensions(Aws::Vector< Dimension > &&value)
const Aws::Vector< Dimension > & GetDimensions() const
CloudWatchAlarmConfiguration & WithMetricName(const char *value)
AWS_ROUTE53_API CloudWatchAlarmConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const ComparisonOperator & GetComparisonOperator() const
CloudWatchAlarmConfiguration & WithNamespace(const char *value)
void SetMetricName(Aws::String &&value)
CloudWatchAlarmConfiguration & WithMetricName(const Aws::String &value)
CloudWatchAlarmConfiguration & WithMetricName(Aws::String &&value)
bool PeriodHasBeenSet() const
CloudWatchAlarmConfiguration & WithDimensions(const Aws::Vector< Dimension > &value)
CloudWatchAlarmConfiguration & WithNamespace(const Aws::String &value)
void SetDimensions(Aws::Vector< Dimension > &&value)
bool NamespaceHasBeenSet() const
const Statistic & GetStatistic() const
bool EvaluationPeriodsHasBeenSet() const
void SetDimensions(const Aws::Vector< Dimension > &value)
void SetPeriod(int value)
void SetMetricName(const Aws::String &value)
bool MetricNameHasBeenSet() const
AWS_ROUTE53_API CloudWatchAlarmConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudWatchAlarmConfiguration & WithEvaluationPeriods(int value)
void SetThreshold(double value)
bool StatisticHasBeenSet() const
int GetEvaluationPeriods() const
void SetEvaluationPeriods(int value)
CloudWatchAlarmConfiguration & WithStatistic(const Statistic &value)
const Aws::String & GetMetricName() const
CloudWatchAlarmConfiguration & WithStatistic(Statistic &&value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetComparisonOperator(const ComparisonOperator &value)
bool ThresholdHasBeenSet() const
CloudWatchAlarmConfiguration & WithComparisonOperator(ComparisonOperator &&value)
void SetMetricName(const char *value)
CloudWatchAlarmConfiguration & WithThreshold(double value)
CloudWatchAlarmConfiguration & AddDimensions(Dimension &&value)
void SetNamespace(const Aws::String &value)
CloudWatchAlarmConfiguration & WithComparisonOperator(const ComparisonOperator &value)
CloudWatchAlarmConfiguration & WithPeriod(int value)
bool ComparisonOperatorHasBeenSet() const
AWS_ROUTE53_API CloudWatchAlarmConfiguration()
void SetComparisonOperator(ComparisonOperator &&value)
const Aws::String & GetNamespace() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector