7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/AlgorithmImage.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/personalize/model/DefaultHyperParameterRanges.h>
12#include <aws/core/utils/DateTime.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetAlgorithmArn(
const char* value) { m_algorithmArnHasBeenSet =
true; m_algorithmArn.assign(value); }
100 inline Algorithm&
AddDefaultHyperParameters(
const char* key,
const char* value) { m_defaultHyperParametersHasBeenSet =
true; m_defaultHyperParameters.emplace(key, value);
return *
this; }
134 inline Algorithm&
AddDefaultResourceConfig(
const char* key,
const char* value) { m_defaultResourceConfigHasBeenSet =
true; m_defaultResourceConfig.emplace(key, value);
return *
this; }
145 inline void SetTrainingInputMode(
const char* value) { m_trainingInputModeHasBeenSet =
true; m_trainingInputMode.assign(value); }
159 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
191 bool m_nameHasBeenSet =
false;
194 bool m_algorithmArnHasBeenSet =
false;
197 bool m_algorithmImageHasBeenSet =
false;
200 bool m_defaultHyperParametersHasBeenSet =
false;
203 bool m_defaultHyperParameterRangesHasBeenSet =
false;
206 bool m_defaultResourceConfigHasBeenSet =
false;
209 bool m_trainingInputModeHasBeenSet =
false;
212 bool m_roleArnHasBeenSet =
false;
215 bool m_creationDateTimeHasBeenSet =
false;
218 bool m_lastUpdatedDateTimeHasBeenSet =
false;
void SetDefaultHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
Algorithm & WithRoleArn(Aws::String &&value)
const Aws::String & GetName() const
Algorithm & AddDefaultHyperParameters(Aws::String &&key, const char *value)
Algorithm & WithAlgorithmArn(Aws::String &&value)
Algorithm & WithTrainingInputMode(Aws::String &&value)
bool DefaultResourceConfigHasBeenSet() const
void SetName(const char *value)
bool NameHasBeenSet() const
Algorithm & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetDefaultResourceConfig(Aws::Map< Aws::String, Aws::String > &&value)
Algorithm & WithAlgorithmImage(const AlgorithmImage &value)
Algorithm & AddDefaultHyperParameters(const char *key, Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetName(Aws::String &&value)
Algorithm & WithDefaultHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Algorithm & WithAlgorithmArn(const Aws::String &value)
Algorithm & AddDefaultResourceConfig(Aws::String &&key, const Aws::String &value)
Algorithm & WithRoleArn(const char *value)
Algorithm & AddDefaultHyperParameters(Aws::String &&key, Aws::String &&value)
AWS_PERSONALIZE_API Algorithm()
Algorithm & WithName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetDefaultHyperParameters() const
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetRoleArn(const Aws::String &value)
void SetRoleArn(const char *value)
void SetDefaultHyperParameterRanges(DefaultHyperParameterRanges &&value)
bool DefaultHyperParameterRangesHasBeenSet() const
bool RoleArnHasBeenSet() const
Algorithm & AddDefaultResourceConfig(const Aws::String &key, const Aws::String &value)
Algorithm & AddDefaultResourceConfig(const Aws::String &key, Aws::String &&value)
Algorithm & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetTrainingInputMode(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
bool DefaultHyperParametersHasBeenSet() const
Algorithm & AddDefaultHyperParameters(const Aws::String &key, const Aws::String &value)
void SetName(const Aws::String &value)
void SetDefaultResourceConfig(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetAlgorithmArn() const
Algorithm & WithRoleArn(const Aws::String &value)
Algorithm & WithName(const Aws::String &value)
Algorithm & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Algorithm & AddDefaultHyperParameters(const char *key, const char *value)
const AlgorithmImage & GetAlgorithmImage() const
bool CreationDateTimeHasBeenSet() const
Algorithm & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetAlgorithmArn(Aws::String &&value)
bool AlgorithmArnHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetDefaultResourceConfig() const
void SetTrainingInputMode(const Aws::String &value)
AWS_PERSONALIZE_API Algorithm(Aws::Utils::Json::JsonView jsonValue)
Algorithm & WithName(const char *value)
Algorithm & WithTrainingInputMode(const char *value)
void SetAlgorithmImage(AlgorithmImage &&value)
Algorithm & AddDefaultResourceConfig(const char *key, const char *value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Algorithm & WithAlgorithmArn(const char *value)
Algorithm & AddDefaultHyperParameters(const Aws::String &key, Aws::String &&value)
AWS_PERSONALIZE_API Algorithm & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TrainingInputModeHasBeenSet() const
Algorithm & WithDefaultResourceConfig(const Aws::Map< Aws::String, Aws::String > &value)
Algorithm & WithDefaultHyperParameterRanges(const DefaultHyperParameterRanges &value)
Algorithm & AddDefaultResourceConfig(const char *key, Aws::String &&value)
Algorithm & AddDefaultResourceConfig(Aws::String &&key, Aws::String &&value)
Algorithm & AddDefaultHyperParameters(Aws::String &&key, const Aws::String &value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
Algorithm & WithTrainingInputMode(const Aws::String &value)
const Aws::String & GetTrainingInputMode() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const DefaultHyperParameterRanges & GetDefaultHyperParameterRanges() const
void SetAlgorithmImage(const AlgorithmImage &value)
bool AlgorithmImageHasBeenSet() const
bool LastUpdatedDateTimeHasBeenSet() const
void SetAlgorithmArn(const char *value)
Algorithm & AddDefaultResourceConfig(Aws::String &&key, const char *value)
Algorithm & WithDefaultHyperParameterRanges(DefaultHyperParameterRanges &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetDefaultHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
Algorithm & WithAlgorithmImage(AlgorithmImage &&value)
void SetDefaultHyperParameterRanges(const DefaultHyperParameterRanges &value)
void SetTrainingInputMode(const char *value)
void SetAlgorithmArn(const Aws::String &value)
Algorithm & WithDefaultResourceConfig(Aws::Map< Aws::String, Aws::String > &&value)
Algorithm & WithDefaultHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetRoleArn() const
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