AWS SDK for C++  1.9.102
AWS SDK for C++
DatasetExportJobSummary.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& GetDatasetExportJobArn() const{ return m_datasetExportJobArn; }
47 
51  inline bool DatasetExportJobArnHasBeenSet() const { return m_datasetExportJobArnHasBeenSet; }
52 
56  inline void SetDatasetExportJobArn(const Aws::String& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = value; }
57 
61  inline void SetDatasetExportJobArn(Aws::String&& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = std::move(value); }
62 
66  inline void SetDatasetExportJobArn(const char* value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn.assign(value); }
67 
71  inline DatasetExportJobSummary& WithDatasetExportJobArn(const Aws::String& value) { SetDatasetExportJobArn(value); return *this;}
72 
76  inline DatasetExportJobSummary& WithDatasetExportJobArn(Aws::String&& value) { SetDatasetExportJobArn(std::move(value)); return *this;}
77 
81  inline DatasetExportJobSummary& WithDatasetExportJobArn(const char* value) { SetDatasetExportJobArn(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 DatasetExportJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
113 
117  inline DatasetExportJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
118 
122  inline DatasetExportJobSummary& 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 DatasetExportJobSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
166 
172  inline DatasetExportJobSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
173 
179  inline DatasetExportJobSummary& 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 DatasetExportJobSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
206 
210  inline DatasetExportJobSummary& 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 DatasetExportJobSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
242 
247  inline DatasetExportJobSummary& 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 DatasetExportJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
279 
283  inline DatasetExportJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
284 
288  inline DatasetExportJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
289 
290  private:
291 
292  Aws::String m_datasetExportJobArn;
293  bool m_datasetExportJobArnHasBeenSet;
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::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::DatasetExportJobSummary::WithDatasetExportJobArn
DatasetExportJobSummary & WithDatasetExportJobArn(const char *value)
Definition: DatasetExportJobSummary.h:81
Aws::Personalize::Model::DatasetExportJobSummary::WithLastUpdatedDateTime
DatasetExportJobSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetExportJobSummary.h:247
Aws::Personalize::Model::DatasetExportJobSummary::SetDatasetExportJobArn
void SetDatasetExportJobArn(const char *value)
Definition: DatasetExportJobSummary.h:66
Aws::Personalize::Model::DatasetExportJobSummary::DatasetExportJobSummary
DatasetExportJobSummary()
Aws::Personalize::Model::DatasetExportJobSummary::SetJobName
void SetJobName(Aws::String &&value)
Definition: DatasetExportJobSummary.h:102
Aws::Personalize::Model::DatasetExportJobSummary::GetDatasetExportJobArn
const Aws::String & GetDatasetExportJobArn() const
Definition: DatasetExportJobSummary.h:46
Aws::Personalize::Model::DatasetExportJobSummary::SetDatasetExportJobArn
void SetDatasetExportJobArn(const Aws::String &value)
Definition: DatasetExportJobSummary.h:56
Aws::Personalize::Model::DatasetExportJobSummary::SetFailureReason
void SetFailureReason(const char *value)
Definition: DatasetExportJobSummary.h:273
DateTime.h
Aws::Personalize::Model::DatasetExportJobSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: DatasetExportJobSummary.h:185
Aws::Personalize::Model::DatasetExportJobSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetExportJobSummary.h:235
Aws::Personalize::Model::DatasetExportJobSummary::DatasetExportJobSummary
DatasetExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetExportJobSummary::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: DatasetExportJobSummary.h:258
Aws::Personalize::Model::DatasetExportJobSummary::WithFailureReason
DatasetExportJobSummary & WithFailureReason(Aws::String &&value)
Definition: DatasetExportJobSummary.h:283
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DatasetExportJobSummary::WithJobName
DatasetExportJobSummary & WithJobName(const Aws::String &value)
Definition: DatasetExportJobSummary.h:112
Aws::Personalize::Model::DatasetExportJobSummary::DatasetExportJobArnHasBeenSet
bool DatasetExportJobArnHasBeenSet() const
Definition: DatasetExportJobSummary.h:51
Aws::Personalize::Model::DatasetExportJobSummary::WithStatus
DatasetExportJobSummary & WithStatus(const Aws::String &value)
Definition: DatasetExportJobSummary.h:165
Aws::Personalize::Model::DatasetExportJobSummary::SetStatus
void SetStatus(const char *value)
Definition: DatasetExportJobSummary.h:158
Aws::Personalize::Model::DatasetExportJobSummary::WithFailureReason
DatasetExportJobSummary & WithFailureReason(const char *value)
Definition: DatasetExportJobSummary.h:288
Aws::Personalize::Model::DatasetExportJobSummary::WithCreationDateTime
DatasetExportJobSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetExportJobSummary.h:210
Aws::Personalize::Model::DatasetExportJobSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetExportJobSummary.h:195
Aws::Personalize::Model::DatasetExportJobSummary::WithStatus
DatasetExportJobSummary & WithStatus(const char *value)
Definition: DatasetExportJobSummary.h:179
Aws::Personalize::Model::DatasetExportJobSummary::WithDatasetExportJobArn
DatasetExportJobSummary & WithDatasetExportJobArn(const Aws::String &value)
Definition: DatasetExportJobSummary.h:71
Aws::Personalize::Model::DatasetExportJobSummary::WithFailureReason
DatasetExportJobSummary & WithFailureReason(const Aws::String &value)
Definition: DatasetExportJobSummary.h:278
Aws::Personalize::Model::DatasetExportJobSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: DatasetExportJobSummary.h:151
Aws::Personalize::Model::DatasetExportJobSummary::WithCreationDateTime
DatasetExportJobSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetExportJobSummary.h:205
Aws::Personalize::Model::DatasetExportJobSummary::SetJobName
void SetJobName(const char *value)
Definition: DatasetExportJobSummary.h:107
Aws::Personalize::Model::DatasetExportJobSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: DatasetExportJobSummary.h:144
Aws::Personalize::Model::DatasetExportJobSummary::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: DatasetExportJobSummary.h:263
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Personalize::Model::DatasetExportJobSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DatasetExportJobSummary.h:137
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DatasetExportJobSummary::SetDatasetExportJobArn
void SetDatasetExportJobArn(Aws::String &&value)
Definition: DatasetExportJobSummary.h:61
Aws::Personalize::Model::DatasetExportJobSummary::JobNameHasBeenSet
bool JobNameHasBeenSet() const
Definition: DatasetExportJobSummary.h:92
Aws::Personalize::Model::DatasetExportJobSummary::GetStatus
const Aws::String & GetStatus() const
Definition: DatasetExportJobSummary.h:130
Aws::Personalize::Model::DatasetExportJobSummary::WithJobName
DatasetExportJobSummary & WithJobName(const char *value)
Definition: DatasetExportJobSummary.h:122
Aws::Personalize::Model::DatasetExportJobSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetExportJobSummary.h:229
Aws::Personalize::Model::DatasetExportJobSummary::SetJobName
void SetJobName(const Aws::String &value)
Definition: DatasetExportJobSummary.h:97
Aws::Personalize::Model::DatasetExportJobSummary::operator=
DatasetExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetExportJobSummary::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: DatasetExportJobSummary.h:253
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DatasetExportJobSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: DatasetExportJobSummary.h:190
Aws::Personalize::Model::DatasetExportJobSummary::WithStatus
DatasetExportJobSummary & WithStatus(Aws::String &&value)
Definition: DatasetExportJobSummary.h:172
Aws::Personalize::Model::DatasetExportJobSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: DatasetExportJobSummary.h:223
Aws::Personalize::Model::DatasetExportJobSummary::WithLastUpdatedDateTime
DatasetExportJobSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetExportJobSummary.h:241
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DatasetExportJobSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: DatasetExportJobSummary.h:217
Aws::Personalize::Model::DatasetExportJobSummary::WithJobName
DatasetExportJobSummary & WithJobName(Aws::String &&value)
Definition: DatasetExportJobSummary.h:117
Personalize_EXPORTS.h
Aws::Personalize::Model::DatasetExportJobSummary
Definition: DatasetExportJobSummary.h:35
Aws::Personalize::Model::DatasetExportJobSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetExportJobSummary.h:200
Aws::Personalize::Model::DatasetExportJobSummary::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: DatasetExportJobSummary.h:268
Aws::Personalize::Model::DatasetExportJobSummary::WithDatasetExportJobArn
DatasetExportJobSummary & WithDatasetExportJobArn(Aws::String &&value)
Definition: DatasetExportJobSummary.h:76
Aws::Personalize::Model::DatasetExportJobSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DatasetExportJobSummary::GetJobName
const Aws::String & GetJobName() const
Definition: DatasetExportJobSummary.h:87