AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 ContinuousParameterRange& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_minValueHasBeenSet = true; m_minValue = std::forward<MinValueT>(value); }
62 template<typename MinValueT = Aws::String>
63 ContinuousParameterRange& WithMinValue(MinValueT&& value) { SetMinValue(std::forward<MinValueT>(value)); return *this;}
65
67
71 inline const Aws::String& GetMaxValue() const { return m_maxValue; }
72 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
73 template<typename MaxValueT = Aws::String>
74 void SetMaxValue(MaxValueT&& value) { m_maxValueHasBeenSet = true; m_maxValue = std::forward<MaxValueT>(value); }
75 template<typename MaxValueT = Aws::String>
76 ContinuousParameterRange& WithMaxValue(MaxValueT&& value) { SetMaxValue(std::forward<MaxValueT>(value)); return *this;}
78
80
96 inline HyperParameterScalingType GetScalingType() const { return m_scalingType; }
97 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
98 inline void SetScalingType(HyperParameterScalingType value) { m_scalingTypeHasBeenSet = true; m_scalingType = value; }
101 private:
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 Aws::String m_minValue;
107 bool m_minValueHasBeenSet = false;
108
109 Aws::String m_maxValue;
110 bool m_maxValueHasBeenSet = false;
111
113 bool m_scalingTypeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SageMaker
118} // 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