AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ContinuousParameterRange.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/HyperParameterScalingType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
29 public:
30 AWS_SAGEMAKER_API ContinuousParameterRange() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetMinValue() const { return m_minValue; }
59 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
60 template <typename MinValueT = Aws::String>
61 void SetMinValue(MinValueT&& value) {
62 m_minValueHasBeenSet = true;
63 m_minValue = std::forward<MinValueT>(value);
64 }
65 template <typename MinValueT = Aws::String>
67 SetMinValue(std::forward<MinValueT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetMaxValue() const { return m_maxValue; }
78 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
79 template <typename MaxValueT = Aws::String>
80 void SetMaxValue(MaxValueT&& value) {
81 m_maxValueHasBeenSet = true;
82 m_maxValue = std::forward<MaxValueT>(value);
83 }
84 template <typename MaxValueT = Aws::String>
86 SetMaxValue(std::forward<MaxValueT>(value));
87 return *this;
88 }
90
92
108 inline HyperParameterScalingType GetScalingType() const { return m_scalingType; }
109 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
111 m_scalingTypeHasBeenSet = true;
112 m_scalingType = value;
113 }
115 SetScalingType(value);
116 return *this;
117 }
119 private:
120 Aws::String m_name;
121
122 Aws::String m_minValue;
123
124 Aws::String m_maxValue;
125
127 bool m_nameHasBeenSet = false;
128 bool m_minValueHasBeenSet = false;
129 bool m_maxValueHasBeenSet = false;
130 bool m_scalingTypeHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace SageMaker
135} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ContinuousParameterRange & WithMaxValue(MaxValueT &&value)
ContinuousParameterRange & WithMinValue(MinValueT &&value)
AWS_SAGEMAKER_API ContinuousParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
ContinuousParameterRange & WithName(NameT &&value)
AWS_SAGEMAKER_API ContinuousParameterRange()=default
ContinuousParameterRange & WithScalingType(HyperParameterScalingType value)
AWS_SAGEMAKER_API ContinuousParameterRange(Aws::Utils::Json::JsonView jsonValue)
void SetScalingType(HyperParameterScalingType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue