AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename AnomalyGroupIdT = Aws::String>
47 void SetAnomalyGroupId(AnomalyGroupIdT&& value) { m_anomalyGroupIdHasBeenSet = true; m_anomalyGroupId = std::forward<AnomalyGroupIdT>(value); }
48 template<typename AnomalyGroupIdT = Aws::String>
49 AnomalyGroupTimeSeriesFeedback& WithAnomalyGroupId(AnomalyGroupIdT&& value) { SetAnomalyGroupId(std::forward<AnomalyGroupIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetTimeSeriesId() const { return m_timeSeriesId; }
57 inline bool TimeSeriesIdHasBeenSet() const { return m_timeSeriesIdHasBeenSet; }
58 template<typename TimeSeriesIdT = Aws::String>
59 void SetTimeSeriesId(TimeSeriesIdT&& value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId = std::forward<TimeSeriesIdT>(value); }
60 template<typename TimeSeriesIdT = Aws::String>
61 AnomalyGroupTimeSeriesFeedback& WithTimeSeriesId(TimeSeriesIdT&& value) { SetTimeSeriesId(std::forward<TimeSeriesIdT>(value)); return *this;}
63
65
68 inline bool GetIsAnomaly() const { return m_isAnomaly; }
69 inline bool IsAnomalyHasBeenSet() const { return m_isAnomalyHasBeenSet; }
70 inline void SetIsAnomaly(bool value) { m_isAnomalyHasBeenSet = true; m_isAnomaly = value; }
71 inline AnomalyGroupTimeSeriesFeedback& WithIsAnomaly(bool value) { SetIsAnomaly(value); return *this;}
73 private:
74
75 Aws::String m_anomalyGroupId;
76 bool m_anomalyGroupIdHasBeenSet = false;
77
78 Aws::String m_timeSeriesId;
79 bool m_timeSeriesIdHasBeenSet = false;
80
81 bool m_isAnomaly{false};
82 bool m_isAnomalyHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace LookoutMetrics
87} // namespace Aws
AnomalyGroupTimeSeriesFeedback & WithAnomalyGroupId(AnomalyGroupIdT &&value)
AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeriesFeedback & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyGroupTimeSeriesFeedback & WithTimeSeriesId(TimeSeriesIdT &&value)
AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeriesFeedback()=default
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
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