AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SolutionConfig.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/HPOConfig.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/personalize/model/AutoMLConfig.h>
12#include <aws/personalize/model/OptimizationObjective.h>
13#include <aws/personalize/model/TrainingDataConfig.h>
14#include <aws/personalize/model/AutoTrainingConfig.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Personalize
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_PERSONALIZE_API SolutionConfig();
42 AWS_PERSONALIZE_API SolutionConfig(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PERSONALIZE_API SolutionConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetEventValueThreshold() const{ return m_eventValueThreshold; }
53 inline bool EventValueThresholdHasBeenSet() const { return m_eventValueThresholdHasBeenSet; }
54 inline void SetEventValueThreshold(const Aws::String& value) { m_eventValueThresholdHasBeenSet = true; m_eventValueThreshold = value; }
55 inline void SetEventValueThreshold(Aws::String&& value) { m_eventValueThresholdHasBeenSet = true; m_eventValueThreshold = std::move(value); }
56 inline void SetEventValueThreshold(const char* value) { m_eventValueThresholdHasBeenSet = true; m_eventValueThreshold.assign(value); }
57 inline SolutionConfig& WithEventValueThreshold(const Aws::String& value) { SetEventValueThreshold(value); return *this;}
58 inline SolutionConfig& WithEventValueThreshold(Aws::String&& value) { SetEventValueThreshold(std::move(value)); return *this;}
59 inline SolutionConfig& WithEventValueThreshold(const char* value) { SetEventValueThreshold(value); return *this;}
61
63
66 inline const HPOConfig& GetHpoConfig() const{ return m_hpoConfig; }
67 inline bool HpoConfigHasBeenSet() const { return m_hpoConfigHasBeenSet; }
68 inline void SetHpoConfig(const HPOConfig& value) { m_hpoConfigHasBeenSet = true; m_hpoConfig = value; }
69 inline void SetHpoConfig(HPOConfig&& value) { m_hpoConfigHasBeenSet = true; m_hpoConfig = std::move(value); }
70 inline SolutionConfig& WithHpoConfig(const HPOConfig& value) { SetHpoConfig(value); return *this;}
71 inline SolutionConfig& WithHpoConfig(HPOConfig&& value) { SetHpoConfig(std::move(value)); return *this;}
73
75
78 inline const Aws::Map<Aws::String, Aws::String>& GetAlgorithmHyperParameters() const{ return m_algorithmHyperParameters; }
79 inline bool AlgorithmHyperParametersHasBeenSet() const { return m_algorithmHyperParametersHasBeenSet; }
80 inline void SetAlgorithmHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters = value; }
81 inline void SetAlgorithmHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters = std::move(value); }
84 inline SolutionConfig& AddAlgorithmHyperParameters(const Aws::String& key, const Aws::String& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, value); return *this; }
85 inline SolutionConfig& AddAlgorithmHyperParameters(Aws::String&& key, const Aws::String& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), value); return *this; }
86 inline SolutionConfig& AddAlgorithmHyperParameters(const Aws::String& key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, std::move(value)); return *this; }
87 inline SolutionConfig& AddAlgorithmHyperParameters(Aws::String&& key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), std::move(value)); return *this; }
88 inline SolutionConfig& AddAlgorithmHyperParameters(const char* key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, std::move(value)); return *this; }
89 inline SolutionConfig& AddAlgorithmHyperParameters(Aws::String&& key, const char* value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), value); return *this; }
90 inline SolutionConfig& AddAlgorithmHyperParameters(const char* key, const char* value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, value); return *this; }
92
94
97 inline const Aws::Map<Aws::String, Aws::String>& GetFeatureTransformationParameters() const{ return m_featureTransformationParameters; }
98 inline bool FeatureTransformationParametersHasBeenSet() const { return m_featureTransformationParametersHasBeenSet; }
99 inline void SetFeatureTransformationParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters = value; }
100 inline void SetFeatureTransformationParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters = std::move(value); }
103 inline SolutionConfig& AddFeatureTransformationParameters(const Aws::String& key, const Aws::String& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(key, value); return *this; }
104 inline SolutionConfig& AddFeatureTransformationParameters(Aws::String&& key, const Aws::String& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(std::move(key), value); return *this; }
105 inline SolutionConfig& AddFeatureTransformationParameters(const Aws::String& key, Aws::String&& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(key, std::move(value)); return *this; }
106 inline SolutionConfig& AddFeatureTransformationParameters(Aws::String&& key, Aws::String&& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(std::move(key), std::move(value)); return *this; }
107 inline SolutionConfig& AddFeatureTransformationParameters(const char* key, Aws::String&& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(key, std::move(value)); return *this; }
108 inline SolutionConfig& AddFeatureTransformationParameters(Aws::String&& key, const char* value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(std::move(key), value); return *this; }
109 inline SolutionConfig& AddFeatureTransformationParameters(const char* key, const char* value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(key, value); return *this; }
111
113
118 inline const AutoMLConfig& GetAutoMLConfig() const{ return m_autoMLConfig; }
119 inline bool AutoMLConfigHasBeenSet() const { return m_autoMLConfigHasBeenSet; }
120 inline void SetAutoMLConfig(const AutoMLConfig& value) { m_autoMLConfigHasBeenSet = true; m_autoMLConfig = value; }
121 inline void SetAutoMLConfig(AutoMLConfig&& value) { m_autoMLConfigHasBeenSet = true; m_autoMLConfig = std::move(value); }
122 inline SolutionConfig& WithAutoMLConfig(const AutoMLConfig& value) { SetAutoMLConfig(value); return *this;}
123 inline SolutionConfig& WithAutoMLConfig(AutoMLConfig&& value) { SetAutoMLConfig(std::move(value)); return *this;}
125
127
133 inline const OptimizationObjective& GetOptimizationObjective() const{ return m_optimizationObjective; }
134 inline bool OptimizationObjectiveHasBeenSet() const { return m_optimizationObjectiveHasBeenSet; }
135 inline void SetOptimizationObjective(const OptimizationObjective& value) { m_optimizationObjectiveHasBeenSet = true; m_optimizationObjective = value; }
136 inline void SetOptimizationObjective(OptimizationObjective&& value) { m_optimizationObjectiveHasBeenSet = true; m_optimizationObjective = std::move(value); }
140
142
146 inline const TrainingDataConfig& GetTrainingDataConfig() const{ return m_trainingDataConfig; }
147 inline bool TrainingDataConfigHasBeenSet() const { return m_trainingDataConfigHasBeenSet; }
148 inline void SetTrainingDataConfig(const TrainingDataConfig& value) { m_trainingDataConfigHasBeenSet = true; m_trainingDataConfig = value; }
149 inline void SetTrainingDataConfig(TrainingDataConfig&& value) { m_trainingDataConfigHasBeenSet = true; m_trainingDataConfig = std::move(value); }
151 inline SolutionConfig& WithTrainingDataConfig(TrainingDataConfig&& value) { SetTrainingDataConfig(std::move(value)); return *this;}
153
155
158 inline const AutoTrainingConfig& GetAutoTrainingConfig() const{ return m_autoTrainingConfig; }
159 inline bool AutoTrainingConfigHasBeenSet() const { return m_autoTrainingConfigHasBeenSet; }
160 inline void SetAutoTrainingConfig(const AutoTrainingConfig& value) { m_autoTrainingConfigHasBeenSet = true; m_autoTrainingConfig = value; }
161 inline void SetAutoTrainingConfig(AutoTrainingConfig&& value) { m_autoTrainingConfigHasBeenSet = true; m_autoTrainingConfig = std::move(value); }
163 inline SolutionConfig& WithAutoTrainingConfig(AutoTrainingConfig&& value) { SetAutoTrainingConfig(std::move(value)); return *this;}
165 private:
166
167 Aws::String m_eventValueThreshold;
168 bool m_eventValueThresholdHasBeenSet = false;
169
170 HPOConfig m_hpoConfig;
171 bool m_hpoConfigHasBeenSet = false;
172
173 Aws::Map<Aws::String, Aws::String> m_algorithmHyperParameters;
174 bool m_algorithmHyperParametersHasBeenSet = false;
175
176 Aws::Map<Aws::String, Aws::String> m_featureTransformationParameters;
177 bool m_featureTransformationParametersHasBeenSet = false;
178
179 AutoMLConfig m_autoMLConfig;
180 bool m_autoMLConfigHasBeenSet = false;
181
182 OptimizationObjective m_optimizationObjective;
183 bool m_optimizationObjectiveHasBeenSet = false;
184
185 TrainingDataConfig m_trainingDataConfig;
186 bool m_trainingDataConfigHasBeenSet = false;
187
188 AutoTrainingConfig m_autoTrainingConfig;
189 bool m_autoTrainingConfigHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace Personalize
194} // namespace Aws
SolutionConfig & AddAlgorithmHyperParameters(Aws::String &&key, Aws::String &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventValueThreshold(Aws::String &&value)
void SetEventValueThreshold(const char *value)
const AutoMLConfig & GetAutoMLConfig() const
SolutionConfig & AddFeatureTransformationParameters(const Aws::String &key, Aws::String &&value)
SolutionConfig & WithAutoMLConfig(AutoMLConfig &&value)
AWS_PERSONALIZE_API SolutionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const OptimizationObjective & GetOptimizationObjective() const
SolutionConfig & AddFeatureTransformationParameters(Aws::String &&key, const char *value)
SolutionConfig & AddAlgorithmHyperParameters(Aws::String &&key, const Aws::String &value)
SolutionConfig & WithEventValueThreshold(const Aws::String &value)
SolutionConfig & WithAlgorithmHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetEventValueThreshold() const
SolutionConfig & AddFeatureTransformationParameters(const Aws::String &key, const Aws::String &value)
SolutionConfig & AddFeatureTransformationParameters(const char *key, Aws::String &&value)
void SetTrainingDataConfig(TrainingDataConfig &&value)
SolutionConfig & WithHpoConfig(const HPOConfig &value)
SolutionConfig & WithFeatureTransformationParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetAutoTrainingConfig(const AutoTrainingConfig &value)
void SetOptimizationObjective(OptimizationObjective &&value)
SolutionConfig & WithHpoConfig(HPOConfig &&value)
const TrainingDataConfig & GetTrainingDataConfig() const
void SetTrainingDataConfig(const TrainingDataConfig &value)
SolutionConfig & WithOptimizationObjective(OptimizationObjective &&value)
void SetFeatureTransformationParameters(const Aws::Map< Aws::String, Aws::String > &value)
SolutionConfig & AddFeatureTransformationParameters(const char *key, const char *value)
SolutionConfig & AddAlgorithmHyperParameters(Aws::String &&key, const char *value)
SolutionConfig & AddAlgorithmHyperParameters(const Aws::String &key, Aws::String &&value)
SolutionConfig & AddFeatureTransformationParameters(Aws::String &&key, const Aws::String &value)
SolutionConfig & WithTrainingDataConfig(TrainingDataConfig &&value)
void SetAutoMLConfig(AutoMLConfig &&value)
SolutionConfig & WithOptimizationObjective(const OptimizationObjective &value)
void SetAutoTrainingConfig(AutoTrainingConfig &&value)
SolutionConfig & WithAutoTrainingConfig(const AutoTrainingConfig &value)
SolutionConfig & AddAlgorithmHyperParameters(const Aws::String &key, const Aws::String &value)
SolutionConfig & WithAlgorithmHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
SolutionConfig & WithTrainingDataConfig(const TrainingDataConfig &value)
void SetAlgorithmHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetAlgorithmHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
const AutoTrainingConfig & GetAutoTrainingConfig() const
SolutionConfig & WithEventValueThreshold(Aws::String &&value)
void SetHpoConfig(const HPOConfig &value)
SolutionConfig & WithAutoMLConfig(const AutoMLConfig &value)
void SetOptimizationObjective(const OptimizationObjective &value)
AWS_PERSONALIZE_API SolutionConfig(Aws::Utils::Json::JsonView jsonValue)
void SetEventValueThreshold(const Aws::String &value)
SolutionConfig & WithAutoTrainingConfig(AutoTrainingConfig &&value)
void SetFeatureTransformationParameters(Aws::Map< Aws::String, Aws::String > &&value)
const HPOConfig & GetHpoConfig() const
SolutionConfig & AddAlgorithmHyperParameters(const char *key, Aws::String &&value)
SolutionConfig & AddAlgorithmHyperParameters(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAlgorithmHyperParameters() const
SolutionConfig & AddFeatureTransformationParameters(Aws::String &&key, Aws::String &&value)
SolutionConfig & WithEventValueThreshold(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetFeatureTransformationParameters() const
SolutionConfig & WithFeatureTransformationParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetAutoMLConfig(const AutoMLConfig &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue