7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9#include <aws/dms/model/MySQLAuthenticationMethod.h>
10#include <aws/dms/model/TargetDbType.h>
21namespace DatabaseMigrationService {
46 template <
typename AfterConnectScriptT = Aws::String>
48 m_afterConnectScriptHasBeenSet =
true;
49 m_afterConnectScript = std::forward<AfterConnectScriptT>(value);
51 template <
typename AfterConnectScriptT = Aws::String>
68 m_cleanSourceMetadataOnMismatchHasBeenSet =
true;
69 m_cleanSourceMetadataOnMismatch = value;
89 template <
typename DatabaseNameT = Aws::String>
91 m_databaseNameHasBeenSet =
true;
92 m_databaseName = std::forward<DatabaseNameT>(value);
94 template <
typename DatabaseNameT = Aws::String>
111 m_eventsPollIntervalHasBeenSet =
true;
112 m_eventsPollInterval = value;
131 m_targetDbTypeHasBeenSet =
true;
132 m_targetDbType = value;
148 m_maxFileSizeHasBeenSet =
true;
149 m_maxFileSize = value;
169 m_parallelLoadThreadsHasBeenSet =
true;
170 m_parallelLoadThreads = value;
184 template <
typename PasswordT = Aws::String>
186 m_passwordHasBeenSet =
true;
187 m_password = std::forward<PasswordT>(value);
189 template <
typename PasswordT = Aws::String>
203 m_portHasBeenSet =
true;
225 template <
typename ServerNameT = Aws::String>
227 m_serverNameHasBeenSet =
true;
228 m_serverName = std::forward<ServerNameT>(value);
230 template <
typename ServerNameT = Aws::String>
245 template <
typename ServerTimezoneT = Aws::String>
247 m_serverTimezoneHasBeenSet =
true;
248 m_serverTimezone = std::forward<ServerTimezoneT>(value);
250 template <
typename ServerTimezoneT = Aws::String>
263 template <
typename UsernameT = Aws::String>
265 m_usernameHasBeenSet =
true;
266 m_username = std::forward<UsernameT>(value);
268 template <
typename UsernameT = Aws::String>
296 template <
typename SecretsManagerAccessRoleArnT = Aws::String>
298 m_secretsManagerAccessRoleArnHasBeenSet =
true;
299 m_secretsManagerAccessRoleArn = std::forward<SecretsManagerAccessRoleArnT>(value);
301 template <
typename SecretsManagerAccessRoleArnT = Aws::String>
316 template <
typename SecretsManagerSecretIdT = Aws::String>
318 m_secretsManagerSecretIdHasBeenSet =
true;
319 m_secretsManagerSecretId = std::forward<SecretsManagerSecretIdT>(value);
321 template <
typename SecretsManagerSecretIdT = Aws::String>
336 m_executeTimeoutHasBeenSet =
true;
337 m_executeTimeout = value;
353 template <
typename ServiceAccessRoleArnT = Aws::String>
355 m_serviceAccessRoleArnHasBeenSet =
true;
356 m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value);
358 template <
typename ServiceAccessRoleArnT = Aws::String>
373 m_authenticationMethodHasBeenSet =
true;
374 m_authenticationMethod = value;
384 bool m_cleanSourceMetadataOnMismatch{
false};
388 int m_eventsPollInterval{0};
392 int m_maxFileSize{0};
394 int m_parallelLoadThreads{0};
410 int m_executeTimeout{0};
415 bool m_afterConnectScriptHasBeenSet =
false;
416 bool m_cleanSourceMetadataOnMismatchHasBeenSet =
false;
417 bool m_databaseNameHasBeenSet =
false;
418 bool m_eventsPollIntervalHasBeenSet =
false;
419 bool m_targetDbTypeHasBeenSet =
false;
420 bool m_maxFileSizeHasBeenSet =
false;
421 bool m_parallelLoadThreadsHasBeenSet =
false;
422 bool m_passwordHasBeenSet =
false;
423 bool m_portHasBeenSet =
false;
424 bool m_serverNameHasBeenSet =
false;
425 bool m_serverTimezoneHasBeenSet =
false;
426 bool m_usernameHasBeenSet =
false;
427 bool m_secretsManagerAccessRoleArnHasBeenSet =
false;
428 bool m_secretsManagerSecretIdHasBeenSet =
false;
429 bool m_executeTimeoutHasBeenSet =
false;
430 bool m_serviceAccessRoleArnHasBeenSet =
false;
431 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