AWS SDK for C++  1.9.153
AWS SDK for C++
IntegerParameterRange.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline IntegerParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline IntegerParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline IntegerParameterRange& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetMinValue() const{ return m_minValue; }
87 
91  inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
92 
96  inline void SetMinValue(const Aws::String& value) { m_minValueHasBeenSet = true; m_minValue = value; }
97 
101  inline void SetMinValue(Aws::String&& value) { m_minValueHasBeenSet = true; m_minValue = std::move(value); }
102 
106  inline void SetMinValue(const char* value) { m_minValueHasBeenSet = true; m_minValue.assign(value); }
107 
111  inline IntegerParameterRange& WithMinValue(const Aws::String& value) { SetMinValue(value); return *this;}
112 
116  inline IntegerParameterRange& WithMinValue(Aws::String&& value) { SetMinValue(std::move(value)); return *this;}
117 
121  inline IntegerParameterRange& WithMinValue(const char* value) { SetMinValue(value); return *this;}
122 
123 
127  inline const Aws::String& GetMaxValue() const{ return m_maxValue; }
128 
132  inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
133 
137  inline void SetMaxValue(const Aws::String& value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
138 
142  inline void SetMaxValue(Aws::String&& value) { m_maxValueHasBeenSet = true; m_maxValue = std::move(value); }
143 
147  inline void SetMaxValue(const char* value) { m_maxValueHasBeenSet = true; m_maxValue.assign(value); }
148 
152  inline IntegerParameterRange& WithMaxValue(const Aws::String& value) { SetMaxValue(value); return *this;}
153 
157  inline IntegerParameterRange& WithMaxValue(Aws::String&& value) { SetMaxValue(std::move(value)); return *this;}
158 
162  inline IntegerParameterRange& WithMaxValue(const char* value) { SetMaxValue(value); return *this;}
163 
164 
177  inline const HyperParameterScalingType& GetScalingType() const{ return m_scalingType; }
178 
191  inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
192 
205  inline void SetScalingType(const HyperParameterScalingType& value) { m_scalingTypeHasBeenSet = true; m_scalingType = value; }
206 
219  inline void SetScalingType(HyperParameterScalingType&& value) { m_scalingTypeHasBeenSet = true; m_scalingType = std::move(value); }
220 
233  inline IntegerParameterRange& WithScalingType(const HyperParameterScalingType& value) { SetScalingType(value); return *this;}
234 
247  inline IntegerParameterRange& WithScalingType(HyperParameterScalingType&& value) { SetScalingType(std::move(value)); return *this;}
248 
249  private:
250 
251  Aws::String m_name;
252  bool m_nameHasBeenSet;
253 
254  Aws::String m_minValue;
255  bool m_minValueHasBeenSet;
256 
257  Aws::String m_maxValue;
258  bool m_maxValueHasBeenSet;
259 
260  HyperParameterScalingType m_scalingType;
261  bool m_scalingTypeHasBeenSet;
262  };
263 
264 } // namespace Model
265 } // namespace SageMaker
266 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::IntegerParameterRange::GetScalingType
const HyperParameterScalingType & GetScalingType() const
Definition: IntegerParameterRange.h:177
Aws::SageMaker::Model::IntegerParameterRange::WithMaxValue
IntegerParameterRange & WithMaxValue(const char *value)
Definition: IntegerParameterRange.h:162
SageMaker_EXPORTS.h
Aws::SageMaker::Model::IntegerParameterRange::WithScalingType
IntegerParameterRange & WithScalingType(HyperParameterScalingType &&value)
Definition: IntegerParameterRange.h:247
Aws::SageMaker::Model::IntegerParameterRange::GetMinValue
const Aws::String & GetMinValue() const
Definition: IntegerParameterRange.h:86
Aws::SageMaker::Model::IntegerParameterRange::WithMinValue
IntegerParameterRange & WithMinValue(const Aws::String &value)
Definition: IntegerParameterRange.h:111
Aws::SageMaker::Model::IntegerParameterRange::ScalingTypeHasBeenSet
bool ScalingTypeHasBeenSet() const
Definition: IntegerParameterRange.h:191
Aws::SageMaker::Model::HyperParameterScalingType
HyperParameterScalingType
Definition: HyperParameterScalingType.h:17
Aws::SageMaker::Model::IntegerParameterRange::SetMaxValue
void SetMaxValue(const char *value)
Definition: IntegerParameterRange.h:147
Aws::SageMaker::Model::IntegerParameterRange::MinValueHasBeenSet
bool MinValueHasBeenSet() const
Definition: IntegerParameterRange.h:91
Aws::SageMaker::Model::IntegerParameterRange::WithMinValue
IntegerParameterRange & WithMinValue(const char *value)
Definition: IntegerParameterRange.h:121
Aws::SageMaker::Model::IntegerParameterRange::WithName
IntegerParameterRange & WithName(Aws::String &&value)
Definition: IntegerParameterRange.h:75
Aws::SageMaker::Model::IntegerParameterRange::SetMinValue
void SetMinValue(const Aws::String &value)
Definition: IntegerParameterRange.h:96
Aws::SageMaker::Model::IntegerParameterRange::operator=
IntegerParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::IntegerParameterRange::IntegerParameterRange
IntegerParameterRange()
Aws::SageMaker::Model::IntegerParameterRange::WithMaxValue
IntegerParameterRange & WithMaxValue(Aws::String &&value)
Definition: IntegerParameterRange.h:157
Aws::SageMaker::Model::IntegerParameterRange
Definition: IntegerParameterRange.h:34
Aws::SageMaker::Model::IntegerParameterRange::WithName
IntegerParameterRange & WithName(const Aws::String &value)
Definition: IntegerParameterRange.h:70
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::IntegerParameterRange::SetMinValue
void SetMinValue(const char *value)
Definition: IntegerParameterRange.h:106
Aws::SageMaker::Model::IntegerParameterRange::SetName
void SetName(const Aws::String &value)
Definition: IntegerParameterRange.h:55
Aws::SageMaker::Model::IntegerParameterRange::SetMaxValue
void SetMaxValue(Aws::String &&value)
Definition: IntegerParameterRange.h:142
Aws::SageMaker::Model::IntegerParameterRange::SetMaxValue
void SetMaxValue(const Aws::String &value)
Definition: IntegerParameterRange.h:137
Aws::SageMaker::Model::IntegerParameterRange::MaxValueHasBeenSet
bool MaxValueHasBeenSet() const
Definition: IntegerParameterRange.h:132
Aws::SageMaker::Model::IntegerParameterRange::GetMaxValue
const Aws::String & GetMaxValue() const
Definition: IntegerParameterRange.h:127
Aws::SageMaker::Model::IntegerParameterRange::NameHasBeenSet
bool NameHasBeenSet() const
Definition: IntegerParameterRange.h:50
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::IntegerParameterRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::IntegerParameterRange::WithMinValue
IntegerParameterRange & WithMinValue(Aws::String &&value)
Definition: IntegerParameterRange.h:116
Aws::SageMaker::Model::IntegerParameterRange::GetName
const Aws::String & GetName() const
Definition: IntegerParameterRange.h:45
Aws::SageMaker::Model::IntegerParameterRange::SetName
void SetName(const char *value)
Definition: IntegerParameterRange.h:65
Aws::SageMaker::Model::IntegerParameterRange::SetMinValue
void SetMinValue(Aws::String &&value)
Definition: IntegerParameterRange.h:101
Aws::SageMaker::Model::IntegerParameterRange::WithName
IntegerParameterRange & WithName(const char *value)
Definition: IntegerParameterRange.h:80
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::IntegerParameterRange::SetName
void SetName(Aws::String &&value)
Definition: IntegerParameterRange.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::IntegerParameterRange::SetScalingType
void SetScalingType(HyperParameterScalingType &&value)
Definition: IntegerParameterRange.h:219
Aws::SageMaker::Model::IntegerParameterRange::WithScalingType
IntegerParameterRange & WithScalingType(const HyperParameterScalingType &value)
Definition: IntegerParameterRange.h:233
Aws::SageMaker::Model::IntegerParameterRange::SetScalingType
void SetScalingType(const HyperParameterScalingType &value)
Definition: IntegerParameterRange.h:205
Aws::SageMaker::Model::IntegerParameterRange::WithMaxValue
IntegerParameterRange & WithMaxValue(const Aws::String &value)
Definition: IntegerParameterRange.h:152
Aws::SageMaker::Model::IntegerParameterRange::IntegerParameterRange
IntegerParameterRange(Aws::Utils::Json::JsonView jsonValue)
HyperParameterScalingType.h