AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatasetExportJob.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/IngestionMode.h>
10#include <aws/personalize/model/DatasetExportJobOutput.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Personalize
25{
26namespace Model
27{
28
40 {
41 public:
42 AWS_PERSONALIZE_API DatasetExportJob() = default;
43 AWS_PERSONALIZE_API DatasetExportJob(Aws::Utils::Json::JsonView jsonValue);
44 AWS_PERSONALIZE_API DatasetExportJob& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetJobName() const { return m_jobName; }
53 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
54 template<typename JobNameT = Aws::String>
55 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
56 template<typename JobNameT = Aws::String>
57 DatasetExportJob& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
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) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = std::forward<DatasetExportJobArnT>(value); }
68 template<typename DatasetExportJobArnT = Aws::String>
69 DatasetExportJob& WithDatasetExportJobArn(DatasetExportJobArnT&& value) { SetDatasetExportJobArn(std::forward<DatasetExportJobArnT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDatasetArn() const { return m_datasetArn; }
77 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
78 template<typename DatasetArnT = Aws::String>
79 void SetDatasetArn(DatasetArnT&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::forward<DatasetArnT>(value); }
80 template<typename DatasetArnT = Aws::String>
81 DatasetExportJob& WithDatasetArn(DatasetArnT&& value) { SetDatasetArn(std::forward<DatasetArnT>(value)); return *this;}
83
85
92 inline IngestionMode GetIngestionMode() const { return m_ingestionMode; }
93 inline bool IngestionModeHasBeenSet() const { return m_ingestionModeHasBeenSet; }
94 inline void SetIngestionMode(IngestionMode value) { m_ingestionModeHasBeenSet = true; m_ingestionMode = value; }
95 inline DatasetExportJob& WithIngestionMode(IngestionMode value) { SetIngestionMode(value); return *this;}
97
99
103 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
104 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
105 template<typename RoleArnT = Aws::String>
106 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
107 template<typename RoleArnT = Aws::String>
108 DatasetExportJob& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
110
112
117 inline const Aws::String& GetStatus() const { return m_status; }
118 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
119 template<typename StatusT = Aws::String>
120 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
121 template<typename StatusT = Aws::String>
122 DatasetExportJob& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
124
126
130 inline const DatasetExportJobOutput& GetJobOutput() const { return m_jobOutput; }
131 inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
132 template<typename JobOutputT = DatasetExportJobOutput>
133 void SetJobOutput(JobOutputT&& value) { m_jobOutputHasBeenSet = true; m_jobOutput = std::forward<JobOutputT>(value); }
134 template<typename JobOutputT = DatasetExportJobOutput>
135 DatasetExportJob& WithJobOutput(JobOutputT&& value) { SetJobOutput(std::forward<JobOutputT>(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
143 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
144 template<typename CreationDateTimeT = Aws::Utils::DateTime>
145 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
146 template<typename CreationDateTimeT = Aws::Utils::DateTime>
147 DatasetExportJob& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
149
151
155 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
156 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
157 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
158 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
159 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
160 DatasetExportJob& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
162
164
167 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
168 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
169 template<typename FailureReasonT = Aws::String>
170 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
171 template<typename FailureReasonT = Aws::String>
172 DatasetExportJob& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
174 private:
175
176 Aws::String m_jobName;
177 bool m_jobNameHasBeenSet = false;
178
179 Aws::String m_datasetExportJobArn;
180 bool m_datasetExportJobArnHasBeenSet = false;
181
182 Aws::String m_datasetArn;
183 bool m_datasetArnHasBeenSet = false;
184
185 IngestionMode m_ingestionMode{IngestionMode::NOT_SET};
186 bool m_ingestionModeHasBeenSet = false;
187
188 Aws::String m_roleArn;
189 bool m_roleArnHasBeenSet = false;
190
191 Aws::String m_status;
192 bool m_statusHasBeenSet = false;
193
194 DatasetExportJobOutput m_jobOutput;
195 bool m_jobOutputHasBeenSet = false;
196
197 Aws::Utils::DateTime m_creationDateTime{};
198 bool m_creationDateTimeHasBeenSet = false;
199
200 Aws::Utils::DateTime m_lastUpdatedDateTime{};
201 bool m_lastUpdatedDateTimeHasBeenSet = false;
202
203 Aws::String m_failureReason;
204 bool m_failureReasonHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace Personalize
209} // 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