7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/machinelearning/MachineLearning_EXPORTS.h>
10#include <aws/machinelearning/model/Prediction.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace MachineLearning {
34 template <
typename PredictionT = Prediction>
36 m_predictionHasBeenSet =
true;
37 m_prediction = std::forward<PredictionT>(value);
39 template <
typename PredictionT = Prediction>
49 template <
typename RequestIdT = Aws::String>
51 m_requestIdHasBeenSet =
true;
52 m_requestId = std::forward<RequestIdT>(value);
54 template <
typename RequestIdT = Aws::String>
67 bool m_predictionHasBeenSet =
false;
68 bool m_requestIdHasBeenSet =
false;
const Prediction & GetPrediction() const
const Aws::String & GetRequestId() const
AWS_MACHINELEARNING_API PredictResult()=default
PredictResult & WithRequestId(RequestIdT &&value)
AWS_MACHINELEARNING_API PredictResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetPrediction(PredictionT &&value)
PredictResult & WithPrediction(PredictionT &&value)
AWS_MACHINELEARNING_API PredictResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue