AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
TimeSeriesFeedback.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
33 {
34 public:
35 AWS_LOOKOUTMETRICS_API TimeSeriesFeedback() = default;
36 AWS_LOOKOUTMETRICS_API TimeSeriesFeedback(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTMETRICS_API TimeSeriesFeedback& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTimeSeriesId() const { return m_timeSeriesId; }
46 inline bool TimeSeriesIdHasBeenSet() const { return m_timeSeriesIdHasBeenSet; }
47 template<typename TimeSeriesIdT = Aws::String>
48 void SetTimeSeriesId(TimeSeriesIdT&& value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId = std::forward<TimeSeriesIdT>(value); }
49 template<typename TimeSeriesIdT = Aws::String>
50 TimeSeriesFeedback& WithTimeSeriesId(TimeSeriesIdT&& value) { SetTimeSeriesId(std::forward<TimeSeriesIdT>(value)); return *this;}
52
54
57 inline bool GetIsAnomaly() const { return m_isAnomaly; }
58 inline bool IsAnomalyHasBeenSet() const { return m_isAnomalyHasBeenSet; }
59 inline void SetIsAnomaly(bool value) { m_isAnomalyHasBeenSet = true; m_isAnomaly = value; }
60 inline TimeSeriesFeedback& WithIsAnomaly(bool value) { SetIsAnomaly(value); return *this;}
62 private:
63
64 Aws::String m_timeSeriesId;
65 bool m_timeSeriesIdHasBeenSet = false;
66
67 bool m_isAnomaly{false};
68 bool m_isAnomalyHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace LookoutMetrics
73} // namespace Aws
TimeSeriesFeedback & WithTimeSeriesId(TimeSeriesIdT &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
TimeSeriesFeedback & WithIsAnomaly(bool value)
AWS_LOOKOUTMETRICS_API TimeSeriesFeedback(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API TimeSeriesFeedback & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API TimeSeriesFeedback()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue