AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HyperParameterRanges.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/personalize/model/IntegerHyperParameterRange.h>
10#include <aws/personalize/model/ContinuousHyperParameterRange.h>
11#include <aws/personalize/model/CategoricalHyperParameterRange.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Personalize
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_PERSONALIZE_API HyperParameterRanges();
39 AWS_PERSONALIZE_API HyperParameterRanges(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<IntegerHyperParameterRange>& GetIntegerHyperParameterRanges() const{ return m_integerHyperParameterRanges; }
49 inline bool IntegerHyperParameterRangesHasBeenSet() const { return m_integerHyperParameterRangesHasBeenSet; }
50 inline void SetIntegerHyperParameterRanges(const Aws::Vector<IntegerHyperParameterRange>& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges = value; }
51 inline void SetIntegerHyperParameterRanges(Aws::Vector<IntegerHyperParameterRange>&& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges = std::move(value); }
54 inline HyperParameterRanges& AddIntegerHyperParameterRanges(const IntegerHyperParameterRange& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges.push_back(value); return *this; }
55 inline HyperParameterRanges& AddIntegerHyperParameterRanges(IntegerHyperParameterRange&& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::Vector<ContinuousHyperParameterRange>& GetContinuousHyperParameterRanges() const{ return m_continuousHyperParameterRanges; }
63 inline bool ContinuousHyperParameterRangesHasBeenSet() const { return m_continuousHyperParameterRangesHasBeenSet; }
64 inline void SetContinuousHyperParameterRanges(const Aws::Vector<ContinuousHyperParameterRange>& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges = value; }
65 inline void SetContinuousHyperParameterRanges(Aws::Vector<ContinuousHyperParameterRange>&& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges = std::move(value); }
68 inline HyperParameterRanges& AddContinuousHyperParameterRanges(const ContinuousHyperParameterRange& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges.push_back(value); return *this; }
69 inline HyperParameterRanges& AddContinuousHyperParameterRanges(ContinuousHyperParameterRange&& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::Vector<CategoricalHyperParameterRange>& GetCategoricalHyperParameterRanges() const{ return m_categoricalHyperParameterRanges; }
77 inline bool CategoricalHyperParameterRangesHasBeenSet() const { return m_categoricalHyperParameterRangesHasBeenSet; }
78 inline void SetCategoricalHyperParameterRanges(const Aws::Vector<CategoricalHyperParameterRange>& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges = value; }
79 inline void SetCategoricalHyperParameterRanges(Aws::Vector<CategoricalHyperParameterRange>&& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges = std::move(value); }
82 inline HyperParameterRanges& AddCategoricalHyperParameterRanges(const CategoricalHyperParameterRange& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges.push_back(value); return *this; }
83 inline HyperParameterRanges& AddCategoricalHyperParameterRanges(CategoricalHyperParameterRange&& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::Vector<IntegerHyperParameterRange> m_integerHyperParameterRanges;
88 bool m_integerHyperParameterRangesHasBeenSet = false;
89
90 Aws::Vector<ContinuousHyperParameterRange> m_continuousHyperParameterRanges;
91 bool m_continuousHyperParameterRangesHasBeenSet = false;
92
93 Aws::Vector<CategoricalHyperParameterRange> m_categoricalHyperParameterRanges;
94 bool m_categoricalHyperParameterRangesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Personalize
99} // namespace Aws
HyperParameterRanges & WithCategoricalHyperParameterRanges(Aws::Vector< CategoricalHyperParameterRange > &&value)
void SetIntegerHyperParameterRanges(const Aws::Vector< IntegerHyperParameterRange > &value)
HyperParameterRanges & WithContinuousHyperParameterRanges(const Aws::Vector< ContinuousHyperParameterRange > &value)
void SetContinuousHyperParameterRanges(Aws::Vector< ContinuousHyperParameterRange > &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContinuousHyperParameterRanges(const Aws::Vector< ContinuousHyperParameterRange > &value)
HyperParameterRanges & AddIntegerHyperParameterRanges(const IntegerHyperParameterRange &value)
HyperParameterRanges & AddCategoricalHyperParameterRanges(CategoricalHyperParameterRange &&value)
const Aws::Vector< CategoricalHyperParameterRange > & GetCategoricalHyperParameterRanges() const
HyperParameterRanges & AddContinuousHyperParameterRanges(const ContinuousHyperParameterRange &value)
AWS_PERSONALIZE_API HyperParameterRanges(Aws::Utils::Json::JsonView jsonValue)
void SetCategoricalHyperParameterRanges(const Aws::Vector< CategoricalHyperParameterRange > &value)
void SetCategoricalHyperParameterRanges(Aws::Vector< CategoricalHyperParameterRange > &&value)
HyperParameterRanges & AddCategoricalHyperParameterRanges(const CategoricalHyperParameterRange &value)
void SetIntegerHyperParameterRanges(Aws::Vector< IntegerHyperParameterRange > &&value)
HyperParameterRanges & WithContinuousHyperParameterRanges(Aws::Vector< ContinuousHyperParameterRange > &&value)
AWS_PERSONALIZE_API HyperParameterRanges & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< IntegerHyperParameterRange > & GetIntegerHyperParameterRanges() const
HyperParameterRanges & WithCategoricalHyperParameterRanges(const Aws::Vector< CategoricalHyperParameterRange > &value)
HyperParameterRanges & AddContinuousHyperParameterRanges(ContinuousHyperParameterRange &&value)
const Aws::Vector< ContinuousHyperParameterRange > & GetContinuousHyperParameterRanges() const
HyperParameterRanges & WithIntegerHyperParameterRanges(Aws::Vector< IntegerHyperParameterRange > &&value)
HyperParameterRanges & WithIntegerHyperParameterRanges(const Aws::Vector< IntegerHyperParameterRange > &value)
HyperParameterRanges & AddIntegerHyperParameterRanges(IntegerHyperParameterRange &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue