AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefaultContinuousHyperParameterRange.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:
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 DefaultContinuousHyperParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline DefaultContinuousHyperParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline DefaultContinuousHyperParameterRange& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline double GetMinValue() const{ return m_minValue; }
62 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
63 inline void SetMinValue(double value) { m_minValueHasBeenSet = true; m_minValue = value; }
64 inline DefaultContinuousHyperParameterRange& WithMinValue(double value) { SetMinValue(value); return *this;}
66
68
71 inline double GetMaxValue() const{ return m_maxValue; }
72 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
73 inline void SetMaxValue(double value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
74 inline DefaultContinuousHyperParameterRange& WithMaxValue(double 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 DefaultContinuousHyperParameterRange& WithIsTunable(bool value) { SetIsTunable(value); return *this;}
86 private:
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90
91 double m_minValue;
92 bool m_minValueHasBeenSet = false;
93
94 double 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 Aws::Utils::Json::JsonValue Jsonize() const
DefaultContinuousHyperParameterRange & WithName(const Aws::String &value)
DefaultContinuousHyperParameterRange & WithName(Aws::String &&value)
AWS_PERSONALIZE_API DefaultContinuousHyperParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API DefaultContinuousHyperParameterRange(Aws::Utils::Json::JsonView jsonValue)
DefaultContinuousHyperParameterRange & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue