AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateBatchPredictionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/machinelearning/MachineLearning_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace MachineLearning {
22namespace Model {
34 public:
35 AWS_MACHINELEARNING_API CreateBatchPredictionResult() = default;
38
40
45 inline const Aws::String& GetBatchPredictionId() const { return m_batchPredictionId; }
46 template <typename BatchPredictionIdT = Aws::String>
47 void SetBatchPredictionId(BatchPredictionIdT&& value) {
48 m_batchPredictionIdHasBeenSet = true;
49 m_batchPredictionId = std::forward<BatchPredictionIdT>(value);
50 }
51 template <typename BatchPredictionIdT = Aws::String>
53 SetBatchPredictionId(std::forward<BatchPredictionIdT>(value));
54 return *this;
55 }
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template <typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) {
63 m_requestIdHasBeenSet = true;
64 m_requestId = std::forward<RequestIdT>(value);
65 }
66 template <typename RequestIdT = Aws::String>
68 SetRequestId(std::forward<RequestIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_batchPredictionId;
74
75 Aws::String m_requestId;
76 bool m_batchPredictionIdHasBeenSet = false;
77 bool m_requestIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace MachineLearning
82} // 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