AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefaultIntegerHyperParameterRange.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Personalize
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_PERSONALIZE_API DefaultIntegerHyperParameterRange();
40 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline DefaultIntegerHyperParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline DefaultIntegerHyperParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline DefaultIntegerHyperParameterRange& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline int GetMinValue() const{ return m_minValue; }
62 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
63 inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; }
64 inline DefaultIntegerHyperParameterRange& WithMinValue(int value) { SetMinValue(value); return *this;}
66
68
71 inline int GetMaxValue() const{ return m_maxValue; }
72 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
73 inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
74 inline DefaultIntegerHyperParameterRange& WithMaxValue(int value) { SetMaxValue(value); return *this;}
76
78
81 inline bool GetIsTunable() const{ return m_isTunable; }
82 inline bool IsTunableHasBeenSet() const { return m_isTunableHasBeenSet; }
83 inline void SetIsTunable(bool value) { m_isTunableHasBeenSet = true; m_isTunable = value; }
84 inline DefaultIntegerHyperParameterRange& WithIsTunable(bool value) { SetIsTunable(value); return *this;}
86 private:
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90
91 int m_minValue;
92 bool m_minValueHasBeenSet = false;
93
94 int m_maxValue;
95 bool m_maxValueHasBeenSet = false;
96
97 bool m_isTunable;
98 bool m_isTunableHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Personalize
103} // namespace Aws
AWS_PERSONALIZE_API DefaultIntegerHyperParameterRange(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API DefaultIntegerHyperParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
DefaultIntegerHyperParameterRange & WithName(const char *value)
DefaultIntegerHyperParameterRange & WithName(const Aws::String &value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultIntegerHyperParameterRange & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue