AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDataSourceResult.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/machinelearning/model/EntityStatus.h>
11#include <aws/machinelearning/model/RedshiftMetadata.h>
12#include <aws/machinelearning/model/RDSMetadata.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MachineLearning
28{
29namespace Model
30{
38 {
39 public:
40 AWS_MACHINELEARNING_API GetDataSourceResult();
43
44
46
50 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
51 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
52 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
53 inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
54 inline GetDataSourceResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
55 inline GetDataSourceResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
56 inline GetDataSourceResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
58
60
64 inline const Aws::String& GetDataLocationS3() const{ return m_dataLocationS3; }
65 inline void SetDataLocationS3(const Aws::String& value) { m_dataLocationS3 = value; }
66 inline void SetDataLocationS3(Aws::String&& value) { m_dataLocationS3 = std::move(value); }
67 inline void SetDataLocationS3(const char* value) { m_dataLocationS3.assign(value); }
68 inline GetDataSourceResult& WithDataLocationS3(const Aws::String& value) { SetDataLocationS3(value); return *this;}
69 inline GetDataSourceResult& WithDataLocationS3(Aws::String&& value) { SetDataLocationS3(std::move(value)); return *this;}
70 inline GetDataSourceResult& WithDataLocationS3(const char* value) { SetDataLocationS3(value); return *this;}
72
74
78 inline const Aws::String& GetDataRearrangement() const{ return m_dataRearrangement; }
79 inline void SetDataRearrangement(const Aws::String& value) { m_dataRearrangement = value; }
80 inline void SetDataRearrangement(Aws::String&& value) { m_dataRearrangement = std::move(value); }
81 inline void SetDataRearrangement(const char* value) { m_dataRearrangement.assign(value); }
82 inline GetDataSourceResult& WithDataRearrangement(const Aws::String& value) { SetDataRearrangement(value); return *this;}
83 inline GetDataSourceResult& WithDataRearrangement(Aws::String&& value) { SetDataRearrangement(std::move(value)); return *this;}
84 inline GetDataSourceResult& WithDataRearrangement(const char* value) { SetDataRearrangement(value); return *this;}
86
88
93 inline const Aws::String& GetCreatedByIamUser() const{ return m_createdByIamUser; }
94 inline void SetCreatedByIamUser(const Aws::String& value) { m_createdByIamUser = value; }
95 inline void SetCreatedByIamUser(Aws::String&& value) { m_createdByIamUser = std::move(value); }
96 inline void SetCreatedByIamUser(const char* value) { m_createdByIamUser.assign(value); }
97 inline GetDataSourceResult& WithCreatedByIamUser(const Aws::String& value) { SetCreatedByIamUser(value); return *this;}
98 inline GetDataSourceResult& WithCreatedByIamUser(Aws::String&& value) { SetCreatedByIamUser(std::move(value)); return *this;}
99 inline GetDataSourceResult& WithCreatedByIamUser(const char* value) { SetCreatedByIamUser(value); return *this;}
101
103
107 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
108 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
109 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
110 inline GetDataSourceResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
111 inline GetDataSourceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
113
115
119 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
120 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
121 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
122 inline GetDataSourceResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
123 inline GetDataSourceResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
125
127
130 inline long long GetDataSizeInBytes() const{ return m_dataSizeInBytes; }
131 inline void SetDataSizeInBytes(long long value) { m_dataSizeInBytes = value; }
132 inline GetDataSourceResult& WithDataSizeInBytes(long long value) { SetDataSizeInBytes(value); return *this;}
134
136
139 inline long long GetNumberOfFiles() const{ return m_numberOfFiles; }
140 inline void SetNumberOfFiles(long long value) { m_numberOfFiles = value; }
141 inline GetDataSourceResult& WithNumberOfFiles(long long value) { SetNumberOfFiles(value); return *this;}
143
145
148 inline const Aws::String& GetName() const{ return m_name; }
149 inline void SetName(const Aws::String& value) { m_name = value; }
150 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
151 inline void SetName(const char* value) { m_name.assign(value); }
152 inline GetDataSourceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
153 inline GetDataSourceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
154 inline GetDataSourceResult& WithName(const char* value) { SetName(value); return *this;}
156
158
169 inline const EntityStatus& GetStatus() const{ return m_status; }
170 inline void SetStatus(const EntityStatus& value) { m_status = value; }
171 inline void SetStatus(EntityStatus&& value) { m_status = std::move(value); }
172 inline GetDataSourceResult& WithStatus(const EntityStatus& value) { SetStatus(value); return *this;}
173 inline GetDataSourceResult& WithStatus(EntityStatus&& value) { SetStatus(std::move(value)); return *this;}
175
177
181 inline const Aws::String& GetLogUri() const{ return m_logUri; }
182 inline void SetLogUri(const Aws::String& value) { m_logUri = value; }
183 inline void SetLogUri(Aws::String&& value) { m_logUri = std::move(value); }
184 inline void SetLogUri(const char* value) { m_logUri.assign(value); }
185 inline GetDataSourceResult& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
186 inline GetDataSourceResult& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;}
187 inline GetDataSourceResult& WithLogUri(const char* value) { SetLogUri(value); return *this;}
189
191
195 inline const Aws::String& GetMessage() const{ return m_message; }
196 inline void SetMessage(const Aws::String& value) { m_message = value; }
197 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
198 inline void SetMessage(const char* value) { m_message.assign(value); }
199 inline GetDataSourceResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
200 inline GetDataSourceResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
201 inline GetDataSourceResult& WithMessage(const char* value) { SetMessage(value); return *this;}
203
205
206 inline const RedshiftMetadata& GetRedshiftMetadata() const{ return m_redshiftMetadata; }
207 inline void SetRedshiftMetadata(const RedshiftMetadata& value) { m_redshiftMetadata = value; }
208 inline void SetRedshiftMetadata(RedshiftMetadata&& value) { m_redshiftMetadata = std::move(value); }
210 inline GetDataSourceResult& WithRedshiftMetadata(RedshiftMetadata&& value) { SetRedshiftMetadata(std::move(value)); return *this;}
212
214
215 inline const RDSMetadata& GetRDSMetadata() const{ return m_rDSMetadata; }
216 inline void SetRDSMetadata(const RDSMetadata& value) { m_rDSMetadata = value; }
217 inline void SetRDSMetadata(RDSMetadata&& value) { m_rDSMetadata = std::move(value); }
218 inline GetDataSourceResult& WithRDSMetadata(const RDSMetadata& value) { SetRDSMetadata(value); return *this;}
219 inline GetDataSourceResult& WithRDSMetadata(RDSMetadata&& value) { SetRDSMetadata(std::move(value)); return *this;}
221
223
224 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
225 inline void SetRoleARN(const Aws::String& value) { m_roleARN = value; }
226 inline void SetRoleARN(Aws::String&& value) { m_roleARN = std::move(value); }
227 inline void SetRoleARN(const char* value) { m_roleARN.assign(value); }
228 inline GetDataSourceResult& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
229 inline GetDataSourceResult& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
230 inline GetDataSourceResult& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
232
234
238 inline bool GetComputeStatistics() const{ return m_computeStatistics; }
239 inline void SetComputeStatistics(bool value) { m_computeStatistics = value; }
240 inline GetDataSourceResult& WithComputeStatistics(bool value) { SetComputeStatistics(value); return *this;}
242
244
251 inline long long GetComputeTime() const{ return m_computeTime; }
252 inline void SetComputeTime(long long value) { m_computeTime = value; }
253 inline GetDataSourceResult& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
255
257
263 inline const Aws::Utils::DateTime& GetFinishedAt() const{ return m_finishedAt; }
264 inline void SetFinishedAt(const Aws::Utils::DateTime& value) { m_finishedAt = value; }
265 inline void SetFinishedAt(Aws::Utils::DateTime&& value) { m_finishedAt = std::move(value); }
266 inline GetDataSourceResult& WithFinishedAt(const Aws::Utils::DateTime& value) { SetFinishedAt(value); return *this;}
267 inline GetDataSourceResult& WithFinishedAt(Aws::Utils::DateTime&& value) { SetFinishedAt(std::move(value)); return *this;}
269
271
277 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
278 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
279 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
280 inline GetDataSourceResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
281 inline GetDataSourceResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
283
285
289 inline const Aws::String& GetDataSourceSchema() const{ return m_dataSourceSchema; }
290 inline void SetDataSourceSchema(const Aws::String& value) { m_dataSourceSchema = value; }
291 inline void SetDataSourceSchema(Aws::String&& value) { m_dataSourceSchema = std::move(value); }
292 inline void SetDataSourceSchema(const char* value) { m_dataSourceSchema.assign(value); }
293 inline GetDataSourceResult& WithDataSourceSchema(const Aws::String& value) { SetDataSourceSchema(value); return *this;}
294 inline GetDataSourceResult& WithDataSourceSchema(Aws::String&& value) { SetDataSourceSchema(std::move(value)); return *this;}
295 inline GetDataSourceResult& WithDataSourceSchema(const char* value) { SetDataSourceSchema(value); return *this;}
297
299
300 inline const Aws::String& GetRequestId() const{ return m_requestId; }
301 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
302 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
303 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
304 inline GetDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
305 inline GetDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
306 inline GetDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
308 private:
309
310 Aws::String m_dataSourceId;
311
312 Aws::String m_dataLocationS3;
313
314 Aws::String m_dataRearrangement;
315
316 Aws::String m_createdByIamUser;
317
318 Aws::Utils::DateTime m_createdAt;
319
320 Aws::Utils::DateTime m_lastUpdatedAt;
321
322 long long m_dataSizeInBytes;
323
324 long long m_numberOfFiles;
325
326 Aws::String m_name;
327
328 EntityStatus m_status;
329
330 Aws::String m_logUri;
331
332 Aws::String m_message;
333
334 RedshiftMetadata m_redshiftMetadata;
335
336 RDSMetadata m_rDSMetadata;
337
338 Aws::String m_roleARN;
339
340 bool m_computeStatistics;
341
342 long long m_computeTime;
343
344 Aws::Utils::DateTime m_finishedAt;
345
346 Aws::Utils::DateTime m_startedAt;
347
348 Aws::String m_dataSourceSchema;
349
350 Aws::String m_requestId;
351 };
352
353} // namespace Model
354} // namespace MachineLearning
355} // namespace Aws
GetDataSourceResult & WithDataLocationS3(const Aws::String &value)
void SetRedshiftMetadata(const RedshiftMetadata &value)
GetDataSourceResult & WithRoleARN(const Aws::String &value)
GetDataSourceResult & WithRoleARN(Aws::String &&value)
GetDataSourceResult & WithName(const char *value)
GetDataSourceResult & WithComputeTime(long long value)
AWS_MACHINELEARNING_API GetDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSourceResult & WithRequestId(Aws::String &&value)
GetDataSourceResult & WithLogUri(const char *value)
GetDataSourceResult & WithStartedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithRoleARN(const char *value)
GetDataSourceResult & WithCreatedByIamUser(const char *value)
GetDataSourceResult & WithFinishedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartedAt() const
GetDataSourceResult & WithStartedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithDataSourceId(const char *value)
GetDataSourceResult & WithFinishedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithDataRearrangement(const Aws::String &value)
GetDataSourceResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetFinishedAt(Aws::Utils::DateTime &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithName(Aws::String &&value)
GetDataSourceResult & WithRDSMetadata(const RDSMetadata &value)
const Aws::Utils::DateTime & GetFinishedAt() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetDataSourceResult & WithRequestId(const char *value)
GetDataSourceResult & WithMessage(Aws::String &&value)
GetDataSourceResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithNumberOfFiles(long long value)
GetDataSourceResult & WithDataRearrangement(Aws::String &&value)
GetDataSourceResult & WithMessage(const char *value)
GetDataSourceResult & WithDataRearrangement(const char *value)
AWS_MACHINELEARNING_API GetDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSourceResult & WithDataSourceId(Aws::String &&value)
GetDataSourceResult & WithCreatedByIamUser(Aws::String &&value)
void SetFinishedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithLogUri(Aws::String &&value)
GetDataSourceResult & WithDataSourceSchema(Aws::String &&value)
GetDataSourceResult & WithRedshiftMetadata(RedshiftMetadata &&value)
GetDataSourceResult & WithName(const Aws::String &value)
GetDataSourceResult & WithDataSourceSchema(const char *value)
GetDataSourceResult & WithDataLocationS3(const char *value)
void SetStartedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithDataSourceSchema(const Aws::String &value)
GetDataSourceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithLogUri(const Aws::String &value)
GetDataSourceResult & WithRequestId(const Aws::String &value)
GetDataSourceResult & WithCreatedByIamUser(const Aws::String &value)
GetDataSourceResult & WithStatus(EntityStatus &&value)
GetDataSourceResult & WithDataLocationS3(Aws::String &&value)
GetDataSourceResult & WithRDSMetadata(RDSMetadata &&value)
const RedshiftMetadata & GetRedshiftMetadata() const
GetDataSourceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithDataSizeInBytes(long long value)
GetDataSourceResult & WithRedshiftMetadata(const RedshiftMetadata &value)
GetDataSourceResult & WithComputeStatistics(bool value)
GetDataSourceResult & WithDataSourceId(const Aws::String &value)
GetDataSourceResult & WithStatus(const EntityStatus &value)
GetDataSourceResult & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue