AWS SDK for C++  1.9.102
AWS SDK for C++
DatasetImportJob.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Personalize
24 {
25 namespace Model
26 {
27 
38  {
39  public:
44 
45 
49  inline const Aws::String& GetJobName() const{ return m_jobName; }
50 
54  inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
55 
59  inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
60 
64  inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
65 
69  inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
70 
74  inline DatasetImportJob& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
75 
79  inline DatasetImportJob& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
80 
84  inline DatasetImportJob& WithJobName(const char* value) { SetJobName(value); return *this;}
85 
86 
90  inline const Aws::String& GetDatasetImportJobArn() const{ return m_datasetImportJobArn; }
91 
95  inline bool DatasetImportJobArnHasBeenSet() const { return m_datasetImportJobArnHasBeenSet; }
96 
100  inline void SetDatasetImportJobArn(const Aws::String& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = value; }
101 
105  inline void SetDatasetImportJobArn(Aws::String&& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = std::move(value); }
106 
110  inline void SetDatasetImportJobArn(const char* value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn.assign(value); }
111 
115  inline DatasetImportJob& WithDatasetImportJobArn(const Aws::String& value) { SetDatasetImportJobArn(value); return *this;}
116 
120  inline DatasetImportJob& WithDatasetImportJobArn(Aws::String&& value) { SetDatasetImportJobArn(std::move(value)); return *this;}
121 
125  inline DatasetImportJob& WithDatasetImportJobArn(const char* value) { SetDatasetImportJobArn(value); return *this;}
126 
127 
132  inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
133 
138  inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
139 
144  inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
145 
150  inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
151 
156  inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
157 
162  inline DatasetImportJob& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
163 
168  inline DatasetImportJob& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
169 
174  inline DatasetImportJob& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
175 
176 
180  inline const DataSource& GetDataSource() const{ return m_dataSource; }
181 
185  inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
186 
190  inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
191 
195  inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
196 
200  inline DatasetImportJob& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
201 
205  inline DatasetImportJob& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
206 
207 
212  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
213 
218  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
219 
224  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
225 
230  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
231 
236  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
237 
242  inline DatasetImportJob& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
243 
248  inline DatasetImportJob& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
249 
254  inline DatasetImportJob& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
255 
256 
262  inline const Aws::String& GetStatus() const{ return m_status; }
263 
269  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
270 
276  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
277 
283  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
284 
290  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
291 
297  inline DatasetImportJob& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
298 
304  inline DatasetImportJob& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
305 
311  inline DatasetImportJob& WithStatus(const char* value) { SetStatus(value); return *this;}
312 
313 
317  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
318 
322  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
323 
327  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
328 
332  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
333 
337  inline DatasetImportJob& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
338 
342  inline DatasetImportJob& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
343 
344 
348  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
349 
353  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
354 
358  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
359 
363  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
364 
368  inline DatasetImportJob& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
369 
373  inline DatasetImportJob& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
374 
375 
379  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
380 
384  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
385 
389  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
390 
394  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
395 
399  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
400 
404  inline DatasetImportJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
405 
409  inline DatasetImportJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
410 
414  inline DatasetImportJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
415 
416  private:
417 
418  Aws::String m_jobName;
419  bool m_jobNameHasBeenSet;
420 
421  Aws::String m_datasetImportJobArn;
422  bool m_datasetImportJobArnHasBeenSet;
423 
424  Aws::String m_datasetArn;
425  bool m_datasetArnHasBeenSet;
426 
427  DataSource m_dataSource;
428  bool m_dataSourceHasBeenSet;
429 
430  Aws::String m_roleArn;
431  bool m_roleArnHasBeenSet;
432 
433  Aws::String m_status;
434  bool m_statusHasBeenSet;
435 
436  Aws::Utils::DateTime m_creationDateTime;
437  bool m_creationDateTimeHasBeenSet;
438 
439  Aws::Utils::DateTime m_lastUpdatedDateTime;
440  bool m_lastUpdatedDateTimeHasBeenSet;
441 
442  Aws::String m_failureReason;
443  bool m_failureReasonHasBeenSet;
444  };
445 
446 } // namespace Model
447 } // namespace Personalize
448 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::DatasetImportJob::WithFailureReason
DatasetImportJob & WithFailureReason(const Aws::String &value)
Definition: DatasetImportJob.h:404
Aws::Personalize::Model::DatasetImportJob::SetJobName
void SetJobName(const char *value)
Definition: DatasetImportJob.h:69
Aws::Personalize::Model::DatasetImportJob::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: DatasetImportJob.h:379
Aws::Personalize::Model::DatasetImportJob::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: DatasetImportJob.h:348
Aws::Personalize::Model::DatasetImportJob::GetDataSource
const DataSource & GetDataSource() const
Definition: DatasetImportJob.h:180
Aws::Personalize::Model::DatasetImportJob::SetDatasetImportJobArn
void SetDatasetImportJobArn(const Aws::String &value)
Definition: DatasetImportJob.h:100
Aws::Personalize::Model::DatasetImportJob::GetStatus
const Aws::String & GetStatus() const
Definition: DatasetImportJob.h:262
Aws::Personalize::Model::DatasetImportJob::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: DatasetImportJob.h:389
DataSource.h
DateTime.h
Aws::Personalize::Model::DatasetImportJob::DatasetImportJobArnHasBeenSet
bool DatasetImportJobArnHasBeenSet() const
Definition: DatasetImportJob.h:95
Aws::Personalize::Model::DatasetImportJob::WithJobName
DatasetImportJob & WithJobName(Aws::String &&value)
Definition: DatasetImportJob.h:79
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DatasetImportJob::DatasetImportJob
DatasetImportJob()
Aws::Personalize::Model::DatasetImportJob::GetDatasetArn
const Aws::String & GetDatasetArn() const
Definition: DatasetImportJob.h:132
Aws::Personalize::Model::DatasetImportJob::DatasetImportJob
DatasetImportJob(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetImportJob::GetDatasetImportJobArn
const Aws::String & GetDatasetImportJobArn() const
Definition: DatasetImportJob.h:90
Aws::Personalize::Model::DatasetImportJob::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DatasetImportJob.h:269
Aws::Personalize::Model::DatasetImportJob::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetImportJob.h:327
Aws::Personalize::Model::DatasetImportJob::WithDatasetImportJobArn
DatasetImportJob & WithDatasetImportJobArn(const Aws::String &value)
Definition: DatasetImportJob.h:115
Aws::Personalize::Model::DatasetImportJob::WithStatus
DatasetImportJob & WithStatus(const char *value)
Definition: DatasetImportJob.h:311
Aws::Personalize::Model::DatasetImportJob::WithDatasetImportJobArn
DatasetImportJob & WithDatasetImportJobArn(const char *value)
Definition: DatasetImportJob.h:125
Aws::Personalize::Model::DatasetImportJob::WithLastUpdatedDateTime
DatasetImportJob & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetImportJob.h:373
Aws::Personalize::Model::DatasetImportJob::SetDatasetArn
void SetDatasetArn(Aws::String &&value)
Definition: DatasetImportJob.h:150
Aws::Personalize::Model::DatasetImportJob::WithDatasetArn
DatasetImportJob & WithDatasetArn(const char *value)
Definition: DatasetImportJob.h:174
Aws::Personalize::Model::DatasetImportJob::WithDataSource
DatasetImportJob & WithDataSource(DataSource &&value)
Definition: DatasetImportJob.h:205
Aws::Personalize::Model::DatasetImportJob::WithStatus
DatasetImportJob & WithStatus(const Aws::String &value)
Definition: DatasetImportJob.h:297
Aws::Personalize::Model::DatasetImportJob::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: DatasetImportJob.h:353
Aws::Personalize::Model::DatasetImportJob::SetDatasetImportJobArn
void SetDatasetImportJobArn(const char *value)
Definition: DatasetImportJob.h:110
Aws::Personalize::Model::DatasetImportJob::WithDataSource
DatasetImportJob & WithDataSource(const DataSource &value)
Definition: DatasetImportJob.h:200
Aws::Personalize::Model::DatasetImportJob::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: DatasetImportJob.h:224
Aws::Personalize::Model::DatasetImportJob::SetDatasetImportJobArn
void SetDatasetImportJobArn(Aws::String &&value)
Definition: DatasetImportJob.h:105
Aws::Personalize::Model::DatasetImportJob::SetStatus
void SetStatus(const char *value)
Definition: DatasetImportJob.h:290
Aws::Personalize::Model::DatasetImportJob::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: DatasetImportJob.h:322
Aws::Personalize::Model::DatasetImportJob::WithCreationDateTime
DatasetImportJob & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetImportJob.h:342
Aws::Personalize::Model::DatasetImportJob::WithRoleArn
DatasetImportJob & WithRoleArn(const Aws::String &value)
Definition: DatasetImportJob.h:242
Aws::Personalize::Model::DatasetImportJob::WithDatasetImportJobArn
DatasetImportJob & WithDatasetImportJobArn(Aws::String &&value)
Definition: DatasetImportJob.h:120
Aws::Personalize::Model::DatasetImportJob::WithDatasetArn
DatasetImportJob & WithDatasetArn(const Aws::String &value)
Definition: DatasetImportJob.h:162
Aws::Personalize::Model::DatasetImportJob::SetDatasetArn
void SetDatasetArn(const char *value)
Definition: DatasetImportJob.h:156
Aws::Personalize::Model::DatasetImportJob::SetJobName
void SetJobName(Aws::String &&value)
Definition: DatasetImportJob.h:64
Aws::Personalize::Model::DatasetImportJob::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DatasetImportJob::DatasetArnHasBeenSet
bool DatasetArnHasBeenSet() const
Definition: DatasetImportJob.h:138
Aws::Personalize::Model::DatasetImportJob::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: DatasetImportJob.h:212
Aws::Personalize::Model::DatasetImportJob::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: DatasetImportJob.h:394
Aws::Personalize::Model::DatasetImportJob::SetJobName
void SetJobName(const Aws::String &value)
Definition: DatasetImportJob.h:59
Aws::Personalize::Model::DatasetImportJob::WithJobName
DatasetImportJob & WithJobName(const Aws::String &value)
Definition: DatasetImportJob.h:74
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DatasetImportJob::SetDataSource
void SetDataSource(DataSource &&value)
Definition: DatasetImportJob.h:195
Aws::Personalize::Model::DatasetImportJob::SetDatasetArn
void SetDatasetArn(const Aws::String &value)
Definition: DatasetImportJob.h:144
Aws::Personalize::Model::DatasetImportJob::SetFailureReason
void SetFailureReason(const char *value)
Definition: DatasetImportJob.h:399
Aws::Personalize::Model::DatasetImportJob::SetStatus
void SetStatus(Aws::String &&value)
Definition: DatasetImportJob.h:283
Aws::Personalize::Model::DatasetImportJob::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: DatasetImportJob.h:218
Aws::Personalize::Model::DataSource
Definition: DataSource.h:33
Aws::Personalize::Model::DatasetImportJob::WithRoleArn
DatasetImportJob & WithRoleArn(const char *value)
Definition: DatasetImportJob.h:254
Aws::Personalize::Model::DatasetImportJob::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: DatasetImportJob.h:384
Aws::Personalize::Model::DatasetImportJob::WithLastUpdatedDateTime
DatasetImportJob & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetImportJob.h:368
Aws::Personalize::Model::DatasetImportJob
Definition: DatasetImportJob.h:38
Aws::Personalize::Model::DatasetImportJob::GetJobName
const Aws::String & GetJobName() const
Definition: DatasetImportJob.h:49
Aws::Personalize::Model::DatasetImportJob::SetDataSource
void SetDataSource(const DataSource &value)
Definition: DatasetImportJob.h:190
Aws::Personalize::Model::DatasetImportJob::DataSourceHasBeenSet
bool DataSourceHasBeenSet() const
Definition: DatasetImportJob.h:185
Aws::Personalize::Model::DatasetImportJob::WithCreationDateTime
DatasetImportJob & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetImportJob.h:337
Aws::Personalize::Model::DatasetImportJob::WithRoleArn
DatasetImportJob & WithRoleArn(Aws::String &&value)
Definition: DatasetImportJob.h:248
Aws::Personalize::Model::DatasetImportJob::WithDatasetArn
DatasetImportJob & WithDatasetArn(Aws::String &&value)
Definition: DatasetImportJob.h:168
Aws::Personalize::Model::DatasetImportJob::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: DatasetImportJob.h:317
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DatasetImportJob::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetImportJob.h:332
Aws::Personalize::Model::DatasetImportJob::WithFailureReason
DatasetImportJob & WithFailureReason(const char *value)
Definition: DatasetImportJob.h:414
Aws::Personalize::Model::DatasetImportJob::SetRoleArn
void SetRoleArn(const char *value)
Definition: DatasetImportJob.h:236
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DatasetImportJob::JobNameHasBeenSet
bool JobNameHasBeenSet() const
Definition: DatasetImportJob.h:54
Aws::Personalize::Model::DatasetImportJob::WithStatus
DatasetImportJob & WithStatus(Aws::String &&value)
Definition: DatasetImportJob.h:304
Aws::Personalize::Model::DatasetImportJob::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: DatasetImportJob.h:230
Aws::Personalize::Model::DatasetImportJob::WithJobName
DatasetImportJob & WithJobName(const char *value)
Definition: DatasetImportJob.h:84
Personalize_EXPORTS.h
Aws::Personalize::Model::DatasetImportJob::SetStatus
void SetStatus(const Aws::String &value)
Definition: DatasetImportJob.h:276
Aws::Personalize::Model::DatasetImportJob::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetImportJob.h:363
Aws::Personalize::Model::DatasetImportJob::WithFailureReason
DatasetImportJob & WithFailureReason(Aws::String &&value)
Definition: DatasetImportJob.h:409
Aws::Personalize::Model::DatasetImportJob::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetImportJob.h:358
Aws::Personalize::Model::DatasetImportJob::operator=
DatasetImportJob & operator=(Aws::Utils::Json::JsonView jsonValue)