30 namespace MachineLearning
77 inline void SetPredictedLabel(
const char* value) { m_predictedLabelHasBeenSet =
true; m_predictedLabel.assign(value); }
105 inline void SetPredictedValue(
double value) { m_predictedValueHasBeenSet =
true; m_predictedValue = value; }
134 inline Prediction&
AddPredictedScores(
const char* key,
double value) { m_predictedScoresHasBeenSet =
true; m_predictedScores[key] = value;
return *
this; }
171 bool m_predictedLabelHasBeenSet;
172 double m_predictedValue;
173 bool m_predictedValueHasBeenSet;
175 bool m_predictedScoresHasBeenSet;
177 bool m_detailsHasBeenSet;
const Aws::Map< Aws::String, double > & GetPredictedScores() const
Prediction & WithPredictedScores(const Aws::Map< Aws::String, double > &value)
Prediction & WithPredictedLabel(const Aws::String &value)
void SetPredictedScores(const Aws::Map< Aws::String, double > &value)
void SetPredictedLabel(const Aws::String &value)
double GetPredictedValue() const
void SetPredictedLabel(const char *value)
Prediction & WithDetails(Aws::Map< DetailsAttributes, Aws::String > &&value)
Prediction & AddDetails(const DetailsAttributes &key, const Aws::String &value)
Prediction & WithPredictedScores(Aws::Map< Aws::String, double > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Prediction & AddDetails(const DetailsAttributes &key, const char *value)
Prediction & AddDetails(DetailsAttributes &&key, const Aws::String &value)
void SetPredictedLabel(Aws::String &&value)
Prediction & AddDetails(DetailsAttributes &&key, const char *value)
Prediction & WithPredictedLabel(const char *value)
Prediction & AddDetails(DetailsAttributes &&key, Aws::String &&value)
Prediction & AddPredictedScores(Aws::String &&key, double value)
Prediction & WithPredictedValue(double value)
void SetPredictedValue(double value)
const Aws::String & GetPredictedLabel() const
const Aws::Map< DetailsAttributes, Aws::String > & GetDetails() const
Prediction & WithDetails(const Aws::Map< DetailsAttributes, Aws::String > &value)
Prediction & AddDetails(const DetailsAttributes &key, Aws::String &&value)
Prediction & AddPredictedScores(const char *key, double value)
Prediction & WithPredictedLabel(Aws::String &&value)
void SetDetails(Aws::Map< DetailsAttributes, Aws::String > &&value)
void SetDetails(const Aws::Map< DetailsAttributes, Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Prediction & AddPredictedScores(const Aws::String &key, double value)
void SetPredictedScores(Aws::Map< Aws::String, double > &&value)
#define AWS_MACHINELEARNING_API
JSON (JavaScript Object Notation).