/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a GetDataSource
operation and describes
* a DataSource
.See Also:
AWS
* API Reference
The ID assigned to the DataSource
at creation. This value should
* be identical to the value of the DataSourceId
in the request.
The ID assigned to the DataSource
at creation. This value should
* be identical to the value of the DataSourceId
in the request.
The ID assigned to the DataSource
at creation. This value should
* be identical to the value of the DataSourceId
in the request.
The ID assigned to the DataSource
at creation. This value should
* be identical to the value of the DataSourceId
in the request.
The ID assigned to the DataSource
at creation. This value should
* be identical to the value of the DataSourceId
in the request.
The ID assigned to the DataSource
at creation. This value should
* be identical to the value of the DataSourceId
in the request.
The ID assigned to the DataSource
at creation. This value should
* be identical to the value of the DataSourceId
in the request.
The location of the data file or directory in Amazon Simple Storage Service * (Amazon S3).
*/ inline const Aws::String& GetDataLocationS3() const{ return m_dataLocationS3; } /** *The location of the data file or directory in Amazon Simple Storage Service * (Amazon S3).
*/ inline void SetDataLocationS3(const Aws::String& value) { m_dataLocationS3 = value; } /** *The location of the data file or directory in Amazon Simple Storage Service * (Amazon S3).
*/ inline void SetDataLocationS3(Aws::String&& value) { m_dataLocationS3 = std::move(value); } /** *The location of the data file or directory in Amazon Simple Storage Service * (Amazon S3).
*/ inline void SetDataLocationS3(const char* value) { m_dataLocationS3.assign(value); } /** *The location of the data file or directory in Amazon Simple Storage Service * (Amazon S3).
*/ inline GetDataSourceResult& WithDataLocationS3(const Aws::String& value) { SetDataLocationS3(value); return *this;} /** *The location of the data file or directory in Amazon Simple Storage Service * (Amazon S3).
*/ inline GetDataSourceResult& WithDataLocationS3(Aws::String&& value) { SetDataLocationS3(std::move(value)); return *this;} /** *The location of the data file or directory in Amazon Simple Storage Service * (Amazon S3).
*/ inline GetDataSourceResult& WithDataLocationS3(const char* value) { SetDataLocationS3(value); return *this;} /** *A JSON string that represents the splitting and rearrangement requirement
* used when this DataSource
was created.
A JSON string that represents the splitting and rearrangement requirement
* used when this DataSource
was created.
A JSON string that represents the splitting and rearrangement requirement
* used when this DataSource
was created.
A JSON string that represents the splitting and rearrangement requirement
* used when this DataSource
was created.
A JSON string that represents the splitting and rearrangement requirement
* used when this DataSource
was created.
A JSON string that represents the splitting and rearrangement requirement
* used when this DataSource
was created.
A JSON string that represents the splitting and rearrangement requirement
* used when this DataSource
was created.
The AWS user account from which the DataSource
was created. The
* account type can be either an AWS root account or an AWS Identity and Access
* Management (IAM) user account.
The AWS user account from which the DataSource
was created. The
* account type can be either an AWS root account or an AWS Identity and Access
* Management (IAM) user account.
The AWS user account from which the DataSource
was created. The
* account type can be either an AWS root account or an AWS Identity and Access
* Management (IAM) user account.
The AWS user account from which the DataSource
was created. The
* account type can be either an AWS root account or an AWS Identity and Access
* Management (IAM) user account.
The AWS user account from which the DataSource
was created. The
* account type can be either an AWS root account or an AWS Identity and Access
* Management (IAM) user account.
The AWS user account from which the DataSource
was created. The
* account type can be either an AWS root account or an AWS Identity and Access
* Management (IAM) user account.
The AWS user account from which the DataSource
was created. The
* account type can be either an AWS root account or an AWS Identity and Access
* Management (IAM) user account.
The time that the DataSource
was created. The time is expressed
* in epoch time.
The time that the DataSource
was created. The time is expressed
* in epoch time.
The time that the DataSource
was created. The time is expressed
* in epoch time.
The time that the DataSource
was created. The time is expressed
* in epoch time.
The time that the DataSource
was created. The time is expressed
* in epoch time.
The time of the most recent edit to the DataSource
. The time is
* expressed in epoch time.
The time of the most recent edit to the DataSource
. The time is
* expressed in epoch time.
The time of the most recent edit to the DataSource
. The time is
* expressed in epoch time.
The time of the most recent edit to the DataSource
. The time is
* expressed in epoch time.
The time of the most recent edit to the DataSource
. The time is
* expressed in epoch time.
The total size of observations in the data files.
*/ inline long long GetDataSizeInBytes() const{ return m_dataSizeInBytes; } /** *The total size of observations in the data files.
*/ inline void SetDataSizeInBytes(long long value) { m_dataSizeInBytes = value; } /** *The total size of observations in the data files.
*/ inline GetDataSourceResult& WithDataSizeInBytes(long long value) { SetDataSizeInBytes(value); return *this;} /** *The number of data files referenced by the DataSource
.
The number of data files referenced by the DataSource
.
The number of data files referenced by the DataSource
.
A user-supplied name or description of the DataSource
.
A user-supplied name or description of the DataSource
.
A user-supplied name or description of the DataSource
.
A user-supplied name or description of the DataSource
.
A user-supplied name or description of the DataSource
.
A user-supplied name or description of the DataSource
.
A user-supplied name or description of the DataSource
.
The current status of the DataSource
. This element can have one
* of the following values:
PENDING
- Amazon ML
* submitted a request to create a DataSource
.
* INPROGRESS
- The creation process is underway.
* FAILED
- The request to create a DataSource
did not
* run to completion. It is not usable.
COMPLETED
-
* The creation process completed successfully.
* DELETED
- The DataSource
is marked as deleted. It is
* not usable.
The current status of the DataSource
. This element can have one
* of the following values:
PENDING
- Amazon ML
* submitted a request to create a DataSource
.
* INPROGRESS
- The creation process is underway.
* FAILED
- The request to create a DataSource
did not
* run to completion. It is not usable.
COMPLETED
-
* The creation process completed successfully.
* DELETED
- The DataSource
is marked as deleted. It is
* not usable.
The current status of the DataSource
. This element can have one
* of the following values:
PENDING
- Amazon ML
* submitted a request to create a DataSource
.
* INPROGRESS
- The creation process is underway.
* FAILED
- The request to create a DataSource
did not
* run to completion. It is not usable.
COMPLETED
-
* The creation process completed successfully.
* DELETED
- The DataSource
is marked as deleted. It is
* not usable.
The current status of the DataSource
. This element can have one
* of the following values:
PENDING
- Amazon ML
* submitted a request to create a DataSource
.
* INPROGRESS
- The creation process is underway.
* FAILED
- The request to create a DataSource
did not
* run to completion. It is not usable.
COMPLETED
-
* The creation process completed successfully.
* DELETED
- The DataSource
is marked as deleted. It is
* not usable.
The current status of the DataSource
. This element can have one
* of the following values:
PENDING
- Amazon ML
* submitted a request to create a DataSource
.
* INPROGRESS
- The creation process is underway.
* FAILED
- The request to create a DataSource
did not
* run to completion. It is not usable.
COMPLETED
-
* The creation process completed successfully.
* DELETED
- The DataSource
is marked as deleted. It is
* not usable.
A link to the file containing logs of CreateDataSourceFrom*
* operations.
A link to the file containing logs of CreateDataSourceFrom*
* operations.
A link to the file containing logs of CreateDataSourceFrom*
* operations.
A link to the file containing logs of CreateDataSourceFrom*
* operations.
A link to the file containing logs of CreateDataSourceFrom*
* operations.
A link to the file containing logs of CreateDataSourceFrom*
* operations.
A link to the file containing logs of CreateDataSourceFrom*
* operations.
The user-supplied description of the most recent details about creating the
* DataSource
.
The user-supplied description of the most recent details about creating the
* DataSource
.
The user-supplied description of the most recent details about creating the
* DataSource
.
The user-supplied description of the most recent details about creating the
* DataSource
.
The user-supplied description of the most recent details about creating the
* DataSource
.
The user-supplied description of the most recent details about creating the
* DataSource
.
The user-supplied description of the most recent details about creating the
* DataSource
.
The parameter is true
if statistics need to be generated from
* the observation data.
The parameter is true
if statistics need to be generated from
* the observation data.
The parameter is true
if statistics need to be generated from
* the observation data.
The approximate CPU time in milliseconds that Amazon Machine Learning spent
* processing the DataSource
, normalized and scaled on computation
* resources. ComputeTime
is only available if the
* DataSource
is in the COMPLETED
state and the
* ComputeStatistics
is set to true.
The approximate CPU time in milliseconds that Amazon Machine Learning spent
* processing the DataSource
, normalized and scaled on computation
* resources. ComputeTime
is only available if the
* DataSource
is in the COMPLETED
state and the
* ComputeStatistics
is set to true.
The approximate CPU time in milliseconds that Amazon Machine Learning spent
* processing the DataSource
, normalized and scaled on computation
* resources. ComputeTime
is only available if the
* DataSource
is in the COMPLETED
state and the
* ComputeStatistics
is set to true.
The epoch time when Amazon Machine Learning marked the
* DataSource
as COMPLETED
or FAILED
.
* FinishedAt
is only available when the DataSource
is in
* the COMPLETED
or FAILED
state.
The epoch time when Amazon Machine Learning marked the
* DataSource
as COMPLETED
or FAILED
.
* FinishedAt
is only available when the DataSource
is in
* the COMPLETED
or FAILED
state.
The epoch time when Amazon Machine Learning marked the
* DataSource
as COMPLETED
or FAILED
.
* FinishedAt
is only available when the DataSource
is in
* the COMPLETED
or FAILED
state.
The epoch time when Amazon Machine Learning marked the
* DataSource
as COMPLETED
or FAILED
.
* FinishedAt
is only available when the DataSource
is in
* the COMPLETED
or FAILED
state.
The epoch time when Amazon Machine Learning marked the
* DataSource
as COMPLETED
or FAILED
.
* FinishedAt
is only available when the DataSource
is in
* the COMPLETED
or FAILED
state.
The epoch time when Amazon Machine Learning marked the
* DataSource
as INPROGRESS
. StartedAt
isn't
* available if the DataSource
is in the PENDING
* state.
The epoch time when Amazon Machine Learning marked the
* DataSource
as INPROGRESS
. StartedAt
isn't
* available if the DataSource
is in the PENDING
* state.
The epoch time when Amazon Machine Learning marked the
* DataSource
as INPROGRESS
. StartedAt
isn't
* available if the DataSource
is in the PENDING
* state.
The epoch time when Amazon Machine Learning marked the
* DataSource
as INPROGRESS
. StartedAt
isn't
* available if the DataSource
is in the PENDING
* state.
The epoch time when Amazon Machine Learning marked the
* DataSource
as INPROGRESS
. StartedAt
isn't
* available if the DataSource
is in the PENDING
* state.
The schema used by all of the data files of this DataSource
.
Note: This parameter is provided as part of the verbose format.
*/ inline const Aws::String& GetDataSourceSchema() const{ return m_dataSourceSchema; } /** *The schema used by all of the data files of this DataSource
.
Note: This parameter is provided as part of the verbose format.
*/ inline void SetDataSourceSchema(const Aws::String& value) { m_dataSourceSchema = value; } /** *The schema used by all of the data files of this DataSource
.
Note: This parameter is provided as part of the verbose format.
*/ inline void SetDataSourceSchema(Aws::String&& value) { m_dataSourceSchema = std::move(value); } /** *The schema used by all of the data files of this DataSource
.
Note: This parameter is provided as part of the verbose format.
*/ inline void SetDataSourceSchema(const char* value) { m_dataSourceSchema.assign(value); } /** *The schema used by all of the data files of this DataSource
.
Note: This parameter is provided as part of the verbose format.
*/ inline GetDataSourceResult& WithDataSourceSchema(const Aws::String& value) { SetDataSourceSchema(value); return *this;} /** *The schema used by all of the data files of this DataSource
.
Note: This parameter is provided as part of the verbose format.
*/ inline GetDataSourceResult& WithDataSourceSchema(Aws::String&& value) { SetDataSourceSchema(std::move(value)); return *this;} /** *The schema used by all of the data files of this DataSource
.
Note: This parameter is provided as part of the verbose format.
*/ inline GetDataSourceResult& WithDataSourceSchema(const char* value) { SetDataSourceSchema(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_dataSourceId; Aws::String m_dataLocationS3; Aws::String m_dataRearrangement; Aws::String m_createdByIamUser; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_lastUpdatedAt; long long m_dataSizeInBytes; long long m_numberOfFiles; Aws::String m_name; EntityStatus m_status; Aws::String m_logUri; Aws::String m_message; RedshiftMetadata m_redshiftMetadata; RDSMetadata m_rDSMetadata; Aws::String m_roleARN; bool m_computeStatistics; long long m_computeTime; Aws::Utils::DateTime m_finishedAt; Aws::Utils::DateTime m_startedAt; Aws::String m_dataSourceSchema; Aws::String m_requestId; }; } // namespace Model } // namespace MachineLearning } // namespace Aws