AWS SDK for C++  1.9.103
AWS SDK for C++
RedshiftDataSpec.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace MachineLearning
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const RedshiftDatabase& GetDatabaseInformation() const{ return m_databaseInformation; }
48 
53  inline bool DatabaseInformationHasBeenSet() const { return m_databaseInformationHasBeenSet; }
54 
59  inline void SetDatabaseInformation(const RedshiftDatabase& value) { m_databaseInformationHasBeenSet = true; m_databaseInformation = value; }
60 
65  inline void SetDatabaseInformation(RedshiftDatabase&& value) { m_databaseInformationHasBeenSet = true; m_databaseInformation = std::move(value); }
66 
71  inline RedshiftDataSpec& WithDatabaseInformation(const RedshiftDatabase& value) { SetDatabaseInformation(value); return *this;}
72 
77  inline RedshiftDataSpec& WithDatabaseInformation(RedshiftDatabase&& value) { SetDatabaseInformation(std::move(value)); return *this;}
78 
79 
84  inline const Aws::String& GetSelectSqlQuery() const{ return m_selectSqlQuery; }
85 
90  inline bool SelectSqlQueryHasBeenSet() const { return m_selectSqlQueryHasBeenSet; }
91 
96  inline void SetSelectSqlQuery(const Aws::String& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = value; }
97 
102  inline void SetSelectSqlQuery(Aws::String&& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = std::move(value); }
103 
108  inline void SetSelectSqlQuery(const char* value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery.assign(value); }
109 
114  inline RedshiftDataSpec& WithSelectSqlQuery(const Aws::String& value) { SetSelectSqlQuery(value); return *this;}
115 
120  inline RedshiftDataSpec& WithSelectSqlQuery(Aws::String&& value) { SetSelectSqlQuery(std::move(value)); return *this;}
121 
126  inline RedshiftDataSpec& WithSelectSqlQuery(const char* value) { SetSelectSqlQuery(value); return *this;}
127 
128 
133  inline const RedshiftDatabaseCredentials& GetDatabaseCredentials() const{ return m_databaseCredentials; }
134 
139  inline bool DatabaseCredentialsHasBeenSet() const { return m_databaseCredentialsHasBeenSet; }
140 
145  inline void SetDatabaseCredentials(const RedshiftDatabaseCredentials& value) { m_databaseCredentialsHasBeenSet = true; m_databaseCredentials = value; }
146 
151  inline void SetDatabaseCredentials(RedshiftDatabaseCredentials&& value) { m_databaseCredentialsHasBeenSet = true; m_databaseCredentials = std::move(value); }
152 
157  inline RedshiftDataSpec& WithDatabaseCredentials(const RedshiftDatabaseCredentials& value) { SetDatabaseCredentials(value); return *this;}
158 
163  inline RedshiftDataSpec& WithDatabaseCredentials(RedshiftDatabaseCredentials&& value) { SetDatabaseCredentials(std::move(value)); return *this;}
164 
165 
170  inline const Aws::String& GetS3StagingLocation() const{ return m_s3StagingLocation; }
171 
176  inline bool S3StagingLocationHasBeenSet() const { return m_s3StagingLocationHasBeenSet; }
177 
182  inline void SetS3StagingLocation(const Aws::String& value) { m_s3StagingLocationHasBeenSet = true; m_s3StagingLocation = value; }
183 
188  inline void SetS3StagingLocation(Aws::String&& value) { m_s3StagingLocationHasBeenSet = true; m_s3StagingLocation = std::move(value); }
189 
194  inline void SetS3StagingLocation(const char* value) { m_s3StagingLocationHasBeenSet = true; m_s3StagingLocation.assign(value); }
195 
200  inline RedshiftDataSpec& WithS3StagingLocation(const Aws::String& value) { SetS3StagingLocation(value); return *this;}
201 
206  inline RedshiftDataSpec& WithS3StagingLocation(Aws::String&& value) { SetS3StagingLocation(std::move(value)); return *this;}
207 
212  inline RedshiftDataSpec& WithS3StagingLocation(const char* value) { SetS3StagingLocation(value); return *this;}
213 
214 
276  inline const Aws::String& GetDataRearrangement() const{ return m_dataRearrangement; }
277 
339  inline bool DataRearrangementHasBeenSet() const { return m_dataRearrangementHasBeenSet; }
340 
402  inline void SetDataRearrangement(const Aws::String& value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement = value; }
403 
465  inline void SetDataRearrangement(Aws::String&& value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement = std::move(value); }
466 
528  inline void SetDataRearrangement(const char* value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement.assign(value); }
529 
591  inline RedshiftDataSpec& WithDataRearrangement(const Aws::String& value) { SetDataRearrangement(value); return *this;}
592 
654  inline RedshiftDataSpec& WithDataRearrangement(Aws::String&& value) { SetDataRearrangement(std::move(value)); return *this;}
655 
717  inline RedshiftDataSpec& WithDataRearrangement(const char* value) { SetDataRearrangement(value); return *this;}
718 
719 
740  inline const Aws::String& GetDataSchema() const{ return m_dataSchema; }
741 
762  inline bool DataSchemaHasBeenSet() const { return m_dataSchemaHasBeenSet; }
763 
784  inline void SetDataSchema(const Aws::String& value) { m_dataSchemaHasBeenSet = true; m_dataSchema = value; }
785 
806  inline void SetDataSchema(Aws::String&& value) { m_dataSchemaHasBeenSet = true; m_dataSchema = std::move(value); }
807 
828  inline void SetDataSchema(const char* value) { m_dataSchemaHasBeenSet = true; m_dataSchema.assign(value); }
829 
850  inline RedshiftDataSpec& WithDataSchema(const Aws::String& value) { SetDataSchema(value); return *this;}
851 
872  inline RedshiftDataSpec& WithDataSchema(Aws::String&& value) { SetDataSchema(std::move(value)); return *this;}
873 
894  inline RedshiftDataSpec& WithDataSchema(const char* value) { SetDataSchema(value); return *this;}
895 
896 
901  inline const Aws::String& GetDataSchemaUri() const{ return m_dataSchemaUri; }
902 
907  inline bool DataSchemaUriHasBeenSet() const { return m_dataSchemaUriHasBeenSet; }
908 
913  inline void SetDataSchemaUri(const Aws::String& value) { m_dataSchemaUriHasBeenSet = true; m_dataSchemaUri = value; }
914 
919  inline void SetDataSchemaUri(Aws::String&& value) { m_dataSchemaUriHasBeenSet = true; m_dataSchemaUri = std::move(value); }
920 
925  inline void SetDataSchemaUri(const char* value) { m_dataSchemaUriHasBeenSet = true; m_dataSchemaUri.assign(value); }
926 
931  inline RedshiftDataSpec& WithDataSchemaUri(const Aws::String& value) { SetDataSchemaUri(value); return *this;}
932 
937  inline RedshiftDataSpec& WithDataSchemaUri(Aws::String&& value) { SetDataSchemaUri(std::move(value)); return *this;}
938 
943  inline RedshiftDataSpec& WithDataSchemaUri(const char* value) { SetDataSchemaUri(value); return *this;}
944 
945  private:
946 
947  RedshiftDatabase m_databaseInformation;
948  bool m_databaseInformationHasBeenSet;
949 
950  Aws::String m_selectSqlQuery;
951  bool m_selectSqlQueryHasBeenSet;
952 
953  RedshiftDatabaseCredentials m_databaseCredentials;
954  bool m_databaseCredentialsHasBeenSet;
955 
956  Aws::String m_s3StagingLocation;
957  bool m_s3StagingLocationHasBeenSet;
958 
959  Aws::String m_dataRearrangement;
960  bool m_dataRearrangementHasBeenSet;
961 
962  Aws::String m_dataSchema;
963  bool m_dataSchemaHasBeenSet;
964 
965  Aws::String m_dataSchemaUri;
966  bool m_dataSchemaUriHasBeenSet;
967  };
968 
969 } // namespace Model
970 } // namespace MachineLearning
971 } // namespace Aws
Aws::MachineLearning::Model::RedshiftDataSpec::S3StagingLocationHasBeenSet
bool S3StagingLocationHasBeenSet() const
Definition: RedshiftDataSpec.h:176
Aws::MachineLearning::Model::RedshiftDataSpec::SetSelectSqlQuery
void SetSelectSqlQuery(const Aws::String &value)
Definition: RedshiftDataSpec.h:96
Aws::MachineLearning::Model::RedshiftDataSpec::WithSelectSqlQuery
RedshiftDataSpec & WithSelectSqlQuery(const char *value)
Definition: RedshiftDataSpec.h:126
Aws::MachineLearning::Model::RedshiftDataSpec::SetDataSchemaUri
void SetDataSchemaUri(const char *value)
Definition: RedshiftDataSpec.h:925
Aws::MachineLearning::Model::RedshiftDataSpec::SetDataRearrangement
void SetDataRearrangement(Aws::String &&value)
Definition: RedshiftDataSpec.h:465
Aws::MachineLearning::Model::RedshiftDataSpec::WithDataSchema
RedshiftDataSpec & WithDataSchema(Aws::String &&value)
Definition: RedshiftDataSpec.h:872
Aws::MachineLearning::Model::RedshiftDataSpec::SetDataSchema
void SetDataSchema(Aws::String &&value)
Definition: RedshiftDataSpec.h:806
Aws::MachineLearning::Model::RedshiftDataSpec
Definition: RedshiftDataSpec.h:35
Aws::MachineLearning::Model::RedshiftDataSpec::WithDataSchemaUri
RedshiftDataSpec & WithDataSchemaUri(Aws::String &&value)
Definition: RedshiftDataSpec.h:937
Aws::MachineLearning::Model::RedshiftDataSpec::DataSchemaHasBeenSet
bool DataSchemaHasBeenSet() const
Definition: RedshiftDataSpec.h:762
RedshiftDatabase.h
Aws::MachineLearning::Model::RedshiftDataSpec::DatabaseInformationHasBeenSet
bool DatabaseInformationHasBeenSet() const
Definition: RedshiftDataSpec.h:53
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::RedshiftDataSpec::WithDatabaseInformation
RedshiftDataSpec & WithDatabaseInformation(RedshiftDatabase &&value)
Definition: RedshiftDataSpec.h:77
Aws::MachineLearning::Model::RedshiftDataSpec::WithDatabaseCredentials
RedshiftDataSpec & WithDatabaseCredentials(const RedshiftDatabaseCredentials &value)
Definition: RedshiftDataSpec.h:157
Aws::MachineLearning::Model::RedshiftDataSpec::GetDataSchemaUri
const Aws::String & GetDataSchemaUri() const
Definition: RedshiftDataSpec.h:901
Aws::MachineLearning::Model::RedshiftDataSpec::SetDatabaseInformation
void SetDatabaseInformation(const RedshiftDatabase &value)
Definition: RedshiftDataSpec.h:59
RedshiftDatabaseCredentials.h
Aws::MachineLearning::Model::RedshiftDataSpec::GetSelectSqlQuery
const Aws::String & GetSelectSqlQuery() const
Definition: RedshiftDataSpec.h:84
Aws::MachineLearning::Model::RedshiftDataSpec::SetDataSchema
void SetDataSchema(const Aws::String &value)
Definition: RedshiftDataSpec.h:784
Aws::MachineLearning::Model::RedshiftDataSpec::WithDataRearrangement
RedshiftDataSpec & WithDataRearrangement(const Aws::String &value)
Definition: RedshiftDataSpec.h:591
Aws::MachineLearning::Model::RedshiftDataSpec::WithDataRearrangement
RedshiftDataSpec & WithDataRearrangement(const char *value)
Definition: RedshiftDataSpec.h:717
Aws::MachineLearning::Model::RedshiftDataSpec::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MachineLearning::Model::RedshiftDataSpec::GetDatabaseInformation
const RedshiftDatabase & GetDatabaseInformation() const
Definition: RedshiftDataSpec.h:47
Aws::MachineLearning::Model::RedshiftDataSpec::WithDatabaseInformation
RedshiftDataSpec & WithDatabaseInformation(const RedshiftDatabase &value)
Definition: RedshiftDataSpec.h:71
Aws::MachineLearning::Model::RedshiftDataSpec::GetDataRearrangement
const Aws::String & GetDataRearrangement() const
Definition: RedshiftDataSpec.h:276
Aws::MachineLearning::Model::RedshiftDataSpec::SetDatabaseCredentials
void SetDatabaseCredentials(RedshiftDatabaseCredentials &&value)
Definition: RedshiftDataSpec.h:151
Aws::MachineLearning::Model::RedshiftDataSpec::SetSelectSqlQuery
void SetSelectSqlQuery(const char *value)
Definition: RedshiftDataSpec.h:108
Aws::MachineLearning::Model::RedshiftDataSpec::RedshiftDataSpec
RedshiftDataSpec(Aws::Utils::Json::JsonView jsonValue)
Aws::MachineLearning::Model::RedshiftDataSpec::RedshiftDataSpec
RedshiftDataSpec()
Aws::MachineLearning::Model::RedshiftDataSpec::SetDataRearrangement
void SetDataRearrangement(const char *value)
Definition: RedshiftDataSpec.h:528
Aws::MachineLearning::Model::RedshiftDataSpec::WithSelectSqlQuery
RedshiftDataSpec & WithSelectSqlQuery(Aws::String &&value)
Definition: RedshiftDataSpec.h:120
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::RedshiftDataSpec::SetDatabaseInformation
void SetDatabaseInformation(RedshiftDatabase &&value)
Definition: RedshiftDataSpec.h:65
Aws::MachineLearning::Model::RedshiftDataSpec::DataRearrangementHasBeenSet
bool DataRearrangementHasBeenSet() const
Definition: RedshiftDataSpec.h:339
Aws::MachineLearning::Model::RedshiftDataSpec::DatabaseCredentialsHasBeenSet
bool DatabaseCredentialsHasBeenSet() const
Definition: RedshiftDataSpec.h:139
Aws::MachineLearning::Model::RedshiftDataSpec::SetSelectSqlQuery
void SetSelectSqlQuery(Aws::String &&value)
Definition: RedshiftDataSpec.h:102
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MachineLearning::Model::RedshiftDataSpec::WithS3StagingLocation
RedshiftDataSpec & WithS3StagingLocation(Aws::String &&value)
Definition: RedshiftDataSpec.h:206
Aws::MachineLearning::Model::RedshiftDataSpec::WithDataSchemaUri
RedshiftDataSpec & WithDataSchemaUri(const char *value)
Definition: RedshiftDataSpec.h:943
Aws::MachineLearning::Model::RedshiftDatabaseCredentials
Definition: RedshiftDatabaseCredentials.h:33
Aws::MachineLearning::Model::RedshiftDataSpec::operator=
RedshiftDataSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MachineLearning::Model::RedshiftDataSpec::SetDataRearrangement
void SetDataRearrangement(const Aws::String &value)
Definition: RedshiftDataSpec.h:402
Aws::MachineLearning::Model::RedshiftDataSpec::WithDataSchema
RedshiftDataSpec & WithDataSchema(const Aws::String &value)
Definition: RedshiftDataSpec.h:850
Aws::MachineLearning::Model::RedshiftDataSpec::SetS3StagingLocation
void SetS3StagingLocation(const char *value)
Definition: RedshiftDataSpec.h:194
Aws::MachineLearning::Model::RedshiftDataSpec::SetS3StagingLocation
void SetS3StagingLocation(const Aws::String &value)
Definition: RedshiftDataSpec.h:182
Aws::MachineLearning::Model::RedshiftDataSpec::SetDatabaseCredentials
void SetDatabaseCredentials(const RedshiftDatabaseCredentials &value)
Definition: RedshiftDataSpec.h:145
Aws::MachineLearning::Model::RedshiftDataSpec::SetS3StagingLocation
void SetS3StagingLocation(Aws::String &&value)
Definition: RedshiftDataSpec.h:188
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::RedshiftDataSpec::GetDataSchema
const Aws::String & GetDataSchema() const
Definition: RedshiftDataSpec.h:740
Aws::MachineLearning::Model::RedshiftDataSpec::GetDatabaseCredentials
const RedshiftDatabaseCredentials & GetDatabaseCredentials() const
Definition: RedshiftDataSpec.h:133
Aws::MachineLearning::Model::RedshiftDataSpec::WithDataSchemaUri
RedshiftDataSpec & WithDataSchemaUri(const Aws::String &value)
Definition: RedshiftDataSpec.h:931
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::RedshiftDataSpec::WithDataRearrangement
RedshiftDataSpec & WithDataRearrangement(Aws::String &&value)
Definition: RedshiftDataSpec.h:654
Aws::MachineLearning::Model::RedshiftDataSpec::SelectSqlQueryHasBeenSet
bool SelectSqlQueryHasBeenSet() const
Definition: RedshiftDataSpec.h:90
Aws::MachineLearning::Model::RedshiftDataSpec::WithDataSchema
RedshiftDataSpec & WithDataSchema(const char *value)
Definition: RedshiftDataSpec.h:894
Aws::MachineLearning::Model::RedshiftDataSpec::SetDataSchemaUri
void SetDataSchemaUri(const Aws::String &value)
Definition: RedshiftDataSpec.h:913
Aws::MachineLearning::Model::RedshiftDataSpec::DataSchemaUriHasBeenSet
bool DataSchemaUriHasBeenSet() const
Definition: RedshiftDataSpec.h:907
Aws::MachineLearning::Model::RedshiftDataSpec::WithDatabaseCredentials
RedshiftDataSpec & WithDatabaseCredentials(RedshiftDatabaseCredentials &&value)
Definition: RedshiftDataSpec.h:163
Aws::MachineLearning::Model::RedshiftDatabase
Definition: RedshiftDatabase.h:33
Aws::MachineLearning::Model::RedshiftDataSpec::WithSelectSqlQuery
RedshiftDataSpec & WithSelectSqlQuery(const Aws::String &value)
Definition: RedshiftDataSpec.h:114
Aws::MachineLearning::Model::RedshiftDataSpec::SetDataSchema
void SetDataSchema(const char *value)
Definition: RedshiftDataSpec.h:828
Aws::MachineLearning::Model::RedshiftDataSpec::GetS3StagingLocation
const Aws::String & GetS3StagingLocation() const
Definition: RedshiftDataSpec.h:170
Aws::MachineLearning::Model::RedshiftDataSpec::SetDataSchemaUri
void SetDataSchemaUri(Aws::String &&value)
Definition: RedshiftDataSpec.h:919
Aws::MachineLearning::Model::RedshiftDataSpec::WithS3StagingLocation
RedshiftDataSpec & WithS3StagingLocation(const Aws::String &value)
Definition: RedshiftDataSpec.h:200
Aws::MachineLearning::Model::RedshiftDataSpec::WithS3StagingLocation
RedshiftDataSpec & WithS3StagingLocation(const char *value)
Definition: RedshiftDataSpec.h:212