7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/monitoring/CloudWatch_EXPORTS.h>
10#include <aws/monitoring/model/AnomalyDetectorConfiguration.h>
11#include <aws/monitoring/model/AnomalyDetectorStateValue.h>
12#include <aws/monitoring/model/MetricCharacteristics.h>
13#include <aws/monitoring/model/MetricMathAnomalyDetector.h>
14#include <aws/monitoring/model/SingleMetricAnomalyDetector.h>
40 AWS_CLOUDWATCH_API
AnomalyDetector(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
42 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
53 template <
typename AnomalyDetectorIdT = Aws::String>
55 m_anomalyDetectorIdHasBeenSet =
true;
56 m_anomalyDetectorId = std::forward<AnomalyDetectorIdT>(value);
58 template <
typename AnomalyDetectorIdT = Aws::String>
73 template <
typename ConfigurationT = AnomalyDetectorConfiguration>
75 m_configurationHasBeenSet =
true;
76 m_configuration = std::forward<ConfigurationT>(value);
78 template <
typename ConfigurationT = AnomalyDetectorConfiguration>
92 m_stateValueHasBeenSet =
true;
109 template <
typename MetricCharacteristicsT = MetricCharacteristics>
111 m_metricCharacteristicsHasBeenSet =
true;
112 m_metricCharacteristics = std::forward<MetricCharacteristicsT>(value);
114 template <
typename MetricCharacteristicsT = MetricCharacteristics>
127 template <
typename SingleMetricAnomalyDetectorT = SingleMetricAnomalyDetector>
129 m_singleMetricAnomalyDetectorHasBeenSet =
true;
130 m_singleMetricAnomalyDetector = std::forward<SingleMetricAnomalyDetectorT>(value);
132 template <
typename SingleMetricAnomalyDetectorT = SingleMetricAnomalyDetector>
145 template <
typename MetricMathAnomalyDetectorT = MetricMathAnomalyDetector>
147 m_metricMathAnomalyDetectorHasBeenSet =
true;
148 m_metricMathAnomalyDetector = std::forward<MetricMathAnomalyDetectorT>(value);
150 template <
typename MetricMathAnomalyDetectorT = MetricMathAnomalyDetector>
163 MetricCharacteristics m_metricCharacteristics;
165 SingleMetricAnomalyDetector m_singleMetricAnomalyDetector;
167 MetricMathAnomalyDetector m_metricMathAnomalyDetector;
168 bool m_anomalyDetectorIdHasBeenSet =
false;
169 bool m_configurationHasBeenSet =
false;
170 bool m_stateValueHasBeenSet =
false;
171 bool m_metricCharacteristicsHasBeenSet =
false;
172 bool m_singleMetricAnomalyDetectorHasBeenSet =
false;
173 bool m_metricMathAnomalyDetectorHasBeenSet =
false;
const Aws::String & GetAnomalyDetectorId() const
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
void SetAnomalyDetectorId(AnomalyDetectorIdT &&value)
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AnomalyDetector & WithStateValue(AnomalyDetectorStateValue value)
void SetConfiguration(ConfigurationT &&value)
bool AnomalyDetectorIdHasBeenSet() const
AnomalyDetector & WithAnomalyDetectorId(AnomalyDetectorIdT &&value)
AWS_CLOUDWATCH_API AnomalyDetector()=default
AnomalyDetectorStateValue
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String