AWS SDK for C++  1.9.108
AWS SDK for C++
CreateBatchPredictionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MachineLearning
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CreateBatchPrediction"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetBatchPredictionId() const{ return m_batchPredictionId; }
42 
47  inline bool BatchPredictionIdHasBeenSet() const { return m_batchPredictionIdHasBeenSet; }
48 
53  inline void SetBatchPredictionId(const Aws::String& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = value; }
54 
59  inline void SetBatchPredictionId(Aws::String&& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = std::move(value); }
60 
65  inline void SetBatchPredictionId(const char* value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId.assign(value); }
66 
71  inline CreateBatchPredictionRequest& WithBatchPredictionId(const Aws::String& value) { SetBatchPredictionId(value); return *this;}
72 
77  inline CreateBatchPredictionRequest& WithBatchPredictionId(Aws::String&& value) { SetBatchPredictionId(std::move(value)); return *this;}
78 
83  inline CreateBatchPredictionRequest& WithBatchPredictionId(const char* value) { SetBatchPredictionId(value); return *this;}
84 
85 
90  inline const Aws::String& GetBatchPredictionName() const{ return m_batchPredictionName; }
91 
96  inline bool BatchPredictionNameHasBeenSet() const { return m_batchPredictionNameHasBeenSet; }
97 
102  inline void SetBatchPredictionName(const Aws::String& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = value; }
103 
108  inline void SetBatchPredictionName(Aws::String&& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = std::move(value); }
109 
114  inline void SetBatchPredictionName(const char* value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName.assign(value); }
115 
120  inline CreateBatchPredictionRequest& WithBatchPredictionName(const Aws::String& value) { SetBatchPredictionName(value); return *this;}
121 
126  inline CreateBatchPredictionRequest& WithBatchPredictionName(Aws::String&& value) { SetBatchPredictionName(std::move(value)); return *this;}
127 
132  inline CreateBatchPredictionRequest& WithBatchPredictionName(const char* value) { SetBatchPredictionName(value); return *this;}
133 
134 
139  inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
140 
145  inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
146 
151  inline void SetMLModelId(const Aws::String& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = value; }
152 
157  inline void SetMLModelId(Aws::String&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::move(value); }
158 
163  inline void SetMLModelId(const char* value) { m_mLModelIdHasBeenSet = true; m_mLModelId.assign(value); }
164 
169  inline CreateBatchPredictionRequest& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
170 
175  inline CreateBatchPredictionRequest& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
176 
181  inline CreateBatchPredictionRequest& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
182 
183 
188  inline const Aws::String& GetBatchPredictionDataSourceId() const{ return m_batchPredictionDataSourceId; }
189 
194  inline bool BatchPredictionDataSourceIdHasBeenSet() const { return m_batchPredictionDataSourceIdHasBeenSet; }
195 
200  inline void SetBatchPredictionDataSourceId(const Aws::String& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = value; }
201 
206  inline void SetBatchPredictionDataSourceId(Aws::String&& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = std::move(value); }
207 
212  inline void SetBatchPredictionDataSourceId(const char* value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId.assign(value); }
213 
218  inline CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(const Aws::String& value) { SetBatchPredictionDataSourceId(value); return *this;}
219 
224  inline CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(Aws::String&& value) { SetBatchPredictionDataSourceId(std::move(value)); return *this;}
225 
230  inline CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(const char* value) { SetBatchPredictionDataSourceId(value); return *this;}
231 
232 
242  inline const Aws::String& GetOutputUri() const{ return m_outputUri; }
243 
253  inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; }
254 
264  inline void SetOutputUri(const Aws::String& value) { m_outputUriHasBeenSet = true; m_outputUri = value; }
265 
275  inline void SetOutputUri(Aws::String&& value) { m_outputUriHasBeenSet = true; m_outputUri = std::move(value); }
276 
286  inline void SetOutputUri(const char* value) { m_outputUriHasBeenSet = true; m_outputUri.assign(value); }
287 
297  inline CreateBatchPredictionRequest& WithOutputUri(const Aws::String& value) { SetOutputUri(value); return *this;}
298 
308  inline CreateBatchPredictionRequest& WithOutputUri(Aws::String&& value) { SetOutputUri(std::move(value)); return *this;}
309 
319  inline CreateBatchPredictionRequest& WithOutputUri(const char* value) { SetOutputUri(value); return *this;}
320 
321  private:
322 
323  Aws::String m_batchPredictionId;
324  bool m_batchPredictionIdHasBeenSet;
325 
326  Aws::String m_batchPredictionName;
327  bool m_batchPredictionNameHasBeenSet;
328 
329  Aws::String m_mLModelId;
330  bool m_mLModelIdHasBeenSet;
331 
332  Aws::String m_batchPredictionDataSourceId;
333  bool m_batchPredictionDataSourceIdHasBeenSet;
334 
335  Aws::String m_outputUri;
336  bool m_outputUriHasBeenSet;
337  };
338 
339 } // namespace Model
340 } // namespace MachineLearning
341 } // namespace Aws
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithOutputUri
CreateBatchPredictionRequest & WithOutputUri(const char *value)
Definition: CreateBatchPredictionRequest.h:319
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithBatchPredictionId
CreateBatchPredictionRequest & WithBatchPredictionId(Aws::String &&value)
Definition: CreateBatchPredictionRequest.h:77
Aws::MachineLearning::Model::CreateBatchPredictionRequest::CreateBatchPredictionRequest
CreateBatchPredictionRequest()
Aws::MachineLearning::Model::CreateBatchPredictionRequest::GetBatchPredictionId
const Aws::String & GetBatchPredictionId() const
Definition: CreateBatchPredictionRequest.h:41
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetOutputUri
void SetOutputUri(Aws::String &&value)
Definition: CreateBatchPredictionRequest.h:275
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithBatchPredictionDataSourceId
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(Aws::String &&value)
Definition: CreateBatchPredictionRequest.h:224
Aws::MachineLearning::Model::CreateBatchPredictionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateBatchPredictionRequest.h:30
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetBatchPredictionName
void SetBatchPredictionName(Aws::String &&value)
Definition: CreateBatchPredictionRequest.h:108
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithMLModelId
CreateBatchPredictionRequest & WithMLModelId(Aws::String &&value)
Definition: CreateBatchPredictionRequest.h:175
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MachineLearning::Model::CreateBatchPredictionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithBatchPredictionName
CreateBatchPredictionRequest & WithBatchPredictionName(const char *value)
Definition: CreateBatchPredictionRequest.h:132
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithBatchPredictionDataSourceId
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(const char *value)
Definition: CreateBatchPredictionRequest.h:230
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetBatchPredictionName
void SetBatchPredictionName(const Aws::String &value)
Definition: CreateBatchPredictionRequest.h:102
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetOutputUri
void SetOutputUri(const char *value)
Definition: CreateBatchPredictionRequest.h:286
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithBatchPredictionName
CreateBatchPredictionRequest & WithBatchPredictionName(const Aws::String &value)
Definition: CreateBatchPredictionRequest.h:120
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithMLModelId
CreateBatchPredictionRequest & WithMLModelId(const Aws::String &value)
Definition: CreateBatchPredictionRequest.h:169
Aws::MachineLearning::Model::CreateBatchPredictionRequest::GetBatchPredictionName
const Aws::String & GetBatchPredictionName() const
Definition: CreateBatchPredictionRequest.h:90
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithOutputUri
CreateBatchPredictionRequest & WithOutputUri(Aws::String &&value)
Definition: CreateBatchPredictionRequest.h:308
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetBatchPredictionDataSourceId
void SetBatchPredictionDataSourceId(const char *value)
Definition: CreateBatchPredictionRequest.h:212
Aws::MachineLearning::Model::CreateBatchPredictionRequest::BatchPredictionNameHasBeenSet
bool BatchPredictionNameHasBeenSet() const
Definition: CreateBatchPredictionRequest.h:96
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithBatchPredictionName
CreateBatchPredictionRequest & WithBatchPredictionName(Aws::String &&value)
Definition: CreateBatchPredictionRequest.h:126
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetBatchPredictionDataSourceId
void SetBatchPredictionDataSourceId(Aws::String &&value)
Definition: CreateBatchPredictionRequest.h:206
Aws::MachineLearning::Model::CreateBatchPredictionRequest::GetBatchPredictionDataSourceId
const Aws::String & GetBatchPredictionDataSourceId() const
Definition: CreateBatchPredictionRequest.h:188
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithBatchPredictionDataSourceId
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(const Aws::String &value)
Definition: CreateBatchPredictionRequest.h:218
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetMLModelId
void SetMLModelId(const Aws::String &value)
Definition: CreateBatchPredictionRequest.h:151
Aws::MachineLearning::Model::CreateBatchPredictionRequest
Definition: CreateBatchPredictionRequest.h:22
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetBatchPredictionDataSourceId
void SetBatchPredictionDataSourceId(const Aws::String &value)
Definition: CreateBatchPredictionRequest.h:200
AWSString.h
Aws::MachineLearning::Model::CreateBatchPredictionRequest::BatchPredictionIdHasBeenSet
bool BatchPredictionIdHasBeenSet() const
Definition: CreateBatchPredictionRequest.h:47
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetOutputUri
void SetOutputUri(const Aws::String &value)
Definition: CreateBatchPredictionRequest.h:264
Aws::MachineLearning::Model::CreateBatchPredictionRequest::OutputUriHasBeenSet
bool OutputUriHasBeenSet() const
Definition: CreateBatchPredictionRequest.h:253
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithOutputUri
CreateBatchPredictionRequest & WithOutputUri(const Aws::String &value)
Definition: CreateBatchPredictionRequest.h:297
Aws::MachineLearning::Model::CreateBatchPredictionRequest::BatchPredictionDataSourceIdHasBeenSet
bool BatchPredictionDataSourceIdHasBeenSet() const
Definition: CreateBatchPredictionRequest.h:194
MachineLearningRequest.h
Aws::MachineLearning::Model::CreateBatchPredictionRequest::GetOutputUri
const Aws::String & GetOutputUri() const
Definition: CreateBatchPredictionRequest.h:242
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithBatchPredictionId
CreateBatchPredictionRequest & WithBatchPredictionId(const char *value)
Definition: CreateBatchPredictionRequest.h:83
Aws::MachineLearning::MachineLearningRequest
Definition: MachineLearningRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetBatchPredictionId
void SetBatchPredictionId(const char *value)
Definition: CreateBatchPredictionRequest.h:65
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetBatchPredictionName
void SetBatchPredictionName(const char *value)
Definition: CreateBatchPredictionRequest.h:114
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetBatchPredictionId
void SetBatchPredictionId(Aws::String &&value)
Definition: CreateBatchPredictionRequest.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetMLModelId
void SetMLModelId(const char *value)
Definition: CreateBatchPredictionRequest.h:163
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetMLModelId
void SetMLModelId(Aws::String &&value)
Definition: CreateBatchPredictionRequest.h:157
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithMLModelId
CreateBatchPredictionRequest & WithMLModelId(const char *value)
Definition: CreateBatchPredictionRequest.h:181
Aws::MachineLearning::Model::CreateBatchPredictionRequest::GetMLModelId
const Aws::String & GetMLModelId() const
Definition: CreateBatchPredictionRequest.h:139
Aws::MachineLearning::Model::CreateBatchPredictionRequest::WithBatchPredictionId
CreateBatchPredictionRequest & WithBatchPredictionId(const Aws::String &value)
Definition: CreateBatchPredictionRequest.h:71
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SetBatchPredictionId
void SetBatchPredictionId(const Aws::String &value)
Definition: CreateBatchPredictionRequest.h:53
Aws::MachineLearning::Model::CreateBatchPredictionRequest::MLModelIdHasBeenSet
bool MLModelIdHasBeenSet() const
Definition: CreateBatchPredictionRequest.h:145
Aws::MachineLearning::Model::CreateBatchPredictionRequest::SerializePayload
Aws::String SerializePayload() const override