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