AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
AnomalyDetectorConfiguration.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/RandomCutForestConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PrometheusService {
20namespace Model {
21
29 public:
30 AWS_PROMETHEUSSERVICE_API AnomalyDetectorConfiguration() = default;
31 AWS_PROMETHEUSSERVICE_API AnomalyDetectorConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const RandomCutForestConfiguration& GetRandomCutForest() const { return m_randomCutForest; }
40 inline bool RandomCutForestHasBeenSet() const { return m_randomCutForestHasBeenSet; }
41 template <typename RandomCutForestT = RandomCutForestConfiguration>
42 void SetRandomCutForest(RandomCutForestT&& value) {
43 m_randomCutForestHasBeenSet = true;
44 m_randomCutForest = std::forward<RandomCutForestT>(value);
45 }
46 template <typename RandomCutForestT = RandomCutForestConfiguration>
48 SetRandomCutForest(std::forward<RandomCutForestT>(value));
49 return *this;
50 }
52 private:
53 RandomCutForestConfiguration m_randomCutForest;
54 bool m_randomCutForestHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace PrometheusService
59} // namespace Aws
AnomalyDetectorConfiguration & WithRandomCutForest(RandomCutForestT &&value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROMETHEUSSERVICE_API AnomalyDetectorConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API AnomalyDetectorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API AnomalyDetectorConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue