AWS SDK for C++  1.9.108
AWS SDK for C++
HPOConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Personalize
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const HPOObjective& GetHpoObjective() const{ return m_hpoObjective; }
48 
53  inline bool HpoObjectiveHasBeenSet() const { return m_hpoObjectiveHasBeenSet; }
54 
59  inline void SetHpoObjective(const HPOObjective& value) { m_hpoObjectiveHasBeenSet = true; m_hpoObjective = value; }
60 
65  inline void SetHpoObjective(HPOObjective&& value) { m_hpoObjectiveHasBeenSet = true; m_hpoObjective = std::move(value); }
66 
71  inline HPOConfig& WithHpoObjective(const HPOObjective& value) { SetHpoObjective(value); return *this;}
72 
77  inline HPOConfig& WithHpoObjective(HPOObjective&& value) { SetHpoObjective(std::move(value)); return *this;}
78 
79 
83  inline const HPOResourceConfig& GetHpoResourceConfig() const{ return m_hpoResourceConfig; }
84 
88  inline bool HpoResourceConfigHasBeenSet() const { return m_hpoResourceConfigHasBeenSet; }
89 
93  inline void SetHpoResourceConfig(const HPOResourceConfig& value) { m_hpoResourceConfigHasBeenSet = true; m_hpoResourceConfig = value; }
94 
98  inline void SetHpoResourceConfig(HPOResourceConfig&& value) { m_hpoResourceConfigHasBeenSet = true; m_hpoResourceConfig = std::move(value); }
99 
103  inline HPOConfig& WithHpoResourceConfig(const HPOResourceConfig& value) { SetHpoResourceConfig(value); return *this;}
104 
108  inline HPOConfig& WithHpoResourceConfig(HPOResourceConfig&& value) { SetHpoResourceConfig(std::move(value)); return *this;}
109 
110 
114  inline const HyperParameterRanges& GetAlgorithmHyperParameterRanges() const{ return m_algorithmHyperParameterRanges; }
115 
119  inline bool AlgorithmHyperParameterRangesHasBeenSet() const { return m_algorithmHyperParameterRangesHasBeenSet; }
120 
124  inline void SetAlgorithmHyperParameterRanges(const HyperParameterRanges& value) { m_algorithmHyperParameterRangesHasBeenSet = true; m_algorithmHyperParameterRanges = value; }
125 
129  inline void SetAlgorithmHyperParameterRanges(HyperParameterRanges&& value) { m_algorithmHyperParameterRangesHasBeenSet = true; m_algorithmHyperParameterRanges = std::move(value); }
130 
134  inline HPOConfig& WithAlgorithmHyperParameterRanges(const HyperParameterRanges& value) { SetAlgorithmHyperParameterRanges(value); return *this;}
135 
139  inline HPOConfig& WithAlgorithmHyperParameterRanges(HyperParameterRanges&& value) { SetAlgorithmHyperParameterRanges(std::move(value)); return *this;}
140 
141  private:
142 
143  HPOObjective m_hpoObjective;
144  bool m_hpoObjectiveHasBeenSet;
145 
146  HPOResourceConfig m_hpoResourceConfig;
147  bool m_hpoResourceConfigHasBeenSet;
148 
149  HyperParameterRanges m_algorithmHyperParameterRanges;
150  bool m_algorithmHyperParameterRangesHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace Personalize
155 } // namespace Aws
Aws::Personalize::Model::HPOObjective
Definition: HPOObjective.h:34
Aws::Personalize::Model::HPOConfig::operator=
HPOConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::HPOConfig::GetAlgorithmHyperParameterRanges
const HyperParameterRanges & GetAlgorithmHyperParameterRanges() const
Definition: HPOConfig.h:114
Aws::Personalize::Model::HPOResourceConfig
Definition: HPOResourceConfig.h:33
Aws::Personalize::Model::HPOConfig::HpoResourceConfigHasBeenSet
bool HpoResourceConfigHasBeenSet() const
Definition: HPOConfig.h:88
Aws::Personalize::Model::HPOConfig::SetHpoResourceConfig
void SetHpoResourceConfig(HPOResourceConfig &&value)
Definition: HPOConfig.h:98
Aws::Personalize::Model::HPOConfig::SetAlgorithmHyperParameterRanges
void SetAlgorithmHyperParameterRanges(const HyperParameterRanges &value)
Definition: HPOConfig.h:124
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::HPOConfig::SetHpoObjective
void SetHpoObjective(HPOObjective &&value)
Definition: HPOConfig.h:65
Aws::Personalize::Model::HPOConfig::SetHpoResourceConfig
void SetHpoResourceConfig(const HPOResourceConfig &value)
Definition: HPOConfig.h:93
HPOObjective.h
HyperParameterRanges.h
Aws::Personalize::Model::HyperParameterRanges
Definition: HyperParameterRanges.h:36
Aws::Personalize::Model::HPOConfig::SetAlgorithmHyperParameterRanges
void SetAlgorithmHyperParameterRanges(HyperParameterRanges &&value)
Definition: HPOConfig.h:129
Aws::Personalize::Model::HPOConfig::AlgorithmHyperParameterRangesHasBeenSet
bool AlgorithmHyperParameterRangesHasBeenSet() const
Definition: HPOConfig.h:119
Aws::Personalize::Model::HPOConfig::GetHpoResourceConfig
const HPOResourceConfig & GetHpoResourceConfig() const
Definition: HPOConfig.h:83
HPOResourceConfig.h
Aws::Personalize::Model::HPOConfig::WithAlgorithmHyperParameterRanges
HPOConfig & WithAlgorithmHyperParameterRanges(HyperParameterRanges &&value)
Definition: HPOConfig.h:139
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::HPOConfig::HpoObjectiveHasBeenSet
bool HpoObjectiveHasBeenSet() const
Definition: HPOConfig.h:53
Aws::Personalize::Model::HPOConfig::SetHpoObjective
void SetHpoObjective(const HPOObjective &value)
Definition: HPOConfig.h:59
Aws::Personalize::Model::HPOConfig::HPOConfig
HPOConfig()
Aws::Personalize::Model::HPOConfig::WithHpoResourceConfig
HPOConfig & WithHpoResourceConfig(const HPOResourceConfig &value)
Definition: HPOConfig.h:103
Aws::Personalize::Model::HPOConfig::WithHpoObjective
HPOConfig & WithHpoObjective(HPOObjective &&value)
Definition: HPOConfig.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::HPOConfig::GetHpoObjective
const HPOObjective & GetHpoObjective() const
Definition: HPOConfig.h:47
Aws::Personalize::Model::HPOConfig::WithHpoResourceConfig
HPOConfig & WithHpoResourceConfig(HPOResourceConfig &&value)
Definition: HPOConfig.h:108
Aws::Personalize::Model::HPOConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Personalize_EXPORTS.h
Aws::Personalize::Model::HPOConfig::WithHpoObjective
HPOConfig & WithHpoObjective(const HPOObjective &value)
Definition: HPOConfig.h:71
Aws::Personalize::Model::HPOConfig::HPOConfig
HPOConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::HPOConfig::WithAlgorithmHyperParameterRanges
HPOConfig & WithAlgorithmHyperParameterRanges(const HyperParameterRanges &value)
Definition: HPOConfig.h:134
Aws::Personalize::Model::HPOConfig
Definition: HPOConfig.h:35