AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntegerHyperParameterRange.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
33 {
34 public:
35 AWS_PERSONALIZE_API IntegerHyperParameterRange();
38 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline IntegerHyperParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline IntegerHyperParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline IntegerHyperParameterRange& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline int GetMinValue() const{ return m_minValue; }
60 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
61 inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; }
62 inline IntegerHyperParameterRange& WithMinValue(int value) { SetMinValue(value); return *this;}
64
66
69 inline int GetMaxValue() const{ return m_maxValue; }
70 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
71 inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
72 inline IntegerHyperParameterRange& WithMaxValue(int value) { SetMaxValue(value); return *this;}
74 private:
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
79 int m_minValue;
80 bool m_minValueHasBeenSet = false;
81
82 int m_maxValue;
83 bool m_maxValueHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Personalize
88} // namespace Aws
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
IntegerHyperParameterRange & WithName(const char *value)
IntegerHyperParameterRange & WithName(Aws::String &&value)
IntegerHyperParameterRange & WithName(const Aws::String &value)
AWS_PERSONALIZE_API IntegerHyperParameterRange(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API IntegerHyperParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue