AWS SDK for C++  1.9.102
AWS SDK for C++
DefaultContinuousHyperParameterRange.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Personalize
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline DefaultContinuousHyperParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline DefaultContinuousHyperParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline DefaultContinuousHyperParameterRange& WithName(const char* value) { SetName(value); return *this;}
82 
83 
87  inline double GetMinValue() const{ return m_minValue; }
88 
92  inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
93 
97  inline void SetMinValue(double value) { m_minValueHasBeenSet = true; m_minValue = value; }
98 
102  inline DefaultContinuousHyperParameterRange& WithMinValue(double value) { SetMinValue(value); return *this;}
103 
104 
108  inline double GetMaxValue() const{ return m_maxValue; }
109 
113  inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
114 
118  inline void SetMaxValue(double value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
119 
123  inline DefaultContinuousHyperParameterRange& WithMaxValue(double value) { SetMaxValue(value); return *this;}
124 
125 
129  inline bool GetIsTunable() const{ return m_isTunable; }
130 
134  inline bool IsTunableHasBeenSet() const { return m_isTunableHasBeenSet; }
135 
139  inline void SetIsTunable(bool value) { m_isTunableHasBeenSet = true; m_isTunable = value; }
140 
144  inline DefaultContinuousHyperParameterRange& WithIsTunable(bool value) { SetIsTunable(value); return *this;}
145 
146  private:
147 
148  Aws::String m_name;
149  bool m_nameHasBeenSet;
150 
151  double m_minValue;
152  bool m_minValueHasBeenSet;
153 
154  double m_maxValue;
155  bool m_maxValueHasBeenSet;
156 
157  bool m_isTunable;
158  bool m_isTunableHasBeenSet;
159  };
160 
161 } // namespace Model
162 } // namespace Personalize
163 } // namespace Aws
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::WithMinValue
DefaultContinuousHyperParameterRange & WithMinValue(double value)
Definition: DefaultContinuousHyperParameterRange.h:102
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::GetName
const Aws::String & GetName() const
Definition: DefaultContinuousHyperParameterRange.h:46
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::WithIsTunable
DefaultContinuousHyperParameterRange & WithIsTunable(bool value)
Definition: DefaultContinuousHyperParameterRange.h:144
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DefaultContinuousHyperParameterRange.h:51
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::MinValueHasBeenSet
bool MinValueHasBeenSet() const
Definition: DefaultContinuousHyperParameterRange.h:92
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::SetIsTunable
void SetIsTunable(bool value)
Definition: DefaultContinuousHyperParameterRange.h:139
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::DefaultContinuousHyperParameterRange
DefaultContinuousHyperParameterRange(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::SetMinValue
void SetMinValue(double value)
Definition: DefaultContinuousHyperParameterRange.h:97
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::WithName
DefaultContinuousHyperParameterRange & WithName(const char *value)
Definition: DefaultContinuousHyperParameterRange.h:81
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::SetName
void SetName(const Aws::String &value)
Definition: DefaultContinuousHyperParameterRange.h:56
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::WithName
DefaultContinuousHyperParameterRange & WithName(Aws::String &&value)
Definition: DefaultContinuousHyperParameterRange.h:76
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::SetName
void SetName(Aws::String &&value)
Definition: DefaultContinuousHyperParameterRange.h:61
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::IsTunableHasBeenSet
bool IsTunableHasBeenSet() const
Definition: DefaultContinuousHyperParameterRange.h:134
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::GetMaxValue
double GetMaxValue() const
Definition: DefaultContinuousHyperParameterRange.h:108
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::GetMinValue
double GetMinValue() const
Definition: DefaultContinuousHyperParameterRange.h:87
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::SetName
void SetName(const char *value)
Definition: DefaultContinuousHyperParameterRange.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DefaultContinuousHyperParameterRange
Definition: DefaultContinuousHyperParameterRange.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::SetMaxValue
void SetMaxValue(double value)
Definition: DefaultContinuousHyperParameterRange.h:118
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::DefaultContinuousHyperParameterRange
DefaultContinuousHyperParameterRange()
Personalize_EXPORTS.h
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::operator=
DefaultContinuousHyperParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::GetIsTunable
bool GetIsTunable() const
Definition: DefaultContinuousHyperParameterRange.h:129
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::WithName
DefaultContinuousHyperParameterRange & WithName(const Aws::String &value)
Definition: DefaultContinuousHyperParameterRange.h:71
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::MaxValueHasBeenSet
bool MaxValueHasBeenSet() const
Definition: DefaultContinuousHyperParameterRange.h:113
Aws::Personalize::Model::DefaultContinuousHyperParameterRange::WithMaxValue
DefaultContinuousHyperParameterRange & WithMaxValue(double value)
Definition: DefaultContinuousHyperParameterRange.h:123