AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HPOConfig.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/model/HPOObjective.h>
9#include <aws/personalize/model/HPOResourceConfig.h>
10#include <aws/personalize/model/HyperParameterRanges.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Personalize
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PERSONALIZE_API HPOConfig();
38 AWS_PERSONALIZE_API HPOConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZE_API HPOConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const HPOObjective& GetHpoObjective() const{ return m_hpoObjective; }
49 inline bool HpoObjectiveHasBeenSet() const { return m_hpoObjectiveHasBeenSet; }
50 inline void SetHpoObjective(const HPOObjective& value) { m_hpoObjectiveHasBeenSet = true; m_hpoObjective = value; }
51 inline void SetHpoObjective(HPOObjective&& value) { m_hpoObjectiveHasBeenSet = true; m_hpoObjective = std::move(value); }
52 inline HPOConfig& WithHpoObjective(const HPOObjective& value) { SetHpoObjective(value); return *this;}
53 inline HPOConfig& WithHpoObjective(HPOObjective&& value) { SetHpoObjective(std::move(value)); return *this;}
55
57
60 inline const HPOResourceConfig& GetHpoResourceConfig() const{ return m_hpoResourceConfig; }
61 inline bool HpoResourceConfigHasBeenSet() const { return m_hpoResourceConfigHasBeenSet; }
62 inline void SetHpoResourceConfig(const HPOResourceConfig& value) { m_hpoResourceConfigHasBeenSet = true; m_hpoResourceConfig = value; }
63 inline void SetHpoResourceConfig(HPOResourceConfig&& value) { m_hpoResourceConfigHasBeenSet = true; m_hpoResourceConfig = std::move(value); }
64 inline HPOConfig& WithHpoResourceConfig(const HPOResourceConfig& value) { SetHpoResourceConfig(value); return *this;}
65 inline HPOConfig& WithHpoResourceConfig(HPOResourceConfig&& value) { SetHpoResourceConfig(std::move(value)); return *this;}
67
69
72 inline const HyperParameterRanges& GetAlgorithmHyperParameterRanges() const{ return m_algorithmHyperParameterRanges; }
73 inline bool AlgorithmHyperParameterRangesHasBeenSet() const { return m_algorithmHyperParameterRangesHasBeenSet; }
74 inline void SetAlgorithmHyperParameterRanges(const HyperParameterRanges& value) { m_algorithmHyperParameterRangesHasBeenSet = true; m_algorithmHyperParameterRanges = value; }
75 inline void SetAlgorithmHyperParameterRanges(HyperParameterRanges&& value) { m_algorithmHyperParameterRangesHasBeenSet = true; m_algorithmHyperParameterRanges = std::move(value); }
79 private:
80
81 HPOObjective m_hpoObjective;
82 bool m_hpoObjectiveHasBeenSet = false;
83
84 HPOResourceConfig m_hpoResourceConfig;
85 bool m_hpoResourceConfigHasBeenSet = false;
86
87 HyperParameterRanges m_algorithmHyperParameterRanges;
88 bool m_algorithmHyperParameterRangesHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Personalize
93} // namespace Aws
const HPOResourceConfig & GetHpoResourceConfig() const
Definition HPOConfig.h:60
HPOConfig & WithAlgorithmHyperParameterRanges(HyperParameterRanges &&value)
Definition HPOConfig.h:77
void SetAlgorithmHyperParameterRanges(HyperParameterRanges &&value)
Definition HPOConfig.h:75
HPOConfig & WithHpoObjective(const HPOObjective &value)
Definition HPOConfig.h:52
HPOConfig & WithHpoObjective(HPOObjective &&value)
Definition HPOConfig.h:53
void SetHpoObjective(const HPOObjective &value)
Definition HPOConfig.h:50
HPOConfig & WithHpoResourceConfig(HPOResourceConfig &&value)
Definition HPOConfig.h:65
const HyperParameterRanges & GetAlgorithmHyperParameterRanges() const
Definition HPOConfig.h:72
AWS_PERSONALIZE_API HPOConfig(Aws::Utils::Json::JsonView jsonValue)
void SetHpoResourceConfig(HPOResourceConfig &&value)
Definition HPOConfig.h:63
AWS_PERSONALIZE_API HPOConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHpoObjective(HPOObjective &&value)
Definition HPOConfig.h:51
bool AlgorithmHyperParameterRangesHasBeenSet() const
Definition HPOConfig.h:73
void SetHpoResourceConfig(const HPOResourceConfig &value)
Definition HPOConfig.h:62
HPOConfig & WithHpoResourceConfig(const HPOResourceConfig &value)
Definition HPOConfig.h:64
AWS_PERSONALIZE_API HPOConfig()
const HPOObjective & GetHpoObjective() const
Definition HPOConfig.h:48
void SetAlgorithmHyperParameterRanges(const HyperParameterRanges &value)
Definition HPOConfig.h:74
HPOConfig & WithAlgorithmHyperParameterRanges(const HyperParameterRanges &value)
Definition HPOConfig.h:76
Aws::Utils::Json::JsonValue JsonValue