AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEndpointRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dms/model/ReplicationEndpointTypeValue.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/dms/model/DmsSslModeValue.h>
13#include <aws/dms/model/DynamoDbSettings.h>
14#include <aws/dms/model/S3Settings.h>
15#include <aws/dms/model/DmsTransferSettings.h>
16#include <aws/dms/model/MongoDbSettings.h>
17#include <aws/dms/model/KinesisSettings.h>
18#include <aws/dms/model/KafkaSettings.h>
19#include <aws/dms/model/ElasticsearchSettings.h>
20#include <aws/dms/model/NeptuneSettings.h>
21#include <aws/dms/model/RedshiftSettings.h>
22#include <aws/dms/model/PostgreSQLSettings.h>
23#include <aws/dms/model/MySQLSettings.h>
24#include <aws/dms/model/OracleSettings.h>
25#include <aws/dms/model/SybaseSettings.h>
26#include <aws/dms/model/MicrosoftSQLServerSettings.h>
27#include <aws/dms/model/IBMDb2Settings.h>
28#include <aws/dms/model/DocDbSettings.h>
29#include <aws/dms/model/RedisSettings.h>
30#include <aws/dms/model/GcpMySQLSettings.h>
31#include <aws/dms/model/TimestreamSettings.h>
32#include <aws/dms/model/Tag.h>
33#include <utility>
34
35namespace Aws
36{
37namespace DatabaseMigrationService
38{
39namespace Model
40{
41
48 {
49 public:
50 AWS_DATABASEMIGRATIONSERVICE_API CreateEndpointRequest();
51
52 // Service request name is the Operation name which will send this request out,
53 // each operation should has unique request name, so that we can get operation's name from this request.
54 // Note: this is not true for response, multiple operations may have the same response name,
55 // so we can not get operation's name from response.
56 inline virtual const char* GetServiceRequestName() const override { return "CreateEndpoint"; }
57
58 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
59
60 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
61
62
64
69 inline const Aws::String& GetEndpointIdentifier() const{ return m_endpointIdentifier; }
70 inline bool EndpointIdentifierHasBeenSet() const { return m_endpointIdentifierHasBeenSet; }
71 inline void SetEndpointIdentifier(const Aws::String& value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier = value; }
72 inline void SetEndpointIdentifier(Aws::String&& value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier = std::move(value); }
73 inline void SetEndpointIdentifier(const char* value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier.assign(value); }
75 inline CreateEndpointRequest& WithEndpointIdentifier(Aws::String&& value) { SetEndpointIdentifier(std::move(value)); return *this;}
76 inline CreateEndpointRequest& WithEndpointIdentifier(const char* value) { SetEndpointIdentifier(value); return *this;}
78
80
84 inline const ReplicationEndpointTypeValue& GetEndpointType() const{ return m_endpointType; }
85 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
86 inline void SetEndpointType(const ReplicationEndpointTypeValue& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
87 inline void SetEndpointType(ReplicationEndpointTypeValue&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
89 inline CreateEndpointRequest& WithEndpointType(ReplicationEndpointTypeValue&& value) { SetEndpointType(std::move(value)); return *this;}
91
93
108 inline const Aws::String& GetEngineName() const{ return m_engineName; }
109 inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
110 inline void SetEngineName(const Aws::String& value) { m_engineNameHasBeenSet = true; m_engineName = value; }
111 inline void SetEngineName(Aws::String&& value) { m_engineNameHasBeenSet = true; m_engineName = std::move(value); }
112 inline void SetEngineName(const char* value) { m_engineNameHasBeenSet = true; m_engineName.assign(value); }
113 inline CreateEndpointRequest& WithEngineName(const Aws::String& value) { SetEngineName(value); return *this;}
114 inline CreateEndpointRequest& WithEngineName(Aws::String&& value) { SetEngineName(std::move(value)); return *this;}
115 inline CreateEndpointRequest& WithEngineName(const char* value) { SetEngineName(value); return *this;}
117
119
122 inline const Aws::String& GetUsername() const{ return m_username; }
123 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
124 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
125 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
126 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
127 inline CreateEndpointRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
128 inline CreateEndpointRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
129 inline CreateEndpointRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
131
133
136 inline const Aws::String& GetPassword() const{ return m_password; }
137 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
138 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
139 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
140 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
141 inline CreateEndpointRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
142 inline CreateEndpointRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
143 inline CreateEndpointRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
145
147
150 inline const Aws::String& GetServerName() const{ return m_serverName; }
151 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
152 inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; }
153 inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); }
154 inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); }
155 inline CreateEndpointRequest& WithServerName(const Aws::String& value) { SetServerName(value); return *this;}
156 inline CreateEndpointRequest& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
157 inline CreateEndpointRequest& WithServerName(const char* value) { SetServerName(value); return *this;}
159
161
164 inline int GetPort() const{ return m_port; }
165 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
166 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
167 inline CreateEndpointRequest& WithPort(int value) { SetPort(value); return *this;}
169
171
176 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
177 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
178 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
179 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
180 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
181 inline CreateEndpointRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
182 inline CreateEndpointRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
183 inline CreateEndpointRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
185
187
196 inline const Aws::String& GetExtraConnectionAttributes() const{ return m_extraConnectionAttributes; }
197 inline bool ExtraConnectionAttributesHasBeenSet() const { return m_extraConnectionAttributesHasBeenSet; }
198 inline void SetExtraConnectionAttributes(const Aws::String& value) { m_extraConnectionAttributesHasBeenSet = true; m_extraConnectionAttributes = value; }
199 inline void SetExtraConnectionAttributes(Aws::String&& value) { m_extraConnectionAttributesHasBeenSet = true; m_extraConnectionAttributes = std::move(value); }
200 inline void SetExtraConnectionAttributes(const char* value) { m_extraConnectionAttributesHasBeenSet = true; m_extraConnectionAttributes.assign(value); }
203 inline CreateEndpointRequest& WithExtraConnectionAttributes(const char* value) { SetExtraConnectionAttributes(value); return *this;}
205
207
215 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
216 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
217 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
218 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
219 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
220 inline CreateEndpointRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
221 inline CreateEndpointRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
222 inline CreateEndpointRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
224
226
229 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
230 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
231 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
232 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
233 inline CreateEndpointRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
234 inline CreateEndpointRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
235 inline CreateEndpointRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
236 inline CreateEndpointRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
238
240
243 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
244 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
245 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
246 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
247 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
248 inline CreateEndpointRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
249 inline CreateEndpointRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
250 inline CreateEndpointRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
252
254
258 inline const DmsSslModeValue& GetSslMode() const{ return m_sslMode; }
259 inline bool SslModeHasBeenSet() const { return m_sslModeHasBeenSet; }
260 inline void SetSslMode(const DmsSslModeValue& value) { m_sslModeHasBeenSet = true; m_sslMode = value; }
261 inline void SetSslMode(DmsSslModeValue&& value) { m_sslModeHasBeenSet = true; m_sslMode = std::move(value); }
262 inline CreateEndpointRequest& WithSslMode(const DmsSslModeValue& value) { SetSslMode(value); return *this;}
263 inline CreateEndpointRequest& WithSslMode(DmsSslModeValue&& value) { SetSslMode(std::move(value)); return *this;}
265
267
272 inline const Aws::String& GetServiceAccessRoleArn() const{ return m_serviceAccessRoleArn; }
273 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
274 inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; }
275 inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); }
276 inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); }
278 inline CreateEndpointRequest& WithServiceAccessRoleArn(Aws::String&& value) { SetServiceAccessRoleArn(std::move(value)); return *this;}
279 inline CreateEndpointRequest& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;}
281
283
286 inline const Aws::String& GetExternalTableDefinition() const{ return m_externalTableDefinition; }
287 inline bool ExternalTableDefinitionHasBeenSet() const { return m_externalTableDefinitionHasBeenSet; }
288 inline void SetExternalTableDefinition(const Aws::String& value) { m_externalTableDefinitionHasBeenSet = true; m_externalTableDefinition = value; }
289 inline void SetExternalTableDefinition(Aws::String&& value) { m_externalTableDefinitionHasBeenSet = true; m_externalTableDefinition = std::move(value); }
290 inline void SetExternalTableDefinition(const char* value) { m_externalTableDefinitionHasBeenSet = true; m_externalTableDefinition.assign(value); }
293 inline CreateEndpointRequest& WithExternalTableDefinition(const char* value) { SetExternalTableDefinition(value); return *this;}
295
297
304 inline const DynamoDbSettings& GetDynamoDbSettings() const{ return m_dynamoDbSettings; }
305 inline bool DynamoDbSettingsHasBeenSet() const { return m_dynamoDbSettingsHasBeenSet; }
306 inline void SetDynamoDbSettings(const DynamoDbSettings& value) { m_dynamoDbSettingsHasBeenSet = true; m_dynamoDbSettings = value; }
307 inline void SetDynamoDbSettings(DynamoDbSettings&& value) { m_dynamoDbSettingsHasBeenSet = true; m_dynamoDbSettings = std::move(value); }
309 inline CreateEndpointRequest& WithDynamoDbSettings(DynamoDbSettings&& value) { SetDynamoDbSettings(std::move(value)); return *this;}
311
313
320 inline const S3Settings& GetS3Settings() const{ return m_s3Settings; }
321 inline bool S3SettingsHasBeenSet() const { return m_s3SettingsHasBeenSet; }
322 inline void SetS3Settings(const S3Settings& value) { m_s3SettingsHasBeenSet = true; m_s3Settings = value; }
323 inline void SetS3Settings(S3Settings&& value) { m_s3SettingsHasBeenSet = true; m_s3Settings = std::move(value); }
324 inline CreateEndpointRequest& WithS3Settings(const S3Settings& value) { SetS3Settings(value); return *this;}
325 inline CreateEndpointRequest& WithS3Settings(S3Settings&& value) { SetS3Settings(std::move(value)); return *this;}
327
329
340 inline const DmsTransferSettings& GetDmsTransferSettings() const{ return m_dmsTransferSettings; }
341 inline bool DmsTransferSettingsHasBeenSet() const { return m_dmsTransferSettingsHasBeenSet; }
342 inline void SetDmsTransferSettings(const DmsTransferSettings& value) { m_dmsTransferSettingsHasBeenSet = true; m_dmsTransferSettings = value; }
343 inline void SetDmsTransferSettings(DmsTransferSettings&& value) { m_dmsTransferSettingsHasBeenSet = true; m_dmsTransferSettings = std::move(value); }
347
349
356 inline const MongoDbSettings& GetMongoDbSettings() const{ return m_mongoDbSettings; }
357 inline bool MongoDbSettingsHasBeenSet() const { return m_mongoDbSettingsHasBeenSet; }
358 inline void SetMongoDbSettings(const MongoDbSettings& value) { m_mongoDbSettingsHasBeenSet = true; m_mongoDbSettings = value; }
359 inline void SetMongoDbSettings(MongoDbSettings&& value) { m_mongoDbSettingsHasBeenSet = true; m_mongoDbSettings = std::move(value); }
361 inline CreateEndpointRequest& WithMongoDbSettings(MongoDbSettings&& value) { SetMongoDbSettings(std::move(value)); return *this;}
363
365
372 inline const KinesisSettings& GetKinesisSettings() const{ return m_kinesisSettings; }
373 inline bool KinesisSettingsHasBeenSet() const { return m_kinesisSettingsHasBeenSet; }
374 inline void SetKinesisSettings(const KinesisSettings& value) { m_kinesisSettingsHasBeenSet = true; m_kinesisSettings = value; }
375 inline void SetKinesisSettings(KinesisSettings&& value) { m_kinesisSettingsHasBeenSet = true; m_kinesisSettings = std::move(value); }
377 inline CreateEndpointRequest& WithKinesisSettings(KinesisSettings&& value) { SetKinesisSettings(std::move(value)); return *this;}
379
381
388 inline const KafkaSettings& GetKafkaSettings() const{ return m_kafkaSettings; }
389 inline bool KafkaSettingsHasBeenSet() const { return m_kafkaSettingsHasBeenSet; }
390 inline void SetKafkaSettings(const KafkaSettings& value) { m_kafkaSettingsHasBeenSet = true; m_kafkaSettings = value; }
391 inline void SetKafkaSettings(KafkaSettings&& value) { m_kafkaSettingsHasBeenSet = true; m_kafkaSettings = std::move(value); }
392 inline CreateEndpointRequest& WithKafkaSettings(const KafkaSettings& value) { SetKafkaSettings(value); return *this;}
393 inline CreateEndpointRequest& WithKafkaSettings(KafkaSettings&& value) { SetKafkaSettings(std::move(value)); return *this;}
395
397
404 inline const ElasticsearchSettings& GetElasticsearchSettings() const{ return m_elasticsearchSettings; }
405 inline bool ElasticsearchSettingsHasBeenSet() const { return m_elasticsearchSettingsHasBeenSet; }
406 inline void SetElasticsearchSettings(const ElasticsearchSettings& value) { m_elasticsearchSettingsHasBeenSet = true; m_elasticsearchSettings = value; }
407 inline void SetElasticsearchSettings(ElasticsearchSettings&& value) { m_elasticsearchSettingsHasBeenSet = true; m_elasticsearchSettings = std::move(value); }
411
413
420 inline const NeptuneSettings& GetNeptuneSettings() const{ return m_neptuneSettings; }
421 inline bool NeptuneSettingsHasBeenSet() const { return m_neptuneSettingsHasBeenSet; }
422 inline void SetNeptuneSettings(const NeptuneSettings& value) { m_neptuneSettingsHasBeenSet = true; m_neptuneSettings = value; }
423 inline void SetNeptuneSettings(NeptuneSettings&& value) { m_neptuneSettingsHasBeenSet = true; m_neptuneSettings = std::move(value); }
425 inline CreateEndpointRequest& WithNeptuneSettings(NeptuneSettings&& value) { SetNeptuneSettings(std::move(value)); return *this;}
427
429
430 inline const RedshiftSettings& GetRedshiftSettings() const{ return m_redshiftSettings; }
431 inline bool RedshiftSettingsHasBeenSet() const { return m_redshiftSettingsHasBeenSet; }
432 inline void SetRedshiftSettings(const RedshiftSettings& value) { m_redshiftSettingsHasBeenSet = true; m_redshiftSettings = value; }
433 inline void SetRedshiftSettings(RedshiftSettings&& value) { m_redshiftSettingsHasBeenSet = true; m_redshiftSettings = std::move(value); }
435 inline CreateEndpointRequest& WithRedshiftSettings(RedshiftSettings&& value) { SetRedshiftSettings(std::move(value)); return *this;}
437
439
448 inline const PostgreSQLSettings& GetPostgreSQLSettings() const{ return m_postgreSQLSettings; }
449 inline bool PostgreSQLSettingsHasBeenSet() const { return m_postgreSQLSettingsHasBeenSet; }
450 inline void SetPostgreSQLSettings(const PostgreSQLSettings& value) { m_postgreSQLSettingsHasBeenSet = true; m_postgreSQLSettings = value; }
451 inline void SetPostgreSQLSettings(PostgreSQLSettings&& value) { m_postgreSQLSettingsHasBeenSet = true; m_postgreSQLSettings = std::move(value); }
455
457
466 inline const MySQLSettings& GetMySQLSettings() const{ return m_mySQLSettings; }
467 inline bool MySQLSettingsHasBeenSet() const { return m_mySQLSettingsHasBeenSet; }
468 inline void SetMySQLSettings(const MySQLSettings& value) { m_mySQLSettingsHasBeenSet = true; m_mySQLSettings = value; }
469 inline void SetMySQLSettings(MySQLSettings&& value) { m_mySQLSettingsHasBeenSet = true; m_mySQLSettings = std::move(value); }
470 inline CreateEndpointRequest& WithMySQLSettings(const MySQLSettings& value) { SetMySQLSettings(value); return *this;}
471 inline CreateEndpointRequest& WithMySQLSettings(MySQLSettings&& value) { SetMySQLSettings(std::move(value)); return *this;}
473
475
484 inline const OracleSettings& GetOracleSettings() const{ return m_oracleSettings; }
485 inline bool OracleSettingsHasBeenSet() const { return m_oracleSettingsHasBeenSet; }
486 inline void SetOracleSettings(const OracleSettings& value) { m_oracleSettingsHasBeenSet = true; m_oracleSettings = value; }
487 inline void SetOracleSettings(OracleSettings&& value) { m_oracleSettingsHasBeenSet = true; m_oracleSettings = std::move(value); }
488 inline CreateEndpointRequest& WithOracleSettings(const OracleSettings& value) { SetOracleSettings(value); return *this;}
489 inline CreateEndpointRequest& WithOracleSettings(OracleSettings&& value) { SetOracleSettings(std::move(value)); return *this;}
491
493
502 inline const SybaseSettings& GetSybaseSettings() const{ return m_sybaseSettings; }
503 inline bool SybaseSettingsHasBeenSet() const { return m_sybaseSettingsHasBeenSet; }
504 inline void SetSybaseSettings(const SybaseSettings& value) { m_sybaseSettingsHasBeenSet = true; m_sybaseSettings = value; }
505 inline void SetSybaseSettings(SybaseSettings&& value) { m_sybaseSettingsHasBeenSet = true; m_sybaseSettings = std::move(value); }
506 inline CreateEndpointRequest& WithSybaseSettings(const SybaseSettings& value) { SetSybaseSettings(value); return *this;}
507 inline CreateEndpointRequest& WithSybaseSettings(SybaseSettings&& value) { SetSybaseSettings(std::move(value)); return *this;}
509
511
520 inline const MicrosoftSQLServerSettings& GetMicrosoftSQLServerSettings() const{ return m_microsoftSQLServerSettings; }
521 inline bool MicrosoftSQLServerSettingsHasBeenSet() const { return m_microsoftSQLServerSettingsHasBeenSet; }
522 inline void SetMicrosoftSQLServerSettings(const MicrosoftSQLServerSettings& value) { m_microsoftSQLServerSettingsHasBeenSet = true; m_microsoftSQLServerSettings = value; }
523 inline void SetMicrosoftSQLServerSettings(MicrosoftSQLServerSettings&& value) { m_microsoftSQLServerSettingsHasBeenSet = true; m_microsoftSQLServerSettings = std::move(value); }
527
529
536 inline const IBMDb2Settings& GetIBMDb2Settings() const{ return m_iBMDb2Settings; }
537 inline bool IBMDb2SettingsHasBeenSet() const { return m_iBMDb2SettingsHasBeenSet; }
538 inline void SetIBMDb2Settings(const IBMDb2Settings& value) { m_iBMDb2SettingsHasBeenSet = true; m_iBMDb2Settings = value; }
539 inline void SetIBMDb2Settings(IBMDb2Settings&& value) { m_iBMDb2SettingsHasBeenSet = true; m_iBMDb2Settings = std::move(value); }
540 inline CreateEndpointRequest& WithIBMDb2Settings(const IBMDb2Settings& value) { SetIBMDb2Settings(value); return *this;}
541 inline CreateEndpointRequest& WithIBMDb2Settings(IBMDb2Settings&& value) { SetIBMDb2Settings(std::move(value)); return *this;}
543
545
557 inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
558 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
559 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
560 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
561 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
563 inline CreateEndpointRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;}
564 inline CreateEndpointRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
566
568
569 inline const DocDbSettings& GetDocDbSettings() const{ return m_docDbSettings; }
570 inline bool DocDbSettingsHasBeenSet() const { return m_docDbSettingsHasBeenSet; }
571 inline void SetDocDbSettings(const DocDbSettings& value) { m_docDbSettingsHasBeenSet = true; m_docDbSettings = value; }
572 inline void SetDocDbSettings(DocDbSettings&& value) { m_docDbSettingsHasBeenSet = true; m_docDbSettings = std::move(value); }
573 inline CreateEndpointRequest& WithDocDbSettings(const DocDbSettings& value) { SetDocDbSettings(value); return *this;}
574 inline CreateEndpointRequest& WithDocDbSettings(DocDbSettings&& value) { SetDocDbSettings(std::move(value)); return *this;}
576
578
581 inline const RedisSettings& GetRedisSettings() const{ return m_redisSettings; }
582 inline bool RedisSettingsHasBeenSet() const { return m_redisSettingsHasBeenSet; }
583 inline void SetRedisSettings(const RedisSettings& value) { m_redisSettingsHasBeenSet = true; m_redisSettings = value; }
584 inline void SetRedisSettings(RedisSettings&& value) { m_redisSettingsHasBeenSet = true; m_redisSettings = std::move(value); }
585 inline CreateEndpointRequest& WithRedisSettings(const RedisSettings& value) { SetRedisSettings(value); return *this;}
586 inline CreateEndpointRequest& WithRedisSettings(RedisSettings&& value) { SetRedisSettings(std::move(value)); return *this;}
588
590
593 inline const GcpMySQLSettings& GetGcpMySQLSettings() const{ return m_gcpMySQLSettings; }
594 inline bool GcpMySQLSettingsHasBeenSet() const { return m_gcpMySQLSettingsHasBeenSet; }
595 inline void SetGcpMySQLSettings(const GcpMySQLSettings& value) { m_gcpMySQLSettingsHasBeenSet = true; m_gcpMySQLSettings = value; }
596 inline void SetGcpMySQLSettings(GcpMySQLSettings&& value) { m_gcpMySQLSettingsHasBeenSet = true; m_gcpMySQLSettings = std::move(value); }
598 inline CreateEndpointRequest& WithGcpMySQLSettings(GcpMySQLSettings&& value) { SetGcpMySQLSettings(std::move(value)); return *this;}
600
602
605 inline const TimestreamSettings& GetTimestreamSettings() const{ return m_timestreamSettings; }
606 inline bool TimestreamSettingsHasBeenSet() const { return m_timestreamSettingsHasBeenSet; }
607 inline void SetTimestreamSettings(const TimestreamSettings& value) { m_timestreamSettingsHasBeenSet = true; m_timestreamSettings = value; }
608 inline void SetTimestreamSettings(TimestreamSettings&& value) { m_timestreamSettingsHasBeenSet = true; m_timestreamSettings = std::move(value); }
612 private:
613
614 Aws::String m_endpointIdentifier;
615 bool m_endpointIdentifierHasBeenSet = false;
616
617 ReplicationEndpointTypeValue m_endpointType;
618 bool m_endpointTypeHasBeenSet = false;
619
620 Aws::String m_engineName;
621 bool m_engineNameHasBeenSet = false;
622
623 Aws::String m_username;
624 bool m_usernameHasBeenSet = false;
625
626 Aws::String m_password;
627 bool m_passwordHasBeenSet = false;
628
629 Aws::String m_serverName;
630 bool m_serverNameHasBeenSet = false;
631
632 int m_port;
633 bool m_portHasBeenSet = false;
634
635 Aws::String m_databaseName;
636 bool m_databaseNameHasBeenSet = false;
637
638 Aws::String m_extraConnectionAttributes;
639 bool m_extraConnectionAttributesHasBeenSet = false;
640
641 Aws::String m_kmsKeyId;
642 bool m_kmsKeyIdHasBeenSet = false;
643
644 Aws::Vector<Tag> m_tags;
645 bool m_tagsHasBeenSet = false;
646
647 Aws::String m_certificateArn;
648 bool m_certificateArnHasBeenSet = false;
649
650 DmsSslModeValue m_sslMode;
651 bool m_sslModeHasBeenSet = false;
652
653 Aws::String m_serviceAccessRoleArn;
654 bool m_serviceAccessRoleArnHasBeenSet = false;
655
656 Aws::String m_externalTableDefinition;
657 bool m_externalTableDefinitionHasBeenSet = false;
658
659 DynamoDbSettings m_dynamoDbSettings;
660 bool m_dynamoDbSettingsHasBeenSet = false;
661
662 S3Settings m_s3Settings;
663 bool m_s3SettingsHasBeenSet = false;
664
665 DmsTransferSettings m_dmsTransferSettings;
666 bool m_dmsTransferSettingsHasBeenSet = false;
667
668 MongoDbSettings m_mongoDbSettings;
669 bool m_mongoDbSettingsHasBeenSet = false;
670
671 KinesisSettings m_kinesisSettings;
672 bool m_kinesisSettingsHasBeenSet = false;
673
674 KafkaSettings m_kafkaSettings;
675 bool m_kafkaSettingsHasBeenSet = false;
676
677 ElasticsearchSettings m_elasticsearchSettings;
678 bool m_elasticsearchSettingsHasBeenSet = false;
679
680 NeptuneSettings m_neptuneSettings;
681 bool m_neptuneSettingsHasBeenSet = false;
682
683 RedshiftSettings m_redshiftSettings;
684 bool m_redshiftSettingsHasBeenSet = false;
685
686 PostgreSQLSettings m_postgreSQLSettings;
687 bool m_postgreSQLSettingsHasBeenSet = false;
688
689 MySQLSettings m_mySQLSettings;
690 bool m_mySQLSettingsHasBeenSet = false;
691
692 OracleSettings m_oracleSettings;
693 bool m_oracleSettingsHasBeenSet = false;
694
695 SybaseSettings m_sybaseSettings;
696 bool m_sybaseSettingsHasBeenSet = false;
697
698 MicrosoftSQLServerSettings m_microsoftSQLServerSettings;
699 bool m_microsoftSQLServerSettingsHasBeenSet = false;
700
701 IBMDb2Settings m_iBMDb2Settings;
702 bool m_iBMDb2SettingsHasBeenSet = false;
703
704 Aws::String m_resourceIdentifier;
705 bool m_resourceIdentifierHasBeenSet = false;
706
707 DocDbSettings m_docDbSettings;
708 bool m_docDbSettingsHasBeenSet = false;
709
710 RedisSettings m_redisSettings;
711 bool m_redisSettingsHasBeenSet = false;
712
713 GcpMySQLSettings m_gcpMySQLSettings;
714 bool m_gcpMySQLSettingsHasBeenSet = false;
715
716 TimestreamSettings m_timestreamSettings;
717 bool m_timestreamSettingsHasBeenSet = false;
718 };
719
720} // namespace Model
721} // namespace DatabaseMigrationService
722} // namespace Aws
CreateEndpointRequest & WithKmsKeyId(const Aws::String &value)
CreateEndpointRequest & WithTags(Aws::Vector< Tag > &&value)
CreateEndpointRequest & WithSslMode(const DmsSslModeValue &value)
CreateEndpointRequest & WithKinesisSettings(const KinesisSettings &value)
CreateEndpointRequest & WithEngineName(Aws::String &&value)
CreateEndpointRequest & WithIBMDb2Settings(const IBMDb2Settings &value)
CreateEndpointRequest & WithOracleSettings(const OracleSettings &value)
CreateEndpointRequest & WithMicrosoftSQLServerSettings(MicrosoftSQLServerSettings &&value)
const ReplicationEndpointTypeValue & GetEndpointType() const
CreateEndpointRequest & WithMicrosoftSQLServerSettings(const MicrosoftSQLServerSettings &value)
CreateEndpointRequest & WithMongoDbSettings(MongoDbSettings &&value)
CreateEndpointRequest & WithDocDbSettings(DocDbSettings &&value)
CreateEndpointRequest & WithPostgreSQLSettings(const PostgreSQLSettings &value)
CreateEndpointRequest & WithDatabaseName(const char *value)
CreateEndpointRequest & WithExternalTableDefinition(const char *value)
CreateEndpointRequest & WithCertificateArn(const Aws::String &value)
CreateEndpointRequest & WithRedisSettings(RedisSettings &&value)
CreateEndpointRequest & WithS3Settings(S3Settings &&value)
CreateEndpointRequest & WithGcpMySQLSettings(const GcpMySQLSettings &value)
CreateEndpointRequest & WithServiceAccessRoleArn(const Aws::String &value)
CreateEndpointRequest & WithEndpointIdentifier(const Aws::String &value)
CreateEndpointRequest & WithMySQLSettings(const MySQLSettings &value)
CreateEndpointRequest & WithExternalTableDefinition(Aws::String &&value)
const MicrosoftSQLServerSettings & GetMicrosoftSQLServerSettings() const
CreateEndpointRequest & WithExtraConnectionAttributes(const char *value)
CreateEndpointRequest & WithSybaseSettings(const SybaseSettings &value)
CreateEndpointRequest & WithNeptuneSettings(NeptuneSettings &&value)
CreateEndpointRequest & WithExtraConnectionAttributes(Aws::String &&value)
CreateEndpointRequest & WithTags(const Aws::Vector< Tag > &value)
CreateEndpointRequest & WithNeptuneSettings(const NeptuneSettings &value)
CreateEndpointRequest & WithUsername(const Aws::String &value)
CreateEndpointRequest & WithUsername(Aws::String &&value)
CreateEndpointRequest & WithPostgreSQLSettings(PostgreSQLSettings &&value)
CreateEndpointRequest & WithPassword(Aws::String &&value)
CreateEndpointRequest & WithDmsTransferSettings(const DmsTransferSettings &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
CreateEndpointRequest & WithKafkaSettings(const KafkaSettings &value)
void SetMicrosoftSQLServerSettings(MicrosoftSQLServerSettings &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEndpointRequest & WithExtraConnectionAttributes(const Aws::String &value)
CreateEndpointRequest & WithEngineName(const char *value)
CreateEndpointRequest & WithServiceAccessRoleArn(Aws::String &&value)
void SetElasticsearchSettings(const ElasticsearchSettings &value)
CreateEndpointRequest & WithDatabaseName(const Aws::String &value)
CreateEndpointRequest & WithServerName(Aws::String &&value)
CreateEndpointRequest & WithSybaseSettings(SybaseSettings &&value)
CreateEndpointRequest & WithResourceIdentifier(Aws::String &&value)
CreateEndpointRequest & WithRedisSettings(const RedisSettings &value)
CreateEndpointRequest & WithEndpointIdentifier(Aws::String &&value)
CreateEndpointRequest & WithEndpointType(ReplicationEndpointTypeValue &&value)
CreateEndpointRequest & WithS3Settings(const S3Settings &value)
CreateEndpointRequest & WithOracleSettings(OracleSettings &&value)
CreateEndpointRequest & WithServerName(const char *value)
CreateEndpointRequest & WithCertificateArn(Aws::String &&value)
CreateEndpointRequest & WithDynamoDbSettings(DynamoDbSettings &&value)
CreateEndpointRequest & WithDmsTransferSettings(DmsTransferSettings &&value)
CreateEndpointRequest & WithDynamoDbSettings(const DynamoDbSettings &value)
CreateEndpointRequest & WithRedshiftSettings(RedshiftSettings &&value)
CreateEndpointRequest & WithEngineName(const Aws::String &value)
CreateEndpointRequest & WithEndpointType(const ReplicationEndpointTypeValue &value)
CreateEndpointRequest & WithGcpMySQLSettings(GcpMySQLSettings &&value)
CreateEndpointRequest & WithExternalTableDefinition(const Aws::String &value)
CreateEndpointRequest & WithCertificateArn(const char *value)
CreateEndpointRequest & WithServiceAccessRoleArn(const char *value)
CreateEndpointRequest & WithKafkaSettings(KafkaSettings &&value)
CreateEndpointRequest & WithServerName(const Aws::String &value)
CreateEndpointRequest & WithResourceIdentifier(const char *value)
void SetMicrosoftSQLServerSettings(const MicrosoftSQLServerSettings &value)
CreateEndpointRequest & WithSslMode(DmsSslModeValue &&value)
CreateEndpointRequest & WithKmsKeyId(Aws::String &&value)
CreateEndpointRequest & WithPassword(const Aws::String &value)
CreateEndpointRequest & WithDocDbSettings(const DocDbSettings &value)
CreateEndpointRequest & WithKinesisSettings(KinesisSettings &&value)
CreateEndpointRequest & WithIBMDb2Settings(IBMDb2Settings &&value)
CreateEndpointRequest & WithElasticsearchSettings(const ElasticsearchSettings &value)
CreateEndpointRequest & WithRedshiftSettings(const RedshiftSettings &value)
void SetEndpointType(ReplicationEndpointTypeValue &&value)
void SetEndpointType(const ReplicationEndpointTypeValue &value)
CreateEndpointRequest & WithDatabaseName(Aws::String &&value)
CreateEndpointRequest & WithResourceIdentifier(const Aws::String &value)
CreateEndpointRequest & WithTimestreamSettings(TimestreamSettings &&value)
CreateEndpointRequest & WithMySQLSettings(MySQLSettings &&value)
CreateEndpointRequest & WithEndpointIdentifier(const char *value)
CreateEndpointRequest & WithMongoDbSettings(const MongoDbSettings &value)
CreateEndpointRequest & WithElasticsearchSettings(ElasticsearchSettings &&value)
AWS_DATABASEMIGRATIONSERVICE_API CreateEndpointRequest()
CreateEndpointRequest & WithTimestreamSettings(const TimestreamSettings &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector