AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDatabaseInformation(const RedshiftDatabase& value) { m_databaseInformationHasBeenSet = true; m_databaseInformation = value; }
51 inline void SetDatabaseInformation(RedshiftDatabase&& value) { m_databaseInformationHasBeenSet = true; m_databaseInformation = std::move(value); }
53 inline RedshiftDataSpec& WithDatabaseInformation(RedshiftDatabase&& value) { SetDatabaseInformation(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetSelectSqlQuery() const{ return m_selectSqlQuery; }
62 inline bool SelectSqlQueryHasBeenSet() const { return m_selectSqlQueryHasBeenSet; }
63 inline void SetSelectSqlQuery(const Aws::String& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = value; }
64 inline void SetSelectSqlQuery(Aws::String&& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = std::move(value); }
65 inline void SetSelectSqlQuery(const char* value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery.assign(value); }
66 inline RedshiftDataSpec& WithSelectSqlQuery(const Aws::String& value) { SetSelectSqlQuery(value); return *this;}
67 inline RedshiftDataSpec& WithSelectSqlQuery(Aws::String&& value) { SetSelectSqlQuery(std::move(value)); return *this;}
68 inline RedshiftDataSpec& WithSelectSqlQuery(const char* value) { SetSelectSqlQuery(value); return *this;}
70
72
76 inline const RedshiftDatabaseCredentials& GetDatabaseCredentials() const{ return m_databaseCredentials; }
77 inline bool DatabaseCredentialsHasBeenSet() const { return m_databaseCredentialsHasBeenSet; }
78 inline void SetDatabaseCredentials(const RedshiftDatabaseCredentials& value) { m_databaseCredentialsHasBeenSet = true; m_databaseCredentials = value; }
79 inline void SetDatabaseCredentials(RedshiftDatabaseCredentials&& value) { m_databaseCredentialsHasBeenSet = true; m_databaseCredentials = std::move(value); }
83
85
89 inline const Aws::String& GetS3StagingLocation() const{ return m_s3StagingLocation; }
90 inline bool S3StagingLocationHasBeenSet() const { return m_s3StagingLocationHasBeenSet; }
91 inline void SetS3StagingLocation(const Aws::String& value) { m_s3StagingLocationHasBeenSet = true; m_s3StagingLocation = value; }
92 inline void SetS3StagingLocation(Aws::String&& value) { m_s3StagingLocationHasBeenSet = true; m_s3StagingLocation = std::move(value); }
93 inline void SetS3StagingLocation(const char* value) { m_s3StagingLocationHasBeenSet = true; m_s3StagingLocation.assign(value); }
94 inline RedshiftDataSpec& WithS3StagingLocation(const Aws::String& value) { SetS3StagingLocation(value); return *this;}
95 inline RedshiftDataSpec& WithS3StagingLocation(Aws::String&& value) { SetS3StagingLocation(std::move(value)); return *this;}
96 inline RedshiftDataSpec& WithS3StagingLocation(const char* value) { SetS3StagingLocation(value); return *this;}
98
100
161 inline const Aws::String& GetDataRearrangement() const{ return m_dataRearrangement; }
162 inline bool DataRearrangementHasBeenSet() const { return m_dataRearrangementHasBeenSet; }
163 inline void SetDataRearrangement(const Aws::String& value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement = value; }
164 inline void SetDataRearrangement(Aws::String&& value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement = std::move(value); }
165 inline void SetDataRearrangement(const char* value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement.assign(value); }
166 inline RedshiftDataSpec& WithDataRearrangement(const Aws::String& value) { SetDataRearrangement(value); return *this;}
167 inline RedshiftDataSpec& WithDataRearrangement(Aws::String&& value) { SetDataRearrangement(std::move(value)); return *this;}
168 inline RedshiftDataSpec& WithDataRearrangement(const char* value) { SetDataRearrangement(value); return *this;}
170
172
192 inline const Aws::String& GetDataSchema() const{ return m_dataSchema; }
193 inline bool DataSchemaHasBeenSet() const { return m_dataSchemaHasBeenSet; }
194 inline void SetDataSchema(const Aws::String& value) { m_dataSchemaHasBeenSet = true; m_dataSchema = value; }
195 inline void SetDataSchema(Aws::String&& value) { m_dataSchemaHasBeenSet = true; m_dataSchema = std::move(value); }
196 inline void SetDataSchema(const char* value) { m_dataSchemaHasBeenSet = true; m_dataSchema.assign(value); }
197 inline RedshiftDataSpec& WithDataSchema(const Aws::String& value) { SetDataSchema(value); return *this;}
198 inline RedshiftDataSpec& WithDataSchema(Aws::String&& value) { SetDataSchema(std::move(value)); return *this;}
199 inline RedshiftDataSpec& WithDataSchema(const char* value) { SetDataSchema(value); return *this;}
201
203
207 inline const Aws::String& GetDataSchemaUri() const{ return m_dataSchemaUri; }
208 inline bool DataSchemaUriHasBeenSet() const { return m_dataSchemaUriHasBeenSet; }
209 inline void SetDataSchemaUri(const Aws::String& value) { m_dataSchemaUriHasBeenSet = true; m_dataSchemaUri = value; }
210 inline void SetDataSchemaUri(Aws::String&& value) { m_dataSchemaUriHasBeenSet = true; m_dataSchemaUri = std::move(value); }
211 inline void SetDataSchemaUri(const char* value) { m_dataSchemaUriHasBeenSet = true; m_dataSchemaUri.assign(value); }
212 inline RedshiftDataSpec& WithDataSchemaUri(const Aws::String& value) { SetDataSchemaUri(value); return *this;}
213 inline RedshiftDataSpec& WithDataSchemaUri(Aws::String&& value) { SetDataSchemaUri(std::move(value)); return *this;}
214 inline RedshiftDataSpec& WithDataSchemaUri(const char* value) { SetDataSchemaUri(value); return *this;}
216 private:
217
218 RedshiftDatabase m_databaseInformation;
219 bool m_databaseInformationHasBeenSet = false;
220
221 Aws::String m_selectSqlQuery;
222 bool m_selectSqlQueryHasBeenSet = false;
223
224 RedshiftDatabaseCredentials m_databaseCredentials;
225 bool m_databaseCredentialsHasBeenSet = false;
226
227 Aws::String m_s3StagingLocation;
228 bool m_s3StagingLocationHasBeenSet = false;
229
230 Aws::String m_dataRearrangement;
231 bool m_dataRearrangementHasBeenSet = false;
232
233 Aws::String m_dataSchema;
234 bool m_dataSchemaHasBeenSet = false;
235
236 Aws::String m_dataSchemaUri;
237 bool m_dataSchemaUriHasBeenSet = false;
238 };
239
240} // namespace Model
241} // namespace MachineLearning
242} // namespace Aws
AWS_MACHINELEARNING_API RedshiftDataSpec()
const RedshiftDatabase & GetDatabaseInformation() const
RedshiftDataSpec & WithDataRearrangement(Aws::String &&value)
RedshiftDataSpec & WithDatabaseCredentials(RedshiftDatabaseCredentials &&value)
RedshiftDataSpec & WithDatabaseInformation(const RedshiftDatabase &value)
AWS_MACHINELEARNING_API RedshiftDataSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataSpec & WithDatabaseCredentials(const RedshiftDatabaseCredentials &value)
RedshiftDataSpec & WithDataRearrangement(const char *value)
void SetDatabaseInformation(const RedshiftDatabase &value)
RedshiftDataSpec & WithS3StagingLocation(const Aws::String &value)
RedshiftDataSpec & WithDataSchemaUri(const Aws::String &value)
AWS_MACHINELEARNING_API RedshiftDataSpec(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataSpec & WithSelectSqlQuery(Aws::String &&value)
RedshiftDataSpec & WithDataRearrangement(const Aws::String &value)
void SetDataSchema(const Aws::String &value)
const RedshiftDatabaseCredentials & GetDatabaseCredentials() const
void SetDatabaseCredentials(const RedshiftDatabaseCredentials &value)
void SetDataSchemaUri(const Aws::String &value)
RedshiftDataSpec & WithS3StagingLocation(const char *value)
void SetS3StagingLocation(const Aws::String &value)
RedshiftDataSpec & WithDataSchemaUri(Aws::String &&value)
RedshiftDataSpec & WithDatabaseInformation(RedshiftDatabase &&value)
void SetDataRearrangement(const Aws::String &value)
RedshiftDataSpec & WithDataSchema(Aws::String &&value)
RedshiftDataSpec & WithDataSchema(const Aws::String &value)
void SetDatabaseInformation(RedshiftDatabase &&value)
void SetDatabaseCredentials(RedshiftDatabaseCredentials &&value)
RedshiftDataSpec & WithDataSchemaUri(const char *value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetS3StagingLocation() const
RedshiftDataSpec & WithDataSchema(const char *value)
RedshiftDataSpec & WithS3StagingLocation(Aws::String &&value)
RedshiftDataSpec & WithSelectSqlQuery(const Aws::String &value)
RedshiftDataSpec & WithSelectSqlQuery(const char *value)
void SetSelectSqlQuery(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue