AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAnomalyDetectorRequest.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/AnomalyDetectorConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LookoutMetrics
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTMETRICS_API UpdateAnomalyDetectorRequest() = 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 "UpdateAnomalyDetector"; }
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 UpdateAnomalyDetectorRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { SetAnomalyDetectorArn(std::forward<AnomalyDetectorArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
53 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
54 template<typename KmsKeyArnT = Aws::String>
55 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
56 template<typename KmsKeyArnT = Aws::String>
57 UpdateAnomalyDetectorRequest& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetAnomalyDetectorDescription() const { return m_anomalyDetectorDescription; }
65 inline bool AnomalyDetectorDescriptionHasBeenSet() const { return m_anomalyDetectorDescriptionHasBeenSet; }
66 template<typename AnomalyDetectorDescriptionT = Aws::String>
67 void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { m_anomalyDetectorDescriptionHasBeenSet = true; m_anomalyDetectorDescription = std::forward<AnomalyDetectorDescriptionT>(value); }
68 template<typename AnomalyDetectorDescriptionT = Aws::String>
69 UpdateAnomalyDetectorRequest& WithAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { SetAnomalyDetectorDescription(std::forward<AnomalyDetectorDescriptionT>(value)); return *this;}
71
73
77 inline const AnomalyDetectorConfig& GetAnomalyDetectorConfig() const { return m_anomalyDetectorConfig; }
78 inline bool AnomalyDetectorConfigHasBeenSet() const { return m_anomalyDetectorConfigHasBeenSet; }
79 template<typename AnomalyDetectorConfigT = AnomalyDetectorConfig>
80 void SetAnomalyDetectorConfig(AnomalyDetectorConfigT&& value) { m_anomalyDetectorConfigHasBeenSet = true; m_anomalyDetectorConfig = std::forward<AnomalyDetectorConfigT>(value); }
81 template<typename AnomalyDetectorConfigT = AnomalyDetectorConfig>
82 UpdateAnomalyDetectorRequest& WithAnomalyDetectorConfig(AnomalyDetectorConfigT&& value) { SetAnomalyDetectorConfig(std::forward<AnomalyDetectorConfigT>(value)); return *this;}
84 private:
85
86 Aws::String m_anomalyDetectorArn;
87 bool m_anomalyDetectorArnHasBeenSet = false;
88
89 Aws::String m_kmsKeyArn;
90 bool m_kmsKeyArnHasBeenSet = false;
91
92 Aws::String m_anomalyDetectorDescription;
93 bool m_anomalyDetectorDescriptionHasBeenSet = false;
94
95 AnomalyDetectorConfig m_anomalyDetectorConfig;
96 bool m_anomalyDetectorConfigHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace LookoutMetrics
101} // namespace Aws
void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT &&value)
UpdateAnomalyDetectorRequest & WithAnomalyDetectorConfig(AnomalyDetectorConfigT &&value)
AWS_LOOKOUTMETRICS_API UpdateAnomalyDetectorRequest()=default
UpdateAnomalyDetectorRequest & WithKmsKeyArn(KmsKeyArnT &&value)
UpdateAnomalyDetectorRequest & WithAnomalyDetectorDescription(AnomalyDetectorDescriptionT &&value)
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
UpdateAnomalyDetectorRequest & WithAnomalyDetectorArn(AnomalyDetectorArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String