AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefaultHyperParameterRanges.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/DefaultIntegerHyperParameterRange.h>
10#include <aws/personalize/model/DefaultContinuousHyperParameterRange.h>
11#include <aws/personalize/model/DefaultCategoricalHyperParameterRange.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 DefaultHyperParameterRanges();
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<DefaultIntegerHyperParameterRange>& GetIntegerHyperParameterRanges() const{ return m_integerHyperParameterRanges; }
49 inline bool IntegerHyperParameterRangesHasBeenSet() const { return m_integerHyperParameterRangesHasBeenSet; }
50 inline void SetIntegerHyperParameterRanges(const Aws::Vector<DefaultIntegerHyperParameterRange>& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges = value; }
51 inline void SetIntegerHyperParameterRanges(Aws::Vector<DefaultIntegerHyperParameterRange>&& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges = std::move(value); }
54 inline DefaultHyperParameterRanges& AddIntegerHyperParameterRanges(const DefaultIntegerHyperParameterRange& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges.push_back(value); return *this; }
55 inline DefaultHyperParameterRanges& AddIntegerHyperParameterRanges(DefaultIntegerHyperParameterRange&& value) { m_integerHyperParameterRangesHasBeenSet = true; m_integerHyperParameterRanges.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::Vector<DefaultContinuousHyperParameterRange>& GetContinuousHyperParameterRanges() const{ return m_continuousHyperParameterRanges; }
63 inline bool ContinuousHyperParameterRangesHasBeenSet() const { return m_continuousHyperParameterRangesHasBeenSet; }
64 inline void SetContinuousHyperParameterRanges(const Aws::Vector<DefaultContinuousHyperParameterRange>& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges = value; }
65 inline void SetContinuousHyperParameterRanges(Aws::Vector<DefaultContinuousHyperParameterRange>&& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges = std::move(value); }
68 inline DefaultHyperParameterRanges& AddContinuousHyperParameterRanges(const DefaultContinuousHyperParameterRange& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges.push_back(value); return *this; }
69 inline DefaultHyperParameterRanges& AddContinuousHyperParameterRanges(DefaultContinuousHyperParameterRange&& value) { m_continuousHyperParameterRangesHasBeenSet = true; m_continuousHyperParameterRanges.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::Vector<DefaultCategoricalHyperParameterRange>& GetCategoricalHyperParameterRanges() const{ return m_categoricalHyperParameterRanges; }
77 inline bool CategoricalHyperParameterRangesHasBeenSet() const { return m_categoricalHyperParameterRangesHasBeenSet; }
78 inline void SetCategoricalHyperParameterRanges(const Aws::Vector<DefaultCategoricalHyperParameterRange>& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges = value; }
79 inline void SetCategoricalHyperParameterRanges(Aws::Vector<DefaultCategoricalHyperParameterRange>&& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges = std::move(value); }
82 inline DefaultHyperParameterRanges& AddCategoricalHyperParameterRanges(const DefaultCategoricalHyperParameterRange& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges.push_back(value); return *this; }
83 inline DefaultHyperParameterRanges& AddCategoricalHyperParameterRanges(DefaultCategoricalHyperParameterRange&& value) { m_categoricalHyperParameterRangesHasBeenSet = true; m_categoricalHyperParameterRanges.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::Vector<DefaultIntegerHyperParameterRange> m_integerHyperParameterRanges;
88 bool m_integerHyperParameterRangesHasBeenSet = false;
89
90 Aws::Vector<DefaultContinuousHyperParameterRange> m_continuousHyperParameterRanges;
91 bool m_continuousHyperParameterRangesHasBeenSet = false;
92
93 Aws::Vector<DefaultCategoricalHyperParameterRange> m_categoricalHyperParameterRanges;
94 bool m_categoricalHyperParameterRangesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Personalize
99} // namespace Aws
const Aws::Vector< DefaultCategoricalHyperParameterRange > & GetCategoricalHyperParameterRanges() const
void SetCategoricalHyperParameterRanges(Aws::Vector< DefaultCategoricalHyperParameterRange > &&value)
AWS_PERSONALIZE_API DefaultHyperParameterRanges & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DefaultContinuousHyperParameterRange > & GetContinuousHyperParameterRanges() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultHyperParameterRanges & AddCategoricalHyperParameterRanges(const DefaultCategoricalHyperParameterRange &value)
void SetCategoricalHyperParameterRanges(const Aws::Vector< DefaultCategoricalHyperParameterRange > &value)
DefaultHyperParameterRanges & WithContinuousHyperParameterRanges(const Aws::Vector< DefaultContinuousHyperParameterRange > &value)
DefaultHyperParameterRanges & WithIntegerHyperParameterRanges(const Aws::Vector< DefaultIntegerHyperParameterRange > &value)
DefaultHyperParameterRanges & WithCategoricalHyperParameterRanges(Aws::Vector< DefaultCategoricalHyperParameterRange > &&value)
DefaultHyperParameterRanges & WithContinuousHyperParameterRanges(Aws::Vector< DefaultContinuousHyperParameterRange > &&value)
DefaultHyperParameterRanges & AddContinuousHyperParameterRanges(const DefaultContinuousHyperParameterRange &value)
void SetContinuousHyperParameterRanges(const Aws::Vector< DefaultContinuousHyperParameterRange > &value)
DefaultHyperParameterRanges & AddCategoricalHyperParameterRanges(DefaultCategoricalHyperParameterRange &&value)
void SetContinuousHyperParameterRanges(Aws::Vector< DefaultContinuousHyperParameterRange > &&value)
DefaultHyperParameterRanges & WithIntegerHyperParameterRanges(Aws::Vector< DefaultIntegerHyperParameterRange > &&value)
void SetIntegerHyperParameterRanges(Aws::Vector< DefaultIntegerHyperParameterRange > &&value)
const Aws::Vector< DefaultIntegerHyperParameterRange > & GetIntegerHyperParameterRanges() const
void SetIntegerHyperParameterRanges(const Aws::Vector< DefaultIntegerHyperParameterRange > &value)
AWS_PERSONALIZE_API DefaultHyperParameterRanges(Aws::Utils::Json::JsonView jsonValue)
DefaultHyperParameterRanges & AddContinuousHyperParameterRanges(DefaultContinuousHyperParameterRange &&value)
DefaultHyperParameterRanges & AddIntegerHyperParameterRanges(DefaultIntegerHyperParameterRange &&value)
DefaultHyperParameterRanges & AddIntegerHyperParameterRanges(const DefaultIntegerHyperParameterRange &value)
DefaultHyperParameterRanges & WithCategoricalHyperParameterRanges(const Aws::Vector< DefaultCategoricalHyperParameterRange > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue