7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/machinelearning/model/RedshiftDatabase.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/machinelearning/model/RedshiftDatabaseCredentials.h>
23namespace MachineLearning
50 template<
typename DatabaseInformationT = RedshiftDatabase>
51 void SetDatabaseInformation(DatabaseInformationT&& value) { m_databaseInformationHasBeenSet =
true; m_databaseInformation = std::forward<DatabaseInformationT>(value); }
52 template<
typename DatabaseInformationT = RedshiftDatabase>
63 template<
typename SelectSqlQueryT = Aws::String>
64 void SetSelectSqlQuery(SelectSqlQueryT&& value) { m_selectSqlQueryHasBeenSet =
true; m_selectSqlQuery = std::forward<SelectSqlQueryT>(value); }
65 template<
typename SelectSqlQueryT = Aws::String>
76 template<
typename DatabaseCredentialsT = RedshiftDatabaseCredentials>
77 void SetDatabaseCredentials(DatabaseCredentialsT&& value) { m_databaseCredentialsHasBeenSet =
true; m_databaseCredentials = std::forward<DatabaseCredentialsT>(value); }
78 template<
typename DatabaseCredentialsT = RedshiftDatabaseCredentials>
89 template<
typename S3StagingLocationT = Aws::String>
90 void SetS3StagingLocation(S3StagingLocationT&& value) { m_s3StagingLocationHasBeenSet =
true; m_s3StagingLocation = std::forward<S3StagingLocationT>(value); }
91 template<
typename S3StagingLocationT = Aws::String>
159 template<
typename DataRearrangementT = Aws::String>
160 void SetDataRearrangement(DataRearrangementT&& value) { m_dataRearrangementHasBeenSet =
true; m_dataRearrangement = std::forward<DataRearrangementT>(value); }
161 template<
typename DataRearrangementT = Aws::String>
188 template<
typename DataSchemaT = Aws::String>
189 void SetDataSchema(DataSchemaT&& value) { m_dataSchemaHasBeenSet =
true; m_dataSchema = std::forward<DataSchemaT>(value); }
190 template<
typename DataSchemaT = Aws::String>
201 template<
typename DataSchemaUriT = Aws::String>
202 void SetDataSchemaUri(DataSchemaUriT&& value) { m_dataSchemaUriHasBeenSet =
true; m_dataSchemaUri = std::forward<DataSchemaUriT>(value); }
203 template<
typename DataSchemaUriT = Aws::String>
209 bool m_databaseInformationHasBeenSet =
false;
212 bool m_selectSqlQueryHasBeenSet =
false;
215 bool m_databaseCredentialsHasBeenSet =
false;
218 bool m_s3StagingLocationHasBeenSet =
false;
221 bool m_dataRearrangementHasBeenSet =
false;
224 bool m_dataSchemaHasBeenSet =
false;
227 bool m_dataSchemaUriHasBeenSet =
false;
void SetSelectSqlQuery(SelectSqlQueryT &&value)
AWS_MACHINELEARNING_API RedshiftDataSpec()=default
RedshiftDataSpec & WithDataSchemaUri(DataSchemaUriT &&value)
bool DataSchemaHasBeenSet() const
const RedshiftDatabase & GetDatabaseInformation() const
void SetDatabaseCredentials(DatabaseCredentialsT &&value)
bool S3StagingLocationHasBeenSet() const
RedshiftDataSpec & WithSelectSqlQuery(SelectSqlQueryT &&value)
const Aws::String & GetDataSchemaUri() const
RedshiftDataSpec & WithDataSchema(DataSchemaT &&value)
bool DatabaseInformationHasBeenSet() const
AWS_MACHINELEARNING_API RedshiftDataSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DataRearrangementHasBeenSet() const
const Aws::String & GetDataRearrangement() const
RedshiftDataSpec & WithDatabaseCredentials(DatabaseCredentialsT &&value)
bool DataSchemaUriHasBeenSet() const
AWS_MACHINELEARNING_API RedshiftDataSpec(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataSpec & WithDatabaseInformation(DatabaseInformationT &&value)
RedshiftDataSpec & WithS3StagingLocation(S3StagingLocationT &&value)
bool DatabaseCredentialsHasBeenSet() const
void SetS3StagingLocation(S3StagingLocationT &&value)
const RedshiftDatabaseCredentials & GetDatabaseCredentials() const
void SetDataSchema(DataSchemaT &&value)
const Aws::String & GetDataSchema() const
RedshiftDataSpec & WithDataRearrangement(DataRearrangementT &&value)
const Aws::String & GetSelectSqlQuery() const
void SetDataRearrangement(DataRearrangementT &&value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetS3StagingLocation() const
void SetDatabaseInformation(DatabaseInformationT &&value)
void SetDataSchemaUri(DataSchemaUriT &&value)
bool SelectSqlQueryHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue