7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/machinelearning/MachineLearning_EXPORTS.h>
10#include <aws/machinelearning/model/EntityStatus.h>
11#include <aws/machinelearning/model/RDSMetadata.h>
12#include <aws/machinelearning/model/RedshiftMetadata.h>
23namespace MachineLearning {
46 template <
typename DataSourceIdT = Aws::String>
48 m_dataSourceIdHasBeenSet =
true;
49 m_dataSourceId = std::forward<DataSourceIdT>(value);
51 template <
typename DataSourceIdT = Aws::String>
65 template <
typename DataLocationS3T = Aws::String>
67 m_dataLocationS3HasBeenSet =
true;
68 m_dataLocationS3 = std::forward<DataLocationS3T>(value);
70 template <
typename DataLocationS3T = Aws::String>
84 template <
typename DataRearrangementT = Aws::String>
86 m_dataRearrangementHasBeenSet =
true;
87 m_dataRearrangement = std::forward<DataRearrangementT>(value);
89 template <
typename DataRearrangementT = Aws::String>
104 template <
typename CreatedByIamUserT = Aws::String>
106 m_createdByIamUserHasBeenSet =
true;
107 m_createdByIamUser = std::forward<CreatedByIamUserT>(value);
109 template <
typename CreatedByIamUserT = Aws::String>
123 template <
typename CreatedAtT = Aws::Utils::DateTime>
125 m_createdAtHasBeenSet =
true;
126 m_createdAt = std::forward<CreatedAtT>(value);
128 template <
typename CreatedAtT = Aws::Utils::DateTime>
142 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
144 m_lastUpdatedAtHasBeenSet =
true;
145 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
147 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
162 m_dataSizeInBytesHasBeenSet =
true;
163 m_dataSizeInBytes = value;
178 m_numberOfFilesHasBeenSet =
true;
179 m_numberOfFiles = value;
193 template <
typename NameT = Aws::String>
195 m_nameHasBeenSet =
true;
196 m_name = std::forward<NameT>(value);
198 template <
typename NameT = Aws::String>
200 SetName(std::forward<NameT>(value));
219 m_statusHasBeenSet =
true;
235 template <
typename MessageT = Aws::String>
237 m_messageHasBeenSet =
true;
238 m_message = std::forward<MessageT>(value);
240 template <
typename MessageT = Aws::String>
251 template <
typename RedshiftMetadataT = RedshiftMetadata>
253 m_redshiftMetadataHasBeenSet =
true;
254 m_redshiftMetadata = std::forward<RedshiftMetadataT>(value);
256 template <
typename RedshiftMetadataT = RedshiftMetadata>
267 template <
typename RDSMetadataT = RDSMetadata>
269 m_rDSMetadataHasBeenSet =
true;
270 m_rDSMetadata = std::forward<RDSMetadataT>(value);
272 template <
typename RDSMetadataT = RDSMetadata>
283 template <
typename RoleARNT = Aws::String>
285 m_roleARNHasBeenSet =
true;
286 m_roleARN = std::forward<RoleARNT>(value);
288 template <
typename RoleARNT = Aws::String>
303 m_computeStatisticsHasBeenSet =
true;
304 m_computeStatistics = value;
317 m_computeTimeHasBeenSet =
true;
318 m_computeTime = value;
330 template <
typename FinishedAtT = Aws::Utils::DateTime>
332 m_finishedAtHasBeenSet =
true;
333 m_finishedAt = std::forward<FinishedAtT>(value);
335 template <
typename FinishedAtT = Aws::Utils::DateTime>
346 template <
typename StartedAtT = Aws::Utils::DateTime>
348 m_startedAtHasBeenSet =
true;
349 m_startedAt = std::forward<StartedAtT>(value);
351 template <
typename StartedAtT = Aws::Utils::DateTime>
370 long long m_dataSizeInBytes{0};
372 long long m_numberOfFiles{0};
380 RedshiftMetadata m_redshiftMetadata;
382 RDSMetadata m_rDSMetadata;
386 bool m_computeStatistics{
false};
388 long long m_computeTime{0};
393 bool m_dataSourceIdHasBeenSet =
false;
394 bool m_dataLocationS3HasBeenSet =
false;
395 bool m_dataRearrangementHasBeenSet =
false;
396 bool m_createdByIamUserHasBeenSet =
false;
397 bool m_createdAtHasBeenSet =
false;
398 bool m_lastUpdatedAtHasBeenSet =
false;
399 bool m_dataSizeInBytesHasBeenSet =
false;
400 bool m_numberOfFilesHasBeenSet =
false;
401 bool m_nameHasBeenSet =
false;
402 bool m_statusHasBeenSet =
false;
403 bool m_messageHasBeenSet =
false;
404 bool m_redshiftMetadataHasBeenSet =
false;
405 bool m_rDSMetadataHasBeenSet =
false;
406 bool m_roleARNHasBeenSet =
false;
407 bool m_computeStatisticsHasBeenSet =
false;
408 bool m_computeTimeHasBeenSet =
false;
409 bool m_finishedAtHasBeenSet =
false;
410 bool m_startedAtHasBeenSet =
false;
EntityStatus GetStatus() const
long long GetDataSizeInBytes() const
bool DataSourceIdHasBeenSet() const
DataSource & WithCreatedAt(CreatedAtT &&value)
bool DataRearrangementHasBeenSet() const
const Aws::Utils::DateTime & GetFinishedAt() const
bool DataLocationS3HasBeenSet() const
const Aws::Utils::DateTime & GetStartedAt() const
bool CreatedByIamUserHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_MACHINELEARNING_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithName(NameT &&value)
void SetStartedAt(StartedAtT &&value)
void SetDataSourceId(DataSourceIdT &&value)
const RedshiftMetadata & GetRedshiftMetadata() const
void SetRedshiftMetadata(RedshiftMetadataT &&value)
DataSource & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
bool DataSizeInBytesHasBeenSet() const
void SetFinishedAt(FinishedAtT &&value)
void SetDataRearrangement(DataRearrangementT &&value)
DataSource & WithDataSourceId(DataSourceIdT &&value)
bool FinishedAtHasBeenSet() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
long long GetNumberOfFiles() const
void SetNumberOfFiles(long long value)
DataSource & WithRedshiftMetadata(RedshiftMetadataT &&value)
bool CreatedAtHasBeenSet() const
DataSource & WithComputeStatistics(bool value)
void SetDataLocationS3(DataLocationS3T &&value)
DataSource & WithDataLocationS3(DataLocationS3T &&value)
bool MessageHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
long long GetComputeTime() const
const Aws::String & GetDataSourceId() const
DataSource & WithLastUpdatedAt(LastUpdatedAtT &&value)
DataSource & WithStatus(EntityStatus value)
bool NumberOfFilesHasBeenSet() const
DataSource & WithStartedAt(StartedAtT &&value)
DataSource & WithRoleARN(RoleARNT &&value)
const RDSMetadata & GetRDSMetadata() const
bool ComputeTimeHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
bool RoleARNHasBeenSet() const
DataSource & WithDataSizeInBytes(long long value)
bool RedshiftMetadataHasBeenSet() const
const Aws::String & GetMessage() const
DataSource & WithFinishedAt(FinishedAtT &&value)
bool StartedAtHasBeenSet() const
bool ComputeStatisticsHasBeenSet() const
void SetRoleARN(RoleARNT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetDataLocationS3() const
DataSource & WithDataRearrangement(DataRearrangementT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetCreatedByIamUser() const
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACHINELEARNING_API DataSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDataRearrangement() const
void SetComputeTime(long long value)
bool GetComputeStatistics() const
const Aws::String & GetRoleARN() const
void SetCreatedByIamUser(CreatedByIamUserT &&value)
DataSource & WithComputeTime(long long value)
bool NameHasBeenSet() const
void SetStatus(EntityStatus value)
void SetDataSizeInBytes(long long value)
AWS_MACHINELEARNING_API DataSource()=default
bool RDSMetadataHasBeenSet() const
void SetComputeStatistics(bool value)
DataSource & WithCreatedByIamUser(CreatedByIamUserT &&value)
void SetRDSMetadata(RDSMetadataT &&value)
DataSource & WithRDSMetadata(RDSMetadataT &&value)
DataSource & WithNumberOfFiles(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue