7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/TargetDbType.h>
10#include <aws/dms/model/MySQLAuthenticationMethod.h>
23namespace DatabaseMigrationService
52 template<
typename AfterConnectScriptT = Aws::String>
53 void SetAfterConnectScript(AfterConnectScriptT&& value) { m_afterConnectScriptHasBeenSet =
true; m_afterConnectScript = std::forward<AfterConnectScriptT>(value); }
54 template<
typename AfterConnectScriptT = Aws::String>
83 template<
typename DatabaseNameT = Aws::String>
84 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
85 template<
typename DatabaseNameT = Aws::String>
98 inline void SetEventsPollInterval(
int value) { m_eventsPollIntervalHasBeenSet =
true; m_eventsPollInterval = value; }
123 inline void SetMaxFileSize(
int value) { m_maxFileSizeHasBeenSet =
true; m_maxFileSize = value; }
148 template<
typename PasswordT = Aws::String>
149 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
150 template<
typename PasswordT = Aws::String>
160 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
177 template<
typename ServerNameT = Aws::String>
178 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet =
true; m_serverName = std::forward<ServerNameT>(value); }
179 template<
typename ServerNameT = Aws::String>
191 template<
typename ServerTimezoneT = Aws::String>
192 void SetServerTimezone(ServerTimezoneT&& value) { m_serverTimezoneHasBeenSet =
true; m_serverTimezone = std::forward<ServerTimezoneT>(value); }
193 template<
typename ServerTimezoneT = Aws::String>
203 template<
typename UsernameT = Aws::String>
204 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
205 template<
typename UsernameT = Aws::String>
230 template<
typename SecretsManagerAccessRoleArnT = Aws::String>
231 void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT&& value) { m_secretsManagerAccessRoleArnHasBeenSet =
true; m_secretsManagerAccessRoleArn = std::forward<SecretsManagerAccessRoleArnT>(value); }
232 template<
typename SecretsManagerAccessRoleArnT = Aws::String>
244 template<
typename SecretsManagerSecretIdT = Aws::String>
245 void SetSecretsManagerSecretId(SecretsManagerSecretIdT&& value) { m_secretsManagerSecretIdHasBeenSet =
true; m_secretsManagerSecretId = std::forward<SecretsManagerSecretIdT>(value); }
246 template<
typename SecretsManagerSecretIdT = Aws::String>
257 inline void SetExecuteTimeout(
int value) { m_executeTimeoutHasBeenSet =
true; m_executeTimeout = value; }
269 template<
typename ServiceAccessRoleArnT = Aws::String>
270 void SetServiceAccessRoleArn(ServiceAccessRoleArnT&& value) { m_serviceAccessRoleArnHasBeenSet =
true; m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value); }
271 template<
typename ServiceAccessRoleArnT = Aws::String>
288 bool m_afterConnectScriptHasBeenSet =
false;
290 bool m_cleanSourceMetadataOnMismatch{
false};
291 bool m_cleanSourceMetadataOnMismatchHasBeenSet =
false;
294 bool m_databaseNameHasBeenSet =
false;
296 int m_eventsPollInterval{0};
297 bool m_eventsPollIntervalHasBeenSet =
false;
300 bool m_targetDbTypeHasBeenSet =
false;
302 int m_maxFileSize{0};
303 bool m_maxFileSizeHasBeenSet =
false;
305 int m_parallelLoadThreads{0};
306 bool m_parallelLoadThreadsHasBeenSet =
false;
309 bool m_passwordHasBeenSet =
false;
312 bool m_portHasBeenSet =
false;
315 bool m_serverNameHasBeenSet =
false;
318 bool m_serverTimezoneHasBeenSet =
false;
321 bool m_usernameHasBeenSet =
false;
324 bool m_secretsManagerAccessRoleArnHasBeenSet =
false;
327 bool m_secretsManagerSecretIdHasBeenSet =
false;
329 int m_executeTimeout{0};
330 bool m_executeTimeoutHasBeenSet =
false;
333 bool m_serviceAccessRoleArnHasBeenSet =
false;
336 bool m_authenticationMethodHasBeenSet =
false;
void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
MySQLSettings & WithSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
bool ServerTimezoneHasBeenSet() const
MySQLSettings & WithDatabaseName(DatabaseNameT &&value)
const Aws::String & GetDatabaseName() const
bool PasswordHasBeenSet() const
bool AfterConnectScriptHasBeenSet() const
void SetAuthenticationMethod(MySQLAuthenticationMethod value)
bool SecretsManagerSecretIdHasBeenSet() const
void SetCleanSourceMetadataOnMismatch(bool value)
bool UsernameHasBeenSet() const
bool MaxFileSizeHasBeenSet() const
MySQLSettings & WithCleanSourceMetadataOnMismatch(bool value)
const Aws::String & GetPassword() const
bool EventsPollIntervalHasBeenSet() const
void SetServerTimezone(ServerTimezoneT &&value)
MySQLSettings & WithPort(int value)
AWS_DATABASEMIGRATIONSERVICE_API MySQLSettings(Aws::Utils::Json::JsonView jsonValue)
void SetServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
MySQLAuthenticationMethod GetAuthenticationMethod() const
void SetDatabaseName(DatabaseNameT &&value)
void SetPassword(PasswordT &&value)
MySQLSettings & WithServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
int GetEventsPollInterval() const
bool CleanSourceMetadataOnMismatchHasBeenSet() const
int GetMaxFileSize() const
bool TargetDbTypeHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API MySQLSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServerTimezone() const
bool ServiceAccessRoleArnHasBeenSet() const
const Aws::String & GetSecretsManagerSecretId() const
int GetParallelLoadThreads() const
const Aws::String & GetServerName() const
bool ExecuteTimeoutHasBeenSet() const
void SetParallelLoadThreads(int value)
void SetAfterConnectScript(AfterConnectScriptT &&value)
const Aws::String & GetServiceAccessRoleArn() const
MySQLSettings & WithEventsPollInterval(int value)
void SetExecuteTimeout(int value)
bool GetCleanSourceMetadataOnMismatch() const
MySQLSettings & WithServerName(ServerNameT &&value)
MySQLSettings & WithPassword(PasswordT &&value)
void SetMaxFileSize(int value)
MySQLSettings & WithParallelLoadThreads(int value)
bool DatabaseNameHasBeenSet() const
MySQLSettings & WithSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
bool SecretsManagerAccessRoleArnHasBeenSet() const
bool ParallelLoadThreadsHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MySQLSettings & WithAuthenticationMethod(MySQLAuthenticationMethod value)
void SetTargetDbType(TargetDbType value)
MySQLSettings & WithExecuteTimeout(int value)
void SetUsername(UsernameT &&value)
void SetEventsPollInterval(int value)
TargetDbType GetTargetDbType() const
const Aws::String & GetSecretsManagerAccessRoleArn() const
bool PortHasBeenSet() const
MySQLSettings & WithMaxFileSize(int value)
bool AuthenticationMethodHasBeenSet() const
void SetSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
const Aws::String & GetAfterConnectScript() const
const Aws::String & GetUsername() const
MySQLSettings & WithServerTimezone(ServerTimezoneT &&value)
MySQLSettings & WithTargetDbType(TargetDbType value)
bool ServerNameHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API MySQLSettings()=default
int GetExecuteTimeout() const
MySQLSettings & WithAfterConnectScript(AfterConnectScriptT &&value)
void SetServerName(ServerNameT &&value)
MySQLSettings & WithUsername(UsernameT &&value)
MySQLAuthenticationMethod
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue