AWS SDK for C++  1.9.44
AWS SDK for C++
DescribeAnomalyDetectorRequest.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 "DescribeAnomalyDetector"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetAnomalyDetectorArn() const{ return m_anomalyDetectorArn; }
39 
43  inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; }
44 
48  inline void SetAnomalyDetectorArn(const Aws::String& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = value; }
49 
53  inline void SetAnomalyDetectorArn(Aws::String&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::move(value); }
54 
58  inline void SetAnomalyDetectorArn(const char* value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn.assign(value); }
59 
63  inline DescribeAnomalyDetectorRequest& WithAnomalyDetectorArn(const Aws::String& value) { SetAnomalyDetectorArn(value); return *this;}
64 
68  inline DescribeAnomalyDetectorRequest& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
69 
73  inline DescribeAnomalyDetectorRequest& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
74 
75  private:
76 
77  Aws::String m_anomalyDetectorArn;
78  bool m_anomalyDetectorArnHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace LookoutMetrics
83 } // namespace Aws
LookoutMetricsRequest.h
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::AnomalyDetectorArnHasBeenSet
bool AnomalyDetectorArnHasBeenSet() const
Definition: DescribeAnomalyDetectorRequest.h:43
AWS_LOOKOUTMETRICS_API
#define AWS_LOOKOUTMETRICS_API
Definition: LookoutMetrics_EXPORTS.h:28
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest
Definition: DescribeAnomalyDetectorRequest.h:22
Aws::LookoutMetrics::LookoutMetricsRequest
Definition: LookoutMetricsRequest.h:17
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::WithAnomalyDetectorArn
DescribeAnomalyDetectorRequest & WithAnomalyDetectorArn(const char *value)
Definition: DescribeAnomalyDetectorRequest.h:73
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(const Aws::String &value)
Definition: DescribeAnomalyDetectorRequest.h:48
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::WithAnomalyDetectorArn
DescribeAnomalyDetectorRequest & WithAnomalyDetectorArn(const Aws::String &value)
Definition: DescribeAnomalyDetectorRequest.h:63
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(Aws::String &&value)
Definition: DescribeAnomalyDetectorRequest.h:53
LookoutMetrics_EXPORTS.h
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAnomalyDetectorRequest.h:30
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::WithAnomalyDetectorArn
DescribeAnomalyDetectorRequest & WithAnomalyDetectorArn(Aws::String &&value)
Definition: DescribeAnomalyDetectorRequest.h:68
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::SetAnomalyDetectorArn
void SetAnomalyDetectorArn(const char *value)
Definition: DescribeAnomalyDetectorRequest.h:58
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::DescribeAnomalyDetectorRequest
DescribeAnomalyDetectorRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutMetrics::Model::DescribeAnomalyDetectorRequest::GetAnomalyDetectorArn
const Aws::String & GetAnomalyDetectorArn() const
Definition: DescribeAnomalyDetectorRequest.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97