AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DatasetExportJob.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10#include <aws/personalize/model/DatasetExportJobOutput.h>
11#include <aws/personalize/model/IngestionMode.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Personalize {
23namespace Model {
24
36 public:
37 AWS_PERSONALIZE_API DatasetExportJob() = default;
38 AWS_PERSONALIZE_API DatasetExportJob(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZE_API DatasetExportJob& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetJobName() const { return m_jobName; }
47 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
48 template <typename JobNameT = Aws::String>
49 void SetJobName(JobNameT&& value) {
50 m_jobNameHasBeenSet = true;
51 m_jobName = std::forward<JobNameT>(value);
52 }
53 template <typename JobNameT = Aws::String>
54 DatasetExportJob& WithJobName(JobNameT&& value) {
55 SetJobName(std::forward<JobNameT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetDatasetExportJobArn() const { return m_datasetExportJobArn; }
65 inline bool DatasetExportJobArnHasBeenSet() const { return m_datasetExportJobArnHasBeenSet; }
66 template <typename DatasetExportJobArnT = Aws::String>
67 void SetDatasetExportJobArn(DatasetExportJobArnT&& value) {
68 m_datasetExportJobArnHasBeenSet = true;
69 m_datasetExportJobArn = std::forward<DatasetExportJobArnT>(value);
70 }
71 template <typename DatasetExportJobArnT = Aws::String>
72 DatasetExportJob& WithDatasetExportJobArn(DatasetExportJobArnT&& value) {
73 SetDatasetExportJobArn(std::forward<DatasetExportJobArnT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
83 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
84 template <typename DatasetArnT = Aws::String>
85 void SetDatasetArn(DatasetArnT&& value) {
86 m_datasetArnHasBeenSet = true;
87 m_datasetArn = std::forward<DatasetArnT>(value);
88 }
89 template <typename DatasetArnT = Aws::String>
90 DatasetExportJob& WithDatasetArn(DatasetArnT&& value) {
91 SetDatasetArn(std::forward<DatasetArnT>(value));
92 return *this;
93 }
95
97
104 inline IngestionMode GetIngestionMode() const { return m_ingestionMode; }
105 inline bool IngestionModeHasBeenSet() const { return m_ingestionModeHasBeenSet; }
106 inline void SetIngestionMode(IngestionMode value) {
107 m_ingestionModeHasBeenSet = true;
108 m_ingestionMode = value;
109 }
111 SetIngestionMode(value);
112 return *this;
113 }
115
117
121 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
122 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
123 template <typename RoleArnT = Aws::String>
124 void SetRoleArn(RoleArnT&& value) {
125 m_roleArnHasBeenSet = true;
126 m_roleArn = std::forward<RoleArnT>(value);
127 }
128 template <typename RoleArnT = Aws::String>
129 DatasetExportJob& WithRoleArn(RoleArnT&& value) {
130 SetRoleArn(std::forward<RoleArnT>(value));
131 return *this;
132 }
134
136
141 inline const Aws::String& GetStatus() const { return m_status; }
142 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
143 template <typename StatusT = Aws::String>
144 void SetStatus(StatusT&& value) {
145 m_statusHasBeenSet = true;
146 m_status = std::forward<StatusT>(value);
147 }
148 template <typename StatusT = Aws::String>
149 DatasetExportJob& WithStatus(StatusT&& value) {
150 SetStatus(std::forward<StatusT>(value));
151 return *this;
152 }
154
156
160 inline const DatasetExportJobOutput& GetJobOutput() const { return m_jobOutput; }
161 inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
162 template <typename JobOutputT = DatasetExportJobOutput>
163 void SetJobOutput(JobOutputT&& value) {
164 m_jobOutputHasBeenSet = true;
165 m_jobOutput = std::forward<JobOutputT>(value);
166 }
167 template <typename JobOutputT = DatasetExportJobOutput>
168 DatasetExportJob& WithJobOutput(JobOutputT&& value) {
169 SetJobOutput(std::forward<JobOutputT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
179 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
180 template <typename CreationDateTimeT = Aws::Utils::DateTime>
181 void SetCreationDateTime(CreationDateTimeT&& value) {
182 m_creationDateTimeHasBeenSet = true;
183 m_creationDateTime = std::forward<CreationDateTimeT>(value);
184 }
185 template <typename CreationDateTimeT = Aws::Utils::DateTime>
186 DatasetExportJob& WithCreationDateTime(CreationDateTimeT&& value) {
187 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
188 return *this;
189 }
191
193
197 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
198 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
199 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
200 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
201 m_lastUpdatedDateTimeHasBeenSet = true;
202 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
203 }
204 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
205 DatasetExportJob& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
206 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
207 return *this;
208 }
210
212
215 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
216 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
217 template <typename FailureReasonT = Aws::String>
218 void SetFailureReason(FailureReasonT&& value) {
219 m_failureReasonHasBeenSet = true;
220 m_failureReason = std::forward<FailureReasonT>(value);
221 }
222 template <typename FailureReasonT = Aws::String>
223 DatasetExportJob& WithFailureReason(FailureReasonT&& value) {
224 SetFailureReason(std::forward<FailureReasonT>(value));
225 return *this;
226 }
228 private:
229 Aws::String m_jobName;
230
231 Aws::String m_datasetExportJobArn;
232
233 Aws::String m_datasetArn;
234
235 IngestionMode m_ingestionMode{IngestionMode::NOT_SET};
236
237 Aws::String m_roleArn;
238
239 Aws::String m_status;
240
241 DatasetExportJobOutput m_jobOutput;
242
243 Aws::Utils::DateTime m_creationDateTime{};
244
245 Aws::Utils::DateTime m_lastUpdatedDateTime{};
246
247 Aws::String m_failureReason;
248 bool m_jobNameHasBeenSet = false;
249 bool m_datasetExportJobArnHasBeenSet = false;
250 bool m_datasetArnHasBeenSet = false;
251 bool m_ingestionModeHasBeenSet = false;
252 bool m_roleArnHasBeenSet = false;
253 bool m_statusHasBeenSet = false;
254 bool m_jobOutputHasBeenSet = false;
255 bool m_creationDateTimeHasBeenSet = false;
256 bool m_lastUpdatedDateTimeHasBeenSet = false;
257 bool m_failureReasonHasBeenSet = false;
258};
259
260} // namespace Model
261} // namespace Personalize
262} // namespace Aws
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DatasetExportJob & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetDatasetArn() const
DatasetExportJob & WithStatus(StatusT &&value)
AWS_PERSONALIZE_API DatasetExportJob()=default
DatasetExportJob & WithJobName(JobNameT &&value)
void SetFailureReason(FailureReasonT &&value)
void SetDatasetExportJobArn(DatasetExportJobArnT &&value)
AWS_PERSONALIZE_API DatasetExportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatasetExportJobArn() const
DatasetExportJob & WithIngestionMode(IngestionMode value)
AWS_PERSONALIZE_API DatasetExportJob(Aws::Utils::Json::JsonView jsonValue)
DatasetExportJob & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DatasetExportJob & WithDatasetArn(DatasetArnT &&value)
const Aws::String & GetFailureReason() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetExportJob & WithJobOutput(JobOutputT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DatasetExportJob & WithFailureReason(FailureReasonT &&value)
DatasetExportJob & WithDatasetExportJobArn(DatasetExportJobArnT &&value)
const DatasetExportJobOutput & GetJobOutput() const
DatasetExportJob & WithRoleArn(RoleArnT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue