AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSingleMetricAnomalyDetector(const SingleMetricAnomalyDetector& value) { m_singleMetricAnomalyDetectorHasBeenSet = true; m_singleMetricAnomalyDetector = value; }
55 inline void SetSingleMetricAnomalyDetector(SingleMetricAnomalyDetector&& value) { m_singleMetricAnomalyDetectorHasBeenSet = true; m_singleMetricAnomalyDetector = std::move(value); }
59
61
72 inline const MetricMathAnomalyDetector& GetMetricMathAnomalyDetector() const{ return m_metricMathAnomalyDetector; }
73 inline bool MetricMathAnomalyDetectorHasBeenSet() const { return m_metricMathAnomalyDetectorHasBeenSet; }
74 inline void SetMetricMathAnomalyDetector(const MetricMathAnomalyDetector& value) { m_metricMathAnomalyDetectorHasBeenSet = true; m_metricMathAnomalyDetector = value; }
75 inline void SetMetricMathAnomalyDetector(MetricMathAnomalyDetector&& value) { m_metricMathAnomalyDetectorHasBeenSet = true; m_metricMathAnomalyDetector = std::move(value); }
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
DeleteAnomalyDetectorRequest & WithSingleMetricAnomalyDetector(const SingleMetricAnomalyDetector &value)
DeleteAnomalyDetectorRequest & WithMetricMathAnomalyDetector(MetricMathAnomalyDetector &&value)
void SetSingleMetricAnomalyDetector(SingleMetricAnomalyDetector &&value)
const MetricMathAnomalyDetector & GetMetricMathAnomalyDetector() const
DeleteAnomalyDetectorRequest & WithSingleMetricAnomalyDetector(SingleMetricAnomalyDetector &&value)
AWS_CLOUDWATCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetSingleMetricAnomalyDetector(const SingleMetricAnomalyDetector &value)
DeleteAnomalyDetectorRequest & WithMetricMathAnomalyDetector(const MetricMathAnomalyDetector &value)
const SingleMetricAnomalyDetector & GetSingleMetricAnomalyDetector() const
void SetMetricMathAnomalyDetector(MetricMathAnomalyDetector &&value)
void SetMetricMathAnomalyDetector(const MetricMathAnomalyDetector &value)
AWS_CLOUDWATCH_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String