AWS SDK for C++  1.9.108
AWS SDK for C++
DefaultHyperParameterRanges.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<DefaultIntegerHyperParameterRange>& GetIntegerHyperParameterRanges() const{ return m_integerHyperParameterRanges; }
48 
52  inline bool IntegerHyperParameterRangesHasBeenSet() const { return m_integerHyperParameterRangesHasBeenSet; }
53 
57  inline void SetIntegerHyperParameterRanges(const Aws::Vector<DefaultIntegerHyperParameterRange>& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges = value; }
58 
62  inline void SetIntegerHyperParameterRanges(Aws::Vector<DefaultIntegerHyperParameterRange>&& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges = std::move(value); }
63 
67  inline DefaultHyperParameterRanges& WithIntegerHyperParameterRanges(const Aws::Vector<DefaultIntegerHyperParameterRange>& value) { SetIntegerHyperParameterRanges(value); return *this;}
68 
72  inline DefaultHyperParameterRanges& WithIntegerHyperParameterRanges(Aws::Vector<DefaultIntegerHyperParameterRange>&& value) { SetIntegerHyperParameterRanges(std::move(value)); return *this;}
73 
77  inline DefaultHyperParameterRanges& AddIntegerHyperParameterRanges(const DefaultIntegerHyperParameterRange& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges.push_back(value); return *this; }
78 
82  inline DefaultHyperParameterRanges& AddIntegerHyperParameterRanges(DefaultIntegerHyperParameterRange&& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges.push_back(std::move(value)); return *this; }
83 
84 
88  inline const Aws::Vector<DefaultContinuousHyperParameterRange>& GetContinuousHyperParameterRanges() const{ return m_continuousHyperParameterRanges; }
89 
93  inline bool ContinuousHyperParameterRangesHasBeenSet() const { return m_continuousHyperParameterRangesHasBeenSet; }
94 
98  inline void SetContinuousHyperParameterRanges(const Aws::Vector<DefaultContinuousHyperParameterRange>& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges = value; }
99 
103  inline void SetContinuousHyperParameterRanges(Aws::Vector<DefaultContinuousHyperParameterRange>&& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges = std::move(value); }
104 
108  inline DefaultHyperParameterRanges& WithContinuousHyperParameterRanges(const Aws::Vector<DefaultContinuousHyperParameterRange>& value) { SetContinuousHyperParameterRanges(value); return *this;}
109 
113  inline DefaultHyperParameterRanges& WithContinuousHyperParameterRanges(Aws::Vector<DefaultContinuousHyperParameterRange>&& value) { SetContinuousHyperParameterRanges(std::move(value)); return *this;}
114 
118  inline DefaultHyperParameterRanges& AddContinuousHyperParameterRanges(const DefaultContinuousHyperParameterRange& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges.push_back(value); return *this; }
119 
123  inline DefaultHyperParameterRanges& AddContinuousHyperParameterRanges(DefaultContinuousHyperParameterRange&& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges.push_back(std::move(value)); return *this; }
124 
125 
129  inline const Aws::Vector<DefaultCategoricalHyperParameterRange>& GetCategoricalHyperParameterRanges() const{ return m_categoricalHyperParameterRanges; }
130 
134  inline bool CategoricalHyperParameterRangesHasBeenSet() const { return m_categoricalHyperParameterRangesHasBeenSet; }
135 
139  inline void SetCategoricalHyperParameterRanges(const Aws::Vector<DefaultCategoricalHyperParameterRange>& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges = value; }
140 
144  inline void SetCategoricalHyperParameterRanges(Aws::Vector<DefaultCategoricalHyperParameterRange>&& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges = std::move(value); }
145 
149  inline DefaultHyperParameterRanges& WithCategoricalHyperParameterRanges(const Aws::Vector<DefaultCategoricalHyperParameterRange>& value) { SetCategoricalHyperParameterRanges(value); return *this;}
150 
154  inline DefaultHyperParameterRanges& WithCategoricalHyperParameterRanges(Aws::Vector<DefaultCategoricalHyperParameterRange>&& value) { SetCategoricalHyperParameterRanges(std::move(value)); return *this;}
155 
159  inline DefaultHyperParameterRanges& AddCategoricalHyperParameterRanges(const DefaultCategoricalHyperParameterRange& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges.push_back(value); return *this; }
160 
164  inline DefaultHyperParameterRanges& AddCategoricalHyperParameterRanges(DefaultCategoricalHyperParameterRange&& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges.push_back(std::move(value)); return *this; }
165 
166  private:
167 
168  Aws::Vector<DefaultIntegerHyperParameterRange> m_integerHyperParameterRanges;
169  bool m_integerHyperParameterRangesHasBeenSet;
170 
171  Aws::Vector<DefaultContinuousHyperParameterRange> m_continuousHyperParameterRanges;
172  bool m_continuousHyperParameterRangesHasBeenSet;
173 
174  Aws::Vector<DefaultCategoricalHyperParameterRange> m_categoricalHyperParameterRanges;
175  bool m_categoricalHyperParameterRangesHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace Personalize
180 } // namespace Aws
Aws::Personalize::Model::DefaultHyperParameterRanges::GetCategoricalHyperParameterRanges
const Aws::Vector< DefaultCategoricalHyperParameterRange > & GetCategoricalHyperParameterRanges() const
Definition: DefaultHyperParameterRanges.h:129
DefaultContinuousHyperParameterRange.h
Aws::Personalize::Model::DefaultHyperParameterRanges::SetCategoricalHyperParameterRanges
void SetCategoricalHyperParameterRanges(Aws::Vector< DefaultCategoricalHyperParameterRange > &&value)
Definition: DefaultHyperParameterRanges.h:144
Aws::Personalize::Model::DefaultHyperParameterRanges::GetContinuousHyperParameterRanges
const Aws::Vector< DefaultContinuousHyperParameterRange > & GetContinuousHyperParameterRanges() const
Definition: DefaultHyperParameterRanges.h:88
Aws::Personalize::Model::DefaultHyperParameterRanges::WithCategoricalHyperParameterRanges
DefaultHyperParameterRanges & WithCategoricalHyperParameterRanges(Aws::Vector< DefaultCategoricalHyperParameterRange > &&value)
Definition: DefaultHyperParameterRanges.h:154
Aws::Personalize::Model::DefaultHyperParameterRanges::SetCategoricalHyperParameterRanges
void SetCategoricalHyperParameterRanges(const Aws::Vector< DefaultCategoricalHyperParameterRange > &value)
Definition: DefaultHyperParameterRanges.h:139
Aws::Personalize::Model::DefaultHyperParameterRanges::AddCategoricalHyperParameterRanges
DefaultHyperParameterRanges & AddCategoricalHyperParameterRanges(const DefaultCategoricalHyperParameterRange &value)
Definition: DefaultHyperParameterRanges.h:159
DefaultCategoricalHyperParameterRange.h
Aws::Personalize::Model::DefaultHyperParameterRanges::SetContinuousHyperParameterRanges
void SetContinuousHyperParameterRanges(Aws::Vector< DefaultContinuousHyperParameterRange > &&value)
Definition: DefaultHyperParameterRanges.h:103
Aws::Personalize::Model::DefaultHyperParameterRanges::SetContinuousHyperParameterRanges
void SetContinuousHyperParameterRanges(const Aws::Vector< DefaultContinuousHyperParameterRange > &value)
Definition: DefaultHyperParameterRanges.h:98
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DefaultHyperParameterRanges::operator=
DefaultHyperParameterRanges & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Personalize::Model::DefaultHyperParameterRanges::CategoricalHyperParameterRangesHasBeenSet
bool CategoricalHyperParameterRangesHasBeenSet() const
Definition: DefaultHyperParameterRanges.h:134
DefaultIntegerHyperParameterRange.h
Aws::Personalize::Model::DefaultHyperParameterRanges::ContinuousHyperParameterRangesHasBeenSet
bool ContinuousHyperParameterRangesHasBeenSet() const
Definition: DefaultHyperParameterRanges.h:93
AWSVector.h
Aws::Personalize::Model::DefaultHyperParameterRanges::GetIntegerHyperParameterRanges
const Aws::Vector< DefaultIntegerHyperParameterRange > & GetIntegerHyperParameterRanges() const
Definition: DefaultHyperParameterRanges.h:47
Aws::Personalize::Model::DefaultHyperParameterRanges::WithCategoricalHyperParameterRanges
DefaultHyperParameterRanges & WithCategoricalHyperParameterRanges(const Aws::Vector< DefaultCategoricalHyperParameterRange > &value)
Definition: DefaultHyperParameterRanges.h:149
Aws::Personalize::Model::DefaultHyperParameterRanges::DefaultHyperParameterRanges
DefaultHyperParameterRanges(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DefaultHyperParameterRanges::WithIntegerHyperParameterRanges
DefaultHyperParameterRanges & WithIntegerHyperParameterRanges(const Aws::Vector< DefaultIntegerHyperParameterRange > &value)
Definition: DefaultHyperParameterRanges.h:67
Aws::Personalize::Model::DefaultHyperParameterRanges
Definition: DefaultHyperParameterRanges.h:36
Aws::Personalize::Model::DefaultHyperParameterRanges::SetIntegerHyperParameterRanges
void SetIntegerHyperParameterRanges(const Aws::Vector< DefaultIntegerHyperParameterRange > &value)
Definition: DefaultHyperParameterRanges.h:57
Aws::Personalize::Model::DefaultHyperParameterRanges::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Personalize::Model::DefaultHyperParameterRanges::AddCategoricalHyperParameterRanges
DefaultHyperParameterRanges & AddCategoricalHyperParameterRanges(DefaultCategoricalHyperParameterRange &&value)
Definition: DefaultHyperParameterRanges.h:164
Aws::Personalize::Model::DefaultCategoricalHyperParameterRange
Definition: DefaultCategoricalHyperParameterRange.h:36
Aws::Personalize::Model::DefaultHyperParameterRanges::WithContinuousHyperParameterRanges
DefaultHyperParameterRanges & WithContinuousHyperParameterRanges(Aws::Vector< DefaultContinuousHyperParameterRange > &&value)
Definition: DefaultHyperParameterRanges.h:113
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DefaultHyperParameterRanges::AddIntegerHyperParameterRanges
DefaultHyperParameterRanges & AddIntegerHyperParameterRanges(DefaultIntegerHyperParameterRange &&value)
Definition: DefaultHyperParameterRanges.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DefaultContinuousHyperParameterRange
Definition: DefaultContinuousHyperParameterRange.h:35
Aws::Personalize::Model::DefaultHyperParameterRanges::AddIntegerHyperParameterRanges
DefaultHyperParameterRanges & AddIntegerHyperParameterRanges(const DefaultIntegerHyperParameterRange &value)
Definition: DefaultHyperParameterRanges.h:77
Aws::Personalize::Model::DefaultIntegerHyperParameterRange
Definition: DefaultIntegerHyperParameterRange.h:35
Aws::Personalize::Model::DefaultHyperParameterRanges::DefaultHyperParameterRanges
DefaultHyperParameterRanges()
Aws::Personalize::Model::DefaultHyperParameterRanges::WithContinuousHyperParameterRanges
DefaultHyperParameterRanges & WithContinuousHyperParameterRanges(const Aws::Vector< DefaultContinuousHyperParameterRange > &value)
Definition: DefaultHyperParameterRanges.h:108
Aws::Personalize::Model::DefaultHyperParameterRanges::IntegerHyperParameterRangesHasBeenSet
bool IntegerHyperParameterRangesHasBeenSet() const
Definition: DefaultHyperParameterRanges.h:52
Aws::Personalize::Model::DefaultHyperParameterRanges::WithIntegerHyperParameterRanges
DefaultHyperParameterRanges & WithIntegerHyperParameterRanges(Aws::Vector< DefaultIntegerHyperParameterRange > &&value)
Definition: DefaultHyperParameterRanges.h:72
Personalize_EXPORTS.h
Aws::Personalize::Model::DefaultHyperParameterRanges::AddContinuousHyperParameterRanges
DefaultHyperParameterRanges & AddContinuousHyperParameterRanges(DefaultContinuousHyperParameterRange &&value)
Definition: DefaultHyperParameterRanges.h:123
Aws::Personalize::Model::DefaultHyperParameterRanges::SetIntegerHyperParameterRanges
void SetIntegerHyperParameterRanges(Aws::Vector< DefaultIntegerHyperParameterRange > &&value)
Definition: DefaultHyperParameterRanges.h:62
Aws::Personalize::Model::DefaultHyperParameterRanges::AddContinuousHyperParameterRanges
DefaultHyperParameterRanges & AddContinuousHyperParameterRanges(const DefaultContinuousHyperParameterRange &value)
Definition: DefaultHyperParameterRanges.h:118