AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename EndpointIdentifierT = Aws::String>
72 void SetEndpointIdentifier(EndpointIdentifierT&& value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier = std::forward<EndpointIdentifierT>(value); }
73 template<typename EndpointIdentifierT = Aws::String>
74 CreateEndpointRequest& WithEndpointIdentifier(EndpointIdentifierT&& value) { SetEndpointIdentifier(std::forward<EndpointIdentifierT>(value)); return *this;}
76
78
82 inline ReplicationEndpointTypeValue GetEndpointType() const { return m_endpointType; }
83 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
84 inline void SetEndpointType(ReplicationEndpointTypeValue value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
87
89
104 inline const Aws::String& GetEngineName() const { return m_engineName; }
105 inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
106 template<typename EngineNameT = Aws::String>
107 void SetEngineName(EngineNameT&& value) { m_engineNameHasBeenSet = true; m_engineName = std::forward<EngineNameT>(value); }
108 template<typename EngineNameT = Aws::String>
109 CreateEndpointRequest& WithEngineName(EngineNameT&& value) { SetEngineName(std::forward<EngineNameT>(value)); return *this;}
111
113
116 inline const Aws::String& GetUsername() const { return m_username; }
117 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
118 template<typename UsernameT = Aws::String>
119 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
120 template<typename UsernameT = Aws::String>
121 CreateEndpointRequest& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
123
125
128 inline const Aws::String& GetPassword() const { return m_password; }
129 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
130 template<typename PasswordT = Aws::String>
131 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet = true; m_password = std::forward<PasswordT>(value); }
132 template<typename PasswordT = Aws::String>
133 CreateEndpointRequest& WithPassword(PasswordT&& value) { SetPassword(std::forward<PasswordT>(value)); return *this;}
135
137
140 inline const Aws::String& GetServerName() const { return m_serverName; }
141 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
142 template<typename ServerNameT = Aws::String>
143 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet = true; m_serverName = std::forward<ServerNameT>(value); }
144 template<typename ServerNameT = Aws::String>
145 CreateEndpointRequest& WithServerName(ServerNameT&& value) { SetServerName(std::forward<ServerNameT>(value)); return *this;}
147
149
152 inline int GetPort() const { return m_port; }
153 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
154 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
155 inline CreateEndpointRequest& WithPort(int value) { SetPort(value); return *this;}
157
159
164 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
165 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
166 template<typename DatabaseNameT = Aws::String>
167 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
168 template<typename DatabaseNameT = Aws::String>
169 CreateEndpointRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
171
173
182 inline const Aws::String& GetExtraConnectionAttributes() const { return m_extraConnectionAttributes; }
183 inline bool ExtraConnectionAttributesHasBeenSet() const { return m_extraConnectionAttributesHasBeenSet; }
184 template<typename ExtraConnectionAttributesT = Aws::String>
185 void SetExtraConnectionAttributes(ExtraConnectionAttributesT&& value) { m_extraConnectionAttributesHasBeenSet = true; m_extraConnectionAttributes = std::forward<ExtraConnectionAttributesT>(value); }
186 template<typename ExtraConnectionAttributesT = Aws::String>
187 CreateEndpointRequest& WithExtraConnectionAttributes(ExtraConnectionAttributesT&& value) { SetExtraConnectionAttributes(std::forward<ExtraConnectionAttributesT>(value)); return *this;}
189
191
199 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
200 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
201 template<typename KmsKeyIdT = Aws::String>
202 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
203 template<typename KmsKeyIdT = Aws::String>
204 CreateEndpointRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
206
208
211 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
212 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
213 template<typename TagsT = Aws::Vector<Tag>>
214 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
215 template<typename TagsT = Aws::Vector<Tag>>
216 CreateEndpointRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
217 template<typename TagsT = Tag>
218 CreateEndpointRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
220
222
225 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
226 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
227 template<typename CertificateArnT = Aws::String>
228 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::forward<CertificateArnT>(value); }
229 template<typename CertificateArnT = Aws::String>
230 CreateEndpointRequest& WithCertificateArn(CertificateArnT&& value) { SetCertificateArn(std::forward<CertificateArnT>(value)); return *this;}
232
234
238 inline DmsSslModeValue GetSslMode() const { return m_sslMode; }
239 inline bool SslModeHasBeenSet() const { return m_sslModeHasBeenSet; }
240 inline void SetSslMode(DmsSslModeValue value) { m_sslModeHasBeenSet = true; m_sslMode = value; }
241 inline CreateEndpointRequest& WithSslMode(DmsSslModeValue value) { SetSslMode(value); return *this;}
243
245
250 inline const Aws::String& GetServiceAccessRoleArn() const { return m_serviceAccessRoleArn; }
251 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
252 template<typename ServiceAccessRoleArnT = Aws::String>
253 void SetServiceAccessRoleArn(ServiceAccessRoleArnT&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value); }
254 template<typename ServiceAccessRoleArnT = Aws::String>
255 CreateEndpointRequest& WithServiceAccessRoleArn(ServiceAccessRoleArnT&& value) { SetServiceAccessRoleArn(std::forward<ServiceAccessRoleArnT>(value)); return *this;}
257
259
262 inline const Aws::String& GetExternalTableDefinition() const { return m_externalTableDefinition; }
263 inline bool ExternalTableDefinitionHasBeenSet() const { return m_externalTableDefinitionHasBeenSet; }
264 template<typename ExternalTableDefinitionT = Aws::String>
265 void SetExternalTableDefinition(ExternalTableDefinitionT&& value) { m_externalTableDefinitionHasBeenSet = true; m_externalTableDefinition = std::forward<ExternalTableDefinitionT>(value); }
266 template<typename ExternalTableDefinitionT = Aws::String>
267 CreateEndpointRequest& WithExternalTableDefinition(ExternalTableDefinitionT&& value) { SetExternalTableDefinition(std::forward<ExternalTableDefinitionT>(value)); return *this;}
269
271
278 inline const DynamoDbSettings& GetDynamoDbSettings() const { return m_dynamoDbSettings; }
279 inline bool DynamoDbSettingsHasBeenSet() const { return m_dynamoDbSettingsHasBeenSet; }
280 template<typename DynamoDbSettingsT = DynamoDbSettings>
281 void SetDynamoDbSettings(DynamoDbSettingsT&& value) { m_dynamoDbSettingsHasBeenSet = true; m_dynamoDbSettings = std::forward<DynamoDbSettingsT>(value); }
282 template<typename DynamoDbSettingsT = DynamoDbSettings>
283 CreateEndpointRequest& WithDynamoDbSettings(DynamoDbSettingsT&& value) { SetDynamoDbSettings(std::forward<DynamoDbSettingsT>(value)); return *this;}
285
287
294 inline const S3Settings& GetS3Settings() const { return m_s3Settings; }
295 inline bool S3SettingsHasBeenSet() const { return m_s3SettingsHasBeenSet; }
296 template<typename S3SettingsT = S3Settings>
297 void SetS3Settings(S3SettingsT&& value) { m_s3SettingsHasBeenSet = true; m_s3Settings = std::forward<S3SettingsT>(value); }
298 template<typename S3SettingsT = S3Settings>
299 CreateEndpointRequest& WithS3Settings(S3SettingsT&& value) { SetS3Settings(std::forward<S3SettingsT>(value)); return *this;}
301
303
314 inline const DmsTransferSettings& GetDmsTransferSettings() const { return m_dmsTransferSettings; }
315 inline bool DmsTransferSettingsHasBeenSet() const { return m_dmsTransferSettingsHasBeenSet; }
316 template<typename DmsTransferSettingsT = DmsTransferSettings>
317 void SetDmsTransferSettings(DmsTransferSettingsT&& value) { m_dmsTransferSettingsHasBeenSet = true; m_dmsTransferSettings = std::forward<DmsTransferSettingsT>(value); }
318 template<typename DmsTransferSettingsT = DmsTransferSettings>
319 CreateEndpointRequest& WithDmsTransferSettings(DmsTransferSettingsT&& value) { SetDmsTransferSettings(std::forward<DmsTransferSettingsT>(value)); return *this;}
321
323
330 inline const MongoDbSettings& GetMongoDbSettings() const { return m_mongoDbSettings; }
331 inline bool MongoDbSettingsHasBeenSet() const { return m_mongoDbSettingsHasBeenSet; }
332 template<typename MongoDbSettingsT = MongoDbSettings>
333 void SetMongoDbSettings(MongoDbSettingsT&& value) { m_mongoDbSettingsHasBeenSet = true; m_mongoDbSettings = std::forward<MongoDbSettingsT>(value); }
334 template<typename MongoDbSettingsT = MongoDbSettings>
335 CreateEndpointRequest& WithMongoDbSettings(MongoDbSettingsT&& value) { SetMongoDbSettings(std::forward<MongoDbSettingsT>(value)); return *this;}
337
339
346 inline const KinesisSettings& GetKinesisSettings() const { return m_kinesisSettings; }
347 inline bool KinesisSettingsHasBeenSet() const { return m_kinesisSettingsHasBeenSet; }
348 template<typename KinesisSettingsT = KinesisSettings>
349 void SetKinesisSettings(KinesisSettingsT&& value) { m_kinesisSettingsHasBeenSet = true; m_kinesisSettings = std::forward<KinesisSettingsT>(value); }
350 template<typename KinesisSettingsT = KinesisSettings>
351 CreateEndpointRequest& WithKinesisSettings(KinesisSettingsT&& value) { SetKinesisSettings(std::forward<KinesisSettingsT>(value)); return *this;}
353
355
362 inline const KafkaSettings& GetKafkaSettings() const { return m_kafkaSettings; }
363 inline bool KafkaSettingsHasBeenSet() const { return m_kafkaSettingsHasBeenSet; }
364 template<typename KafkaSettingsT = KafkaSettings>
365 void SetKafkaSettings(KafkaSettingsT&& value) { m_kafkaSettingsHasBeenSet = true; m_kafkaSettings = std::forward<KafkaSettingsT>(value); }
366 template<typename KafkaSettingsT = KafkaSettings>
367 CreateEndpointRequest& WithKafkaSettings(KafkaSettingsT&& value) { SetKafkaSettings(std::forward<KafkaSettingsT>(value)); return *this;}
369
371
378 inline const ElasticsearchSettings& GetElasticsearchSettings() const { return m_elasticsearchSettings; }
379 inline bool ElasticsearchSettingsHasBeenSet() const { return m_elasticsearchSettingsHasBeenSet; }
380 template<typename ElasticsearchSettingsT = ElasticsearchSettings>
381 void SetElasticsearchSettings(ElasticsearchSettingsT&& value) { m_elasticsearchSettingsHasBeenSet = true; m_elasticsearchSettings = std::forward<ElasticsearchSettingsT>(value); }
382 template<typename ElasticsearchSettingsT = ElasticsearchSettings>
383 CreateEndpointRequest& WithElasticsearchSettings(ElasticsearchSettingsT&& value) { SetElasticsearchSettings(std::forward<ElasticsearchSettingsT>(value)); return *this;}
385
387
394 inline const NeptuneSettings& GetNeptuneSettings() const { return m_neptuneSettings; }
395 inline bool NeptuneSettingsHasBeenSet() const { return m_neptuneSettingsHasBeenSet; }
396 template<typename NeptuneSettingsT = NeptuneSettings>
397 void SetNeptuneSettings(NeptuneSettingsT&& value) { m_neptuneSettingsHasBeenSet = true; m_neptuneSettings = std::forward<NeptuneSettingsT>(value); }
398 template<typename NeptuneSettingsT = NeptuneSettings>
399 CreateEndpointRequest& WithNeptuneSettings(NeptuneSettingsT&& value) { SetNeptuneSettings(std::forward<NeptuneSettingsT>(value)); return *this;}
401
403
404 inline const RedshiftSettings& GetRedshiftSettings() const { return m_redshiftSettings; }
405 inline bool RedshiftSettingsHasBeenSet() const { return m_redshiftSettingsHasBeenSet; }
406 template<typename RedshiftSettingsT = RedshiftSettings>
407 void SetRedshiftSettings(RedshiftSettingsT&& value) { m_redshiftSettingsHasBeenSet = true; m_redshiftSettings = std::forward<RedshiftSettingsT>(value); }
408 template<typename RedshiftSettingsT = RedshiftSettings>
409 CreateEndpointRequest& WithRedshiftSettings(RedshiftSettingsT&& value) { SetRedshiftSettings(std::forward<RedshiftSettingsT>(value)); return *this;}
411
413
422 inline const PostgreSQLSettings& GetPostgreSQLSettings() const { return m_postgreSQLSettings; }
423 inline bool PostgreSQLSettingsHasBeenSet() const { return m_postgreSQLSettingsHasBeenSet; }
424 template<typename PostgreSQLSettingsT = PostgreSQLSettings>
425 void SetPostgreSQLSettings(PostgreSQLSettingsT&& value) { m_postgreSQLSettingsHasBeenSet = true; m_postgreSQLSettings = std::forward<PostgreSQLSettingsT>(value); }
426 template<typename PostgreSQLSettingsT = PostgreSQLSettings>
427 CreateEndpointRequest& WithPostgreSQLSettings(PostgreSQLSettingsT&& value) { SetPostgreSQLSettings(std::forward<PostgreSQLSettingsT>(value)); return *this;}
429
431
440 inline const MySQLSettings& GetMySQLSettings() const { return m_mySQLSettings; }
441 inline bool MySQLSettingsHasBeenSet() const { return m_mySQLSettingsHasBeenSet; }
442 template<typename MySQLSettingsT = MySQLSettings>
443 void SetMySQLSettings(MySQLSettingsT&& value) { m_mySQLSettingsHasBeenSet = true; m_mySQLSettings = std::forward<MySQLSettingsT>(value); }
444 template<typename MySQLSettingsT = MySQLSettings>
445 CreateEndpointRequest& WithMySQLSettings(MySQLSettingsT&& value) { SetMySQLSettings(std::forward<MySQLSettingsT>(value)); return *this;}
447
449
458 inline const OracleSettings& GetOracleSettings() const { return m_oracleSettings; }
459 inline bool OracleSettingsHasBeenSet() const { return m_oracleSettingsHasBeenSet; }
460 template<typename OracleSettingsT = OracleSettings>
461 void SetOracleSettings(OracleSettingsT&& value) { m_oracleSettingsHasBeenSet = true; m_oracleSettings = std::forward<OracleSettingsT>(value); }
462 template<typename OracleSettingsT = OracleSettings>
463 CreateEndpointRequest& WithOracleSettings(OracleSettingsT&& value) { SetOracleSettings(std::forward<OracleSettingsT>(value)); return *this;}
465
467
476 inline const SybaseSettings& GetSybaseSettings() const { return m_sybaseSettings; }
477 inline bool SybaseSettingsHasBeenSet() const { return m_sybaseSettingsHasBeenSet; }
478 template<typename SybaseSettingsT = SybaseSettings>
479 void SetSybaseSettings(SybaseSettingsT&& value) { m_sybaseSettingsHasBeenSet = true; m_sybaseSettings = std::forward<SybaseSettingsT>(value); }
480 template<typename SybaseSettingsT = SybaseSettings>
481 CreateEndpointRequest& WithSybaseSettings(SybaseSettingsT&& value) { SetSybaseSettings(std::forward<SybaseSettingsT>(value)); return *this;}
483
485
494 inline const MicrosoftSQLServerSettings& GetMicrosoftSQLServerSettings() const { return m_microsoftSQLServerSettings; }
495 inline bool MicrosoftSQLServerSettingsHasBeenSet() const { return m_microsoftSQLServerSettingsHasBeenSet; }
496 template<typename MicrosoftSQLServerSettingsT = MicrosoftSQLServerSettings>
497 void SetMicrosoftSQLServerSettings(MicrosoftSQLServerSettingsT&& value) { m_microsoftSQLServerSettingsHasBeenSet = true; m_microsoftSQLServerSettings = std::forward<MicrosoftSQLServerSettingsT>(value); }
498 template<typename MicrosoftSQLServerSettingsT = MicrosoftSQLServerSettings>
499 CreateEndpointRequest& WithMicrosoftSQLServerSettings(MicrosoftSQLServerSettingsT&& value) { SetMicrosoftSQLServerSettings(std::forward<MicrosoftSQLServerSettingsT>(value)); return *this;}
501
503
510 inline const IBMDb2Settings& GetIBMDb2Settings() const { return m_iBMDb2Settings; }
511 inline bool IBMDb2SettingsHasBeenSet() const { return m_iBMDb2SettingsHasBeenSet; }
512 template<typename IBMDb2SettingsT = IBMDb2Settings>
513 void SetIBMDb2Settings(IBMDb2SettingsT&& value) { m_iBMDb2SettingsHasBeenSet = true; m_iBMDb2Settings = std::forward<IBMDb2SettingsT>(value); }
514 template<typename IBMDb2SettingsT = IBMDb2Settings>
515 CreateEndpointRequest& WithIBMDb2Settings(IBMDb2SettingsT&& value) { SetIBMDb2Settings(std::forward<IBMDb2SettingsT>(value)); return *this;}
517
519
531 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
532 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
533 template<typename ResourceIdentifierT = Aws::String>
534 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
535 template<typename ResourceIdentifierT = Aws::String>
536 CreateEndpointRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
538
540
541 inline const DocDbSettings& GetDocDbSettings() const { return m_docDbSettings; }
542 inline bool DocDbSettingsHasBeenSet() const { return m_docDbSettingsHasBeenSet; }
543 template<typename DocDbSettingsT = DocDbSettings>
544 void SetDocDbSettings(DocDbSettingsT&& value) { m_docDbSettingsHasBeenSet = true; m_docDbSettings = std::forward<DocDbSettingsT>(value); }
545 template<typename DocDbSettingsT = DocDbSettings>
546 CreateEndpointRequest& WithDocDbSettings(DocDbSettingsT&& value) { SetDocDbSettings(std::forward<DocDbSettingsT>(value)); return *this;}
548
550
553 inline const RedisSettings& GetRedisSettings() const { return m_redisSettings; }
554 inline bool RedisSettingsHasBeenSet() const { return m_redisSettingsHasBeenSet; }
555 template<typename RedisSettingsT = RedisSettings>
556 void SetRedisSettings(RedisSettingsT&& value) { m_redisSettingsHasBeenSet = true; m_redisSettings = std::forward<RedisSettingsT>(value); }
557 template<typename RedisSettingsT = RedisSettings>
558 CreateEndpointRequest& WithRedisSettings(RedisSettingsT&& value) { SetRedisSettings(std::forward<RedisSettingsT>(value)); return *this;}
560
562
565 inline const GcpMySQLSettings& GetGcpMySQLSettings() const { return m_gcpMySQLSettings; }
566 inline bool GcpMySQLSettingsHasBeenSet() const { return m_gcpMySQLSettingsHasBeenSet; }
567 template<typename GcpMySQLSettingsT = GcpMySQLSettings>
568 void SetGcpMySQLSettings(GcpMySQLSettingsT&& value) { m_gcpMySQLSettingsHasBeenSet = true; m_gcpMySQLSettings = std::forward<GcpMySQLSettingsT>(value); }
569 template<typename GcpMySQLSettingsT = GcpMySQLSettings>
570 CreateEndpointRequest& WithGcpMySQLSettings(GcpMySQLSettingsT&& value) { SetGcpMySQLSettings(std::forward<GcpMySQLSettingsT>(value)); return *this;}
572
574
577 inline const TimestreamSettings& GetTimestreamSettings() const { return m_timestreamSettings; }
578 inline bool TimestreamSettingsHasBeenSet() const { return m_timestreamSettingsHasBeenSet; }
579 template<typename TimestreamSettingsT = TimestreamSettings>
580 void SetTimestreamSettings(TimestreamSettingsT&& value) { m_timestreamSettingsHasBeenSet = true; m_timestreamSettings = std::forward<TimestreamSettingsT>(value); }
581 template<typename TimestreamSettingsT = TimestreamSettings>
582 CreateEndpointRequest& WithTimestreamSettings(TimestreamSettingsT&& value) { SetTimestreamSettings(std::forward<TimestreamSettingsT>(value)); return *this;}
584 private:
585
586 Aws::String m_endpointIdentifier;
587 bool m_endpointIdentifierHasBeenSet = false;
588
590 bool m_endpointTypeHasBeenSet = false;
591
592 Aws::String m_engineName;
593 bool m_engineNameHasBeenSet = false;
594
595 Aws::String m_username;
596 bool m_usernameHasBeenSet = false;
597
598 Aws::String m_password;
599 bool m_passwordHasBeenSet = false;
600
601 Aws::String m_serverName;
602 bool m_serverNameHasBeenSet = false;
603
604 int m_port{0};
605 bool m_portHasBeenSet = false;
606
607 Aws::String m_databaseName;
608 bool m_databaseNameHasBeenSet = false;
609
610 Aws::String m_extraConnectionAttributes;
611 bool m_extraConnectionAttributesHasBeenSet = false;
612
613 Aws::String m_kmsKeyId;
614 bool m_kmsKeyIdHasBeenSet = false;
615
616 Aws::Vector<Tag> m_tags;
617 bool m_tagsHasBeenSet = false;
618
619 Aws::String m_certificateArn;
620 bool m_certificateArnHasBeenSet = false;
621
623 bool m_sslModeHasBeenSet = false;
624
625 Aws::String m_serviceAccessRoleArn;
626 bool m_serviceAccessRoleArnHasBeenSet = false;
627
628 Aws::String m_externalTableDefinition;
629 bool m_externalTableDefinitionHasBeenSet = false;
630
631 DynamoDbSettings m_dynamoDbSettings;
632 bool m_dynamoDbSettingsHasBeenSet = false;
633
634 S3Settings m_s3Settings;
635 bool m_s3SettingsHasBeenSet = false;
636
637 DmsTransferSettings m_dmsTransferSettings;
638 bool m_dmsTransferSettingsHasBeenSet = false;
639
640 MongoDbSettings m_mongoDbSettings;
641 bool m_mongoDbSettingsHasBeenSet = false;
642
643 KinesisSettings m_kinesisSettings;
644 bool m_kinesisSettingsHasBeenSet = false;
645
646 KafkaSettings m_kafkaSettings;
647 bool m_kafkaSettingsHasBeenSet = false;
648
649 ElasticsearchSettings m_elasticsearchSettings;
650 bool m_elasticsearchSettingsHasBeenSet = false;
651
652 NeptuneSettings m_neptuneSettings;
653 bool m_neptuneSettingsHasBeenSet = false;
654
655 RedshiftSettings m_redshiftSettings;
656 bool m_redshiftSettingsHasBeenSet = false;
657
658 PostgreSQLSettings m_postgreSQLSettings;
659 bool m_postgreSQLSettingsHasBeenSet = false;
660
661 MySQLSettings m_mySQLSettings;
662 bool m_mySQLSettingsHasBeenSet = false;
663
664 OracleSettings m_oracleSettings;
665 bool m_oracleSettingsHasBeenSet = false;
666
667 SybaseSettings m_sybaseSettings;
668 bool m_sybaseSettingsHasBeenSet = false;
669
670 MicrosoftSQLServerSettings m_microsoftSQLServerSettings;
671 bool m_microsoftSQLServerSettingsHasBeenSet = false;
672
673 IBMDb2Settings m_iBMDb2Settings;
674 bool m_iBMDb2SettingsHasBeenSet = false;
675
676 Aws::String m_resourceIdentifier;
677 bool m_resourceIdentifierHasBeenSet = false;
678
679 DocDbSettings m_docDbSettings;
680 bool m_docDbSettingsHasBeenSet = false;
681
682 RedisSettings m_redisSettings;
683 bool m_redisSettingsHasBeenSet = false;
684
685 GcpMySQLSettings m_gcpMySQLSettings;
686 bool m_gcpMySQLSettingsHasBeenSet = false;
687
688 TimestreamSettings m_timestreamSettings;
689 bool m_timestreamSettingsHasBeenSet = false;
690 };
691
692} // namespace Model
693} // namespace DatabaseMigrationService
694} // namespace Aws
CreateEndpointRequest & WithNeptuneSettings(NeptuneSettingsT &&value)
CreateEndpointRequest & WithGcpMySQLSettings(GcpMySQLSettingsT &&value)
CreateEndpointRequest & WithDynamoDbSettings(DynamoDbSettingsT &&value)
CreateEndpointRequest & WithMicrosoftSQLServerSettings(MicrosoftSQLServerSettingsT &&value)
CreateEndpointRequest & WithKafkaSettings(KafkaSettingsT &&value)
CreateEndpointRequest & WithRedisSettings(RedisSettingsT &&value)
CreateEndpointRequest & WithExternalTableDefinition(ExternalTableDefinitionT &&value)
CreateEndpointRequest & WithKinesisSettings(KinesisSettingsT &&value)
CreateEndpointRequest & WithSybaseSettings(SybaseSettingsT &&value)
const MicrosoftSQLServerSettings & GetMicrosoftSQLServerSettings() const
CreateEndpointRequest & WithExtraConnectionAttributes(ExtraConnectionAttributesT &&value)
CreateEndpointRequest & WithS3Settings(S3SettingsT &&value)
void SetMicrosoftSQLServerSettings(MicrosoftSQLServerSettingsT &&value)
CreateEndpointRequest & WithCertificateArn(CertificateArnT &&value)
CreateEndpointRequest & WithDatabaseName(DatabaseNameT &&value)
CreateEndpointRequest & WithSslMode(DmsSslModeValue value)
CreateEndpointRequest & WithOracleSettings(OracleSettingsT &&value)
CreateEndpointRequest & WithMongoDbSettings(MongoDbSettingsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEndpointRequest & WithDocDbSettings(DocDbSettingsT &&value)
CreateEndpointRequest & WithElasticsearchSettings(ElasticsearchSettingsT &&value)
CreateEndpointRequest & WithServerName(ServerNameT &&value)
CreateEndpointRequest & WithRedshiftSettings(RedshiftSettingsT &&value)
CreateEndpointRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
void SetExtraConnectionAttributes(ExtraConnectionAttributesT &&value)
CreateEndpointRequest & WithMySQLSettings(MySQLSettingsT &&value)
CreateEndpointRequest & WithDmsTransferSettings(DmsTransferSettingsT &&value)
void SetExternalTableDefinition(ExternalTableDefinitionT &&value)
CreateEndpointRequest & WithTimestreamSettings(TimestreamSettingsT &&value)
CreateEndpointRequest & WithEngineName(EngineNameT &&value)
CreateEndpointRequest & WithServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
AWS_DATABASEMIGRATIONSERVICE_API CreateEndpointRequest()=default
CreateEndpointRequest & WithEndpointType(ReplicationEndpointTypeValue value)
CreateEndpointRequest & WithEndpointIdentifier(EndpointIdentifierT &&value)
CreateEndpointRequest & WithIBMDb2Settings(IBMDb2SettingsT &&value)
CreateEndpointRequest & WithPostgreSQLSettings(PostgreSQLSettingsT &&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