7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9#include <aws/dms/model/DatabaseMode.h>
10#include <aws/dms/model/LongVarcharMappingType.h>
11#include <aws/dms/model/PluginNameValue.h>
12#include <aws/dms/model/PostgreSQLAuthenticationMethod.h>
23namespace DatabaseMigrationService {
48 template <
typename AfterConnectScriptT = Aws::String>
50 m_afterConnectScriptHasBeenSet =
true;
51 m_afterConnectScript = std::forward<AfterConnectScriptT>(value);
53 template <
typename AfterConnectScriptT = Aws::String>
71 m_captureDdlsHasBeenSet =
true;
72 m_captureDdls = value;
89 m_maxFileSizeHasBeenSet =
true;
90 m_maxFileSize = value;
104 template <
typename DatabaseNameT = Aws::String>
106 m_databaseNameHasBeenSet =
true;
107 m_databaseName = std::forward<DatabaseNameT>(value);
109 template <
typename DatabaseNameT = Aws::String>
124 template <
typename DdlArtifactsSchemaT = Aws::String>
126 m_ddlArtifactsSchemaHasBeenSet =
true;
127 m_ddlArtifactsSchema = std::forward<DdlArtifactsSchemaT>(value);
129 template <
typename DdlArtifactsSchemaT = Aws::String>
145 m_executeTimeoutHasBeenSet =
true;
146 m_executeTimeout = value;
165 m_failTasksOnLobTruncationHasBeenSet =
true;
166 m_failTasksOnLobTruncation = value;
185 m_heartbeatEnableHasBeenSet =
true;
186 m_heartbeatEnable = value;
201 template <
typename HeartbeatSchemaT = Aws::String>
203 m_heartbeatSchemaHasBeenSet =
true;
204 m_heartbeatSchema = std::forward<HeartbeatSchemaT>(value);
206 template <
typename HeartbeatSchemaT = Aws::String>
221 m_heartbeatFrequencyHasBeenSet =
true;
222 m_heartbeatFrequency = value;
236 template <
typename PasswordT = Aws::String>
238 m_passwordHasBeenSet =
true;
239 m_password = std::forward<PasswordT>(value);
241 template <
typename PasswordT = Aws::String>
255 m_portHasBeenSet =
true;
277 template <
typename ServerNameT = Aws::String>
279 m_serverNameHasBeenSet =
true;
280 m_serverName = std::forward<ServerNameT>(value);
282 template <
typename ServerNameT = Aws::String>
295 template <
typename UsernameT = Aws::String>
297 m_usernameHasBeenSet =
true;
298 m_username = std::forward<UsernameT>(value);
300 template <
typename UsernameT = Aws::String>
331 template <
typename SlotNameT = Aws::String>
333 m_slotNameHasBeenSet =
true;
334 m_slotName = std::forward<SlotNameT>(value);
336 template <
typename SlotNameT = Aws::String>
351 m_pluginNameHasBeenSet =
true;
352 m_pluginName = value;
381 template <
typename SecretsManagerAccessRoleArnT = Aws::String>
383 m_secretsManagerAccessRoleArnHasBeenSet =
true;
384 m_secretsManagerAccessRoleArn = std::forward<SecretsManagerAccessRoleArnT>(value);
386 template <
typename SecretsManagerAccessRoleArnT = Aws::String>
401 template <
typename SecretsManagerSecretIdT = Aws::String>
403 m_secretsManagerSecretIdHasBeenSet =
true;
404 m_secretsManagerSecretId = std::forward<SecretsManagerSecretIdT>(value);
406 template <
typename SecretsManagerSecretIdT = Aws::String>
422 m_trimSpaceInCharHasBeenSet =
true;
423 m_trimSpaceInChar = value;
441 m_mapBooleanAsBooleanHasBeenSet =
true;
442 m_mapBooleanAsBoolean = value;
458 m_mapJsonbAsClobHasBeenSet =
true;
459 m_mapJsonbAsClob = value;
475 m_mapLongVarcharAsHasBeenSet =
true;
476 m_mapLongVarcharAs = value;
493 m_databaseModeHasBeenSet =
true;
494 m_databaseMode = value;
508 template <
typename BabelfishDatabaseNameT = Aws::String>
510 m_babelfishDatabaseNameHasBeenSet =
true;
511 m_babelfishDatabaseName = std::forward<BabelfishDatabaseNameT>(value);
513 template <
typename BabelfishDatabaseNameT = Aws::String>
532 m_disableUnicodeSourceFilterHasBeenSet =
true;
533 m_disableUnicodeSourceFilter = value;
549 template <
typename ServiceAccessRoleArnT = Aws::String>
551 m_serviceAccessRoleArnHasBeenSet =
true;
552 m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value);
554 template <
typename ServiceAccessRoleArnT = Aws::String>
569 m_authenticationMethodHasBeenSet =
true;
570 m_authenticationMethod = value;
580 bool m_captureDdls{
false};
582 int m_maxFileSize{0};
588 int m_executeTimeout{0};
590 bool m_failTasksOnLobTruncation{
false};
592 bool m_heartbeatEnable{
false};
596 int m_heartbeatFrequency{0};
614 bool m_trimSpaceInChar{
false};
616 bool m_mapBooleanAsBoolean{
false};
618 bool m_mapJsonbAsClob{
false};
626 bool m_disableUnicodeSourceFilter{
false};
631 bool m_afterConnectScriptHasBeenSet =
false;
632 bool m_captureDdlsHasBeenSet =
false;
633 bool m_maxFileSizeHasBeenSet =
false;
634 bool m_databaseNameHasBeenSet =
false;
635 bool m_ddlArtifactsSchemaHasBeenSet =
false;
636 bool m_executeTimeoutHasBeenSet =
false;
637 bool m_failTasksOnLobTruncationHasBeenSet =
false;
638 bool m_heartbeatEnableHasBeenSet =
false;
639 bool m_heartbeatSchemaHasBeenSet =
false;
640 bool m_heartbeatFrequencyHasBeenSet =
false;
641 bool m_passwordHasBeenSet =
false;
642 bool m_portHasBeenSet =
false;
643 bool m_serverNameHasBeenSet =
false;
644 bool m_usernameHasBeenSet =
false;
645 bool m_slotNameHasBeenSet =
false;
646 bool m_pluginNameHasBeenSet =
false;
647 bool m_secretsManagerAccessRoleArnHasBeenSet =
false;
648 bool m_secretsManagerSecretIdHasBeenSet =
false;
649 bool m_trimSpaceInCharHasBeenSet =
false;
650 bool m_mapBooleanAsBooleanHasBeenSet =
false;
651 bool m_mapJsonbAsClobHasBeenSet =
false;
652 bool m_mapLongVarcharAsHasBeenSet =
false;
653 bool m_databaseModeHasBeenSet =
false;
654 bool m_babelfishDatabaseNameHasBeenSet =
false;
655 bool m_disableUnicodeSourceFilterHasBeenSet =
false;
656 bool m_serviceAccessRoleArnHasBeenSet =
false;
657 bool m_authenticationMethodHasBeenSet =
false;
bool ServiceAccessRoleArnHasBeenSet() const
PostgreSQLSettings & WithHeartbeatEnable(bool value)
void SetDatabaseName(DatabaseNameT &&value)
const Aws::String & GetUsername() const
void SetDatabaseMode(DatabaseMode value)
bool DatabaseModeHasBeenSet() const
void SetHeartbeatFrequency(int value)
AWS_DATABASEMIGRATIONSERVICE_API PostgreSQLSettings()=default
PostgreSQLSettings & WithAfterConnectScript(AfterConnectScriptT &&value)
void SetCaptureDdls(bool value)
void SetServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
void SetExecuteTimeout(int value)
void SetMapBooleanAsBoolean(bool value)
PostgreSQLSettings & WithMaxFileSize(int value)
PostgreSQLSettings & WithCaptureDdls(bool value)
PostgreSQLSettings & WithMapBooleanAsBoolean(bool value)
const Aws::String & GetServiceAccessRoleArn() const
void SetAuthenticationMethod(PostgreSQLAuthenticationMethod value)
const Aws::String & GetServerName() const
PostgreSQLSettings & WithDisableUnicodeSourceFilter(bool value)
void SetAfterConnectScript(AfterConnectScriptT &&value)
const Aws::String & GetDdlArtifactsSchema() const
const Aws::String & GetPassword() const
bool SlotNameHasBeenSet() const
bool CaptureDdlsHasBeenSet() const
const Aws::String & GetBabelfishDatabaseName() const
int GetExecuteTimeout() const
void SetBabelfishDatabaseName(BabelfishDatabaseNameT &&value)
PostgreSQLSettings & WithServerName(ServerNameT &&value)
PostgreSQLAuthenticationMethod GetAuthenticationMethod() const
bool ExecuteTimeoutHasBeenSet() const
PostgreSQLSettings & WithTrimSpaceInChar(bool value)
PostgreSQLSettings & WithPort(int value)
int GetHeartbeatFrequency() const
bool GetCaptureDdls() const
bool PortHasBeenSet() const
bool SecretsManagerAccessRoleArnHasBeenSet() const
bool PluginNameHasBeenSet() const
bool MapJsonbAsClobHasBeenSet() const
bool GetTrimSpaceInChar() const
PostgreSQLSettings & WithDatabaseMode(DatabaseMode value)
bool ServerNameHasBeenSet() const
void SetSlotName(SlotNameT &&value)
bool MapLongVarcharAsHasBeenSet() const
PostgreSQLSettings & WithAuthenticationMethod(PostgreSQLAuthenticationMethod value)
bool SecretsManagerSecretIdHasBeenSet() const
PostgreSQLSettings & WithBabelfishDatabaseName(BabelfishDatabaseNameT &&value)
PostgreSQLSettings & WithServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDatabaseName() const
void SetFailTasksOnLobTruncation(bool value)
const Aws::String & GetSecretsManagerSecretId() const
bool HeartbeatSchemaHasBeenSet() const
PostgreSQLSettings & WithDatabaseName(DatabaseNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API PostgreSQLSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AuthenticationMethodHasBeenSet() const
const Aws::String & GetSecretsManagerAccessRoleArn() const
bool MapBooleanAsBooleanHasBeenSet() const
void SetSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
PostgreSQLSettings & WithDdlArtifactsSchema(DdlArtifactsSchemaT &&value)
void SetPluginName(PluginNameValue value)
void SetDisableUnicodeSourceFilter(bool value)
PostgreSQLSettings & WithMapJsonbAsClob(bool value)
const Aws::String & GetHeartbeatSchema() const
PostgreSQLSettings & WithHeartbeatFrequency(int value)
void SetServerName(ServerNameT &&value)
void SetDdlArtifactsSchema(DdlArtifactsSchemaT &&value)
PostgreSQLSettings & WithExecuteTimeout(int value)
void SetMapJsonbAsClob(bool value)
const Aws::String & GetSlotName() const
void SetHeartbeatSchema(HeartbeatSchemaT &&value)
void SetPassword(PasswordT &&value)
PostgreSQLSettings & WithPassword(PasswordT &&value)
bool GetMapBooleanAsBoolean() const
DatabaseMode GetDatabaseMode() const
bool TrimSpaceInCharHasBeenSet() const
bool FailTasksOnLobTruncationHasBeenSet() const
void SetHeartbeatEnable(bool value)
bool DisableUnicodeSourceFilterHasBeenSet() const
bool GetHeartbeatEnable() const
LongVarcharMappingType GetMapLongVarcharAs() const
void SetTrimSpaceInChar(bool value)
bool HeartbeatEnableHasBeenSet() const
PostgreSQLSettings & WithSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
bool GetMapJsonbAsClob() const
bool UsernameHasBeenSet() const
bool AfterConnectScriptHasBeenSet() const
PostgreSQLSettings & WithHeartbeatSchema(HeartbeatSchemaT &&value)
PostgreSQLSettings & WithMapLongVarcharAs(LongVarcharMappingType value)
bool GetFailTasksOnLobTruncation() const
PostgreSQLSettings & WithSlotName(SlotNameT &&value)
void SetUsername(UsernameT &&value)
bool PasswordHasBeenSet() const
bool BabelfishDatabaseNameHasBeenSet() const
PostgreSQLSettings & WithFailTasksOnLobTruncation(bool value)
int GetMaxFileSize() const
bool GetDisableUnicodeSourceFilter() const
bool DatabaseNameHasBeenSet() const
bool MaxFileSizeHasBeenSet() const
const Aws::String & GetAfterConnectScript() const
void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
bool HeartbeatFrequencyHasBeenSet() const
PostgreSQLSettings & WithUsername(UsernameT &&value)
void SetMaxFileSize(int value)
bool DdlArtifactsSchemaHasBeenSet() const
PluginNameValue GetPluginName() const
AWS_DATABASEMIGRATIONSERVICE_API PostgreSQLSettings(Aws::Utils::Json::JsonView jsonValue)
PostgreSQLSettings & WithSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
PostgreSQLSettings & WithPluginName(PluginNameValue value)
void SetMapLongVarcharAs(LongVarcharMappingType value)
PostgreSQLAuthenticationMethod
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue