7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/machinelearning/MachineLearning_EXPORTS.h>
9#include <aws/machinelearning/model/Prediction.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace MachineLearning {
33 template <
typename PredictionT = Prediction>
35 m_predictionHasBeenSet =
true;
36 m_prediction = std::forward<PredictionT>(value);
38 template <
typename PredictionT = Prediction>
48 template <
typename RequestIdT = Aws::String>
50 m_requestIdHasBeenSet =
true;
51 m_requestId = std::forward<RequestIdT>(value);
53 template <
typename RequestIdT = Aws::String>
63 bool m_predictionHasBeenSet =
false;
64 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue