AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = value; }
43 inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::move(value); }
44 inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn.assign(value); }
46 inline DetectMetricSetConfigRequest& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
47 inline DetectMetricSetConfigRequest& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
49
51
54 inline const AutoDetectionMetricSource& GetAutoDetectionMetricSource() const{ return m_autoDetectionMetricSource; }
55 inline bool AutoDetectionMetricSourceHasBeenSet() const { return m_autoDetectionMetricSourceHasBeenSet; }
56 inline void SetAutoDetectionMetricSource(const AutoDetectionMetricSource& value) { m_autoDetectionMetricSourceHasBeenSet = true; m_autoDetectionMetricSource = value; }
57 inline void SetAutoDetectionMetricSource(AutoDetectionMetricSource&& value) { m_autoDetectionMetricSourceHasBeenSet = true; m_autoDetectionMetricSource = std::move(value); }
61 private:
62
63 Aws::String m_anomalyDetectorArn;
64 bool m_anomalyDetectorArnHasBeenSet = false;
65
66 AutoDetectionMetricSource m_autoDetectionMetricSource;
67 bool m_autoDetectionMetricSourceHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace LookoutMetrics
72} // namespace Aws
DetectMetricSetConfigRequest & WithAutoDetectionMetricSource(const AutoDetectionMetricSource &value)
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
DetectMetricSetConfigRequest & WithAnomalyDetectorArn(const char *value)
const AutoDetectionMetricSource & GetAutoDetectionMetricSource() const
void SetAutoDetectionMetricSource(const AutoDetectionMetricSource &value)
DetectMetricSetConfigRequest & WithAutoDetectionMetricSource(AutoDetectionMetricSource &&value)
DetectMetricSetConfigRequest & WithAnomalyDetectorArn(Aws::String &&value)
DetectMetricSetConfigRequest & WithAnomalyDetectorArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String