AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 UpdateAnomalyDetectorRequest& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
47 inline UpdateAnomalyDetectorRequest& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
49
51
54 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
55 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
56 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
57 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
58 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
59 inline UpdateAnomalyDetectorRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
60 inline UpdateAnomalyDetectorRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
61 inline UpdateAnomalyDetectorRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
63
65
68 inline const Aws::String& GetAnomalyDetectorDescription() const{ return m_anomalyDetectorDescription; }
69 inline bool AnomalyDetectorDescriptionHasBeenSet() const { return m_anomalyDetectorDescriptionHasBeenSet; }
70 inline void SetAnomalyDetectorDescription(const Aws::String& value) { m_anomalyDetectorDescriptionHasBeenSet = true; m_anomalyDetectorDescription = value; }
71 inline void SetAnomalyDetectorDescription(Aws::String&& value) { m_anomalyDetectorDescriptionHasBeenSet = true; m_anomalyDetectorDescription = std::move(value); }
72 inline void SetAnomalyDetectorDescription(const char* value) { m_anomalyDetectorDescriptionHasBeenSet = true; m_anomalyDetectorDescription.assign(value); }
77
79
83 inline const AnomalyDetectorConfig& GetAnomalyDetectorConfig() const{ return m_anomalyDetectorConfig; }
84 inline bool AnomalyDetectorConfigHasBeenSet() const { return m_anomalyDetectorConfigHasBeenSet; }
85 inline void SetAnomalyDetectorConfig(const AnomalyDetectorConfig& value) { m_anomalyDetectorConfigHasBeenSet = true; m_anomalyDetectorConfig = value; }
86 inline void SetAnomalyDetectorConfig(AnomalyDetectorConfig&& value) { m_anomalyDetectorConfigHasBeenSet = true; m_anomalyDetectorConfig = std::move(value); }
90 private:
91
92 Aws::String m_anomalyDetectorArn;
93 bool m_anomalyDetectorArnHasBeenSet = false;
94
95 Aws::String m_kmsKeyArn;
96 bool m_kmsKeyArnHasBeenSet = false;
97
98 Aws::String m_anomalyDetectorDescription;
99 bool m_anomalyDetectorDescriptionHasBeenSet = false;
100
101 AnomalyDetectorConfig m_anomalyDetectorConfig;
102 bool m_anomalyDetectorConfigHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace LookoutMetrics
107} // namespace Aws
UpdateAnomalyDetectorRequest & WithAnomalyDetectorArn(const char *value)
UpdateAnomalyDetectorRequest & WithKmsKeyArn(const Aws::String &value)
UpdateAnomalyDetectorRequest & WithAnomalyDetectorArn(const Aws::String &value)
UpdateAnomalyDetectorRequest & WithAnomalyDetectorDescription(Aws::String &&value)
UpdateAnomalyDetectorRequest & WithAnomalyDetectorDescription(const char *value)
UpdateAnomalyDetectorRequest & WithAnomalyDetectorConfig(AnomalyDetectorConfig &&value)
UpdateAnomalyDetectorRequest & WithAnomalyDetectorDescription(const Aws::String &value)
UpdateAnomalyDetectorRequest & WithKmsKeyArn(const char *value)
UpdateAnomalyDetectorRequest & WithAnomalyDetectorArn(Aws::String &&value)
UpdateAnomalyDetectorRequest & WithAnomalyDetectorConfig(const AnomalyDetectorConfig &value)
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
UpdateAnomalyDetectorRequest & WithKmsKeyArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String