AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RDSDataSpec.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/machinelearning/model/RDSDatabase.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/machinelearning/model/RDSDatabaseCredentials.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MachineLearning
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MACHINELEARNING_API RDSDataSpec();
39 AWS_MACHINELEARNING_API RDSDataSpec(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MACHINELEARNING_API RDSDataSpec& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const RDSDatabase& GetDatabaseInformation() const{ return m_databaseInformation; }
50 inline bool DatabaseInformationHasBeenSet() const { return m_databaseInformationHasBeenSet; }
51 inline void SetDatabaseInformation(const RDSDatabase& value) { m_databaseInformationHasBeenSet = true; m_databaseInformation = value; }
52 inline void SetDatabaseInformation(RDSDatabase&& value) { m_databaseInformationHasBeenSet = true; m_databaseInformation = std::move(value); }
53 inline RDSDataSpec& WithDatabaseInformation(const RDSDatabase& value) { SetDatabaseInformation(value); return *this;}
54 inline RDSDataSpec& WithDatabaseInformation(RDSDatabase&& value) { SetDatabaseInformation(std::move(value)); return *this;}
56
58
62 inline const Aws::String& GetSelectSqlQuery() const{ return m_selectSqlQuery; }
63 inline bool SelectSqlQueryHasBeenSet() const { return m_selectSqlQueryHasBeenSet; }
64 inline void SetSelectSqlQuery(const Aws::String& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = value; }
65 inline void SetSelectSqlQuery(Aws::String&& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = std::move(value); }
66 inline void SetSelectSqlQuery(const char* value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery.assign(value); }
67 inline RDSDataSpec& WithSelectSqlQuery(const Aws::String& value) { SetSelectSqlQuery(value); return *this;}
68 inline RDSDataSpec& WithSelectSqlQuery(Aws::String&& value) { SetSelectSqlQuery(std::move(value)); return *this;}
69 inline RDSDataSpec& WithSelectSqlQuery(const char* value) { SetSelectSqlQuery(value); return *this;}
71
73
77 inline const RDSDatabaseCredentials& GetDatabaseCredentials() const{ return m_databaseCredentials; }
78 inline bool DatabaseCredentialsHasBeenSet() const { return m_databaseCredentialsHasBeenSet; }
79 inline void SetDatabaseCredentials(const RDSDatabaseCredentials& value) { m_databaseCredentialsHasBeenSet = true; m_databaseCredentials = value; }
80 inline void SetDatabaseCredentials(RDSDatabaseCredentials&& value) { m_databaseCredentialsHasBeenSet = true; m_databaseCredentials = std::move(value); }
82 inline RDSDataSpec& WithDatabaseCredentials(RDSDatabaseCredentials&& value) { SetDatabaseCredentials(std::move(value)); return *this;}
84
86
90 inline const Aws::String& GetS3StagingLocation() const{ return m_s3StagingLocation; }
91 inline bool S3StagingLocationHasBeenSet() const { return m_s3StagingLocationHasBeenSet; }
92 inline void SetS3StagingLocation(const Aws::String& value) { m_s3StagingLocationHasBeenSet = true; m_s3StagingLocation = value; }
93 inline void SetS3StagingLocation(Aws::String&& value) { m_s3StagingLocationHasBeenSet = true; m_s3StagingLocation = std::move(value); }
94 inline void SetS3StagingLocation(const char* value) { m_s3StagingLocationHasBeenSet = true; m_s3StagingLocation.assign(value); }
95 inline RDSDataSpec& WithS3StagingLocation(const Aws::String& value) { SetS3StagingLocation(value); return *this;}
96 inline RDSDataSpec& WithS3StagingLocation(Aws::String&& value) { SetS3StagingLocation(std::move(value)); return *this;}
97 inline RDSDataSpec& WithS3StagingLocation(const char* value) { SetS3StagingLocation(value); return *this;}
99
101
162 inline const Aws::String& GetDataRearrangement() const{ return m_dataRearrangement; }
163 inline bool DataRearrangementHasBeenSet() const { return m_dataRearrangementHasBeenSet; }
164 inline void SetDataRearrangement(const Aws::String& value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement = value; }
165 inline void SetDataRearrangement(Aws::String&& value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement = std::move(value); }
166 inline void SetDataRearrangement(const char* value) { m_dataRearrangementHasBeenSet = true; m_dataRearrangement.assign(value); }
167 inline RDSDataSpec& WithDataRearrangement(const Aws::String& value) { SetDataRearrangement(value); return *this;}
168 inline RDSDataSpec& WithDataRearrangement(Aws::String&& value) { SetDataRearrangement(std::move(value)); return *this;}
169 inline RDSDataSpec& WithDataRearrangement(const char* value) { SetDataRearrangement(value); return *this;}
171
173
193 inline const Aws::String& GetDataSchema() const{ return m_dataSchema; }
194 inline bool DataSchemaHasBeenSet() const { return m_dataSchemaHasBeenSet; }
195 inline void SetDataSchema(const Aws::String& value) { m_dataSchemaHasBeenSet = true; m_dataSchema = value; }
196 inline void SetDataSchema(Aws::String&& value) { m_dataSchemaHasBeenSet = true; m_dataSchema = std::move(value); }
197 inline void SetDataSchema(const char* value) { m_dataSchemaHasBeenSet = true; m_dataSchema.assign(value); }
198 inline RDSDataSpec& WithDataSchema(const Aws::String& value) { SetDataSchema(value); return *this;}
199 inline RDSDataSpec& WithDataSchema(Aws::String&& value) { SetDataSchema(std::move(value)); return *this;}
200 inline RDSDataSpec& WithDataSchema(const char* value) { SetDataSchema(value); return *this;}
202
204
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 RDSDataSpec& WithDataSchemaUri(const Aws::String& value) { SetDataSchemaUri(value); return *this;}
213 inline RDSDataSpec& WithDataSchemaUri(Aws::String&& value) { SetDataSchemaUri(std::move(value)); return *this;}
214 inline RDSDataSpec& WithDataSchemaUri(const char* value) { SetDataSchemaUri(value); return *this;}
216
218
225 inline const Aws::String& GetResourceRole() const{ return m_resourceRole; }
226 inline bool ResourceRoleHasBeenSet() const { return m_resourceRoleHasBeenSet; }
227 inline void SetResourceRole(const Aws::String& value) { m_resourceRoleHasBeenSet = true; m_resourceRole = value; }
228 inline void SetResourceRole(Aws::String&& value) { m_resourceRoleHasBeenSet = true; m_resourceRole = std::move(value); }
229 inline void SetResourceRole(const char* value) { m_resourceRoleHasBeenSet = true; m_resourceRole.assign(value); }
230 inline RDSDataSpec& WithResourceRole(const Aws::String& value) { SetResourceRole(value); return *this;}
231 inline RDSDataSpec& WithResourceRole(Aws::String&& value) { SetResourceRole(std::move(value)); return *this;}
232 inline RDSDataSpec& WithResourceRole(const char* value) { SetResourceRole(value); return *this;}
234
236
243 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
244 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
245 inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
246 inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
247 inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
248 inline RDSDataSpec& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
249 inline RDSDataSpec& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
250 inline RDSDataSpec& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
252
254
259 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
260 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
261 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
262 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
263 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
264 inline RDSDataSpec& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
265 inline RDSDataSpec& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
266 inline RDSDataSpec& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
268
270
276 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
277 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
278 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
279 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
281 inline RDSDataSpec& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
282 inline RDSDataSpec& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
283 inline RDSDataSpec& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
284 inline RDSDataSpec& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
286 private:
287
288 RDSDatabase m_databaseInformation;
289 bool m_databaseInformationHasBeenSet = false;
290
291 Aws::String m_selectSqlQuery;
292 bool m_selectSqlQueryHasBeenSet = false;
293
294 RDSDatabaseCredentials m_databaseCredentials;
295 bool m_databaseCredentialsHasBeenSet = false;
296
297 Aws::String m_s3StagingLocation;
298 bool m_s3StagingLocationHasBeenSet = false;
299
300 Aws::String m_dataRearrangement;
301 bool m_dataRearrangementHasBeenSet = false;
302
303 Aws::String m_dataSchema;
304 bool m_dataSchemaHasBeenSet = false;
305
306 Aws::String m_dataSchemaUri;
307 bool m_dataSchemaUriHasBeenSet = false;
308
309 Aws::String m_resourceRole;
310 bool m_resourceRoleHasBeenSet = false;
311
312 Aws::String m_serviceRole;
313 bool m_serviceRoleHasBeenSet = false;
314
315 Aws::String m_subnetId;
316 bool m_subnetIdHasBeenSet = false;
317
318 Aws::Vector<Aws::String> m_securityGroupIds;
319 bool m_securityGroupIdsHasBeenSet = false;
320 };
321
322} // namespace Model
323} // namespace MachineLearning
324} // namespace Aws
RDSDataSpec & WithResourceRole(const Aws::String &value)
RDSDataSpec & WithServiceRole(Aws::String &&value)
AWS_MACHINELEARNING_API RDSDataSpec()
void SetDataRearrangement(const char *value)
void SetDataRearrangement(Aws::String &&value)
RDSDataSpec & WithResourceRole(const char *value)
RDSDataSpec & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSelectSqlQuery(Aws::String &&value)
Definition RDSDataSpec.h:65
RDSDataSpec & WithDataRearrangement(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
RDSDataSpec & WithSubnetId(const char *value)
RDSDataSpec & WithDataSchema(const Aws::String &value)
RDSDataSpec & AddSecurityGroupIds(const char *value)
void SetDatabaseCredentials(const RDSDatabaseCredentials &value)
Definition RDSDataSpec.h:79
void SetS3StagingLocation(const Aws::String &value)
Definition RDSDataSpec.h:92
const Aws::String & GetServiceRole() const
RDSDataSpec & WithDataSchemaUri(const Aws::String &value)
RDSDataSpec & WithDataSchemaUri(Aws::String &&value)
void SetDatabaseInformation(RDSDatabase &&value)
Definition RDSDataSpec.h:52
void SetDataSchemaUri(Aws::String &&value)
RDSDataSpec & WithResourceRole(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RDSDataSpec & WithS3StagingLocation(const Aws::String &value)
Definition RDSDataSpec.h:95
void SetS3StagingLocation(const char *value)
Definition RDSDataSpec.h:94
RDSDataSpec & WithSubnetId(const Aws::String &value)
const Aws::String & GetDataRearrangement() const
RDSDataSpec & WithDataSchemaUri(const char *value)
const RDSDatabaseCredentials & GetDatabaseCredentials() const
Definition RDSDataSpec.h:77
RDSDataSpec & WithDataRearrangement(Aws::String &&value)
void SetSelectSqlQuery(const Aws::String &value)
Definition RDSDataSpec.h:64
void SetS3StagingLocation(Aws::String &&value)
Definition RDSDataSpec.h:93
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetResourceRole() const
RDSDataSpec & WithDatabaseCredentials(const RDSDatabaseCredentials &value)
Definition RDSDataSpec.h:81
RDSDataSpec & WithDatabaseInformation(const RDSDatabase &value)
Definition RDSDataSpec.h:53
const Aws::String & GetS3StagingLocation() const
Definition RDSDataSpec.h:90
void SetDataRearrangement(const Aws::String &value)
const Aws::String & GetDataSchema() const
void SetSelectSqlQuery(const char *value)
Definition RDSDataSpec.h:66
RDSDataSpec & WithSelectSqlQuery(const Aws::String &value)
Definition RDSDataSpec.h:67
RDSDataSpec & WithSelectSqlQuery(const char *value)
Definition RDSDataSpec.h:69
void SetDataSchemaUri(const Aws::String &value)
RDSDataSpec & AddSecurityGroupIds(Aws::String &&value)
void SetSubnetId(Aws::String &&value)
RDSDataSpec & WithSubnetId(Aws::String &&value)
void SetSubnetId(const Aws::String &value)
void SetDatabaseInformation(const RDSDatabase &value)
Definition RDSDataSpec.h:51
AWS_MACHINELEARNING_API RDSDataSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
RDSDataSpec & WithDatabaseInformation(RDSDatabase &&value)
Definition RDSDataSpec.h:54
RDSDataSpec & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RDSDataSpec & AddSecurityGroupIds(const Aws::String &value)
void SetDataSchema(const char *value)
RDSDataSpec & WithDataSchema(const char *value)
RDSDataSpec & WithSelectSqlQuery(Aws::String &&value)
Definition RDSDataSpec.h:68
void SetServiceRole(const Aws::String &value)
const RDSDatabase & GetDatabaseInformation() const
Definition RDSDataSpec.h:49
void SetServiceRole(Aws::String &&value)
void SetDataSchemaUri(const char *value)
void SetDataSchema(Aws::String &&value)
void SetServiceRole(const char *value)
const Aws::String & GetSelectSqlQuery() const
Definition RDSDataSpec.h:62
void SetResourceRole(Aws::String &&value)
RDSDataSpec & WithServiceRole(const Aws::String &value)
RDSDataSpec & WithDatabaseCredentials(RDSDatabaseCredentials &&value)
Definition RDSDataSpec.h:82
const Aws::String & GetDataSchemaUri() const
RDSDataSpec & WithServiceRole(const char *value)
void SetDataSchema(const Aws::String &value)
void SetResourceRole(const char *value)
void SetResourceRole(const Aws::String &value)
RDSDataSpec & WithDataSchema(Aws::String &&value)
RDSDataSpec & WithDataRearrangement(const char *value)
void SetDatabaseCredentials(RDSDatabaseCredentials &&value)
Definition RDSDataSpec.h:80
AWS_MACHINELEARNING_API RDSDataSpec(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSubnetId() const
RDSDataSpec & WithS3StagingLocation(const char *value)
Definition RDSDataSpec.h:97
RDSDataSpec & WithS3StagingLocation(Aws::String &&value)
Definition RDSDataSpec.h:96
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue