AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutFeedbackRequest.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/AnomalyGroupTimeSeriesFeedback.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LookoutMetrics
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTMETRICS_API PutFeedbackRequest();
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 "PutFeedback"; }
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 PutFeedbackRequest& WithAnomalyDetectorArn(const Aws::String& value) { SetAnomalyDetectorArn(value); return *this;}
46 inline PutFeedbackRequest& WithAnomalyDetectorArn(Aws::String&& value) { SetAnomalyDetectorArn(std::move(value)); return *this;}
47 inline PutFeedbackRequest& WithAnomalyDetectorArn(const char* value) { SetAnomalyDetectorArn(value); return *this;}
49
51
54 inline const AnomalyGroupTimeSeriesFeedback& GetAnomalyGroupTimeSeriesFeedback() const{ return m_anomalyGroupTimeSeriesFeedback; }
55 inline bool AnomalyGroupTimeSeriesFeedbackHasBeenSet() const { return m_anomalyGroupTimeSeriesFeedbackHasBeenSet; }
56 inline void SetAnomalyGroupTimeSeriesFeedback(const AnomalyGroupTimeSeriesFeedback& value) { m_anomalyGroupTimeSeriesFeedbackHasBeenSet = true; m_anomalyGroupTimeSeriesFeedback = value; }
57 inline void SetAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedback&& value) { m_anomalyGroupTimeSeriesFeedbackHasBeenSet = true; m_anomalyGroupTimeSeriesFeedback = std::move(value); }
61 private:
62
63 Aws::String m_anomalyDetectorArn;
64 bool m_anomalyDetectorArnHasBeenSet = false;
65
66 AnomalyGroupTimeSeriesFeedback m_anomalyGroupTimeSeriesFeedback;
67 bool m_anomalyGroupTimeSeriesFeedbackHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace LookoutMetrics
72} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetAnomalyGroupTimeSeriesFeedback(const AnomalyGroupTimeSeriesFeedback &value)
void SetAnomalyDetectorArn(const Aws::String &value)
PutFeedbackRequest & WithAnomalyDetectorArn(const Aws::String &value)
PutFeedbackRequest & WithAnomalyGroupTimeSeriesFeedback(const AnomalyGroupTimeSeriesFeedback &value)
void SetAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedback &&value)
PutFeedbackRequest & WithAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedback &&value)
PutFeedbackRequest & WithAnomalyDetectorArn(const char *value)
const AnomalyGroupTimeSeriesFeedback & GetAnomalyGroupTimeSeriesFeedback() const
AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override
PutFeedbackRequest & WithAnomalyDetectorArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String