7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/ReplicationEndpointTypeValue.h>
10#include <aws/dms/model/DmsSslModeValue.h>
11#include <aws/dms/model/DynamoDbSettings.h>
12#include <aws/dms/model/S3Settings.h>
13#include <aws/dms/model/DmsTransferSettings.h>
14#include <aws/dms/model/MongoDbSettings.h>
15#include <aws/dms/model/KinesisSettings.h>
16#include <aws/dms/model/KafkaSettings.h>
17#include <aws/dms/model/ElasticsearchSettings.h>
18#include <aws/dms/model/NeptuneSettings.h>
19#include <aws/dms/model/RedshiftSettings.h>
20#include <aws/dms/model/PostgreSQLSettings.h>
21#include <aws/dms/model/MySQLSettings.h>
22#include <aws/dms/model/OracleSettings.h>
23#include <aws/dms/model/SybaseSettings.h>
24#include <aws/dms/model/MicrosoftSQLServerSettings.h>
25#include <aws/dms/model/IBMDb2Settings.h>
26#include <aws/dms/model/DocDbSettings.h>
27#include <aws/dms/model/RedisSettings.h>
28#include <aws/dms/model/GcpMySQLSettings.h>
29#include <aws/dms/model/TimestreamSettings.h>
42namespace DatabaseMigrationService
58 AWS_DATABASEMIGRATIONSERVICE_API
Endpoint() =
default;
72 template<
typename Endpo
intIdentifierT = Aws::String>
73 void SetEndpointIdentifier(EndpointIdentifierT&& value) { m_endpointIdentifierHasBeenSet =
true; m_endpointIdentifier = std::forward<EndpointIdentifierT>(value); }
74 template<
typename Endpo
intIdentifierT = Aws::String>
103 template<
typename EngineNameT = Aws::String>
104 void SetEngineName(EngineNameT&& value) { m_engineNameHasBeenSet =
true; m_engineName = std::forward<EngineNameT>(value); }
105 template<
typename EngineNameT = Aws::String>
117 template<
typename EngineDisplayNameT = Aws::String>
118 void SetEngineDisplayName(EngineDisplayNameT&& value) { m_engineDisplayNameHasBeenSet =
true; m_engineDisplayName = std::forward<EngineDisplayNameT>(value); }
119 template<
typename EngineDisplayNameT = Aws::String>
129 template<
typename UsernameT = Aws::String>
130 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
131 template<
typename UsernameT = Aws::String>
141 template<
typename ServerNameT = Aws::String>
142 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet =
true; m_serverName = std::forward<ServerNameT>(value); }
143 template<
typename ServerNameT = Aws::String>
153 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
163 template<
typename DatabaseNameT = Aws::String>
164 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
165 template<
typename DatabaseNameT = Aws::String>
175 template<
typename ExtraConnectionAttributesT = Aws::String>
176 void SetExtraConnectionAttributes(ExtraConnectionAttributesT&& value) { m_extraConnectionAttributesHasBeenSet =
true; m_extraConnectionAttributes = std::forward<ExtraConnectionAttributesT>(value); }
177 template<
typename ExtraConnectionAttributesT = Aws::String>
187 template<
typename StatusT = Aws::String>
188 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
189 template<
typename StatusT = Aws::String>
204 template<
typename KmsKeyIdT = Aws::String>
205 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
206 template<
typename KmsKeyIdT = Aws::String>
217 template<
typename Endpo
intArnT = Aws::String>
218 void SetEndpointArn(EndpointArnT&& value) { m_endpointArnHasBeenSet =
true; m_endpointArn = std::forward<EndpointArnT>(value); }
219 template<
typename Endpo
intArnT = Aws::String>
229 template<
typename CertificateArnT = Aws::String>
230 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet =
true; m_certificateArn = std::forward<CertificateArnT>(value); }
231 template<
typename CertificateArnT = Aws::String>
253 template<
typename ServiceAccessRoleArnT = Aws::String>
254 void SetServiceAccessRoleArn(ServiceAccessRoleArnT&& value) { m_serviceAccessRoleArnHasBeenSet =
true; m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value); }
255 template<
typename ServiceAccessRoleArnT = Aws::String>
265 template<
typename ExternalTableDefinitionT = Aws::String>
266 void SetExternalTableDefinition(ExternalTableDefinitionT&& value) { m_externalTableDefinitionHasBeenSet =
true; m_externalTableDefinition = std::forward<ExternalTableDefinitionT>(value); }
267 template<
typename ExternalTableDefinitionT = Aws::String>
279 template<
typename ExternalIdT = Aws::String>
280 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
281 template<
typename ExternalIdT = Aws::String>
292 template<
typename DynamoDbSettingsT = DynamoDbSettings>
293 void SetDynamoDbSettings(DynamoDbSettingsT&& value) { m_dynamoDbSettingsHasBeenSet =
true; m_dynamoDbSettings = std::forward<DynamoDbSettingsT>(value); }
294 template<
typename DynamoDbSettingsT = DynamoDbSettings>
305 template<
typename S3SettingsT = S3Settings>
306 void SetS3Settings(S3SettingsT&& value) { m_s3SettingsHasBeenSet =
true; m_s3Settings = std::forward<S3SettingsT>(value); }
307 template<
typename S3SettingsT = S3Settings>
318 template<
typename DmsTransferSettingsT = DmsTransferSettings>
319 void SetDmsTransferSettings(DmsTransferSettingsT&& value) { m_dmsTransferSettingsHasBeenSet =
true; m_dmsTransferSettings = std::forward<DmsTransferSettingsT>(value); }
320 template<
typename DmsTransferSettingsT = DmsTransferSettings>
331 template<
typename MongoDbSettingsT = MongoDbSettings>
332 void SetMongoDbSettings(MongoDbSettingsT&& value) { m_mongoDbSettingsHasBeenSet =
true; m_mongoDbSettings = std::forward<MongoDbSettingsT>(value); }
333 template<
typename MongoDbSettingsT = MongoDbSettings>
344 template<
typename KinesisSettingsT = KinesisSettings>
345 void SetKinesisSettings(KinesisSettingsT&& value) { m_kinesisSettingsHasBeenSet =
true; m_kinesisSettings = std::forward<KinesisSettingsT>(value); }
346 template<
typename KinesisSettingsT = KinesisSettings>
357 template<
typename KafkaSettingsT = KafkaSettings>
358 void SetKafkaSettings(KafkaSettingsT&& value) { m_kafkaSettingsHasBeenSet =
true; m_kafkaSettings = std::forward<KafkaSettingsT>(value); }
359 template<
typename KafkaSettingsT = KafkaSettings>
370 template<
typename ElasticsearchSettingsT = ElasticsearchSettings>
371 void SetElasticsearchSettings(ElasticsearchSettingsT&& value) { m_elasticsearchSettingsHasBeenSet =
true; m_elasticsearchSettings = std::forward<ElasticsearchSettingsT>(value); }
372 template<
typename ElasticsearchSettingsT = ElasticsearchSettings>
383 template<
typename NeptuneSettingsT = NeptuneSettings>
384 void SetNeptuneSettings(NeptuneSettingsT&& value) { m_neptuneSettingsHasBeenSet =
true; m_neptuneSettings = std::forward<NeptuneSettingsT>(value); }
385 template<
typename NeptuneSettingsT = NeptuneSettings>
395 template<
typename RedshiftSettingsT = RedshiftSettings>
396 void SetRedshiftSettings(RedshiftSettingsT&& value) { m_redshiftSettingsHasBeenSet =
true; m_redshiftSettings = std::forward<RedshiftSettingsT>(value); }
397 template<
typename RedshiftSettingsT = RedshiftSettings>
408 template<
typename PostgreSQLSettingsT = PostgreSQLSettings>
409 void SetPostgreSQLSettings(PostgreSQLSettingsT&& value) { m_postgreSQLSettingsHasBeenSet =
true; m_postgreSQLSettings = std::forward<PostgreSQLSettingsT>(value); }
410 template<
typename PostgreSQLSettingsT = PostgreSQLSettings>
421 template<
typename MySQLSettingsT = MySQLSettings>
422 void SetMySQLSettings(MySQLSettingsT&& value) { m_mySQLSettingsHasBeenSet =
true; m_mySQLSettings = std::forward<MySQLSettingsT>(value); }
423 template<
typename MySQLSettingsT = MySQLSettings>
434 template<
typename OracleSettingsT = OracleSettings>
435 void SetOracleSettings(OracleSettingsT&& value) { m_oracleSettingsHasBeenSet =
true; m_oracleSettings = std::forward<OracleSettingsT>(value); }
436 template<
typename OracleSettingsT = OracleSettings>
447 template<
typename SybaseSettingsT = SybaseSettings>
448 void SetSybaseSettings(SybaseSettingsT&& value) { m_sybaseSettingsHasBeenSet =
true; m_sybaseSettings = std::forward<SybaseSettingsT>(value); }
449 template<
typename SybaseSettingsT = SybaseSettings>
460 template<
typename MicrosoftSQLServerSettingsT = MicrosoftSQLServerSettings>
461 void SetMicrosoftSQLServerSettings(MicrosoftSQLServerSettingsT&& value) { m_microsoftSQLServerSettingsHasBeenSet =
true; m_microsoftSQLServerSettings = std::forward<MicrosoftSQLServerSettingsT>(value); }
462 template<
typename MicrosoftSQLServerSettingsT = MicrosoftSQLServerSettings>
473 template<
typename IBMDb2SettingsT = IBMDb2Settings>
474 void SetIBMDb2Settings(IBMDb2SettingsT&& value) { m_iBMDb2SettingsHasBeenSet =
true; m_iBMDb2Settings = std::forward<IBMDb2SettingsT>(value); }
475 template<
typename IBMDb2SettingsT = IBMDb2Settings>
483 template<
typename DocDbSettingsT = DocDbSettings>
484 void SetDocDbSettings(DocDbSettingsT&& value) { m_docDbSettingsHasBeenSet =
true; m_docDbSettings = std::forward<DocDbSettingsT>(value); }
485 template<
typename DocDbSettingsT = DocDbSettings>
496 template<
typename RedisSettingsT = RedisSettings>
497 void SetRedisSettings(RedisSettingsT&& value) { m_redisSettingsHasBeenSet =
true; m_redisSettings = std::forward<RedisSettingsT>(value); }
498 template<
typename RedisSettingsT = RedisSettings>
508 template<
typename GcpMySQLSettingsT = GcpMySQLSettings>
509 void SetGcpMySQLSettings(GcpMySQLSettingsT&& value) { m_gcpMySQLSettingsHasBeenSet =
true; m_gcpMySQLSettings = std::forward<GcpMySQLSettingsT>(value); }
510 template<
typename GcpMySQLSettingsT = GcpMySQLSettings>
521 template<
typename TimestreamSettingsT = TimestreamSettings>
522 void SetTimestreamSettings(TimestreamSettingsT&& value) { m_timestreamSettingsHasBeenSet =
true; m_timestreamSettings = std::forward<TimestreamSettingsT>(value); }
523 template<
typename TimestreamSettingsT = TimestreamSettings>
529 bool m_endpointIdentifierHasBeenSet =
false;
532 bool m_endpointTypeHasBeenSet =
false;
535 bool m_engineNameHasBeenSet =
false;
538 bool m_engineDisplayNameHasBeenSet =
false;
541 bool m_usernameHasBeenSet =
false;
544 bool m_serverNameHasBeenSet =
false;
547 bool m_portHasBeenSet =
false;
550 bool m_databaseNameHasBeenSet =
false;
553 bool m_extraConnectionAttributesHasBeenSet =
false;
556 bool m_statusHasBeenSet =
false;
559 bool m_kmsKeyIdHasBeenSet =
false;
562 bool m_endpointArnHasBeenSet =
false;
565 bool m_certificateArnHasBeenSet =
false;
568 bool m_sslModeHasBeenSet =
false;
571 bool m_serviceAccessRoleArnHasBeenSet =
false;
574 bool m_externalTableDefinitionHasBeenSet =
false;
577 bool m_externalIdHasBeenSet =
false;
579 DynamoDbSettings m_dynamoDbSettings;
580 bool m_dynamoDbSettingsHasBeenSet =
false;
582 S3Settings m_s3Settings;
583 bool m_s3SettingsHasBeenSet =
false;
585 DmsTransferSettings m_dmsTransferSettings;
586 bool m_dmsTransferSettingsHasBeenSet =
false;
588 MongoDbSettings m_mongoDbSettings;
589 bool m_mongoDbSettingsHasBeenSet =
false;
591 KinesisSettings m_kinesisSettings;
592 bool m_kinesisSettingsHasBeenSet =
false;
594 KafkaSettings m_kafkaSettings;
595 bool m_kafkaSettingsHasBeenSet =
false;
597 ElasticsearchSettings m_elasticsearchSettings;
598 bool m_elasticsearchSettingsHasBeenSet =
false;
600 NeptuneSettings m_neptuneSettings;
601 bool m_neptuneSettingsHasBeenSet =
false;
603 RedshiftSettings m_redshiftSettings;
604 bool m_redshiftSettingsHasBeenSet =
false;
606 PostgreSQLSettings m_postgreSQLSettings;
607 bool m_postgreSQLSettingsHasBeenSet =
false;
609 MySQLSettings m_mySQLSettings;
610 bool m_mySQLSettingsHasBeenSet =
false;
612 OracleSettings m_oracleSettings;
613 bool m_oracleSettingsHasBeenSet =
false;
615 SybaseSettings m_sybaseSettings;
616 bool m_sybaseSettingsHasBeenSet =
false;
618 MicrosoftSQLServerSettings m_microsoftSQLServerSettings;
619 bool m_microsoftSQLServerSettingsHasBeenSet =
false;
621 IBMDb2Settings m_iBMDb2Settings;
622 bool m_iBMDb2SettingsHasBeenSet =
false;
624 DocDbSettings m_docDbSettings;
625 bool m_docDbSettingsHasBeenSet =
false;
627 RedisSettings m_redisSettings;
628 bool m_redisSettingsHasBeenSet =
false;
630 GcpMySQLSettings m_gcpMySQLSettings;
631 bool m_gcpMySQLSettingsHasBeenSet =
false;
633 TimestreamSettings m_timestreamSettings;
634 bool m_timestreamSettingsHasBeenSet =
false;
bool KmsKeyIdHasBeenSet() const
bool EndpointTypeHasBeenSet() const
const MicrosoftSQLServerSettings & GetMicrosoftSQLServerSettings() const
bool UsernameHasBeenSet() const
Endpoint & WithOracleSettings(OracleSettingsT &&value)
bool OracleSettingsHasBeenSet() const
Endpoint & WithGcpMySQLSettings(GcpMySQLSettingsT &&value)
Endpoint & WithIBMDb2Settings(IBMDb2SettingsT &&value)
const DynamoDbSettings & GetDynamoDbSettings() const
const Aws::String & GetKmsKeyId() const
const Aws::String & GetCertificateArn() const
void SetDmsTransferSettings(DmsTransferSettingsT &&value)
void SetDocDbSettings(DocDbSettingsT &&value)
bool SslModeHasBeenSet() const
bool KinesisSettingsHasBeenSet() const
bool GcpMySQLSettingsHasBeenSet() const
const Aws::String & GetExtraConnectionAttributes() const
bool KafkaSettingsHasBeenSet() const
bool EngineNameHasBeenSet() const
void SetStatus(StatusT &&value)
DmsSslModeValue GetSslMode() const
bool RedshiftSettingsHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool DynamoDbSettingsHasBeenSet() const
void SetServerName(ServerNameT &&value)
bool MySQLSettingsHasBeenSet() const
bool ServerNameHasBeenSet() const
const NeptuneSettings & GetNeptuneSettings() const
bool DocDbSettingsHasBeenSet() const
bool NeptuneSettingsHasBeenSet() const
Endpoint & WithSybaseSettings(SybaseSettingsT &&value)
const SybaseSettings & GetSybaseSettings() const
const Aws::String & GetDatabaseName() const
bool IBMDb2SettingsHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API Endpoint(Aws::Utils::Json::JsonView jsonValue)
void SetEngineDisplayName(EngineDisplayNameT &&value)
void SetUsername(UsernameT &&value)
bool DmsTransferSettingsHasBeenSet() const
const IBMDb2Settings & GetIBMDb2Settings() const
const Aws::String & GetStatus() const
Endpoint & WithRedisSettings(RedisSettingsT &&value)
const Aws::String & GetEndpointArn() const
void SetCertificateArn(CertificateArnT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Endpoint()=default
const DocDbSettings & GetDocDbSettings() const
bool StatusHasBeenSet() const
void SetExtraConnectionAttributes(ExtraConnectionAttributesT &&value)
void SetElasticsearchSettings(ElasticsearchSettingsT &&value)
bool S3SettingsHasBeenSet() const
Endpoint & WithKafkaSettings(KafkaSettingsT &&value)
bool DatabaseNameHasBeenSet() const
Endpoint & WithEngineDisplayName(EngineDisplayNameT &&value)
const Aws::String & GetUsername() const
Endpoint & WithStatus(StatusT &&value)
Endpoint & WithEndpointIdentifier(EndpointIdentifierT &&value)
const MongoDbSettings & GetMongoDbSettings() const
bool MongoDbSettingsHasBeenSet() const
const Aws::String & GetServerName() const
bool EndpointArnHasBeenSet() const
Endpoint & WithEngineName(EngineNameT &&value)
void SetDatabaseName(DatabaseNameT &&value)
bool RedisSettingsHasBeenSet() const
void SetGcpMySQLSettings(GcpMySQLSettingsT &&value)
void SetIBMDb2Settings(IBMDb2SettingsT &&value)
void SetKinesisSettings(KinesisSettingsT &&value)
bool ServiceAccessRoleArnHasBeenSet() const
void SetMicrosoftSQLServerSettings(MicrosoftSQLServerSettingsT &&value)
bool ExtraConnectionAttributesHasBeenSet() const
Endpoint & WithExternalId(ExternalIdT &&value)
const Aws::String & GetEngineDisplayName() const
Endpoint & WithExternalTableDefinition(ExternalTableDefinitionT &&value)
void SetExternalTableDefinition(ExternalTableDefinitionT &&value)
Endpoint & WithPostgreSQLSettings(PostgreSQLSettingsT &&value)
Endpoint & WithMicrosoftSQLServerSettings(MicrosoftSQLServerSettingsT &&value)
void SetSslMode(DmsSslModeValue value)
void SetRedshiftSettings(RedshiftSettingsT &&value)
void SetEndpointArn(EndpointArnT &&value)
Endpoint & WithDynamoDbSettings(DynamoDbSettingsT &&value)
const Aws::String & GetServiceAccessRoleArn() const
const Aws::String & GetEngineName() const
Endpoint & WithKinesisSettings(KinesisSettingsT &&value)
bool PostgreSQLSettingsHasBeenSet() const
Endpoint & WithDmsTransferSettings(DmsTransferSettingsT &&value)
Endpoint & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetExternalTableDefinition() const
Endpoint & WithServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
void SetSybaseSettings(SybaseSettingsT &&value)
Endpoint & WithPort(int value)
Endpoint & WithEndpointType(ReplicationEndpointTypeValue value)
const MySQLSettings & GetMySQLSettings() const
AWS_DATABASEMIGRATIONSERVICE_API Endpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEngineName(EngineNameT &&value)
bool ElasticsearchSettingsHasBeenSet() const
const RedisSettings & GetRedisSettings() const
Endpoint & WithDatabaseName(DatabaseNameT &&value)
bool TimestreamSettingsHasBeenSet() const
Endpoint & WithMySQLSettings(MySQLSettingsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
Endpoint & WithNeptuneSettings(NeptuneSettingsT &&value)
const ElasticsearchSettings & GetElasticsearchSettings() const
Endpoint & WithDocDbSettings(DocDbSettingsT &&value)
bool MicrosoftSQLServerSettingsHasBeenSet() const
Endpoint & WithMongoDbSettings(MongoDbSettingsT &&value)
void SetEndpointIdentifier(EndpointIdentifierT &&value)
void SetOracleSettings(OracleSettingsT &&value)
Endpoint & WithUsername(UsernameT &&value)
void SetKafkaSettings(KafkaSettingsT &&value)
void SetMySQLSettings(MySQLSettingsT &&value)
void SetPostgreSQLSettings(PostgreSQLSettingsT &&value)
bool CertificateArnHasBeenSet() const
void SetRedisSettings(RedisSettingsT &&value)
Endpoint & WithS3Settings(S3SettingsT &&value)
Endpoint & WithTimestreamSettings(TimestreamSettingsT &&value)
const KinesisSettings & GetKinesisSettings() const
void SetMongoDbSettings(MongoDbSettingsT &&value)
Endpoint & WithCertificateArn(CertificateArnT &&value)
bool EndpointIdentifierHasBeenSet() const
const S3Settings & GetS3Settings() const
bool EngineDisplayNameHasBeenSet() const
const DmsTransferSettings & GetDmsTransferSettings() const
Endpoint & WithServerName(ServerNameT &&value)
bool PortHasBeenSet() const
const OracleSettings & GetOracleSettings() const
Endpoint & WithRedshiftSettings(RedshiftSettingsT &&value)
void SetEndpointType(ReplicationEndpointTypeValue value)
Endpoint & WithSslMode(DmsSslModeValue value)
void SetDynamoDbSettings(DynamoDbSettingsT &&value)
const PostgreSQLSettings & GetPostgreSQLSettings() const
const Aws::String & GetEndpointIdentifier() const
bool ExternalTableDefinitionHasBeenSet() const
void SetNeptuneSettings(NeptuneSettingsT &&value)
Endpoint & WithEndpointArn(EndpointArnT &&value)
void SetExternalId(ExternalIdT &&value)
const GcpMySQLSettings & GetGcpMySQLSettings() const
void SetTimestreamSettings(TimestreamSettingsT &&value)
const KafkaSettings & GetKafkaSettings() const
Endpoint & WithElasticsearchSettings(ElasticsearchSettingsT &&value)
Endpoint & WithExtraConnectionAttributes(ExtraConnectionAttributesT &&value)
ReplicationEndpointTypeValue GetEndpointType() const
void SetServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
const Aws::String & GetExternalId() const
const RedshiftSettings & GetRedshiftSettings() const
bool ExternalIdHasBeenSet() const
const TimestreamSettings & GetTimestreamSettings() const
bool SybaseSettingsHasBeenSet() const
void SetS3Settings(S3SettingsT &&value)
ReplicationEndpointTypeValue
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue