AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateBatchPredictionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/machinelearning/MachineLearning_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace MachineLearning {
23namespace Model {
35 public:
36 AWS_MACHINELEARNING_API CreateBatchPredictionResult() = default;
39
41
46 inline const Aws::String& GetBatchPredictionId() const { return m_batchPredictionId; }
47 template <typename BatchPredictionIdT = Aws::String>
48 void SetBatchPredictionId(BatchPredictionIdT&& value) {
49 m_batchPredictionIdHasBeenSet = true;
50 m_batchPredictionId = std::forward<BatchPredictionIdT>(value);
51 }
52 template <typename BatchPredictionIdT = Aws::String>
54 SetBatchPredictionId(std::forward<BatchPredictionIdT>(value));
55 return *this;
56 }
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template <typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) {
64 m_requestIdHasBeenSet = true;
65 m_requestId = std::forward<RequestIdT>(value);
66 }
67 template <typename RequestIdT = Aws::String>
69 SetRequestId(std::forward<RequestIdT>(value));
70 return *this;
71 }
73 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
74
75 private:
76 Aws::String m_batchPredictionId;
77
78 Aws::String m_requestId;
79 Aws::Http::HttpResponseCode m_HttpResponseCode;
80 bool m_batchPredictionIdHasBeenSet = false;
81 bool m_requestIdHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace MachineLearning
86} // namespace Aws
AWS_MACHINELEARNING_API CreateBatchPredictionResult()=default
AWS_MACHINELEARNING_API CreateBatchPredictionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MACHINELEARNING_API CreateBatchPredictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBatchPredictionResult & WithRequestId(RequestIdT &&value)
CreateBatchPredictionResult & WithBatchPredictionId(BatchPredictionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue