7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/monitoring/model/AnomalyDetectorConfiguration.h>
10#include <aws/monitoring/model/MetricCharacteristics.h>
11#include <aws/monitoring/model/SingleMetricAnomalyDetector.h>
12#include <aws/monitoring/model/MetricMathAnomalyDetector.h>
51 template<
typename ConfigurationT = AnomalyDetectorConfiguration>
52 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
53 template<
typename ConfigurationT = AnomalyDetectorConfiguration>
65 template<
typename MetricCharacteristicsT = MetricCharacteristics>
66 void SetMetricCharacteristics(MetricCharacteristicsT&& value) { m_metricCharacteristicsHasBeenSet =
true; m_metricCharacteristics = std::forward<MetricCharacteristicsT>(value); }
67 template<
typename MetricCharacteristicsT = MetricCharacteristics>
85 template<
typename SingleMetricAnomalyDetectorT = SingleMetricAnomalyDetector>
86 void SetSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT&& value) { m_singleMetricAnomalyDetectorHasBeenSet =
true; m_singleMetricAnomalyDetector = std::forward<SingleMetricAnomalyDetectorT>(value); }
87 template<
typename SingleMetricAnomalyDetectorT = SingleMetricAnomalyDetector>
105 template<
typename MetricMathAnomalyDetectorT = MetricMathAnomalyDetector>
106 void SetMetricMathAnomalyDetector(MetricMathAnomalyDetectorT&& value) { m_metricMathAnomalyDetectorHasBeenSet =
true; m_metricMathAnomalyDetector = std::forward<MetricMathAnomalyDetectorT>(value); }
107 template<
typename MetricMathAnomalyDetectorT = MetricMathAnomalyDetector>
113 bool m_configurationHasBeenSet =
false;
116 bool m_metricCharacteristicsHasBeenSet =
false;
119 bool m_singleMetricAnomalyDetectorHasBeenSet =
false;
122 bool m_metricMathAnomalyDetectorHasBeenSet =
false;
AWS_CLOUDWATCH_API PutAnomalyDetectorRequest()=default
const MetricMathAnomalyDetector & GetMetricMathAnomalyDetector() const
const SingleMetricAnomalyDetector & GetSingleMetricAnomalyDetector() const
void SetSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT &&value)
PutAnomalyDetectorRequest & WithConfiguration(ConfigurationT &&value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetMetricCharacteristics(MetricCharacteristicsT &&value)
void SetConfiguration(ConfigurationT &&value)
bool SingleMetricAnomalyDetectorHasBeenSet() const
bool ConfigurationHasBeenSet() const
const AnomalyDetectorConfiguration & GetConfiguration() const
virtual const char * GetServiceRequestName() const override
PutAnomalyDetectorRequest & WithMetricCharacteristics(MetricCharacteristicsT &&value)
PutAnomalyDetectorRequest & WithMetricMathAnomalyDetector(MetricMathAnomalyDetectorT &&value)
PutAnomalyDetectorRequest & WithSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT &&value)
bool MetricCharacteristicsHasBeenSet() const
bool MetricMathAnomalyDetectorHasBeenSet() const
void SetMetricMathAnomalyDetector(MetricMathAnomalyDetectorT &&value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
const MetricCharacteristics & GetMetricCharacteristics() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String