AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AnomalyDetectorArnT = Aws::String>
43 void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { m_anomalyDetectorArnHasBeenSet = true; m_anomalyDetectorArn = std::forward<AnomalyDetectorArnT>(value); }
44 template<typename AnomalyDetectorArnT = Aws::String>
45 GetFeedbackRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { SetAnomalyDetectorArn(std::forward<AnomalyDetectorArnT>(value)); return *this;}
47
49
52 inline const AnomalyGroupTimeSeries& GetAnomalyGroupTimeSeriesFeedback() const { return m_anomalyGroupTimeSeriesFeedback; }
53 inline bool AnomalyGroupTimeSeriesFeedbackHasBeenSet() const { return m_anomalyGroupTimeSeriesFeedbackHasBeenSet; }
54 template<typename AnomalyGroupTimeSeriesFeedbackT = AnomalyGroupTimeSeries>
55 void SetAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT&& value) { m_anomalyGroupTimeSeriesFeedbackHasBeenSet = true; m_anomalyGroupTimeSeriesFeedback = std::forward<AnomalyGroupTimeSeriesFeedbackT>(value); }
56 template<typename AnomalyGroupTimeSeriesFeedbackT = AnomalyGroupTimeSeries>
57 GetFeedbackRequest& WithAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT&& value) { SetAnomalyGroupTimeSeriesFeedback(std::forward<AnomalyGroupTimeSeriesFeedbackT>(value)); return *this;}
59
61
64 inline int GetMaxResults() const { return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline GetFeedbackRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 template<typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
79 template<typename NextTokenT = Aws::String>
80 GetFeedbackRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
82 private:
83
84 Aws::String m_anomalyDetectorArn;
85 bool m_anomalyDetectorArnHasBeenSet = false;
86
87 AnomalyGroupTimeSeries m_anomalyGroupTimeSeriesFeedback;
88 bool m_anomalyGroupTimeSeriesFeedbackHasBeenSet = false;
89
90 int m_maxResults{0};
91 bool m_maxResultsHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace LookoutMetrics
99} // namespace Aws
GetFeedbackRequest & WithAnomalyDetectorArn(AnomalyDetectorArnT &&value)
const AnomalyGroupTimeSeries & GetAnomalyGroupTimeSeriesFeedback() const
GetFeedbackRequest & WithAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT &&value)
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
void SetAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT &&value)
AWS_LOOKOUTMETRICS_API GetFeedbackRequest()=default
void SetAnomalyDetectorArn(AnomalyDetectorArnT &&value)
GetFeedbackRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
GetFeedbackRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String