7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/RecommenderConfig.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/personalize/model/RecommenderUpdateSummary.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
56 inline void SetRecommenderArn(
const char* value) { m_recommenderArnHasBeenSet =
true; m_recommenderArn.assign(value); }
71 inline void SetDatasetGroupArn(
const char* value) { m_datasetGroupArnHasBeenSet =
true; m_datasetGroupArn.assign(value); }
85 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
100 inline void SetRecipeArn(
const char* value) { m_recipeArnHasBeenSet =
true; m_recipeArn.assign(value); }
154 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
168 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
201 inline Recommender&
AddModelMetrics(
const char* key,
double value) { m_modelMetricsHasBeenSet =
true; m_modelMetrics.emplace(key, value);
return *
this; }
206 bool m_recommenderArnHasBeenSet =
false;
209 bool m_datasetGroupArnHasBeenSet =
false;
212 bool m_nameHasBeenSet =
false;
215 bool m_recipeArnHasBeenSet =
false;
218 bool m_recommenderConfigHasBeenSet =
false;
221 bool m_creationDateTimeHasBeenSet =
false;
224 bool m_lastUpdatedDateTimeHasBeenSet =
false;
227 bool m_statusHasBeenSet =
false;
230 bool m_failureReasonHasBeenSet =
false;
233 bool m_latestRecommenderUpdateHasBeenSet =
false;
236 bool m_modelMetricsHasBeenSet =
false;
Recommender & WithFailureReason(Aws::String &&value)
Recommender & WithRecommenderArn(const Aws::String &value)
bool ModelMetricsHasBeenSet() const
Recommender & WithDatasetGroupArn(const char *value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
bool LastUpdatedDateTimeHasBeenSet() const
Recommender & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Recommender & WithRecommenderArn(const char *value)
Recommender & WithRecommenderConfig(const RecommenderConfig &value)
void SetRecipeArn(Aws::String &&value)
void SetFailureReason(const Aws::String &value)
void SetRecommenderArn(Aws::String &&value)
const Aws::String & GetRecommenderArn() const
bool RecipeArnHasBeenSet() const
void SetRecipeArn(const char *value)
Recommender & WithStatus(const char *value)
Recommender & WithLatestRecommenderUpdate(const RecommenderUpdateSummary &value)
Recommender & WithStatus(const Aws::String &value)
Recommender & WithDatasetGroupArn(const Aws::String &value)
bool CreationDateTimeHasBeenSet() const
Recommender & WithDatasetGroupArn(Aws::String &&value)
void SetStatus(Aws::String &&value)
bool LatestRecommenderUpdateHasBeenSet() const
Recommender & WithModelMetrics(Aws::Map< Aws::String, double > &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool RecommenderArnHasBeenSet() const
void SetDatasetGroupArn(Aws::String &&value)
AWS_PERSONALIZE_API Recommender()
const RecommenderConfig & GetRecommenderConfig() const
Recommender & WithFailureReason(const Aws::String &value)
const Aws::String & GetStatus() const
void SetModelMetrics(Aws::Map< Aws::String, double > &&value)
Recommender & WithRecipeArn(Aws::String &&value)
Recommender & WithFailureReason(const char *value)
const RecommenderUpdateSummary & GetLatestRecommenderUpdate() const
AWS_PERSONALIZE_API Recommender(Aws::Utils::Json::JsonView jsonValue)
Recommender & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetName(const char *value)
bool RecommenderConfigHasBeenSet() const
void SetModelMetrics(const Aws::Map< Aws::String, double > &value)
void SetDatasetGroupArn(const char *value)
void SetRecommenderConfig(const RecommenderConfig &value)
Recommender & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
bool DatasetGroupArnHasBeenSet() const
void SetRecommenderArn(const Aws::String &value)
const Aws::String & GetDatasetGroupArn() const
void SetDatasetGroupArn(const Aws::String &value)
Recommender & WithName(const char *value)
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDateTime() const
Recommender & WithName(Aws::String &&value)
void SetStatus(const char *value)
bool StatusHasBeenSet() const
Recommender & AddModelMetrics(const char *key, double value)
Recommender & WithLatestRecommenderUpdate(RecommenderUpdateSummary &&value)
void SetName(const Aws::String &value)
void SetRecommenderConfig(RecommenderConfig &&value)
Recommender & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetFailureReason() const
Recommender & AddModelMetrics(Aws::String &&key, double value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Recommender & WithModelMetrics(const Aws::Map< Aws::String, double > &value)
const Aws::String & GetRecipeArn() const
void SetLatestRecommenderUpdate(const RecommenderUpdateSummary &value)
void SetFailureReason(const char *value)
Recommender & WithRecommenderArn(Aws::String &&value)
Recommender & WithStatus(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
AWS_PERSONALIZE_API Recommender & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, double > & GetModelMetrics() const
void SetLatestRecommenderUpdate(RecommenderUpdateSummary &&value)
bool FailureReasonHasBeenSet() const
void SetRecommenderArn(const char *value)
void SetStatus(const Aws::String &value)
void SetRecipeArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Recommender & WithRecipeArn(const Aws::String &value)
Recommender & AddModelMetrics(const Aws::String &key, double value)
Recommender & WithRecommenderConfig(RecommenderConfig &&value)
Recommender & WithName(const Aws::String &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
void SetFailureReason(Aws::String &&value)
Recommender & WithRecipeArn(const char *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