AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchInferenceJob.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/BatchInferenceJobInput.h>
10#include <aws/personalize/model/BatchInferenceJobOutput.h>
11#include <aws/personalize/model/BatchInferenceJobConfig.h>
12#include <aws/personalize/model/BatchInferenceJobMode.h>
13#include <aws/personalize/model/ThemeGenerationConfig.h>
14#include <aws/core/utils/DateTime.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Personalize
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_PERSONALIZE_API BatchInferenceJob();
41 AWS_PERSONALIZE_API BatchInferenceJob(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetJobName() const{ return m_jobName; }
51 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
52 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
53 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
54 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
55 inline BatchInferenceJob& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
56 inline BatchInferenceJob& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
57 inline BatchInferenceJob& WithJobName(const char* value) { SetJobName(value); return *this;}
59
61
64 inline const Aws::String& GetBatchInferenceJobArn() const{ return m_batchInferenceJobArn; }
65 inline bool BatchInferenceJobArnHasBeenSet() const { return m_batchInferenceJobArnHasBeenSet; }
66 inline void SetBatchInferenceJobArn(const Aws::String& value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn = value; }
67 inline void SetBatchInferenceJobArn(Aws::String&& value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn = std::move(value); }
68 inline void SetBatchInferenceJobArn(const char* value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn.assign(value); }
70 inline BatchInferenceJob& WithBatchInferenceJobArn(Aws::String&& value) { SetBatchInferenceJobArn(std::move(value)); return *this;}
71 inline BatchInferenceJob& WithBatchInferenceJobArn(const char* value) { SetBatchInferenceJobArn(value); return *this;}
73
75
78 inline const Aws::String& GetFilterArn() const{ return m_filterArn; }
79 inline bool FilterArnHasBeenSet() const { return m_filterArnHasBeenSet; }
80 inline void SetFilterArn(const Aws::String& value) { m_filterArnHasBeenSet = true; m_filterArn = value; }
81 inline void SetFilterArn(Aws::String&& value) { m_filterArnHasBeenSet = true; m_filterArn = std::move(value); }
82 inline void SetFilterArn(const char* value) { m_filterArnHasBeenSet = true; m_filterArn.assign(value); }
83 inline BatchInferenceJob& WithFilterArn(const Aws::String& value) { SetFilterArn(value); return *this;}
84 inline BatchInferenceJob& WithFilterArn(Aws::String&& value) { SetFilterArn(std::move(value)); return *this;}
85 inline BatchInferenceJob& WithFilterArn(const char* value) { SetFilterArn(value); return *this;}
87
89
92 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
93 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
94 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
95 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
96 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
97 inline BatchInferenceJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
98 inline BatchInferenceJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
99 inline BatchInferenceJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
101
103
107 inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
108 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
109 inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; }
110 inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); }
111 inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); }
112 inline BatchInferenceJob& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;}
113 inline BatchInferenceJob& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
114 inline BatchInferenceJob& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
116
118
122 inline int GetNumResults() const{ return m_numResults; }
123 inline bool NumResultsHasBeenSet() const { return m_numResultsHasBeenSet; }
124 inline void SetNumResults(int value) { m_numResultsHasBeenSet = true; m_numResults = value; }
125 inline BatchInferenceJob& WithNumResults(int value) { SetNumResults(value); return *this;}
127
129
133 inline const BatchInferenceJobInput& GetJobInput() const{ return m_jobInput; }
134 inline bool JobInputHasBeenSet() const { return m_jobInputHasBeenSet; }
135 inline void SetJobInput(const BatchInferenceJobInput& value) { m_jobInputHasBeenSet = true; m_jobInput = value; }
136 inline void SetJobInput(BatchInferenceJobInput&& value) { m_jobInputHasBeenSet = true; m_jobInput = std::move(value); }
137 inline BatchInferenceJob& WithJobInput(const BatchInferenceJobInput& value) { SetJobInput(value); return *this;}
138 inline BatchInferenceJob& WithJobInput(BatchInferenceJobInput&& value) { SetJobInput(std::move(value)); return *this;}
140
142
146 inline const BatchInferenceJobOutput& GetJobOutput() const{ return m_jobOutput; }
147 inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
148 inline void SetJobOutput(const BatchInferenceJobOutput& value) { m_jobOutputHasBeenSet = true; m_jobOutput = value; }
149 inline void SetJobOutput(BatchInferenceJobOutput&& value) { m_jobOutputHasBeenSet = true; m_jobOutput = std::move(value); }
150 inline BatchInferenceJob& WithJobOutput(const BatchInferenceJobOutput& value) { SetJobOutput(value); return *this;}
151 inline BatchInferenceJob& WithJobOutput(BatchInferenceJobOutput&& value) { SetJobOutput(std::move(value)); return *this;}
153
155
159 inline const BatchInferenceJobConfig& GetBatchInferenceJobConfig() const{ return m_batchInferenceJobConfig; }
160 inline bool BatchInferenceJobConfigHasBeenSet() const { return m_batchInferenceJobConfigHasBeenSet; }
161 inline void SetBatchInferenceJobConfig(const BatchInferenceJobConfig& value) { m_batchInferenceJobConfigHasBeenSet = true; m_batchInferenceJobConfig = value; }
162 inline void SetBatchInferenceJobConfig(BatchInferenceJobConfig&& value) { m_batchInferenceJobConfigHasBeenSet = true; m_batchInferenceJobConfig = std::move(value); }
166
168
172 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
173 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
174 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
175 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
176 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
177 inline BatchInferenceJob& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
178 inline BatchInferenceJob& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
179 inline BatchInferenceJob& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
181
183
186 inline const BatchInferenceJobMode& GetBatchInferenceJobMode() const{ return m_batchInferenceJobMode; }
187 inline bool BatchInferenceJobModeHasBeenSet() const { return m_batchInferenceJobModeHasBeenSet; }
188 inline void SetBatchInferenceJobMode(const BatchInferenceJobMode& value) { m_batchInferenceJobModeHasBeenSet = true; m_batchInferenceJobMode = value; }
189 inline void SetBatchInferenceJobMode(BatchInferenceJobMode&& value) { m_batchInferenceJobModeHasBeenSet = true; m_batchInferenceJobMode = std::move(value); }
193
195
198 inline const ThemeGenerationConfig& GetThemeGenerationConfig() const{ return m_themeGenerationConfig; }
199 inline bool ThemeGenerationConfigHasBeenSet() const { return m_themeGenerationConfigHasBeenSet; }
200 inline void SetThemeGenerationConfig(const ThemeGenerationConfig& value) { m_themeGenerationConfigHasBeenSet = true; m_themeGenerationConfig = value; }
201 inline void SetThemeGenerationConfig(ThemeGenerationConfig&& value) { m_themeGenerationConfigHasBeenSet = true; m_themeGenerationConfig = std::move(value); }
205
207
212 inline const Aws::String& GetStatus() const{ return m_status; }
213 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
214 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
215 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
216 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
217 inline BatchInferenceJob& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
218 inline BatchInferenceJob& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
219 inline BatchInferenceJob& WithStatus(const char* value) { SetStatus(value); return *this;}
221
223
226 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
227 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
228 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
229 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
231 inline BatchInferenceJob& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
233
235
238 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
239 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
240 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
241 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
245 private:
246
247 Aws::String m_jobName;
248 bool m_jobNameHasBeenSet = false;
249
250 Aws::String m_batchInferenceJobArn;
251 bool m_batchInferenceJobArnHasBeenSet = false;
252
253 Aws::String m_filterArn;
254 bool m_filterArnHasBeenSet = false;
255
256 Aws::String m_failureReason;
257 bool m_failureReasonHasBeenSet = false;
258
259 Aws::String m_solutionVersionArn;
260 bool m_solutionVersionArnHasBeenSet = false;
261
262 int m_numResults;
263 bool m_numResultsHasBeenSet = false;
264
265 BatchInferenceJobInput m_jobInput;
266 bool m_jobInputHasBeenSet = false;
267
268 BatchInferenceJobOutput m_jobOutput;
269 bool m_jobOutputHasBeenSet = false;
270
271 BatchInferenceJobConfig m_batchInferenceJobConfig;
272 bool m_batchInferenceJobConfigHasBeenSet = false;
273
274 Aws::String m_roleArn;
275 bool m_roleArnHasBeenSet = false;
276
277 BatchInferenceJobMode m_batchInferenceJobMode;
278 bool m_batchInferenceJobModeHasBeenSet = false;
279
280 ThemeGenerationConfig m_themeGenerationConfig;
281 bool m_themeGenerationConfigHasBeenSet = false;
282
283 Aws::String m_status;
284 bool m_statusHasBeenSet = false;
285
286 Aws::Utils::DateTime m_creationDateTime;
287 bool m_creationDateTimeHasBeenSet = false;
288
289 Aws::Utils::DateTime m_lastUpdatedDateTime;
290 bool m_lastUpdatedDateTimeHasBeenSet = false;
291 };
292
293} // namespace Model
294} // namespace Personalize
295} // namespace Aws
BatchInferenceJob & WithRoleArn(Aws::String &&value)
void SetBatchInferenceJobArn(const Aws::String &value)
BatchInferenceJob & WithRoleArn(const Aws::String &value)
BatchInferenceJob & WithSolutionVersionArn(Aws::String &&value)
BatchInferenceJob & WithBatchInferenceJobConfig(BatchInferenceJobConfig &&value)
BatchInferenceJob & WithFailureReason(const Aws::String &value)
BatchInferenceJob & WithBatchInferenceJobArn(const Aws::String &value)
BatchInferenceJob & WithNumResults(int value)
BatchInferenceJob & WithStatus(const Aws::String &value)
void SetFailureReason(const Aws::String &value)
BatchInferenceJob & WithFailureReason(const char *value)
BatchInferenceJob & WithJobName(Aws::String &&value)
BatchInferenceJob & WithStatus(const char *value)
const Aws::String & GetBatchInferenceJobArn() const
BatchInferenceJob & WithJobName(const Aws::String &value)
AWS_PERSONALIZE_API BatchInferenceJob & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchInferenceJob & WithStatus(Aws::String &&value)
void SetBatchInferenceJobArn(Aws::String &&value)
const BatchInferenceJobConfig & GetBatchInferenceJobConfig() const
void SetJobOutput(BatchInferenceJobOutput &&value)
void SetBatchInferenceJobMode(BatchInferenceJobMode &&value)
const BatchInferenceJobMode & GetBatchInferenceJobMode() const
BatchInferenceJob & WithThemeGenerationConfig(ThemeGenerationConfig &&value)
void SetRoleArn(const Aws::String &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
BatchInferenceJob & WithBatchInferenceJobArn(const char *value)
BatchInferenceJob & WithJobOutput(BatchInferenceJobOutput &&value)
void SetFilterArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
BatchInferenceJob & WithSolutionVersionArn(const Aws::String &value)
void SetJobInput(BatchInferenceJobInput &&value)
const BatchInferenceJobInput & GetJobInput() const
BatchInferenceJob & WithRoleArn(const char *value)
BatchInferenceJob & WithBatchInferenceJobMode(const BatchInferenceJobMode &value)
const Aws::String & GetSolutionVersionArn() const
BatchInferenceJob & WithFilterArn(const Aws::String &value)
BatchInferenceJob & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetBatchInferenceJobMode(const BatchInferenceJobMode &value)
BatchInferenceJob & WithFilterArn(Aws::String &&value)
BatchInferenceJob & WithJobOutput(const BatchInferenceJobOutput &value)
AWS_PERSONALIZE_API BatchInferenceJob(Aws::Utils::Json::JsonView jsonValue)
BatchInferenceJob & WithSolutionVersionArn(const char *value)
void SetSolutionVersionArn(const Aws::String &value)
BatchInferenceJob & WithBatchInferenceJobMode(BatchInferenceJobMode &&value)
const Aws::String & GetFailureReason() const
BatchInferenceJob & WithFilterArn(const char *value)
BatchInferenceJob & WithBatchInferenceJobArn(Aws::String &&value)
const ThemeGenerationConfig & GetThemeGenerationConfig() const
BatchInferenceJob & WithThemeGenerationConfig(const ThemeGenerationConfig &value)
BatchInferenceJob & WithJobInput(BatchInferenceJobInput &&value)
void SetJobOutput(const BatchInferenceJobOutput &value)
BatchInferenceJob & WithJobName(const char *value)
BatchInferenceJob & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
BatchInferenceJob & WithJobInput(const BatchInferenceJobInput &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetBatchInferenceJobConfig(const BatchInferenceJobConfig &value)
void SetStatus(const Aws::String &value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBatchInferenceJobConfig(BatchInferenceJobConfig &&value)
BatchInferenceJob & WithBatchInferenceJobConfig(const BatchInferenceJobConfig &value)
void SetThemeGenerationConfig(ThemeGenerationConfig &&value)
BatchInferenceJob & WithCreationDateTime(const Aws::Utils::DateTime &value)
const BatchInferenceJobOutput & GetJobOutput() const
void SetJobInput(const BatchInferenceJobInput &value)
void SetThemeGenerationConfig(const ThemeGenerationConfig &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
BatchInferenceJob & WithFailureReason(Aws::String &&value)
BatchInferenceJob & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetJobName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue