AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RedshiftDataSpec.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MachineLearning
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MACHINELEARNING_API RedshiftDataSpec() = default;
38 AWS_MACHINELEARNING_API RedshiftDataSpec(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MACHINELEARNING_API RedshiftDataSpec& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const RedshiftDatabase& GetDatabaseInformation() const { return m_databaseInformation; }
49 inline bool DatabaseInformationHasBeenSet() const { return m_databaseInformationHasBeenSet; }
50 template<typename DatabaseInformationT = RedshiftDatabase>
51 void SetDatabaseInformation(DatabaseInformationT&& value) { m_databaseInformationHasBeenSet = true; m_databaseInformation = std::forward<DatabaseInformationT>(value); }
52 template<typename DatabaseInformationT = RedshiftDatabase>
53 RedshiftDataSpec& WithDatabaseInformation(DatabaseInformationT&& value) { SetDatabaseInformation(std::forward<DatabaseInformationT>(value)); return *this;}
55
57
61 inline const Aws::String& GetSelectSqlQuery() const { return m_selectSqlQuery; }
62 inline bool SelectSqlQueryHasBeenSet() const { return m_selectSqlQueryHasBeenSet; }
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>
66 RedshiftDataSpec& WithSelectSqlQuery(SelectSqlQueryT&& value) { SetSelectSqlQuery(std::forward<SelectSqlQueryT>(value)); return *this;}
68
70
74 inline const RedshiftDatabaseCredentials& GetDatabaseCredentials() const { return m_databaseCredentials; }
75 inline bool DatabaseCredentialsHasBeenSet() const { return m_databaseCredentialsHasBeenSet; }
76 template<typename DatabaseCredentialsT = RedshiftDatabaseCredentials>
77 void SetDatabaseCredentials(DatabaseCredentialsT&& value) { m_databaseCredentialsHasBeenSet = true; m_databaseCredentials = std::forward<DatabaseCredentialsT>(value); }
78 template<typename DatabaseCredentialsT = RedshiftDatabaseCredentials>
79 RedshiftDataSpec& WithDatabaseCredentials(DatabaseCredentialsT&& value) { SetDatabaseCredentials(std::forward<DatabaseCredentialsT>(value)); return *this;}
81
83
87 inline const Aws::String& GetS3StagingLocation() const { return m_s3StagingLocation; }
88 inline bool S3StagingLocationHasBeenSet() const { return m_s3StagingLocationHasBeenSet; }
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>
92 RedshiftDataSpec& WithS3StagingLocation(S3StagingLocationT&& value) { SetS3StagingLocation(std::forward<S3StagingLocationT>(value)); return *this;}
94
96
157 inline const Aws::String& GetDataRearrangement() const { return m_dataRearrangement; }
158 inline bool DataRearrangementHasBeenSet() const { return m_dataRearrangementHasBeenSet; }
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>
162 RedshiftDataSpec& WithDataRearrangement(DataRearrangementT&& value) { SetDataRearrangement(std::forward<DataRearrangementT>(value)); return *this;}
164
166
186 inline const Aws::String& GetDataSchema() const { return m_dataSchema; }
187 inline bool DataSchemaHasBeenSet() const { return m_dataSchemaHasBeenSet; }
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>
191 RedshiftDataSpec& WithDataSchema(DataSchemaT&& value) { SetDataSchema(std::forward<DataSchemaT>(value)); return *this;}
193
195
199 inline const Aws::String& GetDataSchemaUri() const { return m_dataSchemaUri; }
200 inline bool DataSchemaUriHasBeenSet() const { return m_dataSchemaUriHasBeenSet; }
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>
204 RedshiftDataSpec& WithDataSchemaUri(DataSchemaUriT&& value) { SetDataSchemaUri(std::forward<DataSchemaUriT>(value)); return *this;}
206 private:
207
208 RedshiftDatabase m_databaseInformation;
209 bool m_databaseInformationHasBeenSet = false;
210
211 Aws::String m_selectSqlQuery;
212 bool m_selectSqlQueryHasBeenSet = false;
213
214 RedshiftDatabaseCredentials m_databaseCredentials;
215 bool m_databaseCredentialsHasBeenSet = false;
216
217 Aws::String m_s3StagingLocation;
218 bool m_s3StagingLocationHasBeenSet = false;
219
220 Aws::String m_dataRearrangement;
221 bool m_dataRearrangementHasBeenSet = false;
222
223 Aws::String m_dataSchema;
224 bool m_dataSchemaHasBeenSet = false;
225
226 Aws::String m_dataSchemaUri;
227 bool m_dataSchemaUriHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace MachineLearning
232} // namespace Aws
void SetSelectSqlQuery(SelectSqlQueryT &&value)
AWS_MACHINELEARNING_API RedshiftDataSpec()=default
RedshiftDataSpec & WithDataSchemaUri(DataSchemaUriT &&value)
const RedshiftDatabase & GetDatabaseInformation() const
void SetDatabaseCredentials(DatabaseCredentialsT &&value)
RedshiftDataSpec & WithSelectSqlQuery(SelectSqlQueryT &&value)
RedshiftDataSpec & WithDataSchema(DataSchemaT &&value)
AWS_MACHINELEARNING_API RedshiftDataSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataSpec & WithDatabaseCredentials(DatabaseCredentialsT &&value)
AWS_MACHINELEARNING_API RedshiftDataSpec(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataSpec & WithDatabaseInformation(DatabaseInformationT &&value)
RedshiftDataSpec & WithS3StagingLocation(S3StagingLocationT &&value)
void SetS3StagingLocation(S3StagingLocationT &&value)
const RedshiftDatabaseCredentials & GetDatabaseCredentials() const
RedshiftDataSpec & WithDataRearrangement(DataRearrangementT &&value)
void SetDataRearrangement(DataRearrangementT &&value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetS3StagingLocation() const
void SetDatabaseInformation(DatabaseInformationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue