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
47 inline void SetDataSourceId(
const char* value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId.assign(value); }
61 inline void SetDataSourceName(
const char* value) { m_dataSourceNameHasBeenSet =
true; m_dataSourceName.assign(value); }
98 inline void SetComputeStatistics(
bool value) { m_computeStatisticsHasBeenSet =
true; m_computeStatistics = value; }
104 bool m_dataSourceIdHasBeenSet =
false;
107 bool m_dataSourceNameHasBeenSet =
false;
110 bool m_dataSpecHasBeenSet =
false;
112 bool m_computeStatistics;
113 bool m_computeStatisticsHasBeenSet =
false;
bool GetComputeStatistics() const
CreateDataSourceFromS3Request & WithDataSourceId(const char *value)
CreateDataSourceFromS3Request & WithDataSourceId(Aws::String &&value)
const Aws::String & GetDataSourceName() const
void SetDataSourceName(const char *value)
void SetComputeStatistics(bool value)
CreateDataSourceFromS3Request & WithDataSourceName(Aws::String &&value)
CreateDataSourceFromS3Request & WithDataSourceName(const char *value)
bool DataSourceNameHasBeenSet() const
const Aws::String & GetDataSourceId() const
const S3DataSpec & GetDataSpec() const
CreateDataSourceFromS3Request & WithDataSourceName(const Aws::String &value)
void SetDataSourceId(const Aws::String &value)
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDataSourceFromS3Request & WithDataSourceId(const Aws::String &value)
bool DataSourceIdHasBeenSet() const
AWS_MACHINELEARNING_API CreateDataSourceFromS3Request()
void SetDataSpec(S3DataSpec &&value)
CreateDataSourceFromS3Request & WithDataSpec(S3DataSpec &&value)
bool DataSpecHasBeenSet() const
void SetDataSourceId(const char *value)
bool ComputeStatisticsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateDataSourceFromS3Request & WithDataSpec(const S3DataSpec &value)
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
void SetDataSourceName(const Aws::String &value)
CreateDataSourceFromS3Request & WithComputeStatistics(bool value)
void SetDataSourceId(Aws::String &&value)
void SetDataSourceName(Aws::String &&value)
void SetDataSpec(const S3DataSpec &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String