AWS SDK for C++  1.9.107
AWS SDK for C++
SolutionConfig.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace Personalize
26 {
27 namespace Model
28 {
29 
37  {
38  public:
43 
44 
49  inline const Aws::String& GetEventValueThreshold() const{ return m_eventValueThreshold; }
50 
55  inline bool EventValueThresholdHasBeenSet() const { return m_eventValueThresholdHasBeenSet; }
56 
61  inline void SetEventValueThreshold(const Aws::String& value) { m_eventValueThresholdHasBeenSet = true; m_eventValueThreshold = value; }
62 
67  inline void SetEventValueThreshold(Aws::String&& value) { m_eventValueThresholdHasBeenSet = true; m_eventValueThreshold = std::move(value); }
68 
73  inline void SetEventValueThreshold(const char* value) { m_eventValueThresholdHasBeenSet = true; m_eventValueThreshold.assign(value); }
74 
79  inline SolutionConfig& WithEventValueThreshold(const Aws::String& value) { SetEventValueThreshold(value); return *this;}
80 
85  inline SolutionConfig& WithEventValueThreshold(Aws::String&& value) { SetEventValueThreshold(std::move(value)); return *this;}
86 
91  inline SolutionConfig& WithEventValueThreshold(const char* value) { SetEventValueThreshold(value); return *this;}
92 
93 
97  inline const HPOConfig& GetHpoConfig() const{ return m_hpoConfig; }
98 
102  inline bool HpoConfigHasBeenSet() const { return m_hpoConfigHasBeenSet; }
103 
107  inline void SetHpoConfig(const HPOConfig& value) { m_hpoConfigHasBeenSet = true; m_hpoConfig = value; }
108 
112  inline void SetHpoConfig(HPOConfig&& value) { m_hpoConfigHasBeenSet = true; m_hpoConfig = std::move(value); }
113 
117  inline SolutionConfig& WithHpoConfig(const HPOConfig& value) { SetHpoConfig(value); return *this;}
118 
122  inline SolutionConfig& WithHpoConfig(HPOConfig&& value) { SetHpoConfig(std::move(value)); return *this;}
123 
124 
128  inline const Aws::Map<Aws::String, Aws::String>& GetAlgorithmHyperParameters() const{ return m_algorithmHyperParameters; }
129 
133  inline bool AlgorithmHyperParametersHasBeenSet() const { return m_algorithmHyperParametersHasBeenSet; }
134 
138  inline void SetAlgorithmHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters = value; }
139 
143  inline void SetAlgorithmHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters = std::move(value); }
144 
148  inline SolutionConfig& WithAlgorithmHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetAlgorithmHyperParameters(value); return *this;}
149 
153  inline SolutionConfig& WithAlgorithmHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetAlgorithmHyperParameters(std::move(value)); return *this;}
154 
158  inline SolutionConfig& AddAlgorithmHyperParameters(const Aws::String& key, const Aws::String& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, value); return *this; }
159 
163  inline SolutionConfig& AddAlgorithmHyperParameters(Aws::String&& key, const Aws::String& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), value); return *this; }
164 
168  inline SolutionConfig& AddAlgorithmHyperParameters(const Aws::String& key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, std::move(value)); return *this; }
169 
173  inline SolutionConfig& AddAlgorithmHyperParameters(Aws::String&& key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), std::move(value)); return *this; }
174 
178  inline SolutionConfig& AddAlgorithmHyperParameters(const char* key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, std::move(value)); return *this; }
179 
183  inline SolutionConfig& AddAlgorithmHyperParameters(Aws::String&& key, const char* value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), value); return *this; }
184 
188  inline SolutionConfig& AddAlgorithmHyperParameters(const char* key, const char* value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, value); return *this; }
189 
190 
194  inline const Aws::Map<Aws::String, Aws::String>& GetFeatureTransformationParameters() const{ return m_featureTransformationParameters; }
195 
199  inline bool FeatureTransformationParametersHasBeenSet() const { return m_featureTransformationParametersHasBeenSet; }
200 
204  inline void SetFeatureTransformationParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters = value; }
205 
209  inline void SetFeatureTransformationParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters = std::move(value); }
210 
214  inline SolutionConfig& WithFeatureTransformationParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetFeatureTransformationParameters(value); return *this;}
215 
219  inline SolutionConfig& WithFeatureTransformationParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetFeatureTransformationParameters(std::move(value)); return *this;}
220 
224  inline SolutionConfig& AddFeatureTransformationParameters(const Aws::String& key, const Aws::String& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(key, value); return *this; }
225 
229  inline SolutionConfig& AddFeatureTransformationParameters(Aws::String&& key, const Aws::String& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(std::move(key), value); return *this; }
230 
234  inline SolutionConfig& AddFeatureTransformationParameters(const Aws::String& key, Aws::String&& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(key, std::move(value)); return *this; }
235 
239  inline SolutionConfig& AddFeatureTransformationParameters(Aws::String&& key, Aws::String&& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(std::move(key), std::move(value)); return *this; }
240 
244  inline SolutionConfig& AddFeatureTransformationParameters(const char* key, Aws::String&& value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(key, std::move(value)); return *this; }
245 
249  inline SolutionConfig& AddFeatureTransformationParameters(Aws::String&& key, const char* value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(std::move(key), value); return *this; }
250 
254  inline SolutionConfig& AddFeatureTransformationParameters(const char* key, const char* value) { m_featureTransformationParametersHasBeenSet = true; m_featureTransformationParameters.emplace(key, value); return *this; }
255 
256 
261  inline const AutoMLConfig& GetAutoMLConfig() const{ return m_autoMLConfig; }
262 
267  inline bool AutoMLConfigHasBeenSet() const { return m_autoMLConfigHasBeenSet; }
268 
273  inline void SetAutoMLConfig(const AutoMLConfig& value) { m_autoMLConfigHasBeenSet = true; m_autoMLConfig = value; }
274 
279  inline void SetAutoMLConfig(AutoMLConfig&& value) { m_autoMLConfigHasBeenSet = true; m_autoMLConfig = std::move(value); }
280 
285  inline SolutionConfig& WithAutoMLConfig(const AutoMLConfig& value) { SetAutoMLConfig(value); return *this;}
286 
291  inline SolutionConfig& WithAutoMLConfig(AutoMLConfig&& value) { SetAutoMLConfig(std::move(value)); return *this;}
292 
293 
300  inline const OptimizationObjective& GetOptimizationObjective() const{ return m_optimizationObjective; }
301 
308  inline bool OptimizationObjectiveHasBeenSet() const { return m_optimizationObjectiveHasBeenSet; }
309 
316  inline void SetOptimizationObjective(const OptimizationObjective& value) { m_optimizationObjectiveHasBeenSet = true; m_optimizationObjective = value; }
317 
324  inline void SetOptimizationObjective(OptimizationObjective&& value) { m_optimizationObjectiveHasBeenSet = true; m_optimizationObjective = std::move(value); }
325 
332  inline SolutionConfig& WithOptimizationObjective(const OptimizationObjective& value) { SetOptimizationObjective(value); return *this;}
333 
340  inline SolutionConfig& WithOptimizationObjective(OptimizationObjective&& value) { SetOptimizationObjective(std::move(value)); return *this;}
341 
342  private:
343 
344  Aws::String m_eventValueThreshold;
345  bool m_eventValueThresholdHasBeenSet;
346 
347  HPOConfig m_hpoConfig;
348  bool m_hpoConfigHasBeenSet;
349 
350  Aws::Map<Aws::String, Aws::String> m_algorithmHyperParameters;
351  bool m_algorithmHyperParametersHasBeenSet;
352 
353  Aws::Map<Aws::String, Aws::String> m_featureTransformationParameters;
354  bool m_featureTransformationParametersHasBeenSet;
355 
356  AutoMLConfig m_autoMLConfig;
357  bool m_autoMLConfigHasBeenSet;
358 
359  OptimizationObjective m_optimizationObjective;
360  bool m_optimizationObjectiveHasBeenSet;
361  };
362 
363 } // namespace Model
364 } // namespace Personalize
365 } // namespace Aws
Aws::Personalize::Model::SolutionConfig::AutoMLConfigHasBeenSet
bool AutoMLConfigHasBeenSet() const
Definition: SolutionConfig.h:267
Aws::Personalize::Model::SolutionConfig::GetHpoConfig
const HPOConfig & GetHpoConfig() const
Definition: SolutionConfig.h:97
HPOConfig.h
Aws::Personalize::Model::AutoMLConfig
Definition: AutoMLConfig.h:36
Aws::Personalize::Model::SolutionConfig::WithFeatureTransformationParameters
SolutionConfig & WithFeatureTransformationParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: SolutionConfig.h:219
Aws::Personalize::Model::SolutionConfig::AddFeatureTransformationParameters
SolutionConfig & AddFeatureTransformationParameters(Aws::String &&key, const char *value)
Definition: SolutionConfig.h:249
Aws::Personalize::Model::SolutionConfig::SetAutoMLConfig
void SetAutoMLConfig(const AutoMLConfig &value)
Definition: SolutionConfig.h:273
Aws::Personalize::Model::SolutionConfig::OptimizationObjectiveHasBeenSet
bool OptimizationObjectiveHasBeenSet() const
Definition: SolutionConfig.h:308
Aws::Personalize::Model::SolutionConfig::AddAlgorithmHyperParameters
SolutionConfig & AddAlgorithmHyperParameters(const char *key, const char *value)
Definition: SolutionConfig.h:188
Aws::Personalize::Model::SolutionConfig::GetAutoMLConfig
const AutoMLConfig & GetAutoMLConfig() const
Definition: SolutionConfig.h:261
Aws::Personalize::Model::SolutionConfig::WithAutoMLConfig
SolutionConfig & WithAutoMLConfig(const AutoMLConfig &value)
Definition: SolutionConfig.h:285
Aws::Personalize::Model::SolutionConfig::WithHpoConfig
SolutionConfig & WithHpoConfig(const HPOConfig &value)
Definition: SolutionConfig.h:117
Aws::Personalize::Model::SolutionConfig::EventValueThresholdHasBeenSet
bool EventValueThresholdHasBeenSet() const
Definition: SolutionConfig.h:55
Aws::Personalize::Model::SolutionConfig::WithAutoMLConfig
SolutionConfig & WithAutoMLConfig(AutoMLConfig &&value)
Definition: SolutionConfig.h:291
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::SolutionConfig::AddFeatureTransformationParameters
SolutionConfig & AddFeatureTransformationParameters(Aws::String &&key, Aws::String &&value)
Definition: SolutionConfig.h:239
Aws::Personalize::Model::SolutionConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::SolutionConfig::WithEventValueThreshold
SolutionConfig & WithEventValueThreshold(const char *value)
Definition: SolutionConfig.h:91
Aws::Personalize::Model::SolutionConfig::AddAlgorithmHyperParameters
SolutionConfig & AddAlgorithmHyperParameters(Aws::String &&key, const char *value)
Definition: SolutionConfig.h:183
Aws::Personalize::Model::SolutionConfig::WithFeatureTransformationParameters
SolutionConfig & WithFeatureTransformationParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: SolutionConfig.h:214
Aws::Personalize::Model::SolutionConfig::WithEventValueThreshold
SolutionConfig & WithEventValueThreshold(Aws::String &&value)
Definition: SolutionConfig.h:85
AutoMLConfig.h
Aws::Personalize::Model::SolutionConfig::SetHpoConfig
void SetHpoConfig(const HPOConfig &value)
Definition: SolutionConfig.h:107
Aws::Personalize::Model::SolutionConfig::AddFeatureTransformationParameters
SolutionConfig & AddFeatureTransformationParameters(const Aws::String &key, Aws::String &&value)
Definition: SolutionConfig.h:234
Aws::Personalize::Model::SolutionConfig::HpoConfigHasBeenSet
bool HpoConfigHasBeenSet() const
Definition: SolutionConfig.h:102
Aws::Personalize::Model::SolutionConfig::GetOptimizationObjective
const OptimizationObjective & GetOptimizationObjective() const
Definition: SolutionConfig.h:300
Aws::Personalize::Model::SolutionConfig::AddAlgorithmHyperParameters
SolutionConfig & AddAlgorithmHyperParameters(const Aws::String &key, const Aws::String &value)
Definition: SolutionConfig.h:158
Aws::Personalize::Model::SolutionConfig::WithAlgorithmHyperParameters
SolutionConfig & WithAlgorithmHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: SolutionConfig.h:148
Aws::Personalize::Model::SolutionConfig::SetEventValueThreshold
void SetEventValueThreshold(const char *value)
Definition: SolutionConfig.h:73
Aws::Personalize::Model::SolutionConfig::AddAlgorithmHyperParameters
SolutionConfig & AddAlgorithmHyperParameters(const char *key, Aws::String &&value)
Definition: SolutionConfig.h:178
Aws::Personalize::Model::SolutionConfig::SetOptimizationObjective
void SetOptimizationObjective(const OptimizationObjective &value)
Definition: SolutionConfig.h:316
Aws::Personalize::Model::SolutionConfig::SetHpoConfig
void SetHpoConfig(HPOConfig &&value)
Definition: SolutionConfig.h:112
Aws::Personalize::Model::SolutionConfig::SetEventValueThreshold
void SetEventValueThreshold(Aws::String &&value)
Definition: SolutionConfig.h:67
OptimizationObjective.h
Aws::Personalize::Model::SolutionConfig::SetAlgorithmHyperParameters
void SetAlgorithmHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: SolutionConfig.h:143
Aws::Personalize::Model::SolutionConfig::SetAutoMLConfig
void SetAutoMLConfig(AutoMLConfig &&value)
Definition: SolutionConfig.h:279
Aws::Personalize::Model::SolutionConfig::WithHpoConfig
SolutionConfig & WithHpoConfig(HPOConfig &&value)
Definition: SolutionConfig.h:122
Aws::Personalize::Model::SolutionConfig::WithOptimizationObjective
SolutionConfig & WithOptimizationObjective(OptimizationObjective &&value)
Definition: SolutionConfig.h:340
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Personalize::Model::SolutionConfig::SetEventValueThreshold
void SetEventValueThreshold(const Aws::String &value)
Definition: SolutionConfig.h:61
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::SolutionConfig::WithEventValueThreshold
SolutionConfig & WithEventValueThreshold(const Aws::String &value)
Definition: SolutionConfig.h:79
Aws::Personalize::Model::SolutionConfig::FeatureTransformationParametersHasBeenSet
bool FeatureTransformationParametersHasBeenSet() const
Definition: SolutionConfig.h:199
Aws::Personalize::Model::SolutionConfig::AddFeatureTransformationParameters
SolutionConfig & AddFeatureTransformationParameters(Aws::String &&key, const Aws::String &value)
Definition: SolutionConfig.h:229
Aws::Personalize::Model::SolutionConfig::SetFeatureTransformationParameters
void SetFeatureTransformationParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: SolutionConfig.h:204
Aws::Personalize::Model::SolutionConfig::WithOptimizationObjective
SolutionConfig & WithOptimizationObjective(const OptimizationObjective &value)
Definition: SolutionConfig.h:332
Aws::Personalize::Model::SolutionConfig::AddFeatureTransformationParameters
SolutionConfig & AddFeatureTransformationParameters(const Aws::String &key, const Aws::String &value)
Definition: SolutionConfig.h:224
Aws::Personalize::Model::SolutionConfig::GetAlgorithmHyperParameters
const Aws::Map< Aws::String, Aws::String > & GetAlgorithmHyperParameters() const
Definition: SolutionConfig.h:128
Aws::Personalize::Model::SolutionConfig::SetOptimizationObjective
void SetOptimizationObjective(OptimizationObjective &&value)
Definition: SolutionConfig.h:324
Aws::Personalize::Model::SolutionConfig::AddAlgorithmHyperParameters
SolutionConfig & AddAlgorithmHyperParameters(const Aws::String &key, Aws::String &&value)
Definition: SolutionConfig.h:168
Aws::Personalize::Model::SolutionConfig::SetFeatureTransformationParameters
void SetFeatureTransformationParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: SolutionConfig.h:209
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::SolutionConfig::AddAlgorithmHyperParameters
SolutionConfig & AddAlgorithmHyperParameters(Aws::String &&key, const Aws::String &value)
Definition: SolutionConfig.h:163
Aws::Personalize::Model::SolutionConfig::AddAlgorithmHyperParameters
SolutionConfig & AddAlgorithmHyperParameters(Aws::String &&key, Aws::String &&value)
Definition: SolutionConfig.h:173
Aws::Personalize::Model::SolutionConfig::AddFeatureTransformationParameters
SolutionConfig & AddFeatureTransformationParameters(const char *key, Aws::String &&value)
Definition: SolutionConfig.h:244
Aws::Personalize::Model::SolutionConfig::AddFeatureTransformationParameters
SolutionConfig & AddFeatureTransformationParameters(const char *key, const char *value)
Definition: SolutionConfig.h:254
Aws::Personalize::Model::SolutionConfig::SetAlgorithmHyperParameters
void SetAlgorithmHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: SolutionConfig.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::SolutionConfig
Definition: SolutionConfig.h:37
Aws::Personalize::Model::SolutionConfig::AlgorithmHyperParametersHasBeenSet
bool AlgorithmHyperParametersHasBeenSet() const
Definition: SolutionConfig.h:133
Aws::Personalize::Model::SolutionConfig::SolutionConfig
SolutionConfig(Aws::Utils::Json::JsonView jsonValue)
Personalize_EXPORTS.h
Aws::Personalize::Model::OptimizationObjective
Definition: OptimizationObjective.h:36
Aws::Personalize::Model::SolutionConfig::SolutionConfig
SolutionConfig()
AWSMap.h
Aws::Personalize::Model::SolutionConfig::operator=
SolutionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::SolutionConfig::WithAlgorithmHyperParameters
SolutionConfig & WithAlgorithmHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: SolutionConfig.h:153
Aws::Personalize::Model::SolutionConfig::GetEventValueThreshold
const Aws::String & GetEventValueThreshold() const
Definition: SolutionConfig.h:49
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Personalize::Model::SolutionConfig::GetFeatureTransformationParameters
const Aws::Map< Aws::String, Aws::String > & GetFeatureTransformationParameters() const
Definition: SolutionConfig.h:194
Aws::Personalize::Model::HPOConfig
Definition: HPOConfig.h:35