AWS SDK for C++  1.9.108
AWS SDK for C++
HyperParameterRanges.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Personalize
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::Vector<IntegerHyperParameterRange>& GetIntegerHyperParameterRanges() const{ return m_integerHyperParameterRanges; }
48 
52  inline bool IntegerHyperParameterRangesHasBeenSet() const { return m_integerHyperParameterRangesHasBeenSet; }
53 
57  inline void SetIntegerHyperParameterRanges(const Aws::Vector<IntegerHyperParameterRange>& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges = value; }
58 
62  inline void SetIntegerHyperParameterRanges(Aws::Vector<IntegerHyperParameterRange>&& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges = std::move(value); }
63 
67  inline HyperParameterRanges& WithIntegerHyperParameterRanges(const Aws::Vector<IntegerHyperParameterRange>& value) { SetIntegerHyperParameterRanges(value); return *this;}
68 
72  inline HyperParameterRanges& WithIntegerHyperParameterRanges(Aws::Vector<IntegerHyperParameterRange>&& value) { SetIntegerHyperParameterRanges(std::move(value)); return *this;}
73 
77  inline HyperParameterRanges& AddIntegerHyperParameterRanges(const IntegerHyperParameterRange& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges.push_back(value); return *this; }
78 
82  inline HyperParameterRanges& AddIntegerHyperParameterRanges(IntegerHyperParameterRange&& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges.push_back(std::move(value)); return *this; }
83 
84 
88  inline const Aws::Vector<ContinuousHyperParameterRange>& GetContinuousHyperParameterRanges() const{ return m_continuousHyperParameterRanges; }
89 
93  inline bool ContinuousHyperParameterRangesHasBeenSet() const { return m_continuousHyperParameterRangesHasBeenSet; }
94 
98  inline void SetContinuousHyperParameterRanges(const Aws::Vector<ContinuousHyperParameterRange>& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges = value; }
99 
103  inline void SetContinuousHyperParameterRanges(Aws::Vector<ContinuousHyperParameterRange>&& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges = std::move(value); }
104 
108  inline HyperParameterRanges& WithContinuousHyperParameterRanges(const Aws::Vector<ContinuousHyperParameterRange>& value) { SetContinuousHyperParameterRanges(value); return *this;}
109 
113  inline HyperParameterRanges& WithContinuousHyperParameterRanges(Aws::Vector<ContinuousHyperParameterRange>&& value) { SetContinuousHyperParameterRanges(std::move(value)); return *this;}
114 
118  inline HyperParameterRanges& AddContinuousHyperParameterRanges(const ContinuousHyperParameterRange& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges.push_back(value); return *this; }
119 
123  inline HyperParameterRanges& AddContinuousHyperParameterRanges(ContinuousHyperParameterRange&& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges.push_back(std::move(value)); return *this; }
124 
125 
129  inline const Aws::Vector<CategoricalHyperParameterRange>& GetCategoricalHyperParameterRanges() const{ return m_categoricalHyperParameterRanges; }
130 
134  inline bool CategoricalHyperParameterRangesHasBeenSet() const { return m_categoricalHyperParameterRangesHasBeenSet; }
135 
139  inline void SetCategoricalHyperParameterRanges(const Aws::Vector<CategoricalHyperParameterRange>& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges = value; }
140 
144  inline void SetCategoricalHyperParameterRanges(Aws::Vector<CategoricalHyperParameterRange>&& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges = std::move(value); }
145 
149  inline HyperParameterRanges& WithCategoricalHyperParameterRanges(const Aws::Vector<CategoricalHyperParameterRange>& value) { SetCategoricalHyperParameterRanges(value); return *this;}
150 
154  inline HyperParameterRanges& WithCategoricalHyperParameterRanges(Aws::Vector<CategoricalHyperParameterRange>&& value) { SetCategoricalHyperParameterRanges(std::move(value)); return *this;}
155 
159  inline HyperParameterRanges& AddCategoricalHyperParameterRanges(const CategoricalHyperParameterRange& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges.push_back(value); return *this; }
160 
164  inline HyperParameterRanges& AddCategoricalHyperParameterRanges(CategoricalHyperParameterRange&& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges.push_back(std::move(value)); return *this; }
165 
166  private:
167 
168  Aws::Vector<IntegerHyperParameterRange> m_integerHyperParameterRanges;
169  bool m_integerHyperParameterRangesHasBeenSet;
170 
171  Aws::Vector<ContinuousHyperParameterRange> m_continuousHyperParameterRanges;
172  bool m_continuousHyperParameterRangesHasBeenSet;
173 
174  Aws::Vector<CategoricalHyperParameterRange> m_categoricalHyperParameterRanges;
175  bool m_categoricalHyperParameterRangesHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace Personalize
180 } // namespace Aws
Aws::Personalize::Model::HyperParameterRanges::SetCategoricalHyperParameterRanges
void SetCategoricalHyperParameterRanges(const Aws::Vector< CategoricalHyperParameterRange > &value)
Definition: HyperParameterRanges.h:139
Aws::Personalize::Model::IntegerHyperParameterRange
Definition: IntegerHyperParameterRange.h:33
Aws::Personalize::Model::HyperParameterRanges::GetContinuousHyperParameterRanges
const Aws::Vector< ContinuousHyperParameterRange > & GetContinuousHyperParameterRanges() const
Definition: HyperParameterRanges.h:88
Aws::Personalize::Model::HyperParameterRanges::AddIntegerHyperParameterRanges
HyperParameterRanges & AddIntegerHyperParameterRanges(IntegerHyperParameterRange &&value)
Definition: HyperParameterRanges.h:82
Aws::Personalize::Model::HyperParameterRanges::WithIntegerHyperParameterRanges
HyperParameterRanges & WithIntegerHyperParameterRanges(Aws::Vector< IntegerHyperParameterRange > &&value)
Definition: HyperParameterRanges.h:72
Aws::Personalize::Model::ContinuousHyperParameterRange
Definition: ContinuousHyperParameterRange.h:33
Aws::Personalize::Model::HyperParameterRanges::SetIntegerHyperParameterRanges
void SetIntegerHyperParameterRanges(Aws::Vector< IntegerHyperParameterRange > &&value)
Definition: HyperParameterRanges.h:62
Aws::Personalize::Model::HyperParameterRanges::ContinuousHyperParameterRangesHasBeenSet
bool ContinuousHyperParameterRangesHasBeenSet() const
Definition: HyperParameterRanges.h:93
Aws::Personalize::Model::HyperParameterRanges::WithCategoricalHyperParameterRanges
HyperParameterRanges & WithCategoricalHyperParameterRanges(const Aws::Vector< CategoricalHyperParameterRange > &value)
Definition: HyperParameterRanges.h:149
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Personalize::Model::HyperParameterRanges::HyperParameterRanges
HyperParameterRanges(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::HyperParameterRanges::SetIntegerHyperParameterRanges
void SetIntegerHyperParameterRanges(const Aws::Vector< IntegerHyperParameterRange > &value)
Definition: HyperParameterRanges.h:57
AWSVector.h
Aws::Personalize::Model::HyperParameterRanges::HyperParameterRanges
HyperParameterRanges()
Aws::Personalize::Model::HyperParameterRanges::GetIntegerHyperParameterRanges
const Aws::Vector< IntegerHyperParameterRange > & GetIntegerHyperParameterRanges() const
Definition: HyperParameterRanges.h:47
Aws::Personalize::Model::HyperParameterRanges::SetCategoricalHyperParameterRanges
void SetCategoricalHyperParameterRanges(Aws::Vector< CategoricalHyperParameterRange > &&value)
Definition: HyperParameterRanges.h:144
Aws::Personalize::Model::HyperParameterRanges::operator=
HyperParameterRanges & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::HyperParameterRanges::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::HyperParameterRanges
Definition: HyperParameterRanges.h:36
Aws::Personalize::Model::HyperParameterRanges::SetContinuousHyperParameterRanges
void SetContinuousHyperParameterRanges(Aws::Vector< ContinuousHyperParameterRange > &&value)
Definition: HyperParameterRanges.h:103
Aws::Personalize::Model::HyperParameterRanges::SetContinuousHyperParameterRanges
void SetContinuousHyperParameterRanges(const Aws::Vector< ContinuousHyperParameterRange > &value)
Definition: HyperParameterRanges.h:98
Aws::Personalize::Model::HyperParameterRanges::WithIntegerHyperParameterRanges
HyperParameterRanges & WithIntegerHyperParameterRanges(const Aws::Vector< IntegerHyperParameterRange > &value)
Definition: HyperParameterRanges.h:67
ContinuousHyperParameterRange.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
IntegerHyperParameterRange.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::HyperParameterRanges::AddCategoricalHyperParameterRanges
HyperParameterRanges & AddCategoricalHyperParameterRanges(CategoricalHyperParameterRange &&value)
Definition: HyperParameterRanges.h:164
Aws::Personalize::Model::HyperParameterRanges::WithContinuousHyperParameterRanges
HyperParameterRanges & WithContinuousHyperParameterRanges(const Aws::Vector< ContinuousHyperParameterRange > &value)
Definition: HyperParameterRanges.h:108
CategoricalHyperParameterRange.h
Aws::Personalize::Model::HyperParameterRanges::AddContinuousHyperParameterRanges
HyperParameterRanges & AddContinuousHyperParameterRanges(const ContinuousHyperParameterRange &value)
Definition: HyperParameterRanges.h:118
Aws::Personalize::Model::HyperParameterRanges::IntegerHyperParameterRangesHasBeenSet
bool IntegerHyperParameterRangesHasBeenSet() const
Definition: HyperParameterRanges.h:52
Aws::Personalize::Model::HyperParameterRanges::AddIntegerHyperParameterRanges
HyperParameterRanges & AddIntegerHyperParameterRanges(const IntegerHyperParameterRange &value)
Definition: HyperParameterRanges.h:77
Aws::Personalize::Model::HyperParameterRanges::AddCategoricalHyperParameterRanges
HyperParameterRanges & AddCategoricalHyperParameterRanges(const CategoricalHyperParameterRange &value)
Definition: HyperParameterRanges.h:159
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::CategoricalHyperParameterRange
Definition: CategoricalHyperParameterRange.h:34
Aws::Personalize::Model::HyperParameterRanges::CategoricalHyperParameterRangesHasBeenSet
bool CategoricalHyperParameterRangesHasBeenSet() const
Definition: HyperParameterRanges.h:134
Aws::Personalize::Model::HyperParameterRanges::AddContinuousHyperParameterRanges
HyperParameterRanges & AddContinuousHyperParameterRanges(ContinuousHyperParameterRange &&value)
Definition: HyperParameterRanges.h:123
Personalize_EXPORTS.h
Aws::Personalize::Model::HyperParameterRanges::WithContinuousHyperParameterRanges
HyperParameterRanges & WithContinuousHyperParameterRanges(Aws::Vector< ContinuousHyperParameterRange > &&value)
Definition: HyperParameterRanges.h:113
Aws::Personalize::Model::HyperParameterRanges::GetCategoricalHyperParameterRanges
const Aws::Vector< CategoricalHyperParameterRange > & GetCategoricalHyperParameterRanges() const
Definition: HyperParameterRanges.h:129
Aws::Personalize::Model::HyperParameterRanges::WithCategoricalHyperParameterRanges
HyperParameterRanges & WithCategoricalHyperParameterRanges(Aws::Vector< CategoricalHyperParameterRange > &&value)
Definition: HyperParameterRanges.h:154