AWS SDK for C++  1.9.102
AWS SDK for C++
DatasetImportJobSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetDatasetImportJobArn() const{ return m_datasetImportJobArn; }
47 
51  inline bool DatasetImportJobArnHasBeenSet() const { return m_datasetImportJobArnHasBeenSet; }
52 
56  inline void SetDatasetImportJobArn(const Aws::String& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = value; }
57 
61  inline void SetDatasetImportJobArn(Aws::String&& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = std::move(value); }
62 
66  inline void SetDatasetImportJobArn(const char* value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn.assign(value); }
67 
71  inline DatasetImportJobSummary& WithDatasetImportJobArn(const Aws::String& value) { SetDatasetImportJobArn(value); return *this;}
72 
76  inline DatasetImportJobSummary& WithDatasetImportJobArn(Aws::String&& value) { SetDatasetImportJobArn(std::move(value)); return *this;}
77 
81  inline DatasetImportJobSummary& WithDatasetImportJobArn(const char* value) { SetDatasetImportJobArn(value); return *this;}
82 
83 
87  inline const Aws::String& GetJobName() const{ return m_jobName; }
88 
92  inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
93 
97  inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
98 
102  inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
103 
107  inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
108 
112  inline DatasetImportJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
113 
117  inline DatasetImportJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
118 
122  inline DatasetImportJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
123 
124 
130  inline const Aws::String& GetStatus() const{ return m_status; }
131 
137  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
138 
144  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
145 
151  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
152 
158  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
159 
165  inline DatasetImportJobSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
166 
172  inline DatasetImportJobSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
173 
179  inline DatasetImportJobSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
180 
181 
185  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
186 
190  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
191 
195  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
196 
200  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
201 
205  inline DatasetImportJobSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
206 
210  inline DatasetImportJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
211 
212 
217  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
218 
223  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
224 
229  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
230 
235  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
236 
241  inline DatasetImportJobSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
242 
247  inline DatasetImportJobSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
248 
249 
253  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
254 
258  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
259 
263  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
264 
268  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
269 
273  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
274 
278  inline DatasetImportJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
279 
283  inline DatasetImportJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
284 
288  inline DatasetImportJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
289 
290  private:
291 
292  Aws::String m_datasetImportJobArn;
293  bool m_datasetImportJobArnHasBeenSet;
294 
295  Aws::String m_jobName;
296  bool m_jobNameHasBeenSet;
297 
298  Aws::String m_status;
299  bool m_statusHasBeenSet;
300 
301  Aws::Utils::DateTime m_creationDateTime;
302  bool m_creationDateTimeHasBeenSet;
303 
304  Aws::Utils::DateTime m_lastUpdatedDateTime;
305  bool m_lastUpdatedDateTimeHasBeenSet;
306 
307  Aws::String m_failureReason;
308  bool m_failureReasonHasBeenSet;
309  };
310 
311 } // namespace Model
312 } // namespace Personalize
313 } // namespace Aws
Aws::Personalize::Model::DatasetImportJobSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DatasetImportJobSummary.h:137
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::DatasetImportJobSummary::WithDatasetImportJobArn
DatasetImportJobSummary & WithDatasetImportJobArn(const char *value)
Definition: DatasetImportJobSummary.h:81
Aws::Personalize::Model::DatasetImportJobSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: DatasetImportJobSummary.h:190
Aws::Personalize::Model::DatasetImportJobSummary
Definition: DatasetImportJobSummary.h:35
Aws::Personalize::Model::DatasetImportJobSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: DatasetImportJobSummary.h:144
Aws::Personalize::Model::DatasetImportJobSummary::operator=
DatasetImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetImportJobSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetImportJobSummary.h:229
Aws::Personalize::Model::DatasetImportJobSummary::GetJobName
const Aws::String & GetJobName() const
Definition: DatasetImportJobSummary.h:87
Aws::Personalize::Model::DatasetImportJobSummary::WithStatus
DatasetImportJobSummary & WithStatus(const Aws::String &value)
Definition: DatasetImportJobSummary.h:165
DateTime.h
Aws::Personalize::Model::DatasetImportJobSummary::SetJobName
void SetJobName(Aws::String &&value)
Definition: DatasetImportJobSummary.h:102
Aws::Personalize::Model::DatasetImportJobSummary::SetJobName
void SetJobName(const Aws::String &value)
Definition: DatasetImportJobSummary.h:97
Aws::Personalize::Model::DatasetImportJobSummary::DatasetImportJobSummary
DatasetImportJobSummary()
Aws::Personalize::Model::DatasetImportJobSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: DatasetImportJobSummary.h:151
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DatasetImportJobSummary::SetStatus
void SetStatus(const char *value)
Definition: DatasetImportJobSummary.h:158
Aws::Personalize::Model::DatasetImportJobSummary::WithLastUpdatedDateTime
DatasetImportJobSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetImportJobSummary.h:247
Aws::Personalize::Model::DatasetImportJobSummary::WithFailureReason
DatasetImportJobSummary & WithFailureReason(Aws::String &&value)
Definition: DatasetImportJobSummary.h:283
Aws::Personalize::Model::DatasetImportJobSummary::WithCreationDateTime
DatasetImportJobSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetImportJobSummary.h:205
Aws::Personalize::Model::DatasetImportJobSummary::GetDatasetImportJobArn
const Aws::String & GetDatasetImportJobArn() const
Definition: DatasetImportJobSummary.h:46
Aws::Personalize::Model::DatasetImportJobSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DatasetImportJobSummary::SetDatasetImportJobArn
void SetDatasetImportJobArn(Aws::String &&value)
Definition: DatasetImportJobSummary.h:61
Aws::Personalize::Model::DatasetImportJobSummary::WithStatus
DatasetImportJobSummary & WithStatus(Aws::String &&value)
Definition: DatasetImportJobSummary.h:172
Aws::Personalize::Model::DatasetImportJobSummary::WithFailureReason
DatasetImportJobSummary & WithFailureReason(const Aws::String &value)
Definition: DatasetImportJobSummary.h:278
Aws::Personalize::Model::DatasetImportJobSummary::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: DatasetImportJobSummary.h:258
Aws::Personalize::Model::DatasetImportJobSummary::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: DatasetImportJobSummary.h:253
Aws::Personalize::Model::DatasetImportJobSummary::WithLastUpdatedDateTime
DatasetImportJobSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetImportJobSummary.h:241
Aws::Personalize::Model::DatasetImportJobSummary::WithDatasetImportJobArn
DatasetImportJobSummary & WithDatasetImportJobArn(const Aws::String &value)
Definition: DatasetImportJobSummary.h:71
Aws::Personalize::Model::DatasetImportJobSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: DatasetImportJobSummary.h:217
Aws::Personalize::Model::DatasetImportJobSummary::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: DatasetImportJobSummary.h:268
Aws::Personalize::Model::DatasetImportJobSummary::WithJobName
DatasetImportJobSummary & WithJobName(const char *value)
Definition: DatasetImportJobSummary.h:122
Aws::Personalize::Model::DatasetImportJobSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetImportJobSummary.h:235
Aws::Personalize::Model::DatasetImportJobSummary::GetStatus
const Aws::String & GetStatus() const
Definition: DatasetImportJobSummary.h:130
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DatasetImportJobSummary::WithFailureReason
DatasetImportJobSummary & WithFailureReason(const char *value)
Definition: DatasetImportJobSummary.h:288
Aws::Personalize::Model::DatasetImportJobSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: DatasetImportJobSummary.h:223
Aws::Personalize::Model::DatasetImportJobSummary::SetJobName
void SetJobName(const char *value)
Definition: DatasetImportJobSummary.h:107
Aws::Personalize::Model::DatasetImportJobSummary::WithStatus
DatasetImportJobSummary & WithStatus(const char *value)
Definition: DatasetImportJobSummary.h:179
Aws::Personalize::Model::DatasetImportJobSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetImportJobSummary.h:200
Aws::Personalize::Model::DatasetImportJobSummary::SetDatasetImportJobArn
void SetDatasetImportJobArn(const char *value)
Definition: DatasetImportJobSummary.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DatasetImportJobSummary::JobNameHasBeenSet
bool JobNameHasBeenSet() const
Definition: DatasetImportJobSummary.h:92
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DatasetImportJobSummary::WithJobName
DatasetImportJobSummary & WithJobName(Aws::String &&value)
Definition: DatasetImportJobSummary.h:117
Aws::Personalize::Model::DatasetImportJobSummary::DatasetImportJobSummary
DatasetImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetImportJobSummary::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: DatasetImportJobSummary.h:263
Aws::Personalize::Model::DatasetImportJobSummary::WithDatasetImportJobArn
DatasetImportJobSummary & WithDatasetImportJobArn(Aws::String &&value)
Definition: DatasetImportJobSummary.h:76
Personalize_EXPORTS.h
Aws::Personalize::Model::DatasetImportJobSummary::SetDatasetImportJobArn
void SetDatasetImportJobArn(const Aws::String &value)
Definition: DatasetImportJobSummary.h:56
Aws::Personalize::Model::DatasetImportJobSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: DatasetImportJobSummary.h:185
Aws::Personalize::Model::DatasetImportJobSummary::DatasetImportJobArnHasBeenSet
bool DatasetImportJobArnHasBeenSet() const
Definition: DatasetImportJobSummary.h:51
Aws::Personalize::Model::DatasetImportJobSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetImportJobSummary.h:195
Aws::Personalize::Model::DatasetImportJobSummary::SetFailureReason
void SetFailureReason(const char *value)
Definition: DatasetImportJobSummary.h:273
Aws::Personalize::Model::DatasetImportJobSummary::WithCreationDateTime
DatasetImportJobSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetImportJobSummary.h:210
Aws::Personalize::Model::DatasetImportJobSummary::WithJobName
DatasetImportJobSummary & WithJobName(const Aws::String &value)
Definition: DatasetImportJobSummary.h:112