AWS SDK for C++  1.9.157
AWS SDK for C++
ParameterRanges.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 SageMaker
25 {
26 namespace Model
27 {
28 
42  {
43  public:
48 
49 
54  inline const Aws::Vector<IntegerParameterRange>& GetIntegerParameterRanges() const{ return m_integerParameterRanges; }
55 
60  inline bool IntegerParameterRangesHasBeenSet() const { return m_integerParameterRangesHasBeenSet; }
61 
66  inline void SetIntegerParameterRanges(const Aws::Vector<IntegerParameterRange>& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges = value; }
67 
72  inline void SetIntegerParameterRanges(Aws::Vector<IntegerParameterRange>&& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges = std::move(value); }
73 
78  inline ParameterRanges& WithIntegerParameterRanges(const Aws::Vector<IntegerParameterRange>& value) { SetIntegerParameterRanges(value); return *this;}
79 
84  inline ParameterRanges& WithIntegerParameterRanges(Aws::Vector<IntegerParameterRange>&& value) { SetIntegerParameterRanges(std::move(value)); return *this;}
85 
90  inline ParameterRanges& AddIntegerParameterRanges(const IntegerParameterRange& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges.push_back(value); return *this; }
91 
96  inline ParameterRanges& AddIntegerParameterRanges(IntegerParameterRange&& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges.push_back(std::move(value)); return *this; }
97 
98 
103  inline const Aws::Vector<ContinuousParameterRange>& GetContinuousParameterRanges() const{ return m_continuousParameterRanges; }
104 
109  inline bool ContinuousParameterRangesHasBeenSet() const { return m_continuousParameterRangesHasBeenSet; }
110 
115  inline void SetContinuousParameterRanges(const Aws::Vector<ContinuousParameterRange>& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges = value; }
116 
121  inline void SetContinuousParameterRanges(Aws::Vector<ContinuousParameterRange>&& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges = std::move(value); }
122 
127  inline ParameterRanges& WithContinuousParameterRanges(const Aws::Vector<ContinuousParameterRange>& value) { SetContinuousParameterRanges(value); return *this;}
128 
133  inline ParameterRanges& WithContinuousParameterRanges(Aws::Vector<ContinuousParameterRange>&& value) { SetContinuousParameterRanges(std::move(value)); return *this;}
134 
139  inline ParameterRanges& AddContinuousParameterRanges(const ContinuousParameterRange& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges.push_back(value); return *this; }
140 
145  inline ParameterRanges& AddContinuousParameterRanges(ContinuousParameterRange&& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges.push_back(std::move(value)); return *this; }
146 
147 
152  inline const Aws::Vector<CategoricalParameterRange>& GetCategoricalParameterRanges() const{ return m_categoricalParameterRanges; }
153 
158  inline bool CategoricalParameterRangesHasBeenSet() const { return m_categoricalParameterRangesHasBeenSet; }
159 
164  inline void SetCategoricalParameterRanges(const Aws::Vector<CategoricalParameterRange>& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges = value; }
165 
170  inline void SetCategoricalParameterRanges(Aws::Vector<CategoricalParameterRange>&& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges = std::move(value); }
171 
176  inline ParameterRanges& WithCategoricalParameterRanges(const Aws::Vector<CategoricalParameterRange>& value) { SetCategoricalParameterRanges(value); return *this;}
177 
182  inline ParameterRanges& WithCategoricalParameterRanges(Aws::Vector<CategoricalParameterRange>&& value) { SetCategoricalParameterRanges(std::move(value)); return *this;}
183 
188  inline ParameterRanges& AddCategoricalParameterRanges(const CategoricalParameterRange& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges.push_back(value); return *this; }
189 
194  inline ParameterRanges& AddCategoricalParameterRanges(CategoricalParameterRange&& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges.push_back(std::move(value)); return *this; }
195 
196  private:
197 
198  Aws::Vector<IntegerParameterRange> m_integerParameterRanges;
199  bool m_integerParameterRangesHasBeenSet;
200 
201  Aws::Vector<ContinuousParameterRange> m_continuousParameterRanges;
202  bool m_continuousParameterRangesHasBeenSet;
203 
204  Aws::Vector<CategoricalParameterRange> m_categoricalParameterRanges;
205  bool m_categoricalParameterRangesHasBeenSet;
206  };
207 
208 } // namespace Model
209 } // namespace SageMaker
210 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ParameterRanges::WithCategoricalParameterRanges
ParameterRanges & WithCategoricalParameterRanges(const Aws::Vector< CategoricalParameterRange > &value)
Definition: ParameterRanges.h:176
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ParameterRanges::WithCategoricalParameterRanges
ParameterRanges & WithCategoricalParameterRanges(Aws::Vector< CategoricalParameterRange > &&value)
Definition: ParameterRanges.h:182
Aws::SageMaker::Model::CategoricalParameterRange
Definition: CategoricalParameterRange.h:33
Aws::SageMaker::Model::ParameterRanges::CategoricalParameterRangesHasBeenSet
bool CategoricalParameterRangesHasBeenSet() const
Definition: ParameterRanges.h:158
Aws::SageMaker::Model::ParameterRanges::AddIntegerParameterRanges
ParameterRanges & AddIntegerParameterRanges(IntegerParameterRange &&value)
Definition: ParameterRanges.h:96
Aws::SageMaker::Model::ParameterRanges::WithContinuousParameterRanges
ParameterRanges & WithContinuousParameterRanges(Aws::Vector< ContinuousParameterRange > &&value)
Definition: ParameterRanges.h:133
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::ParameterRanges::AddCategoricalParameterRanges
ParameterRanges & AddCategoricalParameterRanges(CategoricalParameterRange &&value)
Definition: ParameterRanges.h:194
Aws::SageMaker::Model::ParameterRanges::WithIntegerParameterRanges
ParameterRanges & WithIntegerParameterRanges(Aws::Vector< IntegerParameterRange > &&value)
Definition: ParameterRanges.h:84
AWSVector.h
Aws::SageMaker::Model::ParameterRanges::WithIntegerParameterRanges
ParameterRanges & WithIntegerParameterRanges(const Aws::Vector< IntegerParameterRange > &value)
Definition: ParameterRanges.h:78
Aws::SageMaker::Model::ParameterRanges::SetCategoricalParameterRanges
void SetCategoricalParameterRanges(Aws::Vector< CategoricalParameterRange > &&value)
Definition: ParameterRanges.h:170
Aws::SageMaker::Model::IntegerParameterRange
Definition: IntegerParameterRange.h:34
Aws::SageMaker::Model::ParameterRanges::SetContinuousParameterRanges
void SetContinuousParameterRanges(const Aws::Vector< ContinuousParameterRange > &value)
Definition: ParameterRanges.h:115
Aws::SageMaker::Model::ParameterRanges::ParameterRanges
ParameterRanges(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ContinuousParameterRange
Definition: ContinuousParameterRange.h:33
Aws::SageMaker::Model::ParameterRanges::ParameterRanges
ParameterRanges()
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ParameterRanges::AddContinuousParameterRanges
ParameterRanges & AddContinuousParameterRanges(ContinuousParameterRange &&value)
Definition: ParameterRanges.h:145
Aws::SageMaker::Model::ParameterRanges::GetCategoricalParameterRanges
const Aws::Vector< CategoricalParameterRange > & GetCategoricalParameterRanges() const
Definition: ParameterRanges.h:152
Aws::SageMaker::Model::ParameterRanges::AddCategoricalParameterRanges
ParameterRanges & AddCategoricalParameterRanges(const CategoricalParameterRange &value)
Definition: ParameterRanges.h:188
Aws::SageMaker::Model::ParameterRanges::IntegerParameterRangesHasBeenSet
bool IntegerParameterRangesHasBeenSet() const
Definition: ParameterRanges.h:60
Aws::SageMaker::Model::ParameterRanges::SetIntegerParameterRanges
void SetIntegerParameterRanges(Aws::Vector< IntegerParameterRange > &&value)
Definition: ParameterRanges.h:72
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ParameterRanges::WithContinuousParameterRanges
ParameterRanges & WithContinuousParameterRanges(const Aws::Vector< ContinuousParameterRange > &value)
Definition: ParameterRanges.h:127
Aws::SageMaker::Model::ParameterRanges::GetContinuousParameterRanges
const Aws::Vector< ContinuousParameterRange > & GetContinuousParameterRanges() const
Definition: ParameterRanges.h:103
Aws::SageMaker::Model::ParameterRanges::operator=
ParameterRanges & operator=(Aws::Utils::Json::JsonView jsonValue)
IntegerParameterRange.h
Aws::SageMaker::Model::ParameterRanges::SetContinuousParameterRanges
void SetContinuousParameterRanges(Aws::Vector< ContinuousParameterRange > &&value)
Definition: ParameterRanges.h:121
Aws::SageMaker::Model::ParameterRanges::ContinuousParameterRangesHasBeenSet
bool ContinuousParameterRangesHasBeenSet() const
Definition: ParameterRanges.h:109
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ParameterRanges::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
CategoricalParameterRange.h
Aws::SageMaker::Model::ParameterRanges::SetCategoricalParameterRanges
void SetCategoricalParameterRanges(const Aws::Vector< CategoricalParameterRange > &value)
Definition: ParameterRanges.h:164
ContinuousParameterRange.h
Aws::SageMaker::Model::ParameterRanges
Definition: ParameterRanges.h:42
Aws::SageMaker::Model::ParameterRanges::AddIntegerParameterRanges
ParameterRanges & AddIntegerParameterRanges(const IntegerParameterRange &value)
Definition: ParameterRanges.h:90
Aws::SageMaker::Model::ParameterRanges::GetIntegerParameterRanges
const Aws::Vector< IntegerParameterRange > & GetIntegerParameterRanges() const
Definition: ParameterRanges.h:54
Aws::SageMaker::Model::ParameterRanges::AddContinuousParameterRanges
ParameterRanges & AddContinuousParameterRanges(const ContinuousParameterRange &value)
Definition: ParameterRanges.h:139
Aws::SageMaker::Model::ParameterRanges::SetIntegerParameterRanges
void SetIntegerParameterRanges(const Aws::Vector< IntegerParameterRange > &value)
Definition: ParameterRanges.h:66