7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/machinelearning/MachineLearningRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
15namespace MachineLearning
46 inline void SetMLModelId(
const char* value) { m_mLModelIdHasBeenSet =
true; m_mLModelId.assign(value); }
66 inline PredictRequest&
AddRecord(
const char* key,
const char* value) { m_recordHasBeenSet =
true; m_record.emplace(key, value);
return *
this; }
75 inline void SetPredictEndpoint(
const char* value) { m_predictEndpointHasBeenSet =
true; m_predictEndpoint.assign(value); }
83 bool m_mLModelIdHasBeenSet =
false;
86 bool m_recordHasBeenSet =
false;
89 bool m_predictEndpointHasBeenSet =
false;
PredictRequest & WithMLModelId(Aws::String &&value)
PredictRequest & WithPredictEndpoint(const Aws::String &value)
PredictRequest & WithPredictEndpoint(Aws::String &&value)
bool RecordHasBeenSet() const
bool MLModelIdHasBeenSet() const
PredictRequest & AddRecord(const Aws::String &key, const Aws::String &value)
void SetMLModelId(Aws::String &&value)
void SetRecord(const Aws::Map< Aws::String, Aws::String > &value)
void SetPredictEndpoint(const char *value)
bool PredictEndpointHasBeenSet() const
PredictRequest & AddRecord(const char *key, const char *value)
PredictRequest & WithMLModelId(const char *value)
PredictRequest & WithRecord(Aws::Map< Aws::String, Aws::String > &&value)
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
void SetPredictEndpoint(const Aws::String &value)
const Aws::String & GetMLModelId() const
AWS_MACHINELEARNING_API PredictRequest()
PredictRequest & AddRecord(const Aws::String &key, Aws::String &&value)
void SetMLModelId(const char *value)
PredictRequest & WithRecord(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetRecord() const
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PredictRequest & WithMLModelId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PredictRequest & WithPredictEndpoint(const char *value)
PredictRequest & AddRecord(Aws::String &&key, const char *value)
PredictRequest & AddRecord(const char *key, Aws::String &&value)
void SetMLModelId(const Aws::String &value)
PredictRequest & AddRecord(Aws::String &&key, const Aws::String &value)
void SetPredictEndpoint(Aws::String &&value)
const Aws::String & GetPredictEndpoint() const
PredictRequest & AddRecord(Aws::String &&key, Aws::String &&value)
void SetRecord(Aws::Map< Aws::String, Aws::String > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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