AWS SDK for C++  1.9.108
AWS SDK for C++
DatasetExportJob.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Personalize
25 {
26 namespace Model
27 {
28 
39  {
40  public:
45 
46 
50  inline const Aws::String& GetJobName() const{ return m_jobName; }
51 
55  inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
56 
60  inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
61 
65  inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
66 
70  inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
71 
75  inline DatasetExportJob& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
76 
80  inline DatasetExportJob& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
81 
85  inline DatasetExportJob& WithJobName(const char* value) { SetJobName(value); return *this;}
86 
87 
91  inline const Aws::String& GetDatasetExportJobArn() const{ return m_datasetExportJobArn; }
92 
96  inline bool DatasetExportJobArnHasBeenSet() const { return m_datasetExportJobArnHasBeenSet; }
97 
101  inline void SetDatasetExportJobArn(const Aws::String& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = value; }
102 
106  inline void SetDatasetExportJobArn(Aws::String&& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = std::move(value); }
107 
111  inline void SetDatasetExportJobArn(const char* value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn.assign(value); }
112 
116  inline DatasetExportJob& WithDatasetExportJobArn(const Aws::String& value) { SetDatasetExportJobArn(value); return *this;}
117 
121  inline DatasetExportJob& WithDatasetExportJobArn(Aws::String&& value) { SetDatasetExportJobArn(std::move(value)); return *this;}
122 
126  inline DatasetExportJob& WithDatasetExportJobArn(const char* value) { SetDatasetExportJobArn(value); return *this;}
127 
128 
132  inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
133 
137  inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
138 
142  inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
143 
147  inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
148 
152  inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
153 
157  inline DatasetExportJob& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
158 
162  inline DatasetExportJob& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
163 
167  inline DatasetExportJob& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
168 
169 
177  inline const IngestionMode& GetIngestionMode() const{ return m_ingestionMode; }
178 
186  inline bool IngestionModeHasBeenSet() const { return m_ingestionModeHasBeenSet; }
187 
195  inline void SetIngestionMode(const IngestionMode& value) { m_ingestionModeHasBeenSet = true; m_ingestionMode = value; }
196 
204  inline void SetIngestionMode(IngestionMode&& value) { m_ingestionModeHasBeenSet = true; m_ingestionMode = std::move(value); }
205 
213  inline DatasetExportJob& WithIngestionMode(const IngestionMode& value) { SetIngestionMode(value); return *this;}
214 
222  inline DatasetExportJob& WithIngestionMode(IngestionMode&& value) { SetIngestionMode(std::move(value)); return *this;}
223 
224 
229  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
230 
235  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
236 
241  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
242 
247  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
248 
253  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
254 
259  inline DatasetExportJob& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
260 
265  inline DatasetExportJob& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
266 
271  inline DatasetExportJob& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
272 
273 
279  inline const Aws::String& GetStatus() const{ return m_status; }
280 
286  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
287 
293  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
294 
300  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
301 
307  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
308 
314  inline DatasetExportJob& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
315 
321  inline DatasetExportJob& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
322 
328  inline DatasetExportJob& WithStatus(const char* value) { SetStatus(value); return *this;}
329 
330 
335  inline const DatasetExportJobOutput& GetJobOutput() const{ return m_jobOutput; }
336 
341  inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
342 
347  inline void SetJobOutput(const DatasetExportJobOutput& value) { m_jobOutputHasBeenSet = true; m_jobOutput = value; }
348 
353  inline void SetJobOutput(DatasetExportJobOutput&& value) { m_jobOutputHasBeenSet = true; m_jobOutput = std::move(value); }
354 
359  inline DatasetExportJob& WithJobOutput(const DatasetExportJobOutput& value) { SetJobOutput(value); return *this;}
360 
365  inline DatasetExportJob& WithJobOutput(DatasetExportJobOutput&& value) { SetJobOutput(std::move(value)); return *this;}
366 
367 
371  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
372 
376  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
377 
381  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
382 
386  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
387 
391  inline DatasetExportJob& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
392 
396  inline DatasetExportJob& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
397 
398 
403  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
404 
409  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
410 
415  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
416 
421  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
422 
427  inline DatasetExportJob& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
428 
433  inline DatasetExportJob& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
434 
435 
439  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
440 
444  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
445 
449  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
450 
454  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
455 
459  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
460 
464  inline DatasetExportJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
465 
469  inline DatasetExportJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
470 
474  inline DatasetExportJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
475 
476  private:
477 
478  Aws::String m_jobName;
479  bool m_jobNameHasBeenSet;
480 
481  Aws::String m_datasetExportJobArn;
482  bool m_datasetExportJobArnHasBeenSet;
483 
484  Aws::String m_datasetArn;
485  bool m_datasetArnHasBeenSet;
486 
487  IngestionMode m_ingestionMode;
488  bool m_ingestionModeHasBeenSet;
489 
490  Aws::String m_roleArn;
491  bool m_roleArnHasBeenSet;
492 
493  Aws::String m_status;
494  bool m_statusHasBeenSet;
495 
496  DatasetExportJobOutput m_jobOutput;
497  bool m_jobOutputHasBeenSet;
498 
499  Aws::Utils::DateTime m_creationDateTime;
500  bool m_creationDateTimeHasBeenSet;
501 
502  Aws::Utils::DateTime m_lastUpdatedDateTime;
503  bool m_lastUpdatedDateTimeHasBeenSet;
504 
505  Aws::String m_failureReason;
506  bool m_failureReasonHasBeenSet;
507  };
508 
509 } // namespace Model
510 } // namespace Personalize
511 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::DatasetExportJob::JobOutputHasBeenSet
bool JobOutputHasBeenSet() const
Definition: DatasetExportJob.h:341
Aws::Personalize::Model::DatasetExportJob::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: DatasetExportJob.h:409
Aws::Personalize::Model::DatasetExportJob::WithFailureReason
DatasetExportJob & WithFailureReason(const char *value)
Definition: DatasetExportJob.h:474
Aws::Personalize::Model::DatasetExportJob::SetDatasetExportJobArn
void SetDatasetExportJobArn(Aws::String &&value)
Definition: DatasetExportJob.h:106
Aws::Personalize::Model::DatasetExportJob::SetFailureReason
void SetFailureReason(const char *value)
Definition: DatasetExportJob.h:459
Aws::Personalize::Model::IngestionMode
IngestionMode
Definition: IngestionMode.h:17
Aws::Personalize::Model::DatasetExportJob::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: DatasetExportJob.h:376
Aws::Personalize::Model::DatasetExportJob::GetDatasetArn
const Aws::String & GetDatasetArn() const
Definition: DatasetExportJob.h:132
Aws::Personalize::Model::DatasetExportJob::WithStatus
DatasetExportJob & WithStatus(const char *value)
Definition: DatasetExportJob.h:328
Aws::Personalize::Model::DatasetExportJob::WithLastUpdatedDateTime
DatasetExportJob & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetExportJob.h:433
Aws::Personalize::Model::DatasetExportJob::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetExportJob.h:381
Aws::Personalize::Model::DatasetExportJob::GetJobOutput
const DatasetExportJobOutput & GetJobOutput() const
Definition: DatasetExportJob.h:335
Aws::Personalize::Model::DatasetExportJob::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: DatasetExportJob.h:449
Aws::Personalize::Model::DatasetExportJob::SetDatasetArn
void SetDatasetArn(const char *value)
Definition: DatasetExportJob.h:152
Aws::Personalize::Model::DatasetExportJob::DatasetExportJobArnHasBeenSet
bool DatasetExportJobArnHasBeenSet() const
Definition: DatasetExportJob.h:96
DateTime.h
Aws::Personalize::Model::DatasetExportJob::WithJobName
DatasetExportJob & WithJobName(Aws::String &&value)
Definition: DatasetExportJob.h:80
Aws::Personalize::Model::DatasetExportJob::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: DatasetExportJob.h:444
Aws::Personalize::Model::DatasetExportJob::SetIngestionMode
void SetIngestionMode(IngestionMode &&value)
Definition: DatasetExportJob.h:204
Aws::Personalize::Model::DatasetExportJob::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: DatasetExportJob.h:371
Aws::Personalize::Model::DatasetExportJob::SetStatus
void SetStatus(const char *value)
Definition: DatasetExportJob.h:307
IngestionMode.h
Aws::Personalize::Model::DatasetExportJob::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DatasetExportJob.h:286
Aws::Personalize::Model::DatasetExportJob::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: DatasetExportJob.h:241
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DatasetExportJob::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetExportJob.h:386
Aws::Personalize::Model::DatasetExportJob::WithIngestionMode
DatasetExportJob & WithIngestionMode(IngestionMode &&value)
Definition: DatasetExportJob.h:222
Aws::Personalize::Model::DatasetExportJob::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetExportJob.h:421
DatasetExportJobOutput.h
Aws::Personalize::Model::DatasetExportJob::DatasetArnHasBeenSet
bool DatasetArnHasBeenSet() const
Definition: DatasetExportJob.h:137
Aws::Personalize::Model::DatasetExportJob::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: DatasetExportJob.h:403
Aws::Personalize::Model::DatasetExportJob::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: DatasetExportJob.h:229
Aws::Personalize::Model::DatasetExportJob::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DatasetExportJob::WithRoleArn
DatasetExportJob & WithRoleArn(const char *value)
Definition: DatasetExportJob.h:271
Aws::Personalize::Model::DatasetExportJob::SetStatus
void SetStatus(Aws::String &&value)
Definition: DatasetExportJob.h:300
Aws::Personalize::Model::DatasetExportJob::WithDatasetExportJobArn
DatasetExportJob & WithDatasetExportJobArn(const Aws::String &value)
Definition: DatasetExportJob.h:116
Aws::Personalize::Model::DatasetExportJob::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: DatasetExportJob.h:247
Aws::Personalize::Model::DatasetExportJob::WithJobName
DatasetExportJob & WithJobName(const char *value)
Definition: DatasetExportJob.h:85
Aws::Personalize::Model::DatasetExportJobOutput
Definition: DatasetExportJobOutput.h:33
Aws::Personalize::Model::DatasetExportJob::SetRoleArn
void SetRoleArn(const char *value)
Definition: DatasetExportJob.h:253
Aws::Personalize::Model::DatasetExportJob::WithFailureReason
DatasetExportJob & WithFailureReason(const Aws::String &value)
Definition: DatasetExportJob.h:464
Aws::Personalize::Model::DatasetExportJob::WithCreationDateTime
DatasetExportJob & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetExportJob.h:396
Aws::Personalize::Model::DatasetExportJob::WithCreationDateTime
DatasetExportJob & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetExportJob.h:391
Aws::Personalize::Model::DatasetExportJob::SetJobName
void SetJobName(const Aws::String &value)
Definition: DatasetExportJob.h:60
Aws::Personalize::Model::DatasetExportJob::WithStatus
DatasetExportJob & WithStatus(const Aws::String &value)
Definition: DatasetExportJob.h:314
Aws::Personalize::Model::DatasetExportJob::SetJobName
void SetJobName(const char *value)
Definition: DatasetExportJob.h:70
Aws::Personalize::Model::DatasetExportJob::WithLastUpdatedDateTime
DatasetExportJob & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetExportJob.h:427
Aws::Personalize::Model::DatasetExportJob::SetDatasetArn
void SetDatasetArn(Aws::String &&value)
Definition: DatasetExportJob.h:147
Aws::Personalize::Model::DatasetExportJob::DatasetExportJob
DatasetExportJob()
Aws::Personalize::Model::DatasetExportJob::GetDatasetExportJobArn
const Aws::String & GetDatasetExportJobArn() const
Definition: DatasetExportJob.h:91
Aws::Personalize::Model::DatasetExportJob::WithDatasetExportJobArn
DatasetExportJob & WithDatasetExportJobArn(Aws::String &&value)
Definition: DatasetExportJob.h:121
Aws::Personalize::Model::DatasetExportJob::SetJobOutput
void SetJobOutput(DatasetExportJobOutput &&value)
Definition: DatasetExportJob.h:353
Aws::Personalize::Model::DatasetExportJob::SetIngestionMode
void SetIngestionMode(const IngestionMode &value)
Definition: DatasetExportJob.h:195
Aws::Personalize::Model::DatasetExportJob::GetIngestionMode
const IngestionMode & GetIngestionMode() const
Definition: DatasetExportJob.h:177
Aws::Personalize::Model::DatasetExportJob::WithStatus
DatasetExportJob & WithStatus(Aws::String &&value)
Definition: DatasetExportJob.h:321
Aws::Personalize::Model::DatasetExportJob::JobNameHasBeenSet
bool JobNameHasBeenSet() const
Definition: DatasetExportJob.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Personalize::Model::DatasetExportJob::SetJobOutput
void SetJobOutput(const DatasetExportJobOutput &value)
Definition: DatasetExportJob.h:347
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DatasetExportJob::WithRoleArn
DatasetExportJob & WithRoleArn(Aws::String &&value)
Definition: DatasetExportJob.h:265
Aws::Personalize::Model::DatasetExportJob::operator=
DatasetExportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetExportJob::SetDatasetExportJobArn
void SetDatasetExportJobArn(const char *value)
Definition: DatasetExportJob.h:111
Aws::Personalize::Model::DatasetExportJob::GetJobName
const Aws::String & GetJobName() const
Definition: DatasetExportJob.h:50
Aws::Personalize::Model::DatasetExportJob::WithJobOutput
DatasetExportJob & WithJobOutput(const DatasetExportJobOutput &value)
Definition: DatasetExportJob.h:359
Aws::Personalize::Model::DatasetExportJob::WithJobOutput
DatasetExportJob & WithJobOutput(DatasetExportJobOutput &&value)
Definition: DatasetExportJob.h:365
Aws::Personalize::Model::DatasetExportJob::WithJobName
DatasetExportJob & WithJobName(const Aws::String &value)
Definition: DatasetExportJob.h:75
Aws::Personalize::Model::DatasetExportJob::WithDatasetArn
DatasetExportJob & WithDatasetArn(Aws::String &&value)
Definition: DatasetExportJob.h:162
Aws::Personalize::Model::DatasetExportJob::SetJobName
void SetJobName(Aws::String &&value)
Definition: DatasetExportJob.h:65
Aws::Personalize::Model::DatasetExportJob::SetDatasetArn
void SetDatasetArn(const Aws::String &value)
Definition: DatasetExportJob.h:142
Aws::Personalize::Model::DatasetExportJob
Definition: DatasetExportJob.h:39
Aws::Personalize::Model::DatasetExportJob::GetStatus
const Aws::String & GetStatus() const
Definition: DatasetExportJob.h:279
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DatasetExportJob::WithRoleArn
DatasetExportJob & WithRoleArn(const Aws::String &value)
Definition: DatasetExportJob.h:259
Aws::Personalize::Model::DatasetExportJob::WithFailureReason
DatasetExportJob & WithFailureReason(Aws::String &&value)
Definition: DatasetExportJob.h:469
Aws::Personalize::Model::DatasetExportJob::IngestionModeHasBeenSet
bool IngestionModeHasBeenSet() const
Definition: DatasetExportJob.h:186
Aws::Personalize::Model::DatasetExportJob::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetExportJob.h:415
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DatasetExportJob::WithDatasetArn
DatasetExportJob & WithDatasetArn(const Aws::String &value)
Definition: DatasetExportJob.h:157
Aws::Personalize::Model::DatasetExportJob::DatasetExportJob
DatasetExportJob(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetExportJob::SetStatus
void SetStatus(const Aws::String &value)
Definition: DatasetExportJob.h:293
Aws::Personalize::Model::DatasetExportJob::WithDatasetArn
DatasetExportJob & WithDatasetArn(const char *value)
Definition: DatasetExportJob.h:167
Personalize_EXPORTS.h
Aws::Personalize::Model::DatasetExportJob::SetDatasetExportJobArn
void SetDatasetExportJobArn(const Aws::String &value)
Definition: DatasetExportJob.h:101
Aws::Personalize::Model::DatasetExportJob::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: DatasetExportJob.h:454
Aws::Personalize::Model::DatasetExportJob::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: DatasetExportJob.h:439
Aws::Personalize::Model::DatasetExportJob::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: DatasetExportJob.h:235
Aws::Personalize::Model::DatasetExportJob::WithIngestionMode
DatasetExportJob & WithIngestionMode(const IngestionMode &value)
Definition: DatasetExportJob.h:213
Aws::Personalize::Model::DatasetExportJob::WithDatasetExportJobArn
DatasetExportJob & WithDatasetExportJobArn(const char *value)
Definition: DatasetExportJob.h:126