AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntegerParameterRange.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/HyperParameterScalingType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API IntegerParameterRange();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline IntegerParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline IntegerParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline IntegerParameterRange& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetMinValue() const{ return m_minValue; }
61 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
62 inline void SetMinValue(const Aws::String& value) { m_minValueHasBeenSet = true; m_minValue = value; }
63 inline void SetMinValue(Aws::String&& value) { m_minValueHasBeenSet = true; m_minValue = std::move(value); }
64 inline void SetMinValue(const char* value) { m_minValueHasBeenSet = true; m_minValue.assign(value); }
65 inline IntegerParameterRange& WithMinValue(const Aws::String& value) { SetMinValue(value); return *this;}
66 inline IntegerParameterRange& WithMinValue(Aws::String&& value) { SetMinValue(std::move(value)); return *this;}
67 inline IntegerParameterRange& WithMinValue(const char* value) { SetMinValue(value); return *this;}
69
71
74 inline const Aws::String& GetMaxValue() const{ return m_maxValue; }
75 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
76 inline void SetMaxValue(const Aws::String& value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
77 inline void SetMaxValue(Aws::String&& value) { m_maxValueHasBeenSet = true; m_maxValue = std::move(value); }
78 inline void SetMaxValue(const char* value) { m_maxValueHasBeenSet = true; m_maxValue.assign(value); }
79 inline IntegerParameterRange& WithMaxValue(const Aws::String& value) { SetMaxValue(value); return *this;}
80 inline IntegerParameterRange& WithMaxValue(Aws::String&& value) { SetMaxValue(std::move(value)); return *this;}
81 inline IntegerParameterRange& WithMaxValue(const char* value) { SetMaxValue(value); return *this;}
83
85
97 inline const HyperParameterScalingType& GetScalingType() const{ return m_scalingType; }
98 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
99 inline void SetScalingType(const HyperParameterScalingType& value) { m_scalingTypeHasBeenSet = true; m_scalingType = value; }
100 inline void SetScalingType(HyperParameterScalingType&& value) { m_scalingTypeHasBeenSet = true; m_scalingType = std::move(value); }
102 inline IntegerParameterRange& WithScalingType(HyperParameterScalingType&& value) { SetScalingType(std::move(value)); return *this;}
104 private:
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
109 Aws::String m_minValue;
110 bool m_minValueHasBeenSet = false;
111
112 Aws::String m_maxValue;
113 bool m_maxValueHasBeenSet = false;
114
115 HyperParameterScalingType m_scalingType;
116 bool m_scalingTypeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SageMaker
121} // namespace Aws
IntegerParameterRange & WithName(Aws::String &&value)
const HyperParameterScalingType & GetScalingType() const
void SetScalingType(HyperParameterScalingType &&value)
IntegerParameterRange & WithScalingType(HyperParameterScalingType &&value)
IntegerParameterRange & WithMinValue(const char *value)
IntegerParameterRange & WithMaxValue(const char *value)
IntegerParameterRange & WithMinValue(Aws::String &&value)
IntegerParameterRange & WithName(const Aws::String &value)
AWS_SAGEMAKER_API IntegerParameterRange(Aws::Utils::Json::JsonView jsonValue)
IntegerParameterRange & WithMaxValue(const Aws::String &value)
IntegerParameterRange & WithScalingType(const HyperParameterScalingType &value)
IntegerParameterRange & WithMaxValue(Aws::String &&value)
void SetScalingType(const HyperParameterScalingType &value)
IntegerParameterRange & WithMinValue(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API IntegerParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
IntegerParameterRange & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue