AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictorBaseline.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/forecast/model/BaselineMetric.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ForecastService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_FORECASTSERVICE_API PredictorBaseline();
38 AWS_FORECASTSERVICE_API PredictorBaseline(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FORECASTSERVICE_API PredictorBaseline& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::Vector<BaselineMetric>& GetBaselineMetrics() const{ return m_baselineMetrics; }
51 inline bool BaselineMetricsHasBeenSet() const { return m_baselineMetricsHasBeenSet; }
52 inline void SetBaselineMetrics(const Aws::Vector<BaselineMetric>& value) { m_baselineMetricsHasBeenSet = true; m_baselineMetrics = value; }
53 inline void SetBaselineMetrics(Aws::Vector<BaselineMetric>&& value) { m_baselineMetricsHasBeenSet = true; m_baselineMetrics = std::move(value); }
55 inline PredictorBaseline& WithBaselineMetrics(Aws::Vector<BaselineMetric>&& value) { SetBaselineMetrics(std::move(value)); return *this;}
56 inline PredictorBaseline& AddBaselineMetrics(const BaselineMetric& value) { m_baselineMetricsHasBeenSet = true; m_baselineMetrics.push_back(value); return *this; }
57 inline PredictorBaseline& AddBaselineMetrics(BaselineMetric&& value) { m_baselineMetricsHasBeenSet = true; m_baselineMetrics.push_back(std::move(value)); return *this; }
59 private:
60
61 Aws::Vector<BaselineMetric> m_baselineMetrics;
62 bool m_baselineMetricsHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace ForecastService
67} // namespace Aws
void SetBaselineMetrics(Aws::Vector< BaselineMetric > &&value)
PredictorBaseline & WithBaselineMetrics(const Aws::Vector< BaselineMetric > &value)
PredictorBaseline & AddBaselineMetrics(BaselineMetric &&value)
void SetBaselineMetrics(const Aws::Vector< BaselineMetric > &value)
PredictorBaseline & AddBaselineMetrics(const BaselineMetric &value)
AWS_FORECASTSERVICE_API PredictorBaseline & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictorBaseline & WithBaselineMetrics(Aws::Vector< BaselineMetric > &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< BaselineMetric > & GetBaselineMetrics() const
AWS_FORECASTSERVICE_API PredictorBaseline(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue