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
46 inline void SetDataSourceId(
const char* value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId.assign(value); }
60 inline void SetDataSourceName(
const char* value) { m_dataSourceNameHasBeenSet =
true; m_dataSourceName.assign(value); }
107 inline void SetRoleARN(
const char* value) { m_roleARNHasBeenSet =
true; m_roleARN.assign(value); }
123 inline void SetComputeStatistics(
bool value) { m_computeStatisticsHasBeenSet =
true; m_computeStatistics = value; }
129 bool m_dataSourceIdHasBeenSet =
false;
132 bool m_dataSourceNameHasBeenSet =
false;
135 bool m_dataSpecHasBeenSet =
false;
138 bool m_roleARNHasBeenSet =
false;
140 bool m_computeStatistics;
141 bool m_computeStatisticsHasBeenSet =
false;
CreateDataSourceFromRedshiftRequest & WithDataSourceName(const char *value)
CreateDataSourceFromRedshiftRequest & WithRoleARN(Aws::String &&value)
CreateDataSourceFromRedshiftRequest & WithRoleARN(const Aws::String &value)
CreateDataSourceFromRedshiftRequest & WithDataSourceId(const char *value)
void SetDataSourceName(const Aws::String &value)
AWS_MACHINELEARNING_API CreateDataSourceFromRedshiftRequest()
bool DataSourceIdHasBeenSet() const
CreateDataSourceFromRedshiftRequest & WithDataSourceId(Aws::String &&value)
bool DataSourceNameHasBeenSet() const
const RedshiftDataSpec & GetDataSpec() const
bool RoleARNHasBeenSet() const
void SetDataSourceId(Aws::String &&value)
CreateDataSourceFromRedshiftRequest & WithDataSpec(RedshiftDataSpec &&value)
bool DataSpecHasBeenSet() const
void SetDataSourceId(const char *value)
const Aws::String & GetDataSourceName() const
CreateDataSourceFromRedshiftRequest & WithDataSourceId(const Aws::String &value)
void SetDataSpec(const RedshiftDataSpec &value)
AWS_MACHINELEARNING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDataSourceId(const Aws::String &value)
bool ComputeStatisticsHasBeenSet() const
AWS_MACHINELEARNING_API Aws::String SerializePayload() const override
CreateDataSourceFromRedshiftRequest & WithDataSpec(const RedshiftDataSpec &value)
void SetRoleARN(Aws::String &&value)
void SetDataSpec(RedshiftDataSpec &&value)
const Aws::String & GetRoleARN() const
void SetComputeStatistics(bool value)
void SetRoleARN(const Aws::String &value)
void SetDataSourceName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateDataSourceFromRedshiftRequest & WithRoleARN(const char *value)
void SetDataSourceName(const char *value)
const Aws::String & GetDataSourceId() const
CreateDataSourceFromRedshiftRequest & WithDataSourceName(Aws::String &&value)
CreateDataSourceFromRedshiftRequest & WithComputeStatistics(bool value)
CreateDataSourceFromRedshiftRequest & WithDataSourceName(const Aws::String &value)
bool GetComputeStatistics() const
void SetRoleARN(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String