AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContinuousParameterRange.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
33 {
34 public:
35 AWS_SAGEMAKER_API ContinuousParameterRange();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline ContinuousParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline ContinuousParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline ContinuousParameterRange& WithName(const char* value) { SetName(value); return *this;}
54
56
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 ContinuousParameterRange& WithMinValue(const Aws::String& value) { SetMinValue(value); return *this;}
66 inline ContinuousParameterRange& WithMinValue(Aws::String&& value) { SetMinValue(std::move(value)); return *this;}
67 inline ContinuousParameterRange& WithMinValue(const char* value) { SetMinValue(value); return *this;}
69
71
75 inline const Aws::String& GetMaxValue() const{ return m_maxValue; }
76 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
77 inline void SetMaxValue(const Aws::String& value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
78 inline void SetMaxValue(Aws::String&& value) { m_maxValueHasBeenSet = true; m_maxValue = std::move(value); }
79 inline void SetMaxValue(const char* value) { m_maxValueHasBeenSet = true; m_maxValue.assign(value); }
80 inline ContinuousParameterRange& WithMaxValue(const Aws::String& value) { SetMaxValue(value); return *this;}
81 inline ContinuousParameterRange& WithMaxValue(Aws::String&& value) { SetMaxValue(std::move(value)); return *this;}
82 inline ContinuousParameterRange& WithMaxValue(const char* value) { SetMaxValue(value); return *this;}
84
86
102 inline const HyperParameterScalingType& GetScalingType() const{ return m_scalingType; }
103 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
104 inline void SetScalingType(const HyperParameterScalingType& value) { m_scalingTypeHasBeenSet = true; m_scalingType = value; }
105 inline void SetScalingType(HyperParameterScalingType&& value) { m_scalingTypeHasBeenSet = true; m_scalingType = std::move(value); }
107 inline ContinuousParameterRange& WithScalingType(HyperParameterScalingType&& value) { SetScalingType(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 Aws::String m_minValue;
115 bool m_minValueHasBeenSet = false;
116
117 Aws::String m_maxValue;
118 bool m_maxValueHasBeenSet = false;
119
120 HyperParameterScalingType m_scalingType;
121 bool m_scalingTypeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace SageMaker
126} // namespace Aws
ContinuousParameterRange & WithMaxValue(Aws::String &&value)
ContinuousParameterRange & WithName(const char *value)
ContinuousParameterRange & WithScalingType(HyperParameterScalingType &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ContinuousParameterRange & WithMaxValue(const Aws::String &value)
void SetScalingType(HyperParameterScalingType &&value)
ContinuousParameterRange & WithMinValue(const char *value)
ContinuousParameterRange & WithName(const Aws::String &value)
ContinuousParameterRange & WithName(Aws::String &&value)
AWS_SAGEMAKER_API ContinuousParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
const HyperParameterScalingType & GetScalingType() const
void SetScalingType(const HyperParameterScalingType &value)
AWS_SAGEMAKER_API ContinuousParameterRange(Aws::Utils::Json::JsonView jsonValue)
ContinuousParameterRange & WithMaxValue(const char *value)
ContinuousParameterRange & WithMinValue(const Aws::String &value)
ContinuousParameterRange & WithScalingType(const HyperParameterScalingType &value)
ContinuousParameterRange & WithMinValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue