AWS SDK for C++  1.9.158
AWS SDK for C++
ContinuousParameterRange.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline ContinuousParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline ContinuousParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline ContinuousParameterRange& WithName(const char* value) { SetName(value); return *this;}
80 
81 
86  inline const Aws::String& GetMinValue() const{ return m_minValue; }
87 
92  inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
93 
98  inline void SetMinValue(const Aws::String& value) { m_minValueHasBeenSet = true; m_minValue = value; }
99 
104  inline void SetMinValue(Aws::String&& value) { m_minValueHasBeenSet = true; m_minValue = std::move(value); }
105 
110  inline void SetMinValue(const char* value) { m_minValueHasBeenSet = true; m_minValue.assign(value); }
111 
116  inline ContinuousParameterRange& WithMinValue(const Aws::String& value) { SetMinValue(value); return *this;}
117 
122  inline ContinuousParameterRange& WithMinValue(Aws::String&& value) { SetMinValue(std::move(value)); return *this;}
123 
128  inline ContinuousParameterRange& WithMinValue(const char* value) { SetMinValue(value); return *this;}
129 
130 
135  inline const Aws::String& GetMaxValue() const{ return m_maxValue; }
136 
141  inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
142 
147  inline void SetMaxValue(const Aws::String& value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
148 
153  inline void SetMaxValue(Aws::String&& value) { m_maxValueHasBeenSet = true; m_maxValue = std::move(value); }
154 
159  inline void SetMaxValue(const char* value) { m_maxValueHasBeenSet = true; m_maxValue.assign(value); }
160 
165  inline ContinuousParameterRange& WithMaxValue(const Aws::String& value) { SetMaxValue(value); return *this;}
166 
171  inline ContinuousParameterRange& WithMaxValue(Aws::String&& value) { SetMaxValue(std::move(value)); return *this;}
172 
177  inline ContinuousParameterRange& WithMaxValue(const char* value) { SetMaxValue(value); return *this;}
178 
179 
196  inline const HyperParameterScalingType& GetScalingType() const{ return m_scalingType; }
197 
214  inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
215 
232  inline void SetScalingType(const HyperParameterScalingType& value) { m_scalingTypeHasBeenSet = true; m_scalingType = value; }
233 
250  inline void SetScalingType(HyperParameterScalingType&& value) { m_scalingTypeHasBeenSet = true; m_scalingType = std::move(value); }
251 
268  inline ContinuousParameterRange& WithScalingType(const HyperParameterScalingType& value) { SetScalingType(value); return *this;}
269 
286  inline ContinuousParameterRange& WithScalingType(HyperParameterScalingType&& value) { SetScalingType(std::move(value)); return *this;}
287 
288  private:
289 
290  Aws::String m_name;
291  bool m_nameHasBeenSet;
292 
293  Aws::String m_minValue;
294  bool m_minValueHasBeenSet;
295 
296  Aws::String m_maxValue;
297  bool m_maxValueHasBeenSet;
298 
299  HyperParameterScalingType m_scalingType;
300  bool m_scalingTypeHasBeenSet;
301  };
302 
303 } // namespace Model
304 } // namespace SageMaker
305 } // namespace Aws
Aws::SageMaker::Model::ContinuousParameterRange::GetMinValue
const Aws::String & GetMinValue() const
Definition: ContinuousParameterRange.h:86
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ContinuousParameterRange::WithMinValue
ContinuousParameterRange & WithMinValue(const Aws::String &value)
Definition: ContinuousParameterRange.h:116
Aws::SageMaker::Model::ContinuousParameterRange::MinValueHasBeenSet
bool MinValueHasBeenSet() const
Definition: ContinuousParameterRange.h:92
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ContinuousParameterRange::WithMinValue
ContinuousParameterRange & WithMinValue(Aws::String &&value)
Definition: ContinuousParameterRange.h:122
Aws::SageMaker::Model::ContinuousParameterRange::SetName
void SetName(const Aws::String &value)
Definition: ContinuousParameterRange.h:54
Aws::SageMaker::Model::HyperParameterScalingType
HyperParameterScalingType
Definition: HyperParameterScalingType.h:17
Aws::SageMaker::Model::ContinuousParameterRange::ContinuousParameterRange
ContinuousParameterRange()
Aws::SageMaker::Model::ContinuousParameterRange::operator=
ContinuousParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ContinuousParameterRange::WithName
ContinuousParameterRange & WithName(const Aws::String &value)
Definition: ContinuousParameterRange.h:69
Aws::SageMaker::Model::ContinuousParameterRange::SetName
void SetName(const char *value)
Definition: ContinuousParameterRange.h:64
Aws::SageMaker::Model::ContinuousParameterRange::WithScalingType
ContinuousParameterRange & WithScalingType(HyperParameterScalingType &&value)
Definition: ContinuousParameterRange.h:286
Aws::SageMaker::Model::ContinuousParameterRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ContinuousParameterRange::WithMinValue
ContinuousParameterRange & WithMinValue(const char *value)
Definition: ContinuousParameterRange.h:128
Aws::SageMaker::Model::ContinuousParameterRange::SetMinValue
void SetMinValue(Aws::String &&value)
Definition: ContinuousParameterRange.h:104
Aws::SageMaker::Model::ContinuousParameterRange
Definition: ContinuousParameterRange.h:33
Aws::SageMaker::Model::ContinuousParameterRange::GetMaxValue
const Aws::String & GetMaxValue() const
Definition: ContinuousParameterRange.h:135
Aws::SageMaker::Model::ContinuousParameterRange::GetName
const Aws::String & GetName() const
Definition: ContinuousParameterRange.h:44
Aws::SageMaker::Model::ContinuousParameterRange::ContinuousParameterRange
ContinuousParameterRange(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ContinuousParameterRange::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ContinuousParameterRange.h:49
Aws::SageMaker::Model::ContinuousParameterRange::SetScalingType
void SetScalingType(HyperParameterScalingType &&value)
Definition: ContinuousParameterRange.h:250
Aws::SageMaker::Model::ContinuousParameterRange::SetMaxValue
void SetMaxValue(const char *value)
Definition: ContinuousParameterRange.h:159
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ContinuousParameterRange::WithMaxValue
ContinuousParameterRange & WithMaxValue(const Aws::String &value)
Definition: ContinuousParameterRange.h:165
Aws::SageMaker::Model::ContinuousParameterRange::WithName
ContinuousParameterRange & WithName(Aws::String &&value)
Definition: ContinuousParameterRange.h:74
Aws::SageMaker::Model::ContinuousParameterRange::WithScalingType
ContinuousParameterRange & WithScalingType(const HyperParameterScalingType &value)
Definition: ContinuousParameterRange.h:268
Aws::SageMaker::Model::ContinuousParameterRange::ScalingTypeHasBeenSet
bool ScalingTypeHasBeenSet() const
Definition: ContinuousParameterRange.h:214
Aws::SageMaker::Model::ContinuousParameterRange::SetMaxValue
void SetMaxValue(const Aws::String &value)
Definition: ContinuousParameterRange.h:147
Aws::SageMaker::Model::ContinuousParameterRange::WithMaxValue
ContinuousParameterRange & WithMaxValue(Aws::String &&value)
Definition: ContinuousParameterRange.h:171
Aws::SageMaker::Model::ContinuousParameterRange::SetMinValue
void SetMinValue(const char *value)
Definition: ContinuousParameterRange.h:110
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ContinuousParameterRange::GetScalingType
const HyperParameterScalingType & GetScalingType() const
Definition: ContinuousParameterRange.h:196
Aws::SageMaker::Model::ContinuousParameterRange::SetMaxValue
void SetMaxValue(Aws::String &&value)
Definition: ContinuousParameterRange.h:153
Aws::SageMaker::Model::ContinuousParameterRange::WithName
ContinuousParameterRange & WithName(const char *value)
Definition: ContinuousParameterRange.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ContinuousParameterRange::SetScalingType
void SetScalingType(const HyperParameterScalingType &value)
Definition: ContinuousParameterRange.h:232
Aws::SageMaker::Model::ContinuousParameterRange::SetMinValue
void SetMinValue(const Aws::String &value)
Definition: ContinuousParameterRange.h:98
Aws::SageMaker::Model::ContinuousParameterRange::MaxValueHasBeenSet
bool MaxValueHasBeenSet() const
Definition: ContinuousParameterRange.h:141
Aws::SageMaker::Model::ContinuousParameterRange::SetName
void SetName(Aws::String &&value)
Definition: ContinuousParameterRange.h:59
Aws::SageMaker::Model::ContinuousParameterRange::WithMaxValue
ContinuousParameterRange & WithMaxValue(const char *value)
Definition: ContinuousParameterRange.h:177
HyperParameterScalingType.h