AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteAnomalyDetectorRequest.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/monitoring/CloudWatchRequest.h>
9#include <aws/monitoring/model/SingleMetricAnomalyDetector.h>
10#include <aws/monitoring/model/MetricMathAnomalyDetector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudWatch
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDWATCH_API DeleteAnomalyDetectorRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteAnomalyDetector"; }
32
33 AWS_CLOUDWATCH_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
52 inline const SingleMetricAnomalyDetector& GetSingleMetricAnomalyDetector() const { return m_singleMetricAnomalyDetector; }
53 inline bool SingleMetricAnomalyDetectorHasBeenSet() const { return m_singleMetricAnomalyDetectorHasBeenSet; }
54 template<typename SingleMetricAnomalyDetectorT = SingleMetricAnomalyDetector>
55 void SetSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT&& value) { m_singleMetricAnomalyDetectorHasBeenSet = true; m_singleMetricAnomalyDetector = std::forward<SingleMetricAnomalyDetectorT>(value); }
56 template<typename SingleMetricAnomalyDetectorT = SingleMetricAnomalyDetector>
57 DeleteAnomalyDetectorRequest& WithSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT&& value) { SetSingleMetricAnomalyDetector(std::forward<SingleMetricAnomalyDetectorT>(value)); return *this;}
59
61
72 inline const MetricMathAnomalyDetector& GetMetricMathAnomalyDetector() const { return m_metricMathAnomalyDetector; }
73 inline bool MetricMathAnomalyDetectorHasBeenSet() const { return m_metricMathAnomalyDetectorHasBeenSet; }
74 template<typename MetricMathAnomalyDetectorT = MetricMathAnomalyDetector>
75 void SetMetricMathAnomalyDetector(MetricMathAnomalyDetectorT&& value) { m_metricMathAnomalyDetectorHasBeenSet = true; m_metricMathAnomalyDetector = std::forward<MetricMathAnomalyDetectorT>(value); }
76 template<typename MetricMathAnomalyDetectorT = MetricMathAnomalyDetector>
77 DeleteAnomalyDetectorRequest& WithMetricMathAnomalyDetector(MetricMathAnomalyDetectorT&& value) { SetMetricMathAnomalyDetector(std::forward<MetricMathAnomalyDetectorT>(value)); return *this;}
79 private:
80
81 SingleMetricAnomalyDetector m_singleMetricAnomalyDetector;
82 bool m_singleMetricAnomalyDetectorHasBeenSet = false;
83
84 MetricMathAnomalyDetector m_metricMathAnomalyDetector;
85 bool m_metricMathAnomalyDetectorHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CloudWatch
90} // namespace Aws
void SetMetricMathAnomalyDetector(MetricMathAnomalyDetectorT &&value)
void SetSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT &&value)
const MetricMathAnomalyDetector & GetMetricMathAnomalyDetector() const
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteAnomalyDetectorRequest & WithSingleMetricAnomalyDetector(SingleMetricAnomalyDetectorT &&value)
const SingleMetricAnomalyDetector & GetSingleMetricAnomalyDetector() const
DeleteAnomalyDetectorRequest & WithMetricMathAnomalyDetector(MetricMathAnomalyDetectorT &&value)
AWS_CLOUDWATCH_API DeleteAnomalyDetectorRequest()=default
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String