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/RedshiftDataSpec.h>
15namespace MachineLearning
44 template<
typename DataSourceIdT = Aws::String>
45 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
46 template<
typename DataSourceIdT = Aws::String>
56 template<
typename DataSourceNameT = Aws::String>
57 void SetDataSourceName(DataSourceNameT&& value) { m_dataSourceNameHasBeenSet =
true; m_dataSourceName = std::forward<DataSourceNameT>(value); }
58 template<
typename DataSourceNameT = Aws::String>
85 template<
typename DataSpecT = RedshiftDataSpec>
86 void SetDataSpec(DataSpecT&& value) { m_dataSpecHasBeenSet =
true; m_dataSpec = std::forward<DataSpecT>(value); }
87 template<
typename DataSpecT = RedshiftDataSpec>
101 template<
typename RoleARNT = Aws::String>
102 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet =
true; m_roleARN = std::forward<RoleARNT>(value); }
103 template<
typename RoleARNT = Aws::String>
117 inline void SetComputeStatistics(
bool value) { m_computeStatisticsHasBeenSet =
true; m_computeStatistics = value; }
123 bool m_dataSourceIdHasBeenSet =
false;
126 bool m_dataSourceNameHasBeenSet =
false;
129 bool m_dataSpecHasBeenSet =
false;
132 bool m_roleARNHasBeenSet =
false;
134 bool m_computeStatistics{
false};
135 bool m_computeStatisticsHasBeenSet =
false;
CreateDataSourceFromRedshiftRequest & WithRoleARN(RoleARNT &&value)
bool DataSourceIdHasBeenSet() const
void SetDataSourceName(DataSourceNameT &&value)
bool DataSourceNameHasBeenSet() const
CreateDataSourceFromRedshiftRequest & WithDataSourceId(DataSourceIdT &&value)
const RedshiftDataSpec & GetDataSpec() const
CreateDataSourceFromRedshiftRequest & WithDataSourceName(DataSourceNameT &&value)
void SetDataSpec(DataSpecT &&value)
bool RoleARNHasBeenSet() const
bool DataSpecHasBeenSet() const
const Aws::String & GetDataSourceName() const
void SetRoleARN(RoleARNT &&value)
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ComputeStatisticsHasBeenSet() const
void SetDataSourceId(DataSourceIdT &&value)
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
const Aws::String & GetRoleARN() const
void SetComputeStatistics(bool value)
CreateDataSourceFromRedshiftRequest & WithDataSpec(DataSpecT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDataSourceId() const
CreateDataSourceFromRedshiftRequest & WithComputeStatistics(bool value)
bool GetComputeStatistics() const
AWS_MACHINELEARNING_API CreateDataSourceFromRedshiftRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String