AWS SDK for C++  1.9.66
AWS SDK for C++
CreateBatchInferenceJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Personalize
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateBatchInferenceJob"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetJobName() const{ return m_jobName; }
44 
48  inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
49 
53  inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
54 
58  inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
59 
63  inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
64 
68  inline CreateBatchInferenceJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
69 
73  inline CreateBatchInferenceJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
74 
78  inline CreateBatchInferenceJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
79 
80 
85  inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
86 
91  inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
92 
97  inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; }
98 
103  inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); }
104 
109  inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); }
110 
115  inline CreateBatchInferenceJobRequest& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;}
116 
121  inline CreateBatchInferenceJobRequest& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
122 
127  inline CreateBatchInferenceJobRequest& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
128 
129 
136  inline const Aws::String& GetFilterArn() const{ return m_filterArn; }
137 
144  inline bool FilterArnHasBeenSet() const { return m_filterArnHasBeenSet; }
145 
152  inline void SetFilterArn(const Aws::String& value) { m_filterArnHasBeenSet = true; m_filterArn = value; }
153 
160  inline void SetFilterArn(Aws::String&& value) { m_filterArnHasBeenSet = true; m_filterArn = std::move(value); }
161 
168  inline void SetFilterArn(const char* value) { m_filterArnHasBeenSet = true; m_filterArn.assign(value); }
169 
176  inline CreateBatchInferenceJobRequest& WithFilterArn(const Aws::String& value) { SetFilterArn(value); return *this;}
177 
184  inline CreateBatchInferenceJobRequest& WithFilterArn(Aws::String&& value) { SetFilterArn(std::move(value)); return *this;}
185 
192  inline CreateBatchInferenceJobRequest& WithFilterArn(const char* value) { SetFilterArn(value); return *this;}
193 
194 
198  inline int GetNumResults() const{ return m_numResults; }
199 
203  inline bool NumResultsHasBeenSet() const { return m_numResultsHasBeenSet; }
204 
208  inline void SetNumResults(int value) { m_numResultsHasBeenSet = true; m_numResults = value; }
209 
213  inline CreateBatchInferenceJobRequest& WithNumResults(int value) { SetNumResults(value); return *this;}
214 
215 
220  inline const BatchInferenceJobInput& GetJobInput() const{ return m_jobInput; }
221 
226  inline bool JobInputHasBeenSet() const { return m_jobInputHasBeenSet; }
227 
232  inline void SetJobInput(const BatchInferenceJobInput& value) { m_jobInputHasBeenSet = true; m_jobInput = value; }
233 
238  inline void SetJobInput(BatchInferenceJobInput&& value) { m_jobInputHasBeenSet = true; m_jobInput = std::move(value); }
239 
244  inline CreateBatchInferenceJobRequest& WithJobInput(const BatchInferenceJobInput& value) { SetJobInput(value); return *this;}
245 
250  inline CreateBatchInferenceJobRequest& WithJobInput(BatchInferenceJobInput&& value) { SetJobInput(std::move(value)); return *this;}
251 
252 
256  inline const BatchInferenceJobOutput& GetJobOutput() const{ return m_jobOutput; }
257 
261  inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
262 
266  inline void SetJobOutput(const BatchInferenceJobOutput& value) { m_jobOutputHasBeenSet = true; m_jobOutput = value; }
267 
271  inline void SetJobOutput(BatchInferenceJobOutput&& value) { m_jobOutputHasBeenSet = true; m_jobOutput = std::move(value); }
272 
276  inline CreateBatchInferenceJobRequest& WithJobOutput(const BatchInferenceJobOutput& value) { SetJobOutput(value); return *this;}
277 
281  inline CreateBatchInferenceJobRequest& WithJobOutput(BatchInferenceJobOutput&& value) { SetJobOutput(std::move(value)); return *this;}
282 
283 
289  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
290 
296  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
297 
303  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
304 
310  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
311 
317  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
318 
324  inline CreateBatchInferenceJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
325 
331  inline CreateBatchInferenceJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
332 
338  inline CreateBatchInferenceJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
339 
340 
344  inline const BatchInferenceJobConfig& GetBatchInferenceJobConfig() const{ return m_batchInferenceJobConfig; }
345 
349  inline bool BatchInferenceJobConfigHasBeenSet() const { return m_batchInferenceJobConfigHasBeenSet; }
350 
354  inline void SetBatchInferenceJobConfig(const BatchInferenceJobConfig& value) { m_batchInferenceJobConfigHasBeenSet = true; m_batchInferenceJobConfig = value; }
355 
359  inline void SetBatchInferenceJobConfig(BatchInferenceJobConfig&& value) { m_batchInferenceJobConfigHasBeenSet = true; m_batchInferenceJobConfig = std::move(value); }
360 
364  inline CreateBatchInferenceJobRequest& WithBatchInferenceJobConfig(const BatchInferenceJobConfig& value) { SetBatchInferenceJobConfig(value); return *this;}
365 
369  inline CreateBatchInferenceJobRequest& WithBatchInferenceJobConfig(BatchInferenceJobConfig&& value) { SetBatchInferenceJobConfig(std::move(value)); return *this;}
370 
371  private:
372 
373  Aws::String m_jobName;
374  bool m_jobNameHasBeenSet;
375 
376  Aws::String m_solutionVersionArn;
377  bool m_solutionVersionArnHasBeenSet;
378 
379  Aws::String m_filterArn;
380  bool m_filterArnHasBeenSet;
381 
382  int m_numResults;
383  bool m_numResultsHasBeenSet;
384 
385  BatchInferenceJobInput m_jobInput;
386  bool m_jobInputHasBeenSet;
387 
388  BatchInferenceJobOutput m_jobOutput;
389  bool m_jobOutputHasBeenSet;
390 
391  Aws::String m_roleArn;
392  bool m_roleArnHasBeenSet;
393 
394  BatchInferenceJobConfig m_batchInferenceJobConfig;
395  bool m_batchInferenceJobConfigHasBeenSet;
396  };
397 
398 } // namespace Model
399 } // namespace Personalize
400 } // namespace Aws
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetJobOutput
void SetJobOutput(const BatchInferenceJobOutput &value)
Definition: CreateBatchInferenceJobRequest.h:266
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithJobInput
CreateBatchInferenceJobRequest & WithJobInput(const BatchInferenceJobInput &value)
Definition: CreateBatchInferenceJobRequest.h:244
PersonalizeRequest.h
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithBatchInferenceJobConfig
CreateBatchInferenceJobRequest & WithBatchInferenceJobConfig(BatchInferenceJobConfig &&value)
Definition: CreateBatchInferenceJobRequest.h:369
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithRoleArn
CreateBatchInferenceJobRequest & WithRoleArn(Aws::String &&value)
Definition: CreateBatchInferenceJobRequest.h:331
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetFilterArn
void SetFilterArn(Aws::String &&value)
Definition: CreateBatchInferenceJobRequest.h:160
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Personalize::Model::CreateBatchInferenceJobRequest::GetNumResults
int GetNumResults() const
Definition: CreateBatchInferenceJobRequest.h:198
Aws::Personalize::Model::BatchInferenceJobOutput
Definition: BatchInferenceJobOutput.h:33
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithFilterArn
CreateBatchInferenceJobRequest & WithFilterArn(const Aws::String &value)
Definition: CreateBatchInferenceJobRequest.h:176
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithJobName
CreateBatchInferenceJobRequest & WithJobName(const char *value)
Definition: CreateBatchInferenceJobRequest.h:78
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithSolutionVersionArn
CreateBatchInferenceJobRequest & WithSolutionVersionArn(const char *value)
Definition: CreateBatchInferenceJobRequest.h:127
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithSolutionVersionArn
CreateBatchInferenceJobRequest & WithSolutionVersionArn(const Aws::String &value)
Definition: CreateBatchInferenceJobRequest.h:115
Aws::Personalize::Model::CreateBatchInferenceJobRequest::JobNameHasBeenSet
bool JobNameHasBeenSet() const
Definition: CreateBatchInferenceJobRequest.h:48
Aws::Personalize::Model::CreateBatchInferenceJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateBatchInferenceJobRequest.h:33
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithFilterArn
CreateBatchInferenceJobRequest & WithFilterArn(const char *value)
Definition: CreateBatchInferenceJobRequest.h:192
BatchInferenceJobConfig.h
Aws::Personalize::Model::CreateBatchInferenceJobRequest::CreateBatchInferenceJobRequest
CreateBatchInferenceJobRequest()
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithRoleArn
CreateBatchInferenceJobRequest & WithRoleArn(const Aws::String &value)
Definition: CreateBatchInferenceJobRequest.h:324
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::CreateBatchInferenceJobRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreateBatchInferenceJobRequest.h:296
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetSolutionVersionArn
void SetSolutionVersionArn(const char *value)
Definition: CreateBatchInferenceJobRequest.h:109
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetNumResults
void SetNumResults(int value)
Definition: CreateBatchInferenceJobRequest.h:208
BatchInferenceJobOutput.h
BatchInferenceJobInput.h
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithJobInput
CreateBatchInferenceJobRequest & WithJobInput(BatchInferenceJobInput &&value)
Definition: CreateBatchInferenceJobRequest.h:250
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetJobName
void SetJobName(Aws::String &&value)
Definition: CreateBatchInferenceJobRequest.h:58
Aws::Personalize::Model::CreateBatchInferenceJobRequest::GetJobInput
const BatchInferenceJobInput & GetJobInput() const
Definition: CreateBatchInferenceJobRequest.h:220
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithBatchInferenceJobConfig
CreateBatchInferenceJobRequest & WithBatchInferenceJobConfig(const BatchInferenceJobConfig &value)
Definition: CreateBatchInferenceJobRequest.h:364
Aws::Personalize::Model::CreateBatchInferenceJobRequest::BatchInferenceJobConfigHasBeenSet
bool BatchInferenceJobConfigHasBeenSet() const
Definition: CreateBatchInferenceJobRequest.h:349
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithJobOutput
CreateBatchInferenceJobRequest & WithJobOutput(BatchInferenceJobOutput &&value)
Definition: CreateBatchInferenceJobRequest.h:281
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithJobOutput
CreateBatchInferenceJobRequest & WithJobOutput(const BatchInferenceJobOutput &value)
Definition: CreateBatchInferenceJobRequest.h:276
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetJobOutput
void SetJobOutput(BatchInferenceJobOutput &&value)
Definition: CreateBatchInferenceJobRequest.h:271
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithJobName
CreateBatchInferenceJobRequest & WithJobName(Aws::String &&value)
Definition: CreateBatchInferenceJobRequest.h:73
AWSString.h
Aws::Personalize::PersonalizeRequest
Definition: PersonalizeRequest.h:17
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetJobName
void SetJobName(const char *value)
Definition: CreateBatchInferenceJobRequest.h:63
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetFilterArn
void SetFilterArn(const Aws::String &value)
Definition: CreateBatchInferenceJobRequest.h:152
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetJobName
void SetJobName(const Aws::String &value)
Definition: CreateBatchInferenceJobRequest.h:53
Aws::Personalize::Model::CreateBatchInferenceJobRequest::GetBatchInferenceJobConfig
const BatchInferenceJobConfig & GetBatchInferenceJobConfig() const
Definition: CreateBatchInferenceJobRequest.h:344
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithNumResults
CreateBatchInferenceJobRequest & WithNumResults(int value)
Definition: CreateBatchInferenceJobRequest.h:213
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SolutionVersionArnHasBeenSet
bool SolutionVersionArnHasBeenSet() const
Definition: CreateBatchInferenceJobRequest.h:91
Aws::Personalize::Model::CreateBatchInferenceJobRequest::GetSolutionVersionArn
const Aws::String & GetSolutionVersionArn() const
Definition: CreateBatchInferenceJobRequest.h:85
Aws::Personalize::Model::CreateBatchInferenceJobRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreateBatchInferenceJobRequest.h:289
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithRoleArn
CreateBatchInferenceJobRequest & WithRoleArn(const char *value)
Definition: CreateBatchInferenceJobRequest.h:338
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetJobInput
void SetJobInput(const BatchInferenceJobInput &value)
Definition: CreateBatchInferenceJobRequest.h:232
Aws::Personalize::Model::CreateBatchInferenceJobRequest::JobInputHasBeenSet
bool JobInputHasBeenSet() const
Definition: CreateBatchInferenceJobRequest.h:226
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Personalize::Model::BatchInferenceJobConfig
Definition: BatchInferenceJobConfig.h:34
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreateBatchInferenceJobRequest.h:317
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetSolutionVersionArn
void SetSolutionVersionArn(Aws::String &&value)
Definition: CreateBatchInferenceJobRequest.h:103
Aws::Personalize::Model::CreateBatchInferenceJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Personalize::Model::CreateBatchInferenceJobRequest
Definition: CreateBatchInferenceJobRequest.h:25
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::CreateBatchInferenceJobRequest::GetJobName
const Aws::String & GetJobName() const
Definition: CreateBatchInferenceJobRequest.h:43
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithSolutionVersionArn
CreateBatchInferenceJobRequest & WithSolutionVersionArn(Aws::String &&value)
Definition: CreateBatchInferenceJobRequest.h:121
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreateBatchInferenceJobRequest.h:303
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetBatchInferenceJobConfig
void SetBatchInferenceJobConfig(BatchInferenceJobConfig &&value)
Definition: CreateBatchInferenceJobRequest.h:359
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::CreateBatchInferenceJobRequest::JobOutputHasBeenSet
bool JobOutputHasBeenSet() const
Definition: CreateBatchInferenceJobRequest.h:261
Aws::Personalize::Model::CreateBatchInferenceJobRequest::NumResultsHasBeenSet
bool NumResultsHasBeenSet() const
Definition: CreateBatchInferenceJobRequest.h:203
Aws::Personalize::Model::CreateBatchInferenceJobRequest::GetFilterArn
const Aws::String & GetFilterArn() const
Definition: CreateBatchInferenceJobRequest.h:136
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithFilterArn
CreateBatchInferenceJobRequest & WithFilterArn(Aws::String &&value)
Definition: CreateBatchInferenceJobRequest.h:184
Personalize_EXPORTS.h
Aws::Personalize::Model::BatchInferenceJobInput
Definition: BatchInferenceJobInput.h:33
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetBatchInferenceJobConfig
void SetBatchInferenceJobConfig(const BatchInferenceJobConfig &value)
Definition: CreateBatchInferenceJobRequest.h:354
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetJobInput
void SetJobInput(BatchInferenceJobInput &&value)
Definition: CreateBatchInferenceJobRequest.h:238
Aws::Personalize::Model::CreateBatchInferenceJobRequest::WithJobName
CreateBatchInferenceJobRequest & WithJobName(const Aws::String &value)
Definition: CreateBatchInferenceJobRequest.h:68
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetSolutionVersionArn
void SetSolutionVersionArn(const Aws::String &value)
Definition: CreateBatchInferenceJobRequest.h:97
Aws::Personalize::Model::CreateBatchInferenceJobRequest::FilterArnHasBeenSet
bool FilterArnHasBeenSet() const
Definition: CreateBatchInferenceJobRequest.h:144
Aws::Personalize::Model::CreateBatchInferenceJobRequest::GetJobOutput
const BatchInferenceJobOutput & GetJobOutput() const
Definition: CreateBatchInferenceJobRequest.h:256
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreateBatchInferenceJobRequest.h:310
Aws::Personalize::Model::CreateBatchInferenceJobRequest::SetFilterArn
void SetFilterArn(const char *value)
Definition: CreateBatchInferenceJobRequest.h:168