7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace DatabaseMigrationService
47 template<
typename DatabaseNameT = Aws::String>
48 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
49 template<
typename DatabaseNameT = Aws::String>
59 template<
typename PasswordT = Aws::String>
60 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
61 template<
typename PasswordT = Aws::String>
69 inline int GetPort()
const {
return m_port; }
71 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
81 template<
typename ServerNameT = Aws::String>
82 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet =
true; m_serverName = std::forward<ServerNameT>(value); }
83 template<
typename ServerNameT = Aws::String>
94 inline void SetSetDataCaptureChanges(
bool value) { m_setDataCaptureChangesHasBeenSet =
true; m_setDataCaptureChanges = value; }
105 template<
typename CurrentLsnT = Aws::String>
106 void SetCurrentLsn(CurrentLsnT&& value) { m_currentLsnHasBeenSet =
true; m_currentLsn = std::forward<CurrentLsnT>(value); }
107 template<
typename CurrentLsnT = Aws::String>
118 inline void SetMaxKBytesPerRead(
int value) { m_maxKBytesPerReadHasBeenSet =
true; m_maxKBytesPerRead = value; }
128 template<
typename UsernameT = Aws::String>
129 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
130 template<
typename UsernameT = Aws::String>
155 template<
typename SecretsManagerAccessRoleArnT = Aws::String>
156 void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT&& value) { m_secretsManagerAccessRoleArnHasBeenSet =
true; m_secretsManagerAccessRoleArn = std::forward<SecretsManagerAccessRoleArnT>(value); }
157 template<
typename SecretsManagerAccessRoleArnT = Aws::String>
169 template<
typename SecretsManagerSecretIdT = Aws::String>
170 void SetSecretsManagerSecretId(SecretsManagerSecretIdT&& value) { m_secretsManagerSecretIdHasBeenSet =
true; m_secretsManagerSecretId = std::forward<SecretsManagerSecretIdT>(value); }
171 template<
typename SecretsManagerSecretIdT = Aws::String>
182 inline void SetLoadTimeout(
int value) { m_loadTimeoutHasBeenSet =
true; m_loadTimeout = value; }
194 inline void SetWriteBufferSize(
int value) { m_writeBufferSizeHasBeenSet =
true; m_writeBufferSize = value; }
205 inline void SetMaxFileSize(
int value) { m_maxFileSizeHasBeenSet =
true; m_maxFileSize = value; }
217 inline void SetKeepCsvFiles(
bool value) { m_keepCsvFilesHasBeenSet =
true; m_keepCsvFiles = value; }
223 bool m_databaseNameHasBeenSet =
false;
226 bool m_passwordHasBeenSet =
false;
229 bool m_portHasBeenSet =
false;
232 bool m_serverNameHasBeenSet =
false;
234 bool m_setDataCaptureChanges{
false};
235 bool m_setDataCaptureChangesHasBeenSet =
false;
238 bool m_currentLsnHasBeenSet =
false;
240 int m_maxKBytesPerRead{0};
241 bool m_maxKBytesPerReadHasBeenSet =
false;
244 bool m_usernameHasBeenSet =
false;
247 bool m_secretsManagerAccessRoleArnHasBeenSet =
false;
250 bool m_secretsManagerSecretIdHasBeenSet =
false;
252 int m_loadTimeout{0};
253 bool m_loadTimeoutHasBeenSet =
false;
255 int m_writeBufferSize{0};
256 bool m_writeBufferSizeHasBeenSet =
false;
258 int m_maxFileSize{0};
259 bool m_maxFileSizeHasBeenSet =
false;
261 bool m_keepCsvFiles{
false};
262 bool m_keepCsvFilesHasBeenSet =
false;
const Aws::String & GetSecretsManagerAccessRoleArn() const
IBMDb2Settings & WithMaxKBytesPerRead(int value)
bool PasswordHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings(Aws::Utils::Json::JsonView jsonValue)
IBMDb2Settings & WithMaxFileSize(int value)
void SetSetDataCaptureChanges(bool value)
IBMDb2Settings & WithWriteBufferSize(int value)
bool UsernameHasBeenSet() const
bool SecretsManagerSecretIdHasBeenSet() const
void SetWriteBufferSize(int value)
bool SecretsManagerAccessRoleArnHasBeenSet() const
bool ServerNameHasBeenSet() const
void SetDatabaseName(DatabaseNameT &&value)
void SetPassword(PasswordT &&value)
IBMDb2Settings & WithCurrentLsn(CurrentLsnT &&value)
const Aws::String & GetCurrentLsn() const
const Aws::String & GetSecretsManagerSecretId() const
void SetUsername(UsernameT &&value)
bool GetSetDataCaptureChanges() const
void SetKeepCsvFiles(bool value)
bool MaxKBytesPerReadHasBeenSet() const
bool KeepCsvFilesHasBeenSet() const
IBMDb2Settings & WithDatabaseName(DatabaseNameT &&value)
void SetLoadTimeout(int value)
IBMDb2Settings & WithSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
bool LoadTimeoutHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings()=default
const Aws::String & GetDatabaseName() const
const Aws::String & GetUsername() const
bool PortHasBeenSet() const
IBMDb2Settings & WithUsername(UsernameT &&value)
void SetMaxFileSize(int value)
bool MaxFileSizeHasBeenSet() const
int GetWriteBufferSize() const
const Aws::String & GetPassword() const
int GetMaxFileSize() const
IBMDb2Settings & WithSetDataCaptureChanges(bool value)
void SetMaxKBytesPerRead(int value)
void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
void SetSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
IBMDb2Settings & WithKeepCsvFiles(bool value)
AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SetDataCaptureChangesHasBeenSet() const
void SetServerName(ServerNameT &&value)
bool WriteBufferSizeHasBeenSet() const
IBMDb2Settings & WithSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
bool CurrentLsnHasBeenSet() const
int GetMaxKBytesPerRead() const
IBMDb2Settings & WithLoadTimeout(int value)
IBMDb2Settings & WithPassword(PasswordT &&value)
void SetCurrentLsn(CurrentLsnT &&value)
int GetLoadTimeout() const
bool DatabaseNameHasBeenSet() const
IBMDb2Settings & WithServerName(ServerNameT &&value)
const Aws::String & GetServerName() const
bool GetKeepCsvFiles() const
IBMDb2Settings & WithPort(int value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue