7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/machinelearning/MachineLearning_EXPORTS.h>
9#include <aws/machinelearning/model/RedshiftDatabase.h>
10#include <aws/machinelearning/model/RedshiftDatabaseCredentials.h>
21namespace MachineLearning {
44 template <
typename DatabaseInformationT = RedshiftDatabase>
46 m_databaseInformationHasBeenSet =
true;
47 m_databaseInformation = std::forward<DatabaseInformationT>(value);
49 template <
typename DatabaseInformationT = RedshiftDatabase>
63 template <
typename SelectSqlQueryT = Aws::String>
65 m_selectSqlQueryHasBeenSet =
true;
66 m_selectSqlQuery = std::forward<SelectSqlQueryT>(value);
68 template <
typename SelectSqlQueryT = Aws::String>
82 template <
typename DatabaseCredentialsT = RedshiftDatabaseCredentials>
84 m_databaseCredentialsHasBeenSet =
true;
85 m_databaseCredentials = std::forward<DatabaseCredentialsT>(value);
87 template <
typename DatabaseCredentialsT = RedshiftDatabaseCredentials>
101 template <
typename S3StagingLocationT = Aws::String>
103 m_s3StagingLocationHasBeenSet =
true;
104 m_s3StagingLocation = std::forward<S3StagingLocationT>(value);
106 template <
typename S3StagingLocationT = Aws::String>
177 template <
typename DataRearrangementT = Aws::String>
179 m_dataRearrangementHasBeenSet =
true;
180 m_dataRearrangement = std::forward<DataRearrangementT>(value);
182 template <
typename DataRearrangementT = Aws::String>
212 template <
typename DataSchemaT = Aws::String>
214 m_dataSchemaHasBeenSet =
true;
215 m_dataSchema = std::forward<DataSchemaT>(value);
217 template <
typename DataSchemaT = Aws::String>
231 template <
typename DataSchemaUriT = Aws::String>
233 m_dataSchemaUriHasBeenSet =
true;
234 m_dataSchemaUri = std::forward<DataSchemaUriT>(value);
236 template <
typename DataSchemaUriT = Aws::String>
256 bool m_databaseInformationHasBeenSet =
false;
257 bool m_selectSqlQueryHasBeenSet =
false;
258 bool m_databaseCredentialsHasBeenSet =
false;
259 bool m_s3StagingLocationHasBeenSet =
false;
260 bool m_dataRearrangementHasBeenSet =
false;
261 bool m_dataSchemaHasBeenSet =
false;
262 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