AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DetectMetricSetConfigRequest.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/LookoutMetricsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutmetrics/model/AutoDetectionMetricSource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LookoutMetrics
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTMETRICS_API DetectMetricSetConfigRequest() = 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 "DetectMetricSetConfig"; }
32
33 AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; }
41 inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; }
42 template<typename AnomalyDetectorArnT = Aws::String>
43 void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::forward<AnomalyDetectorArnT>(value); }
44 template<typename AnomalyDetectorArnT = Aws::String>
45 DetectMetricSetConfigRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { SetAnomalyDetectorArn(std::forward<AnomalyDetectorArnT>(value)); return *this;}
47
49
52 inline const AutoDetectionMetricSource& GetAutoDetectionMetricSource() const { return m_autoDetectionMetricSource; }
53 inline bool AutoDetectionMetricSourceHasBeenSet() const { return m_autoDetectionMetricSourceHasBeenSet; }
54 template<typename AutoDetectionMetricSourceT = AutoDetectionMetricSource>
55 void SetAutoDetectionMetricSource(AutoDetectionMetricSourceT&& value) { m_autoDetectionMetricSourceHasBeenSet = true; m_autoDetectionMetricSource = std::forward<AutoDetectionMetricSourceT>(value); }
56 template<typename AutoDetectionMetricSourceT = AutoDetectionMetricSource>
57 DetectMetricSetConfigRequest& WithAutoDetectionMetricSource(AutoDetectionMetricSourceT&& value) { SetAutoDetectionMetricSource(std::forward<AutoDetectionMetricSourceT>(value)); return *this;}
59 private:
60
61 Aws::String m_anomalyDetectorArn;
62 bool m_anomalyDetectorArnHasBeenSet = false;
63
64 AutoDetectionMetricSource m_autoDetectionMetricSource;
65 bool m_autoDetectionMetricSourceHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace LookoutMetrics
70} // namespace Aws
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
const AutoDetectionMetricSource & GetAutoDetectionMetricSource() const
AWS_LOOKOUTMETRICS_API DetectMetricSetConfigRequest()=default
void SetAutoDetectionMetricSource(AutoDetectionMetricSourceT &&value)
DetectMetricSetConfigRequest & WithAnomalyDetectorArn(AnomalyDetectorArnT &&value)
DetectMetricSetConfigRequest & WithAutoDetectionMetricSource(AutoDetectionMetricSourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String