AWS SDK for C++  1.9.108
AWS SDK for C++
ContinuousHyperParameterRange.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline ContinuousHyperParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline ContinuousHyperParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline ContinuousHyperParameterRange& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline double GetMinValue() const{ return m_minValue; }
86 
90  inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
91 
95  inline void SetMinValue(double value) { m_minValueHasBeenSet = true; m_minValue = value; }
96 
100  inline ContinuousHyperParameterRange& WithMinValue(double value) { SetMinValue(value); return *this;}
101 
102 
106  inline double GetMaxValue() const{ return m_maxValue; }
107 
111  inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
112 
116  inline void SetMaxValue(double value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
117 
121  inline ContinuousHyperParameterRange& WithMaxValue(double value) { SetMaxValue(value); return *this;}
122 
123  private:
124 
125  Aws::String m_name;
126  bool m_nameHasBeenSet;
127 
128  double m_minValue;
129  bool m_minValueHasBeenSet;
130 
131  double m_maxValue;
132  bool m_maxValueHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace Personalize
137 } // namespace Aws
Aws::Personalize::Model::ContinuousHyperParameterRange::GetMaxValue
double GetMaxValue() const
Definition: ContinuousHyperParameterRange.h:106
Aws::Personalize::Model::ContinuousHyperParameterRange
Definition: ContinuousHyperParameterRange.h:33
Aws::Personalize::Model::ContinuousHyperParameterRange::ContinuousHyperParameterRange
ContinuousHyperParameterRange()
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::ContinuousHyperParameterRange::WithMinValue
ContinuousHyperParameterRange & WithMinValue(double value)
Definition: ContinuousHyperParameterRange.h:100
Aws::Personalize::Model::ContinuousHyperParameterRange::SetName
void SetName(const char *value)
Definition: ContinuousHyperParameterRange.h:64
Aws::Personalize::Model::ContinuousHyperParameterRange::SetMinValue
void SetMinValue(double value)
Definition: ContinuousHyperParameterRange.h:95
Aws::Personalize::Model::ContinuousHyperParameterRange::ContinuousHyperParameterRange
ContinuousHyperParameterRange(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::ContinuousHyperParameterRange::GetMinValue
double GetMinValue() const
Definition: ContinuousHyperParameterRange.h:85
Aws::Personalize::Model::ContinuousHyperParameterRange::SetName
void SetName(const Aws::String &value)
Definition: ContinuousHyperParameterRange.h:54
Aws::Personalize::Model::ContinuousHyperParameterRange::SetName
void SetName(Aws::String &&value)
Definition: ContinuousHyperParameterRange.h:59
Aws::Personalize::Model::ContinuousHyperParameterRange::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ContinuousHyperParameterRange.h:49
Aws::Personalize::Model::ContinuousHyperParameterRange::WithName
ContinuousHyperParameterRange & WithName(const Aws::String &value)
Definition: ContinuousHyperParameterRange.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::ContinuousHyperParameterRange::SetMaxValue
void SetMaxValue(double value)
Definition: ContinuousHyperParameterRange.h:116
Aws::Personalize::Model::ContinuousHyperParameterRange::MinValueHasBeenSet
bool MinValueHasBeenSet() const
Definition: ContinuousHyperParameterRange.h:90
Aws::Personalize::Model::ContinuousHyperParameterRange::WithName
ContinuousHyperParameterRange & WithName(const char *value)
Definition: ContinuousHyperParameterRange.h:79
Aws::Personalize::Model::ContinuousHyperParameterRange::operator=
ContinuousHyperParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::ContinuousHyperParameterRange::GetName
const Aws::String & GetName() const
Definition: ContinuousHyperParameterRange.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::ContinuousHyperParameterRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::ContinuousHyperParameterRange::MaxValueHasBeenSet
bool MaxValueHasBeenSet() const
Definition: ContinuousHyperParameterRange.h:111
Personalize_EXPORTS.h
Aws::Personalize::Model::ContinuousHyperParameterRange::WithMaxValue
ContinuousHyperParameterRange & WithMaxValue(double value)
Definition: ContinuousHyperParameterRange.h:121
Aws::Personalize::Model::ContinuousHyperParameterRange::WithName
ContinuousHyperParameterRange & WithName(Aws::String &&value)
Definition: ContinuousHyperParameterRange.h:74