AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateBatchPredictionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/machinelearning/MachineLearningRequest.h>
9#include <aws/machinelearning/MachineLearning_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace MachineLearning {
15namespace Model {
16
20 public:
21 AWS_MACHINELEARNING_API CreateBatchPredictionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateBatchPrediction"; }
28
29 AWS_MACHINELEARNING_API Aws::String SerializePayload() const override;
30
31 AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetBatchPredictionId() const { return m_batchPredictionId; }
39 inline bool BatchPredictionIdHasBeenSet() const { return m_batchPredictionIdHasBeenSet; }
40 template <typename BatchPredictionIdT = Aws::String>
41 void SetBatchPredictionId(BatchPredictionIdT&& value) {
42 m_batchPredictionIdHasBeenSet = true;
43 m_batchPredictionId = std::forward<BatchPredictionIdT>(value);
44 }
45 template <typename BatchPredictionIdT = Aws::String>
47 SetBatchPredictionId(std::forward<BatchPredictionIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetBatchPredictionName() const { return m_batchPredictionName; }
58 inline bool BatchPredictionNameHasBeenSet() const { return m_batchPredictionNameHasBeenSet; }
59 template <typename BatchPredictionNameT = Aws::String>
60 void SetBatchPredictionName(BatchPredictionNameT&& value) {
61 m_batchPredictionNameHasBeenSet = true;
62 m_batchPredictionName = std::forward<BatchPredictionNameT>(value);
63 }
64 template <typename BatchPredictionNameT = Aws::String>
66 SetBatchPredictionName(std::forward<BatchPredictionNameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
77 inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
78 template <typename MLModelIdT = Aws::String>
79 void SetMLModelId(MLModelIdT&& value) {
80 m_mLModelIdHasBeenSet = true;
81 m_mLModelId = std::forward<MLModelIdT>(value);
82 }
83 template <typename MLModelIdT = Aws::String>
85 SetMLModelId(std::forward<MLModelIdT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetBatchPredictionDataSourceId() const { return m_batchPredictionDataSourceId; }
96 inline bool BatchPredictionDataSourceIdHasBeenSet() const { return m_batchPredictionDataSourceIdHasBeenSet; }
97 template <typename BatchPredictionDataSourceIdT = Aws::String>
98 void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) {
99 m_batchPredictionDataSourceIdHasBeenSet = true;
100 m_batchPredictionDataSourceId = std::forward<BatchPredictionDataSourceIdT>(value);
101 }
102 template <typename BatchPredictionDataSourceIdT = Aws::String>
103 CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) {
104 SetBatchPredictionDataSourceId(std::forward<BatchPredictionDataSourceIdT>(value));
105 return *this;
106 }
108
110
119 inline const Aws::String& GetOutputUri() const { return m_outputUri; }
120 inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; }
121 template <typename OutputUriT = Aws::String>
122 void SetOutputUri(OutputUriT&& value) {
123 m_outputUriHasBeenSet = true;
124 m_outputUri = std::forward<OutputUriT>(value);
125 }
126 template <typename OutputUriT = Aws::String>
128 SetOutputUri(std::forward<OutputUriT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_batchPredictionId;
134
135 Aws::String m_batchPredictionName;
136
137 Aws::String m_mLModelId;
138
139 Aws::String m_batchPredictionDataSourceId;
140
141 Aws::String m_outputUri;
142 bool m_batchPredictionIdHasBeenSet = false;
143 bool m_batchPredictionNameHasBeenSet = false;
144 bool m_mLModelIdHasBeenSet = false;
145 bool m_batchPredictionDataSourceIdHasBeenSet = false;
146 bool m_outputUriHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace MachineLearning
151} // namespace Aws
CreateBatchPredictionRequest & WithBatchPredictionName(BatchPredictionNameT &&value)
AWS_MACHINELEARNING_API CreateBatchPredictionRequest()=default
CreateBatchPredictionRequest & WithMLModelId(MLModelIdT &&value)
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
CreateBatchPredictionRequest & WithOutputUri(OutputUriT &&value)
CreateBatchPredictionRequest & WithBatchPredictionId(BatchPredictionIdT &&value)
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String