AWS SDK for C++  0.14.3
AWS SDK for C++
CreateBatchPredictionRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace MachineLearning
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33  Aws::String SerializePayload() const override;
34 
35  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
41  inline const Aws::String& GetBatchPredictionId() const{ return m_batchPredictionId; }
42 
47  inline void SetBatchPredictionId(const Aws::String& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = value; }
48 
53  inline void SetBatchPredictionId(Aws::String&& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = value; }
54 
59  inline void SetBatchPredictionId(const char* value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId.assign(value); }
60 
65  inline CreateBatchPredictionRequest& WithBatchPredictionId(const Aws::String& value) { SetBatchPredictionId(value); return *this;}
66 
71  inline CreateBatchPredictionRequest& WithBatchPredictionId(Aws::String&& value) { SetBatchPredictionId(value); return *this;}
72 
77  inline CreateBatchPredictionRequest& WithBatchPredictionId(const char* value) { SetBatchPredictionId(value); return *this;}
78 
83  inline const Aws::String& GetBatchPredictionName() const{ return m_batchPredictionName; }
84 
89  inline void SetBatchPredictionName(const Aws::String& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = value; }
90 
95  inline void SetBatchPredictionName(Aws::String&& value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName = value; }
96 
101  inline void SetBatchPredictionName(const char* value) { m_batchPredictionNameHasBeenSet = true; m_batchPredictionName.assign(value); }
102 
107  inline CreateBatchPredictionRequest& WithBatchPredictionName(const Aws::String& value) { SetBatchPredictionName(value); return *this;}
108 
113  inline CreateBatchPredictionRequest& WithBatchPredictionName(Aws::String&& value) { SetBatchPredictionName(value); return *this;}
114 
119  inline CreateBatchPredictionRequest& WithBatchPredictionName(const char* value) { SetBatchPredictionName(value); return *this;}
120 
125  inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
126 
131  inline void SetMLModelId(const Aws::String& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = value; }
132 
137  inline void SetMLModelId(Aws::String&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = value; }
138 
143  inline void SetMLModelId(const char* value) { m_mLModelIdHasBeenSet = true; m_mLModelId.assign(value); }
144 
149  inline CreateBatchPredictionRequest& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
150 
155  inline CreateBatchPredictionRequest& WithMLModelId(Aws::String&& value) { SetMLModelId(value); return *this;}
156 
161  inline CreateBatchPredictionRequest& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
162 
167  inline const Aws::String& GetBatchPredictionDataSourceId() const{ return m_batchPredictionDataSourceId; }
168 
173  inline void SetBatchPredictionDataSourceId(const Aws::String& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = value; }
174 
179  inline void SetBatchPredictionDataSourceId(Aws::String&& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = value; }
180 
185  inline void SetBatchPredictionDataSourceId(const char* value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId.assign(value); }
186 
191  inline CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(const Aws::String& value) { SetBatchPredictionDataSourceId(value); return *this;}
192 
197  inline CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(Aws::String&& value) { SetBatchPredictionDataSourceId(value); return *this;}
198 
203  inline CreateBatchPredictionRequest& WithBatchPredictionDataSourceId(const char* value) { SetBatchPredictionDataSourceId(value); return *this;}
204 
214  inline const Aws::String& GetOutputUri() const{ return m_outputUri; }
215 
225  inline void SetOutputUri(const Aws::String& value) { m_outputUriHasBeenSet = true; m_outputUri = value; }
226 
236  inline void SetOutputUri(Aws::String&& value) { m_outputUriHasBeenSet = true; m_outputUri = value; }
237 
247  inline void SetOutputUri(const char* value) { m_outputUriHasBeenSet = true; m_outputUri.assign(value); }
248 
258  inline CreateBatchPredictionRequest& WithOutputUri(const Aws::String& value) { SetOutputUri(value); return *this;}
259 
269  inline CreateBatchPredictionRequest& WithOutputUri(Aws::String&& value) { SetOutputUri(value); return *this;}
270 
280  inline CreateBatchPredictionRequest& WithOutputUri(const char* value) { SetOutputUri(value); return *this;}
281 
282  private:
283  Aws::String m_batchPredictionId;
284  bool m_batchPredictionIdHasBeenSet;
285  Aws::String m_batchPredictionName;
286  bool m_batchPredictionNameHasBeenSet;
287  Aws::String m_mLModelId;
288  bool m_mLModelIdHasBeenSet;
289  Aws::String m_batchPredictionDataSourceId;
290  bool m_batchPredictionDataSourceIdHasBeenSet;
291  Aws::String m_outputUri;
292  bool m_outputUriHasBeenSet;
293  };
294 
295 } // namespace Model
296 } // namespace MachineLearning
297 } // namespace Aws
CreateBatchPredictionRequest & WithBatchPredictionId(Aws::String &&value)
CreateBatchPredictionRequest & WithBatchPredictionName(const Aws::String &value)
CreateBatchPredictionRequest & WithBatchPredictionId(const char *value)
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(Aws::String &&value)
CreateBatchPredictionRequest & WithBatchPredictionName(Aws::String &&value)
CreateBatchPredictionRequest & WithMLModelId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
CreateBatchPredictionRequest & WithBatchPredictionName(const char *value)
CreateBatchPredictionRequest & WithMLModelId(Aws::String &&value)
CreateBatchPredictionRequest & WithOutputUri(Aws::String &&value)
CreateBatchPredictionRequest & WithOutputUri(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateBatchPredictionRequest & WithOutputUri(const Aws::String &value)
CreateBatchPredictionRequest & WithBatchPredictionId(const Aws::String &value)
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(const Aws::String &value)
CreateBatchPredictionRequest & WithBatchPredictionDataSourceId(const char *value)
#define AWS_MACHINELEARNING_API
CreateBatchPredictionRequest & WithMLModelId(const Aws::String &value)
JSON (JavaScript Object Notation).