AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterRanges.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/CategoricalParameterRange.h>
10#include <aws/forecast/model/ContinuousParameterRange.h>
11#include <aws/forecast/model/IntegerParameterRange.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ForecastService
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_FORECASTSERVICE_API ParameterRanges();
42 AWS_FORECASTSERVICE_API ParameterRanges(Aws::Utils::Json::JsonView jsonValue);
43 AWS_FORECASTSERVICE_API ParameterRanges& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::Vector<CategoricalParameterRange>& GetCategoricalParameterRanges() const{ return m_categoricalParameterRanges; }
52 inline bool CategoricalParameterRangesHasBeenSet() const { return m_categoricalParameterRangesHasBeenSet; }
53 inline void SetCategoricalParameterRanges(const Aws::Vector<CategoricalParameterRange>& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges = value; }
54 inline void SetCategoricalParameterRanges(Aws::Vector<CategoricalParameterRange>&& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges = std::move(value); }
57 inline ParameterRanges& AddCategoricalParameterRanges(const CategoricalParameterRange& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges.push_back(value); return *this; }
58 inline ParameterRanges& AddCategoricalParameterRanges(CategoricalParameterRange&& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges.push_back(std::move(value)); return *this; }
60
62
65 inline const Aws::Vector<ContinuousParameterRange>& GetContinuousParameterRanges() const{ return m_continuousParameterRanges; }
66 inline bool ContinuousParameterRangesHasBeenSet() const { return m_continuousParameterRangesHasBeenSet; }
67 inline void SetContinuousParameterRanges(const Aws::Vector<ContinuousParameterRange>& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges = value; }
68 inline void SetContinuousParameterRanges(Aws::Vector<ContinuousParameterRange>&& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges = std::move(value); }
71 inline ParameterRanges& AddContinuousParameterRanges(const ContinuousParameterRange& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges.push_back(value); return *this; }
72 inline ParameterRanges& AddContinuousParameterRanges(ContinuousParameterRange&& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges.push_back(std::move(value)); return *this; }
74
76
79 inline const Aws::Vector<IntegerParameterRange>& GetIntegerParameterRanges() const{ return m_integerParameterRanges; }
80 inline bool IntegerParameterRangesHasBeenSet() const { return m_integerParameterRangesHasBeenSet; }
81 inline void SetIntegerParameterRanges(const Aws::Vector<IntegerParameterRange>& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges = value; }
82 inline void SetIntegerParameterRanges(Aws::Vector<IntegerParameterRange>&& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges = std::move(value); }
85 inline ParameterRanges& AddIntegerParameterRanges(const IntegerParameterRange& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges.push_back(value); return *this; }
86 inline ParameterRanges& AddIntegerParameterRanges(IntegerParameterRange&& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges.push_back(std::move(value)); return *this; }
88 private:
89
90 Aws::Vector<CategoricalParameterRange> m_categoricalParameterRanges;
91 bool m_categoricalParameterRangesHasBeenSet = false;
92
93 Aws::Vector<ContinuousParameterRange> m_continuousParameterRanges;
94 bool m_continuousParameterRangesHasBeenSet = false;
95
96 Aws::Vector<IntegerParameterRange> m_integerParameterRanges;
97 bool m_integerParameterRangesHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace ForecastService
102} // namespace Aws
ParameterRanges & AddIntegerParameterRanges(IntegerParameterRange &&value)
ParameterRanges & WithCategoricalParameterRanges(const Aws::Vector< CategoricalParameterRange > &value)
ParameterRanges & AddContinuousParameterRanges(ContinuousParameterRange &&value)
ParameterRanges & AddContinuousParameterRanges(const ContinuousParameterRange &value)
AWS_FORECASTSERVICE_API ParameterRanges(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CategoricalParameterRange > & GetCategoricalParameterRanges() const
ParameterRanges & WithCategoricalParameterRanges(Aws::Vector< CategoricalParameterRange > &&value)
ParameterRanges & AddCategoricalParameterRanges(CategoricalParameterRange &&value)
ParameterRanges & WithContinuousParameterRanges(Aws::Vector< ContinuousParameterRange > &&value)
void SetCategoricalParameterRanges(const Aws::Vector< CategoricalParameterRange > &value)
ParameterRanges & WithContinuousParameterRanges(const Aws::Vector< ContinuousParameterRange > &value)
ParameterRanges & AddIntegerParameterRanges(const IntegerParameterRange &value)
const Aws::Vector< IntegerParameterRange > & GetIntegerParameterRanges() const
void SetContinuousParameterRanges(const Aws::Vector< ContinuousParameterRange > &value)
ParameterRanges & WithIntegerParameterRanges(const Aws::Vector< IntegerParameterRange > &value)
AWS_FORECASTSERVICE_API ParameterRanges()
ParameterRanges & WithIntegerParameterRanges(Aws::Vector< IntegerParameterRange > &&value)
ParameterRanges & AddCategoricalParameterRanges(const CategoricalParameterRange &value)
const Aws::Vector< ContinuousParameterRange > & GetContinuousParameterRanges() const
void SetIntegerParameterRanges(const Aws::Vector< IntegerParameterRange > &value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContinuousParameterRanges(Aws::Vector< ContinuousParameterRange > &&value)
void SetCategoricalParameterRanges(Aws::Vector< CategoricalParameterRange > &&value)
AWS_FORECASTSERVICE_API ParameterRanges & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIntegerParameterRanges(Aws::Vector< IntegerParameterRange > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue