AWS SDK for C++  1.9.109
AWS SDK for C++
UpdateAnomalyDetectorRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace LookoutMetrics
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetAnomalyDetectorArn() const{ return m_anomalyDetectorArn; }
40 
44  inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; }
45 
49  inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = value; }
50 
54  inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::move(value); }
55 
59  inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn.assign(value); }
60 
64  inline UpdateAnomalyDetectorRequest& WithAnomalyDetectorArn(const Aws::String& value) { SetAnomalyDetectorArn(value); return *this;}
65 
69  inline UpdateAnomalyDetectorRequest& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
70 
74  inline UpdateAnomalyDetectorRequest& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
75 
76 
80  inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
81 
85  inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
86 
90  inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
91 
95  inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
96 
100  inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
101 
105  inline UpdateAnomalyDetectorRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
106 
110  inline UpdateAnomalyDetectorRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
111 
115  inline UpdateAnomalyDetectorRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
116 
117 
121  inline const Aws::String& GetAnomalyDetectorDescription() const{ return m_anomalyDetectorDescription; }
122 
126  inline bool AnomalyDetectorDescriptionHasBeenSet() const { return m_anomalyDetectorDescriptionHasBeenSet; }
127 
131  inline void SetAnomalyDetectorDescription(const Aws::String& value) { m_anomalyDetectorDescriptionHasBeenSet = true; m_anomalyDetectorDescription = value; }
132 
136  inline void SetAnomalyDetectorDescription(Aws::String&& value) { m_anomalyDetectorDescriptionHasBeenSet = true; m_anomalyDetectorDescription = std::move(value); }
137 
141  inline void SetAnomalyDetectorDescription(const char* value) { m_anomalyDetectorDescriptionHasBeenSet = true; m_anomalyDetectorDescription.assign(value); }
142 
146  inline UpdateAnomalyDetectorRequest& WithAnomalyDetectorDescription(const Aws::String& value) { SetAnomalyDetectorDescription(value); return *this;}
147 
151  inline UpdateAnomalyDetectorRequest& WithAnomalyDetectorDescription(Aws::String&& value) { SetAnomalyDetectorDescription(std::move(value)); return *this;}
152 
156  inline UpdateAnomalyDetectorRequest& WithAnomalyDetectorDescription(const char* value) { SetAnomalyDetectorDescription(value); return *this;}
157 
158 
163  inline const AnomalyDetectorConfig& GetAnomalyDetectorConfig() const{ return m_anomalyDetectorConfig; }
164 
169  inline bool AnomalyDetectorConfigHasBeenSet() const { return m_anomalyDetectorConfigHasBeenSet; }
170 
175  inline void SetAnomalyDetectorConfig(const AnomalyDetectorConfig& value) { m_anomalyDetectorConfigHasBeenSet = true; m_anomalyDetectorConfig = value; }
176 
181  inline void SetAnomalyDetectorConfig(AnomalyDetectorConfig&& value) { m_anomalyDetectorConfigHasBeenSet = true; m_anomalyDetectorConfig = std::move(value); }
182 
187  inline UpdateAnomalyDetectorRequest& WithAnomalyDetectorConfig(const AnomalyDetectorConfig& value) { SetAnomalyDetectorConfig(value); return *this;}
188 
193  inline UpdateAnomalyDetectorRequest& WithAnomalyDetectorConfig(AnomalyDetectorConfig&& value) { SetAnomalyDetectorConfig(std::move(value)); return *this;}
194 
195  private:
196 
197  Aws::String m_anomalyDetectorArn;
198  bool m_anomalyDetectorArnHasBeenSet;
199 
200  Aws::String m_kmsKeyArn;
201  bool m_kmsKeyArnHasBeenSet;
202 
203  Aws::String m_anomalyDetectorDescription;
204  bool m_anomalyDetectorDescriptionHasBeenSet;
205 
206  AnomalyDetectorConfig m_anomalyDetectorConfig;
207  bool m_anomalyDetectorConfigHasBeenSet;
208  };
209 
210 } // namespace Model
211 } // namespace LookoutMetrics
212 } // namespace Aws
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetAnomalyDetectorDescription
void SetAnomalyDetectorDescription(const char *value)
Definition: UpdateAnomalyDetectorRequest.h:141
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithKmsKeyArn
UpdateAnomalyDetectorRequest & WithKmsKeyArn(const char *value)
Definition: UpdateAnomalyDetectorRequest.h:115
LookoutMetricsRequest.h
AWS_LOOKOUTMETRICS_API
#define AWS_LOOKOUTMETRICS_API
Definition: LookoutMetrics_EXPORTS.h:28
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithAnomalyDetectorDescription
UpdateAnomalyDetectorRequest & WithAnomalyDetectorDescription(const Aws::String &value)
Definition: UpdateAnomalyDetectorRequest.h:146
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetAnomalyDetectorConfig
void SetAnomalyDetectorConfig(AnomalyDetectorConfig &&value)
Definition: UpdateAnomalyDetectorRequest.h:181
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetAnomalyDetectorDescription
void SetAnomalyDetectorDescription(Aws::String &&value)
Definition: UpdateAnomalyDetectorRequest.h:136
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithAnomalyDetectorDescription
UpdateAnomalyDetectorRequest & WithAnomalyDetectorDescription(Aws::String &&value)
Definition: UpdateAnomalyDetectorRequest.h:151
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(const Aws::String &value)
Definition: UpdateAnomalyDetectorRequest.h:49
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithAnomalyDetectorArn
UpdateAnomalyDetectorRequest & WithAnomalyDetectorArn(const char *value)
Definition: UpdateAnomalyDetectorRequest.h:74
AnomalyDetectorConfig.h
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::UpdateAnomalyDetectorRequest
UpdateAnomalyDetectorRequest()
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::AnomalyDetectorConfigHasBeenSet
bool AnomalyDetectorConfigHasBeenSet() const
Definition: UpdateAnomalyDetectorRequest.h:169
Aws::LookoutMetrics::LookoutMetricsRequest
Definition: LookoutMetricsRequest.h:17
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(Aws::String &&value)
Definition: UpdateAnomalyDetectorRequest.h:54
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithAnomalyDetectorArn
UpdateAnomalyDetectorRequest & WithAnomalyDetectorArn(Aws::String &&value)
Definition: UpdateAnomalyDetectorRequest.h:69
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::AnomalyDetectorArnHasBeenSet
bool AnomalyDetectorArnHasBeenSet() const
Definition: UpdateAnomalyDetectorRequest.h:44
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::AnomalyDetectorDescriptionHasBeenSet
bool AnomalyDetectorDescriptionHasBeenSet() const
Definition: UpdateAnomalyDetectorRequest.h:126
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithAnomalyDetectorDescription
UpdateAnomalyDetectorRequest & WithAnomalyDetectorDescription(const char *value)
Definition: UpdateAnomalyDetectorRequest.h:156
LookoutMetrics_EXPORTS.h
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::GetKmsKeyArn
const Aws::String & GetKmsKeyArn() const
Definition: UpdateAnomalyDetectorRequest.h:80
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::KmsKeyArnHasBeenSet
bool KmsKeyArnHasBeenSet() const
Definition: UpdateAnomalyDetectorRequest.h:85
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithAnomalyDetectorConfig
UpdateAnomalyDetectorRequest & WithAnomalyDetectorConfig(AnomalyDetectorConfig &&value)
Definition: UpdateAnomalyDetectorRequest.h:193
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetKmsKeyArn
void SetKmsKeyArn(Aws::String &&value)
Definition: UpdateAnomalyDetectorRequest.h:95
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest
Definition: UpdateAnomalyDetectorRequest.h:23
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithAnomalyDetectorArn
UpdateAnomalyDetectorRequest & WithAnomalyDetectorArn(const Aws::String &value)
Definition: UpdateAnomalyDetectorRequest.h:64
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::GetAnomalyDetectorArn
const Aws::String & GetAnomalyDetectorArn() const
Definition: UpdateAnomalyDetectorRequest.h:39
AWSString.h
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetKmsKeyArn
void SetKmsKeyArn(const Aws::String &value)
Definition: UpdateAnomalyDetectorRequest.h:90
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithKmsKeyArn
UpdateAnomalyDetectorRequest & WithKmsKeyArn(Aws::String &&value)
Definition: UpdateAnomalyDetectorRequest.h:110
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(const char *value)
Definition: UpdateAnomalyDetectorRequest.h:59
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetAnomalyDetectorDescription
void SetAnomalyDetectorDescription(const Aws::String &value)
Definition: UpdateAnomalyDetectorRequest.h:131
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetAnomalyDetectorConfig
void SetAnomalyDetectorConfig(const AnomalyDetectorConfig &value)
Definition: UpdateAnomalyDetectorRequest.h:175
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithAnomalyDetectorConfig
UpdateAnomalyDetectorRequest & WithAnomalyDetectorConfig(const AnomalyDetectorConfig &value)
Definition: UpdateAnomalyDetectorRequest.h:187
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::GetAnomalyDetectorConfig
const AnomalyDetectorConfig & GetAnomalyDetectorConfig() const
Definition: UpdateAnomalyDetectorRequest.h:163
Aws::LookoutMetrics::Model::AnomalyDetectorConfig
Definition: AnomalyDetectorConfig.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::GetAnomalyDetectorDescription
const Aws::String & GetAnomalyDetectorDescription() const
Definition: UpdateAnomalyDetectorRequest.h:121
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::WithKmsKeyArn
UpdateAnomalyDetectorRequest & WithKmsKeyArn(const Aws::String &value)
Definition: UpdateAnomalyDetectorRequest.h:105
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::SetKmsKeyArn
void SetKmsKeyArn(const char *value)
Definition: UpdateAnomalyDetectorRequest.h:100
Aws::LookoutMetrics::Model::UpdateAnomalyDetectorRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateAnomalyDetectorRequest.h:31