AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
43
44
46
50 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
51 template<typename DataSourceIdT = Aws::String>
52 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
53 template<typename DataSourceIdT = Aws::String>
54 GetDataSourceResult& WithDataSourceId(DataSourceIdT&& value) { SetDataSourceId(std::forward<DataSourceIdT>(value)); return *this;}
56
58
62 inline const Aws::String& GetDataLocationS3() const { return m_dataLocationS3; }
63 template<typename DataLocationS3T = Aws::String>
64 void SetDataLocationS3(DataLocationS3T&& value) { m_dataLocationS3HasBeenSet = true; m_dataLocationS3 = std::forward<DataLocationS3T>(value); }
65 template<typename DataLocationS3T = Aws::String>
66 GetDataSourceResult& WithDataLocationS3(DataLocationS3T&& value) { SetDataLocationS3(std::forward<DataLocationS3T>(value)); return *this;}
68
70
74 inline const Aws::String& GetDataRearrangement() const { return m_dataRearrangement; }
75 template<typename DataRearrangementT = Aws::String>
76 void SetDataRearrangement(DataRearrangementT&& value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement = std::forward<DataRearrangementT>(value); }
77 template<typename DataRearrangementT = Aws::String>
78 GetDataSourceResult& WithDataRearrangement(DataRearrangementT&& value) { SetDataRearrangement(std::forward<DataRearrangementT>(value)); return *this;}
80
82
87 inline const Aws::String& GetCreatedByIamUser() const { return m_createdByIamUser; }
88 template<typename CreatedByIamUserT = Aws::String>
89 void SetCreatedByIamUser(CreatedByIamUserT&& value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser = std::forward<CreatedByIamUserT>(value); }
90 template<typename CreatedByIamUserT = Aws::String>
91 GetDataSourceResult& WithCreatedByIamUser(CreatedByIamUserT&& value) { SetCreatedByIamUser(std::forward<CreatedByIamUserT>(value)); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
100 template<typename CreatedAtT = Aws::Utils::DateTime>
101 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
102 template<typename CreatedAtT = Aws::Utils::DateTime>
103 GetDataSourceResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
105
107
111 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
112 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
113 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
114 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
115 GetDataSourceResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
117
119
122 inline long long GetDataSizeInBytes() const { return m_dataSizeInBytes; }
123 inline void SetDataSizeInBytes(long long value) { m_dataSizeInBytesHasBeenSet = true; m_dataSizeInBytes = value; }
124 inline GetDataSourceResult& WithDataSizeInBytes(long long value) { SetDataSizeInBytes(value); return *this;}
126
128
131 inline long long GetNumberOfFiles() const { return m_numberOfFiles; }
132 inline void SetNumberOfFiles(long long value) { m_numberOfFilesHasBeenSet = true; m_numberOfFiles = value; }
133 inline GetDataSourceResult& WithNumberOfFiles(long long value) { SetNumberOfFiles(value); return *this;}
135
137
140 inline const Aws::String& GetName() const { return m_name; }
141 template<typename NameT = Aws::String>
142 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
143 template<typename NameT = Aws::String>
144 GetDataSourceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
146
148
159 inline EntityStatus GetStatus() const { return m_status; }
160 inline void SetStatus(EntityStatus value) { m_statusHasBeenSet = true; m_status = value; }
161 inline GetDataSourceResult& WithStatus(EntityStatus value) { SetStatus(value); return *this;}
163
165
169 inline const Aws::String& GetLogUri() const { return m_logUri; }
170 template<typename LogUriT = Aws::String>
171 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet = true; m_logUri = std::forward<LogUriT>(value); }
172 template<typename LogUriT = Aws::String>
173 GetDataSourceResult& WithLogUri(LogUriT&& value) { SetLogUri(std::forward<LogUriT>(value)); return *this;}
175
177
181 inline const Aws::String& GetMessage() const { return m_message; }
182 template<typename MessageT = Aws::String>
183 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
184 template<typename MessageT = Aws::String>
185 GetDataSourceResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
187
189
190 inline const RedshiftMetadata& GetRedshiftMetadata() const { return m_redshiftMetadata; }
191 template<typename RedshiftMetadataT = RedshiftMetadata>
192 void SetRedshiftMetadata(RedshiftMetadataT&& value) { m_redshiftMetadataHasBeenSet = true; m_redshiftMetadata = std::forward<RedshiftMetadataT>(value); }
193 template<typename RedshiftMetadataT = RedshiftMetadata>
194 GetDataSourceResult& WithRedshiftMetadata(RedshiftMetadataT&& value) { SetRedshiftMetadata(std::forward<RedshiftMetadataT>(value)); return *this;}
196
198
199 inline const RDSMetadata& GetRDSMetadata() const { return m_rDSMetadata; }
200 template<typename RDSMetadataT = RDSMetadata>
201 void SetRDSMetadata(RDSMetadataT&& value) { m_rDSMetadataHasBeenSet = true; m_rDSMetadata = std::forward<RDSMetadataT>(value); }
202 template<typename RDSMetadataT = RDSMetadata>
203 GetDataSourceResult& WithRDSMetadata(RDSMetadataT&& value) { SetRDSMetadata(std::forward<RDSMetadataT>(value)); return *this;}
205
207
208 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
209 template<typename RoleARNT = Aws::String>
210 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
211 template<typename RoleARNT = Aws::String>
212 GetDataSourceResult& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
214
216
220 inline bool GetComputeStatistics() const { return m_computeStatistics; }
221 inline void SetComputeStatistics(bool value) { m_computeStatisticsHasBeenSet = true; m_computeStatistics = value; }
222 inline GetDataSourceResult& WithComputeStatistics(bool value) { SetComputeStatistics(value); return *this;}
224
226
233 inline long long GetComputeTime() const { return m_computeTime; }
234 inline void SetComputeTime(long long value) { m_computeTimeHasBeenSet = true; m_computeTime = value; }
235 inline GetDataSourceResult& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
237
239
245 inline const Aws::Utils::DateTime& GetFinishedAt() const { return m_finishedAt; }
246 template<typename FinishedAtT = Aws::Utils::DateTime>
247 void SetFinishedAt(FinishedAtT&& value) { m_finishedAtHasBeenSet = true; m_finishedAt = std::forward<FinishedAtT>(value); }
248 template<typename FinishedAtT = Aws::Utils::DateTime>
249 GetDataSourceResult& WithFinishedAt(FinishedAtT&& value) { SetFinishedAt(std::forward<FinishedAtT>(value)); return *this;}
251
253
259 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
260 template<typename StartedAtT = Aws::Utils::DateTime>
261 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
262 template<typename StartedAtT = Aws::Utils::DateTime>
263 GetDataSourceResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
265
267
271 inline const Aws::String& GetDataSourceSchema() const { return m_dataSourceSchema; }
272 template<typename DataSourceSchemaT = Aws::String>
273 void SetDataSourceSchema(DataSourceSchemaT&& value) { m_dataSourceSchemaHasBeenSet = true; m_dataSourceSchema = std::forward<DataSourceSchemaT>(value); }
274 template<typename DataSourceSchemaT = Aws::String>
275 GetDataSourceResult& WithDataSourceSchema(DataSourceSchemaT&& value) { SetDataSourceSchema(std::forward<DataSourceSchemaT>(value)); return *this;}
277
279
280 inline const Aws::String& GetRequestId() const { return m_requestId; }
281 template<typename RequestIdT = Aws::String>
282 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
283 template<typename RequestIdT = Aws::String>
284 GetDataSourceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
286 private:
287
288 Aws::String m_dataSourceId;
289 bool m_dataSourceIdHasBeenSet = false;
290
291 Aws::String m_dataLocationS3;
292 bool m_dataLocationS3HasBeenSet = false;
293
294 Aws::String m_dataRearrangement;
295 bool m_dataRearrangementHasBeenSet = false;
296
297 Aws::String m_createdByIamUser;
298 bool m_createdByIamUserHasBeenSet = false;
299
300 Aws::Utils::DateTime m_createdAt{};
301 bool m_createdAtHasBeenSet = false;
302
303 Aws::Utils::DateTime m_lastUpdatedAt{};
304 bool m_lastUpdatedAtHasBeenSet = false;
305
306 long long m_dataSizeInBytes{0};
307 bool m_dataSizeInBytesHasBeenSet = false;
308
309 long long m_numberOfFiles{0};
310 bool m_numberOfFilesHasBeenSet = false;
311
312 Aws::String m_name;
313 bool m_nameHasBeenSet = false;
314
316 bool m_statusHasBeenSet = false;
317
318 Aws::String m_logUri;
319 bool m_logUriHasBeenSet = false;
320
321 Aws::String m_message;
322 bool m_messageHasBeenSet = false;
323
324 RedshiftMetadata m_redshiftMetadata;
325 bool m_redshiftMetadataHasBeenSet = false;
326
327 RDSMetadata m_rDSMetadata;
328 bool m_rDSMetadataHasBeenSet = false;
329
330 Aws::String m_roleARN;
331 bool m_roleARNHasBeenSet = false;
332
333 bool m_computeStatistics{false};
334 bool m_computeStatisticsHasBeenSet = false;
335
336 long long m_computeTime{0};
337 bool m_computeTimeHasBeenSet = false;
338
339 Aws::Utils::DateTime m_finishedAt{};
340 bool m_finishedAtHasBeenSet = false;
341
342 Aws::Utils::DateTime m_startedAt{};
343 bool m_startedAtHasBeenSet = false;
344
345 Aws::String m_dataSourceSchema;
346 bool m_dataSourceSchemaHasBeenSet = false;
347
348 Aws::String m_requestId;
349 bool m_requestIdHasBeenSet = false;
350 };
351
352} // namespace Model
353} // namespace MachineLearning
354} // namespace Aws
GetDataSourceResult & WithComputeTime(long long value)
AWS_MACHINELEARNING_API GetDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSourceResult & WithCreatedAt(CreatedAtT &&value)
GetDataSourceResult & WithRDSMetadata(RDSMetadataT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataSourceResult & WithCreatedByIamUser(CreatedByIamUserT &&value)
GetDataSourceResult & WithMessage(MessageT &&value)
GetDataSourceResult & WithDataRearrangement(DataRearrangementT &&value)
GetDataSourceResult & WithDataSourceSchema(DataSourceSchemaT &&value)
const Aws::Utils::DateTime & GetFinishedAt() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetDataSourceResult & WithNumberOfFiles(long long value)
GetDataSourceResult & WithDataLocationS3(DataLocationS3T &&value)
GetDataSourceResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_MACHINELEARNING_API GetDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSourceResult & WithFinishedAt(FinishedAtT &&value)
AWS_MACHINELEARNING_API GetDataSourceResult()=default
GetDataSourceResult & WithStartedAt(StartedAtT &&value)
GetDataSourceResult & WithRedshiftMetadata(RedshiftMetadataT &&value)
void SetCreatedByIamUser(CreatedByIamUserT &&value)
GetDataSourceResult & WithDataSourceId(DataSourceIdT &&value)
GetDataSourceResult & WithRoleARN(RoleARNT &&value)
const RedshiftMetadata & GetRedshiftMetadata() const
GetDataSourceResult & WithDataSizeInBytes(long long value)
GetDataSourceResult & WithLogUri(LogUriT &&value)
void SetDataRearrangement(DataRearrangementT &&value)
GetDataSourceResult & WithName(NameT &&value)
GetDataSourceResult & WithComputeStatistics(bool value)
GetDataSourceResult & WithStatus(EntityStatus value)
GetDataSourceResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue