AWS SDK for C++  1.9.109
AWS SDK for C++
GetAnomalyGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace LookoutMetrics
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetAnomalyGroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetAnomalyGroupId() const{ return m_anomalyGroupId; }
39 
43  inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; }
44 
48  inline void SetAnomalyGroupId(const Aws::String& value) { m_anomalyGroupIdHasBeenSet = true; m_anomalyGroupId = value; }
49 
53  inline void SetAnomalyGroupId(Aws::String&& value) { m_anomalyGroupIdHasBeenSet = true; m_anomalyGroupId = std::move(value); }
54 
58  inline void SetAnomalyGroupId(const char* value) { m_anomalyGroupIdHasBeenSet = true; m_anomalyGroupId.assign(value); }
59 
63  inline GetAnomalyGroupRequest& WithAnomalyGroupId(const Aws::String& value) { SetAnomalyGroupId(value); return *this;}
64 
68  inline GetAnomalyGroupRequest& WithAnomalyGroupId(Aws::String&& value) { SetAnomalyGroupId(std::move(value)); return *this;}
69 
73  inline GetAnomalyGroupRequest& WithAnomalyGroupId(const char* value) { SetAnomalyGroupId(value); return *this;}
74 
75 
79  inline const Aws::String& GetAnomalyDetectorArn() const{ return m_anomalyDetectorArn; }
80 
84  inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; }
85 
89  inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = value; }
90 
94  inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::move(value); }
95 
99  inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn.assign(value); }
100 
104  inline GetAnomalyGroupRequest& WithAnomalyDetectorArn(const Aws::String& value) { SetAnomalyDetectorArn(value); return *this;}
105 
109  inline GetAnomalyGroupRequest& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
110 
114  inline GetAnomalyGroupRequest& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
115 
116  private:
117 
118  Aws::String m_anomalyGroupId;
119  bool m_anomalyGroupIdHasBeenSet;
120 
121  Aws::String m_anomalyDetectorArn;
122  bool m_anomalyDetectorArnHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace LookoutMetrics
127 } // namespace Aws
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(const char *value)
Definition: GetAnomalyGroupRequest.h:99
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::WithAnomalyGroupId
GetAnomalyGroupRequest & WithAnomalyGroupId(Aws::String &&value)
Definition: GetAnomalyGroupRequest.h:68
LookoutMetricsRequest.h
AWS_LOOKOUTMETRICS_API
#define AWS_LOOKOUTMETRICS_API
Definition: LookoutMetrics_EXPORTS.h:28
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::GetAnomalyGroupId
const Aws::String & GetAnomalyGroupId() const
Definition: GetAnomalyGroupRequest.h:38
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest
Definition: GetAnomalyGroupRequest.h:22
Aws::LookoutMetrics::LookoutMetricsRequest
Definition: LookoutMetricsRequest.h:17
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::SetAnomalyGroupId
void SetAnomalyGroupId(Aws::String &&value)
Definition: GetAnomalyGroupRequest.h:53
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::GetAnomalyDetectorArn
const Aws::String & GetAnomalyDetectorArn() const
Definition: GetAnomalyGroupRequest.h:79
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::AnomalyGroupIdHasBeenSet
bool AnomalyGroupIdHasBeenSet() const
Definition: GetAnomalyGroupRequest.h:43
LookoutMetrics_EXPORTS.h
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::WithAnomalyDetectorArn
GetAnomalyGroupRequest & WithAnomalyDetectorArn(Aws::String &&value)
Definition: GetAnomalyGroupRequest.h:109
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::GetAnomalyGroupRequest
GetAnomalyGroupRequest()
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::SetAnomalyGroupId
void SetAnomalyGroupId(const char *value)
Definition: GetAnomalyGroupRequest.h:58
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::WithAnomalyDetectorArn
GetAnomalyGroupRequest & WithAnomalyDetectorArn(const char *value)
Definition: GetAnomalyGroupRequest.h:114
AWSString.h
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::WithAnomalyGroupId
GetAnomalyGroupRequest & WithAnomalyGroupId(const Aws::String &value)
Definition: GetAnomalyGroupRequest.h:63
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::WithAnomalyDetectorArn
GetAnomalyGroupRequest & WithAnomalyDetectorArn(const Aws::String &value)
Definition: GetAnomalyGroupRequest.h:104
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::SetAnomalyGroupId
void SetAnomalyGroupId(const Aws::String &value)
Definition: GetAnomalyGroupRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(const Aws::String &value)
Definition: GetAnomalyGroupRequest.h:89
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(Aws::String &&value)
Definition: GetAnomalyGroupRequest.h:94
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetAnomalyGroupRequest.h:30
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::AnomalyDetectorArnHasBeenSet
bool AnomalyDetectorArnHasBeenSet() const
Definition: GetAnomalyGroupRequest.h:84
Aws::LookoutMetrics::Model::GetAnomalyGroupRequest::WithAnomalyGroupId
GetAnomalyGroupRequest & WithAnomalyGroupId(const char *value)
Definition: GetAnomalyGroupRequest.h:73