7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/machinelearning/MachineLearningRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/machinelearning/model/S3DataSpec.h>
15namespace MachineLearning
45 template<
typename DataSourceIdT = Aws::String>
46 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
47 template<
typename DataSourceIdT = Aws::String>
57 template<
typename DataSourceNameT = Aws::String>
58 void SetDataSourceName(DataSourceNameT&& value) { m_dataSourceNameHasBeenSet =
true; m_dataSourceName = std::forward<DataSourceNameT>(value); }
59 template<
typename DataSourceNameT = Aws::String>
78 template<
typename DataSpecT = S3DataSpec>
79 void SetDataSpec(DataSpecT&& value) { m_dataSpecHasBeenSet =
true; m_dataSpec = std::forward<DataSpecT>(value); }
80 template<
typename DataSpecT = S3DataSpec>
94 inline void SetComputeStatistics(
bool value) { m_computeStatisticsHasBeenSet =
true; m_computeStatistics = value; }
100 bool m_dataSourceIdHasBeenSet =
false;
103 bool m_dataSourceNameHasBeenSet =
false;
106 bool m_dataSpecHasBeenSet =
false;
108 bool m_computeStatistics{
false};
109 bool m_computeStatisticsHasBeenSet =
false;
bool GetComputeStatistics() const
CreateDataSourceFromS3Request & WithDataSpec(DataSpecT &&value)
const Aws::String & GetDataSourceName() const
void SetDataSourceId(DataSourceIdT &&value)
void SetComputeStatistics(bool value)
AWS_MACHINELEARNING_API CreateDataSourceFromS3Request()=default
bool DataSourceNameHasBeenSet() const
const Aws::String & GetDataSourceId() const
const S3DataSpec & GetDataSpec() const
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDataSourceName(DataSourceNameT &&value)
bool DataSourceIdHasBeenSet() const
CreateDataSourceFromS3Request & WithDataSourceId(DataSourceIdT &&value)
void SetDataSpec(DataSpecT &&value)
bool DataSpecHasBeenSet() const
bool ComputeStatisticsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
CreateDataSourceFromS3Request & WithDataSourceName(DataSourceNameT &&value)
CreateDataSourceFromS3Request & WithComputeStatistics(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String