AWS SDK for C++  1.9.102
AWS SDK for C++
DefaultIntegerHyperParameterRange.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 DefaultIntegerHyperParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline DefaultIntegerHyperParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline DefaultIntegerHyperParameterRange& WithName(const char* value) { SetName(value); return *this;}
82 
83 
87  inline int GetMinValue() const{ return m_minValue; }
88 
92  inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
93 
97  inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; }
98 
102  inline DefaultIntegerHyperParameterRange& WithMinValue(int value) { SetMinValue(value); return *this;}
103 
104 
108  inline int GetMaxValue() const{ return m_maxValue; }
109 
113  inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
114 
118  inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
119 
123  inline DefaultIntegerHyperParameterRange& WithMaxValue(int 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 DefaultIntegerHyperParameterRange& WithIsTunable(bool value) { SetIsTunable(value); return *this;}
145 
146  private:
147 
148  Aws::String m_name;
149  bool m_nameHasBeenSet;
150 
151  int m_minValue;
152  bool m_minValueHasBeenSet;
153 
154  int 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::DefaultIntegerHyperParameterRange::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DefaultIntegerHyperParameterRange.h:51
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::WithName
DefaultIntegerHyperParameterRange & WithName(Aws::String &&value)
Definition: DefaultIntegerHyperParameterRange.h:76
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::WithName
DefaultIntegerHyperParameterRange & WithName(const Aws::String &value)
Definition: DefaultIntegerHyperParameterRange.h:71
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::MinValueHasBeenSet
bool MinValueHasBeenSet() const
Definition: DefaultIntegerHyperParameterRange.h:92
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::WithMinValue
DefaultIntegerHyperParameterRange & WithMinValue(int value)
Definition: DefaultIntegerHyperParameterRange.h:102
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::SetMinValue
void SetMinValue(int value)
Definition: DefaultIntegerHyperParameterRange.h:97
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::SetIsTunable
void SetIsTunable(bool value)
Definition: DefaultIntegerHyperParameterRange.h:139
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::MaxValueHasBeenSet
bool MaxValueHasBeenSet() const
Definition: DefaultIntegerHyperParameterRange.h:113
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::GetMinValue
int GetMinValue() const
Definition: DefaultIntegerHyperParameterRange.h:87
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::WithIsTunable
DefaultIntegerHyperParameterRange & WithIsTunable(bool value)
Definition: DefaultIntegerHyperParameterRange.h:144
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::SetMaxValue
void SetMaxValue(int value)
Definition: DefaultIntegerHyperParameterRange.h:118
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::IsTunableHasBeenSet
bool IsTunableHasBeenSet() const
Definition: DefaultIntegerHyperParameterRange.h:134
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::GetMaxValue
int GetMaxValue() const
Definition: DefaultIntegerHyperParameterRange.h:108
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::WithName
DefaultIntegerHyperParameterRange & WithName(const char *value)
Definition: DefaultIntegerHyperParameterRange.h:81
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::SetName
void SetName(Aws::String &&value)
Definition: DefaultIntegerHyperParameterRange.h:61
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::GetIsTunable
bool GetIsTunable() const
Definition: DefaultIntegerHyperParameterRange.h:129
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::operator=
DefaultIntegerHyperParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::WithMaxValue
DefaultIntegerHyperParameterRange & WithMaxValue(int value)
Definition: DefaultIntegerHyperParameterRange.h:123
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::DefaultIntegerHyperParameterRange
DefaultIntegerHyperParameterRange()
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::SetName
void SetName(const Aws::String &value)
Definition: DefaultIntegerHyperParameterRange.h:56
Aws::Personalize::Model::DefaultIntegerHyperParameterRange
Definition: DefaultIntegerHyperParameterRange.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::SetName
void SetName(const char *value)
Definition: DefaultIntegerHyperParameterRange.h:66
Personalize_EXPORTS.h
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::DefaultIntegerHyperParameterRange
DefaultIntegerHyperParameterRange(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DefaultIntegerHyperParameterRange::GetName
const Aws::String & GetName() const
Definition: DefaultIntegerHyperParameterRange.h:46