7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/monitoring/model/AnomalyDetectorConfiguration.h>
10#include <aws/monitoring/model/AnomalyDetectorStateValue.h>
11#include <aws/monitoring/model/MetricCharacteristics.h>
12#include <aws/monitoring/model/SingleMetricAnomalyDetector.h>
13#include <aws/monitoring/model/MetricMathAnomalyDetector.h>
59 template<
typename ConfigurationT = AnomalyDetectorConfiguration>
60 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
61 template<
typename ConfigurationT = AnomalyDetectorConfiguration>
83 template<
typename MetricCharacteristicsT = MetricCharacteristics>
84 void SetMetricCharacteristics(MetricCharacteristicsT&& value) { m_metricCharacteristicsHasBeenSet =
true; m_metricCharacteristics = std::forward<MetricCharacteristicsT>(value); }
85 template<
typename MetricCharacteristicsT = MetricCharacteristics>
95 template<
typename SingleMetricAnomalyDetectorT = SingleMetricAnomalyDetector>
96 void SetSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT&& value) { m_singleMetricAnomalyDetectorHasBeenSet =
true; m_singleMetricAnomalyDetector = std::forward<SingleMetricAnomalyDetectorT>(value); }
97 template<
typename SingleMetricAnomalyDetectorT = SingleMetricAnomalyDetector>
107 template<
typename MetricMathAnomalyDetectorT = MetricMathAnomalyDetector>
108 void SetMetricMathAnomalyDetector(MetricMathAnomalyDetectorT&& value) { m_metricMathAnomalyDetectorHasBeenSet =
true; m_metricMathAnomalyDetector = std::forward<MetricMathAnomalyDetectorT>(value); }
109 template<
typename MetricMathAnomalyDetectorT = MetricMathAnomalyDetector>
115 bool m_configurationHasBeenSet =
false;
118 bool m_stateValueHasBeenSet =
false;
120 MetricCharacteristics m_metricCharacteristics;
121 bool m_metricCharacteristicsHasBeenSet =
false;
123 SingleMetricAnomalyDetector m_singleMetricAnomalyDetector;
124 bool m_singleMetricAnomalyDetectorHasBeenSet =
false;
126 MetricMathAnomalyDetector m_metricMathAnomalyDetector;
127 bool m_metricMathAnomalyDetectorHasBeenSet =
false;
void SetMetricCharacteristics(MetricCharacteristicsT &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDWATCH_API AnomalyDetector & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const SingleMetricAnomalyDetector & GetSingleMetricAnomalyDetector() const
bool MetricCharacteristicsHasBeenSet() const
AnomalyDetector & WithMetricMathAnomalyDetector(MetricMathAnomalyDetectorT &&value)
const AnomalyDetectorConfiguration & GetConfiguration() const
bool SingleMetricAnomalyDetectorHasBeenSet() const
AnomalyDetectorStateValue GetStateValue() const
AnomalyDetector & WithSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT &&value)
bool ConfigurationHasBeenSet() const
void SetStateValue(AnomalyDetectorStateValue value)
bool StateValueHasBeenSet() const
AnomalyDetector & WithMetricCharacteristics(MetricCharacteristicsT &&value)
AnomalyDetector & WithConfiguration(ConfigurationT &&value)
const MetricMathAnomalyDetector & GetMetricMathAnomalyDetector() const
AWS_CLOUDWATCH_API AnomalyDetector(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT &&value)
bool MetricMathAnomalyDetectorHasBeenSet() const
void SetMetricMathAnomalyDetector(MetricMathAnomalyDetectorT &&value)
const MetricCharacteristics & GetMetricCharacteristics() const
AnomalyDetector & WithStateValue(AnomalyDetectorStateValue value)
void SetConfiguration(ConfigurationT &&value)
AWS_CLOUDWATCH_API AnomalyDetector()=default
AnomalyDetectorStateValue
std::basic_ostream< char, std::char_traits< char > > OStream