7#include <aws/crt/cbor/Cbor.h>
8#include <aws/monitoring/CloudWatch_EXPORTS.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/MetricMathAnomalyDetector.h>
13#include <aws/monitoring/model/SingleMetricAnomalyDetector.h>
39 AWS_CLOUDWATCH_API
AnomalyDetector(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
41 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
51 template <
typename ConfigurationT = AnomalyDetectorConfiguration>
53 m_configurationHasBeenSet =
true;
54 m_configuration = std::forward<ConfigurationT>(value);
56 template <
typename ConfigurationT = AnomalyDetectorConfiguration>
70 m_stateValueHasBeenSet =
true;
87 template <
typename MetricCharacteristicsT = MetricCharacteristics>
89 m_metricCharacteristicsHasBeenSet =
true;
90 m_metricCharacteristics = std::forward<MetricCharacteristicsT>(value);
92 template <
typename MetricCharacteristicsT = MetricCharacteristics>
105 template <
typename SingleMetricAnomalyDetectorT = SingleMetricAnomalyDetector>
107 m_singleMetricAnomalyDetectorHasBeenSet =
true;
108 m_singleMetricAnomalyDetector = std::forward<SingleMetricAnomalyDetectorT>(value);
110 template <
typename SingleMetricAnomalyDetectorT = SingleMetricAnomalyDetector>
123 template <
typename MetricMathAnomalyDetectorT = MetricMathAnomalyDetector>
125 m_metricMathAnomalyDetectorHasBeenSet =
true;
126 m_metricMathAnomalyDetector = std::forward<MetricMathAnomalyDetectorT>(value);
128 template <
typename MetricMathAnomalyDetectorT = MetricMathAnomalyDetector>
139 MetricCharacteristics m_metricCharacteristics;
141 SingleMetricAnomalyDetector m_singleMetricAnomalyDetector;
143 MetricMathAnomalyDetector m_metricMathAnomalyDetector;
144 bool m_configurationHasBeenSet =
false;
145 bool m_stateValueHasBeenSet =
false;
146 bool m_metricCharacteristicsHasBeenSet =
false;
147 bool m_singleMetricAnomalyDetectorHasBeenSet =
false;
148 bool m_metricMathAnomalyDetectorHasBeenSet =
false;
void SetMetricCharacteristics(MetricCharacteristicsT &&value)
AWS_CLOUDWATCH_API AnomalyDetector & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const SingleMetricAnomalyDetector & GetSingleMetricAnomalyDetector() const
bool MetricCharacteristicsHasBeenSet() const
AnomalyDetector & WithMetricMathAnomalyDetector(MetricMathAnomalyDetectorT &&value)
AWS_CLOUDWATCH_API AnomalyDetector(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
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
void SetSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT &&value)
bool MetricMathAnomalyDetectorHasBeenSet() const
void SetMetricMathAnomalyDetector(MetricMathAnomalyDetectorT &&value)
const MetricCharacteristics & GetMetricCharacteristics() const
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AnomalyDetector & WithStateValue(AnomalyDetectorStateValue value)
void SetConfiguration(ConfigurationT &&value)
AWS_CLOUDWATCH_API AnomalyDetector()=default
AnomalyDetectorStateValue