AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalyGroupTimeSeriesFeedback.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LookoutMetrics
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeriesFeedback();
37 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAnomalyGroupId() const{ return m_anomalyGroupId; }
45 inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; }
46 inline void SetAnomalyGroupId(const Aws::String& value) { m_anomalyGroupIdHasBeenSet = true; m_anomalyGroupId = value; }
47 inline void SetAnomalyGroupId(Aws::String&& value) { m_anomalyGroupIdHasBeenSet = true; m_anomalyGroupId = std::move(value); }
48 inline void SetAnomalyGroupId(const char* value) { m_anomalyGroupIdHasBeenSet = true; m_anomalyGroupId.assign(value); }
50 inline AnomalyGroupTimeSeriesFeedback& WithAnomalyGroupId(Aws::String&& value) { SetAnomalyGroupId(std::move(value)); return *this;}
51 inline AnomalyGroupTimeSeriesFeedback& WithAnomalyGroupId(const char* value) { SetAnomalyGroupId(value); return *this;}
53
55
58 inline const Aws::String& GetTimeSeriesId() const{ return m_timeSeriesId; }
59 inline bool TimeSeriesIdHasBeenSet() const { return m_timeSeriesIdHasBeenSet; }
60 inline void SetTimeSeriesId(const Aws::String& value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId = value; }
61 inline void SetTimeSeriesId(Aws::String&& value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId = std::move(value); }
62 inline void SetTimeSeriesId(const char* value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId.assign(value); }
63 inline AnomalyGroupTimeSeriesFeedback& WithTimeSeriesId(const Aws::String& value) { SetTimeSeriesId(value); return *this;}
64 inline AnomalyGroupTimeSeriesFeedback& WithTimeSeriesId(Aws::String&& value) { SetTimeSeriesId(std::move(value)); return *this;}
65 inline AnomalyGroupTimeSeriesFeedback& WithTimeSeriesId(const char* value) { SetTimeSeriesId(value); return *this;}
67
69
72 inline bool GetIsAnomaly() const{ return m_isAnomaly; }
73 inline bool IsAnomalyHasBeenSet() const { return m_isAnomalyHasBeenSet; }
74 inline void SetIsAnomaly(bool value) { m_isAnomalyHasBeenSet = true; m_isAnomaly = value; }
75 inline AnomalyGroupTimeSeriesFeedback& WithIsAnomaly(bool value) { SetIsAnomaly(value); return *this;}
77 private:
78
79 Aws::String m_anomalyGroupId;
80 bool m_anomalyGroupIdHasBeenSet = false;
81
82 Aws::String m_timeSeriesId;
83 bool m_timeSeriesIdHasBeenSet = false;
84
85 bool m_isAnomaly;
86 bool m_isAnomalyHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LookoutMetrics
91} // namespace Aws
AnomalyGroupTimeSeriesFeedback & WithTimeSeriesId(const Aws::String &value)
AnomalyGroupTimeSeriesFeedback & WithTimeSeriesId(Aws::String &&value)
AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeriesFeedback & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyGroupTimeSeriesFeedback & WithAnomalyGroupId(const char *value)
AnomalyGroupTimeSeriesFeedback & WithTimeSeriesId(const char *value)
AnomalyGroupTimeSeriesFeedback & WithAnomalyGroupId(Aws::String &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AnomalyGroupTimeSeriesFeedback & WithAnomalyGroupId(const Aws::String &value)
AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeriesFeedback(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue