AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DefaultIntegerHyperParameterRange.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/personalize/Personalize_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Personalize {
20namespace Model {
21
31 public:
32 AWS_PERSONALIZE_API DefaultIntegerHyperParameterRange() = default;
35 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline int GetMinValue() const { return m_minValue; }
60 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
61 inline void SetMinValue(int value) {
62 m_minValueHasBeenSet = true;
63 m_minValue = value;
64 }
66 SetMinValue(value);
67 return *this;
68 }
70
72
75 inline int GetMaxValue() const { return m_maxValue; }
76 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
77 inline void SetMaxValue(int value) {
78 m_maxValueHasBeenSet = true;
79 m_maxValue = value;
80 }
82 SetMaxValue(value);
83 return *this;
84 }
86
88
91 inline bool GetIsTunable() const { return m_isTunable; }
92 inline bool IsTunableHasBeenSet() const { return m_isTunableHasBeenSet; }
93 inline void SetIsTunable(bool value) {
94 m_isTunableHasBeenSet = true;
95 m_isTunable = value;
96 }
98 SetIsTunable(value);
99 return *this;
100 }
102 private:
103 Aws::String m_name;
104
105 int m_minValue{0};
106
107 int m_maxValue{0};
108
109 bool m_isTunable{false};
110 bool m_nameHasBeenSet = false;
111 bool m_minValueHasBeenSet = false;
112 bool m_maxValueHasBeenSet = false;
113 bool m_isTunableHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Personalize
118} // namespace Aws
AWS_PERSONALIZE_API DefaultIntegerHyperParameterRange()=default
AWS_PERSONALIZE_API DefaultIntegerHyperParameterRange(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API DefaultIntegerHyperParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue