AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFeedbackRequest.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/AnomalyGroupTimeSeries.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LookoutMetrics
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTMETRICS_API GetFeedbackRequest();
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 "GetFeedback"; }
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); }
45 inline GetFeedbackRequest& WithAnomalyDetectorArn(const Aws::String& value) { SetAnomalyDetectorArn(value); return *this;}
46 inline GetFeedbackRequest& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
47 inline GetFeedbackRequest& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
49
51
54 inline const AnomalyGroupTimeSeries& GetAnomalyGroupTimeSeriesFeedback() const{ return m_anomalyGroupTimeSeriesFeedback; }
55 inline bool AnomalyGroupTimeSeriesFeedbackHasBeenSet() const { return m_anomalyGroupTimeSeriesFeedbackHasBeenSet; }
56 inline void SetAnomalyGroupTimeSeriesFeedback(const AnomalyGroupTimeSeries& value) { m_anomalyGroupTimeSeriesFeedbackHasBeenSet = true; m_anomalyGroupTimeSeriesFeedback = value; }
57 inline void SetAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeries&& value) { m_anomalyGroupTimeSeriesFeedbackHasBeenSet = true; m_anomalyGroupTimeSeriesFeedback = std::move(value); }
61
63
66 inline int GetMaxResults() const{ return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
69 inline GetFeedbackRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
71
73
77 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
80 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
81 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
82 inline GetFeedbackRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
83 inline GetFeedbackRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
84 inline GetFeedbackRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
86 private:
87
88 Aws::String m_anomalyDetectorArn;
89 bool m_anomalyDetectorArnHasBeenSet = false;
90
91 AnomalyGroupTimeSeries m_anomalyGroupTimeSeriesFeedback;
92 bool m_anomalyGroupTimeSeriesFeedbackHasBeenSet = false;
93
94 int m_maxResults;
95 bool m_maxResultsHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace LookoutMetrics
103} // namespace Aws
const AnomalyGroupTimeSeries & GetAnomalyGroupTimeSeriesFeedback() const
GetFeedbackRequest & WithAnomalyDetectorArn(Aws::String &&value)
GetFeedbackRequest & WithAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeries &&value)
GetFeedbackRequest & WithAnomalyDetectorArn(const Aws::String &value)
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
GetFeedbackRequest & WithAnomalyDetectorArn(const char *value)
GetFeedbackRequest & WithMaxResults(int value)
void SetAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeries &&value)
virtual const char * GetServiceRequestName() const override
void SetAnomalyGroupTimeSeriesFeedback(const AnomalyGroupTimeSeries &value)
GetFeedbackRequest & WithNextToken(const char *value)
GetFeedbackRequest & WithAnomalyGroupTimeSeriesFeedback(const AnomalyGroupTimeSeries &value)
GetFeedbackRequest & WithNextToken(const Aws::String &value)
void SetAnomalyDetectorArn(const Aws::String &value)
GetFeedbackRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String