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>
25namespace MachineLearning
54 inline void SetDataSourceId(
const char* value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId.assign(value); }
69 inline void SetDataLocationS3(
const char* value) { m_dataLocationS3HasBeenSet =
true; m_dataLocationS3.assign(value); }
84 inline void SetDataRearrangement(
const char* value) { m_dataRearrangementHasBeenSet =
true; m_dataRearrangement.assign(value); }
100 inline void SetCreatedByIamUser(
const char* value) { m_createdByIamUserHasBeenSet =
true; m_createdByIamUser.assign(value); }
139 inline void SetDataSizeInBytes(
long long value) { m_dataSizeInBytesHasBeenSet =
true; m_dataSizeInBytes = value; }
149 inline void SetNumberOfFiles(
long long value) { m_numberOfFilesHasBeenSet =
true; m_numberOfFiles = value; }
161 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
195 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
227 inline void SetRoleARN(
const char* value) { m_roleARNHasBeenSet =
true; m_roleARN.assign(value); }
240 inline void SetComputeStatistics(
bool value) { m_computeStatisticsHasBeenSet =
true; m_computeStatistics = value; }
248 inline void SetComputeTime(
long long value) { m_computeTimeHasBeenSet =
true; m_computeTime = value; }
274 bool m_dataSourceIdHasBeenSet =
false;
277 bool m_dataLocationS3HasBeenSet =
false;
280 bool m_dataRearrangementHasBeenSet =
false;
283 bool m_createdByIamUserHasBeenSet =
false;
286 bool m_createdAtHasBeenSet =
false;
289 bool m_lastUpdatedAtHasBeenSet =
false;
291 long long m_dataSizeInBytes;
292 bool m_dataSizeInBytesHasBeenSet =
false;
294 long long m_numberOfFiles;
295 bool m_numberOfFilesHasBeenSet =
false;
298 bool m_nameHasBeenSet =
false;
301 bool m_statusHasBeenSet =
false;
304 bool m_messageHasBeenSet =
false;
307 bool m_redshiftMetadataHasBeenSet =
false;
310 bool m_rDSMetadataHasBeenSet =
false;
313 bool m_roleARNHasBeenSet =
false;
315 bool m_computeStatistics;
316 bool m_computeStatisticsHasBeenSet =
false;
318 long long m_computeTime;
319 bool m_computeTimeHasBeenSet =
false;
322 bool m_finishedAtHasBeenSet =
false;
325 bool m_startedAtHasBeenSet =
false;
DataSource & WithFinishedAt(Aws::Utils::DateTime &&value)
long long GetDataSizeInBytes() const
DataSource & WithMessage(Aws::String &&value)
bool DataSourceIdHasBeenSet() const
DataSource & WithCreatedByIamUser(const char *value)
bool DataRearrangementHasBeenSet() const
void SetDataRearrangement(Aws::String &&value)
void SetRDSMetadata(const RDSMetadata &value)
DataSource & WithCreatedByIamUser(const Aws::String &value)
void SetCreatedByIamUser(const Aws::String &value)
const Aws::Utils::DateTime & GetFinishedAt() const
bool DataLocationS3HasBeenSet() const
const Aws::Utils::DateTime & GetStartedAt() const
bool CreatedByIamUserHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
DataSource & WithRoleARN(Aws::String &&value)
void SetDataLocationS3(Aws::String &&value)
void SetStatus(const EntityStatus &value)
AWS_MACHINELEARNING_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithDataLocationS3(const char *value)
void SetMessage(const Aws::String &value)
DataSource & WithDataRearrangement(Aws::String &&value)
void SetMessage(const char *value)
void SetDataSourceId(Aws::String &&value)
DataSource & WithStatus(const EntityStatus &value)
const EntityStatus & GetStatus() const
const RedshiftMetadata & GetRedshiftMetadata() const
DataSource & WithName(const Aws::String &value)
DataSource & WithName(const char *value)
DataSource & WithStartedAt(Aws::Utils::DateTime &&value)
void SetCreatedByIamUser(const char *value)
void SetName(const char *value)
DataSource & WithCreatedByIamUser(Aws::String &&value)
bool DataSizeInBytesHasBeenSet() const
DataSource & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
bool FinishedAtHasBeenSet() const
long long GetNumberOfFiles() const
void SetDataSourceId(const Aws::String &value)
void SetRoleARN(const Aws::String &value)
void SetNumberOfFiles(long long value)
DataSource & WithMessage(const Aws::String &value)
void SetMessage(Aws::String &&value)
bool CreatedAtHasBeenSet() const
AWS_MACHINELEARNING_API DataSource()
DataSource & WithComputeStatistics(bool value)
DataSource & WithDataLocationS3(const Aws::String &value)
DataSource & WithRoleARN(const char *value)
void SetDataSourceId(const char *value)
bool MessageHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
bool LastUpdatedAtHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
long long GetComputeTime() const
void SetRedshiftMetadata(RedshiftMetadata &&value)
DataSource & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetDataSourceId() const
void SetRoleARN(const char *value)
DataSource & WithDataSourceId(const char *value)
bool NumberOfFilesHasBeenSet() const
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
const RDSMetadata & GetRDSMetadata() const
void SetCreatedByIamUser(Aws::String &&value)
DataSource & WithRedshiftMetadata(RedshiftMetadata &&value)
bool ComputeTimeHasBeenSet() const
const Aws::String & GetName() const
DataSource & WithCreatedAt(const Aws::Utils::DateTime &value)
DataSource & WithCreatedAt(Aws::Utils::DateTime &&value)
bool RoleARNHasBeenSet() const
DataSource & WithDataLocationS3(Aws::String &&value)
DataSource & WithDataSizeInBytes(long long value)
void SetDataLocationS3(const char *value)
DataSource & WithDataSourceId(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
bool RedshiftMetadataHasBeenSet() const
const Aws::String & GetMessage() const
DataSource & WithMessage(const char *value)
bool StartedAtHasBeenSet() const
bool ComputeStatisticsHasBeenSet() const
void SetDataRearrangement(const Aws::String &value)
bool StatusHasBeenSet() const
DataSource & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetDataLocationS3() const
DataSource & WithDataRearrangement(const char *value)
DataSource & WithDataRearrangement(const Aws::String &value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
DataSource & WithRedshiftMetadata(const RedshiftMetadata &value)
const Aws::String & GetCreatedByIamUser() const
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(EntityStatus &&value)
AWS_MACHINELEARNING_API DataSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDataRearrangement() const
DataSource & WithStatus(EntityStatus &&value)
void SetDataLocationS3(const Aws::String &value)
void SetRedshiftMetadata(const RedshiftMetadata &value)
void SetComputeTime(long long value)
bool GetComputeStatistics() const
void SetName(const Aws::String &value)
const Aws::String & GetRoleARN() const
DataSource & WithDataSourceId(Aws::String &&value)
void SetFinishedAt(Aws::Utils::DateTime &&value)
void SetRoleARN(Aws::String &&value)
DataSource & WithComputeTime(long long value)
void SetFinishedAt(const Aws::Utils::DateTime &value)
bool NameHasBeenSet() const
void SetRDSMetadata(RDSMetadata &&value)
DataSource & WithRDSMetadata(const RDSMetadata &value)
void SetDataSizeInBytes(long long value)
DataSource & WithRoleARN(const Aws::String &value)
bool RDSMetadataHasBeenSet() const
void SetComputeStatistics(bool value)
DataSource & WithRDSMetadata(RDSMetadata &&value)
DataSource & WithFinishedAt(const Aws::Utils::DateTime &value)
void SetDataRearrangement(const char *value)
DataSource & WithNumberOfFiles(long long value)
DataSource & WithStartedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue