AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
55 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
56 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
57 inline DatasetExportJob& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
58 inline DatasetExportJob& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
59 inline DatasetExportJob& WithJobName(const char* value) { SetJobName(value); return *this;}
61
63
66 inline const Aws::String& GetDatasetExportJobArn() const{ return m_datasetExportJobArn; }
67 inline bool DatasetExportJobArnHasBeenSet() const { return m_datasetExportJobArnHasBeenSet; }
68 inline void SetDatasetExportJobArn(const Aws::String& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = value; }
69 inline void SetDatasetExportJobArn(Aws::String&& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = std::move(value); }
70 inline void SetDatasetExportJobArn(const char* value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn.assign(value); }
71 inline DatasetExportJob& WithDatasetExportJobArn(const Aws::String& value) { SetDatasetExportJobArn(value); return *this;}
72 inline DatasetExportJob& WithDatasetExportJobArn(Aws::String&& value) { SetDatasetExportJobArn(std::move(value)); return *this;}
73 inline DatasetExportJob& WithDatasetExportJobArn(const char* value) { SetDatasetExportJobArn(value); return *this;}
75
77
80 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
81 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
82 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
83 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
84 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
85 inline DatasetExportJob& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
86 inline DatasetExportJob& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
87 inline DatasetExportJob& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
89
91
98 inline const IngestionMode& GetIngestionMode() const{ return m_ingestionMode; }
99 inline bool IngestionModeHasBeenSet() const { return m_ingestionModeHasBeenSet; }
100 inline void SetIngestionMode(const IngestionMode& value) { m_ingestionModeHasBeenSet = true; m_ingestionMode = value; }
101 inline void SetIngestionMode(IngestionMode&& value) { m_ingestionModeHasBeenSet = true; m_ingestionMode = std::move(value); }
102 inline DatasetExportJob& WithIngestionMode(const IngestionMode& value) { SetIngestionMode(value); return *this;}
103 inline DatasetExportJob& WithIngestionMode(IngestionMode&& value) { SetIngestionMode(std::move(value)); return *this;}
105
107
111 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
112 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
113 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
114 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
115 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
116 inline DatasetExportJob& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
117 inline DatasetExportJob& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
118 inline DatasetExportJob& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
120
122
127 inline const Aws::String& GetStatus() const{ return m_status; }
128 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
129 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
130 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
131 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
132 inline DatasetExportJob& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
133 inline DatasetExportJob& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
134 inline DatasetExportJob& WithStatus(const char* value) { SetStatus(value); return *this;}
136
138
142 inline const DatasetExportJobOutput& GetJobOutput() const{ return m_jobOutput; }
143 inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
144 inline void SetJobOutput(const DatasetExportJobOutput& value) { m_jobOutputHasBeenSet = true; m_jobOutput = value; }
145 inline void SetJobOutput(DatasetExportJobOutput&& value) { m_jobOutputHasBeenSet = true; m_jobOutput = std::move(value); }
146 inline DatasetExportJob& WithJobOutput(const DatasetExportJobOutput& value) { SetJobOutput(value); return *this;}
147 inline DatasetExportJob& WithJobOutput(DatasetExportJobOutput&& value) { SetJobOutput(std::move(value)); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
155 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
156 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
157 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
159 inline DatasetExportJob& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
161
163
167 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
168 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
169 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
170 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
172 inline DatasetExportJob& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
174
176
179 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
180 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
181 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
182 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
183 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
184 inline DatasetExportJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
185 inline DatasetExportJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
186 inline DatasetExportJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
188 private:
189
190 Aws::String m_jobName;
191 bool m_jobNameHasBeenSet = false;
192
193 Aws::String m_datasetExportJobArn;
194 bool m_datasetExportJobArnHasBeenSet = false;
195
196 Aws::String m_datasetArn;
197 bool m_datasetArnHasBeenSet = false;
198
199 IngestionMode m_ingestionMode;
200 bool m_ingestionModeHasBeenSet = false;
201
202 Aws::String m_roleArn;
203 bool m_roleArnHasBeenSet = false;
204
205 Aws::String m_status;
206 bool m_statusHasBeenSet = false;
207
208 DatasetExportJobOutput m_jobOutput;
209 bool m_jobOutputHasBeenSet = false;
210
211 Aws::Utils::DateTime m_creationDateTime;
212 bool m_creationDateTimeHasBeenSet = false;
213
214 Aws::Utils::DateTime m_lastUpdatedDateTime;
215 bool m_lastUpdatedDateTimeHasBeenSet = false;
216
217 Aws::String m_failureReason;
218 bool m_failureReasonHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace Personalize
223} // namespace Aws
DatasetExportJob & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetFailureReason(const Aws::String &value)
DatasetExportJob & WithJobName(Aws::String &&value)
DatasetExportJob & WithRoleArn(const Aws::String &value)
DatasetExportJob & WithIngestionMode(const IngestionMode &value)
void SetDatasetExportJobArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const Aws::String & GetDatasetArn() const
DatasetExportJob & WithStatus(const Aws::String &value)
DatasetExportJob & WithDatasetExportJobArn(const Aws::String &value)
DatasetExportJob & WithDatasetExportJobArn(const char *value)
DatasetExportJob & WithFailureReason(const char *value)
void SetRoleArn(const Aws::String &value)
DatasetExportJob & WithJobOutput(const DatasetExportJobOutput &value)
DatasetExportJob & WithFailureReason(const Aws::String &value)
const IngestionMode & GetIngestionMode() const
void SetDatasetArn(const Aws::String &value)
AWS_PERSONALIZE_API DatasetExportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatasetExportJobArn() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DatasetExportJob & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DatasetExportJob & WithDatasetArn(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
AWS_PERSONALIZE_API DatasetExportJob(Aws::Utils::Json::JsonView jsonValue)
DatasetExportJob & WithJobOutput(DatasetExportJobOutput &&value)
const Aws::String & GetFailureReason() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetExportJob & WithStatus(Aws::String &&value)
DatasetExportJob & WithDatasetArn(const Aws::String &value)
void SetJobOutput(DatasetExportJobOutput &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DatasetExportJob & WithJobName(const char *value)
DatasetExportJob & WithRoleArn(Aws::String &&value)
DatasetExportJob & WithIngestionMode(IngestionMode &&value)
void SetDatasetExportJobArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DatasetExportJob & WithFailureReason(Aws::String &&value)
DatasetExportJob & WithJobName(const Aws::String &value)
DatasetExportJob & WithRoleArn(const char *value)
DatasetExportJob & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetJobName(const Aws::String &value)
DatasetExportJob & WithDatasetExportJobArn(Aws::String &&value)
DatasetExportJob & WithStatus(const char *value)
DatasetExportJob & WithDatasetArn(const char *value)
DatasetExportJob & WithCreationDateTime(Aws::Utils::DateTime &&value)
const DatasetExportJobOutput & GetJobOutput() const
void SetIngestionMode(IngestionMode &&value)
void SetJobOutput(const DatasetExportJobOutput &value)
void SetStatus(const Aws::String &value)
void SetIngestionMode(const IngestionMode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue