AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalyGroupTimeSeries.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 AnomalyGroupTimeSeries();
35 AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeries(Aws::Utils::Json::JsonView jsonValue);
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); }
49 inline AnomalyGroupTimeSeries& WithAnomalyGroupId(const Aws::String& value) { SetAnomalyGroupId(value); return *this;}
50 inline AnomalyGroupTimeSeries& WithAnomalyGroupId(Aws::String&& value) { SetAnomalyGroupId(std::move(value)); return *this;}
51 inline AnomalyGroupTimeSeries& 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 AnomalyGroupTimeSeries& WithTimeSeriesId(const Aws::String& value) { SetTimeSeriesId(value); return *this;}
64 inline AnomalyGroupTimeSeries& WithTimeSeriesId(Aws::String&& value) { SetTimeSeriesId(std::move(value)); return *this;}
65 inline AnomalyGroupTimeSeries& WithTimeSeriesId(const char* value) { SetTimeSeriesId(value); return *this;}
67 private:
68
69 Aws::String m_anomalyGroupId;
70 bool m_anomalyGroupIdHasBeenSet = false;
71
72 Aws::String m_timeSeriesId;
73 bool m_timeSeriesIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LookoutMetrics
78} // namespace Aws
AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeries & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyGroupTimeSeries & WithAnomalyGroupId(Aws::String &&value)
AnomalyGroupTimeSeries & WithTimeSeriesId(const char *value)
AnomalyGroupTimeSeries & WithTimeSeriesId(const Aws::String &value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AnomalyGroupTimeSeries & WithAnomalyGroupId(const Aws::String &value)
AnomalyGroupTimeSeries & WithTimeSeriesId(Aws::String &&value)
AnomalyGroupTimeSeries & WithAnomalyGroupId(const char *value)
AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeries(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue