7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/EncryptionModeValue.h>
22namespace DatabaseMigrationService
54 inline void SetAcceptAnyDate(
bool value) { m_acceptAnyDateHasBeenSet =
true; m_acceptAnyDate = value; }
65 template<
typename AfterConnectScriptT = Aws::String>
66 void SetAfterConnectScript(AfterConnectScriptT&& value) { m_afterConnectScriptHasBeenSet =
true; m_afterConnectScript = std::forward<AfterConnectScriptT>(value); }
67 template<
typename AfterConnectScriptT = Aws::String>
86 template<
typename BucketFolderT = Aws::String>
87 void SetBucketFolder(BucketFolderT&& value) { m_bucketFolderHasBeenSet =
true; m_bucketFolder = std::forward<BucketFolderT>(value); }
88 template<
typename BucketFolderT = Aws::String>
99 template<
typename BucketNameT = Aws::String>
100 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet =
true; m_bucketName = std::forward<BucketNameT>(value); }
101 template<
typename BucketNameT = Aws::String>
113 inline void SetCaseSensitiveNames(
bool value) { m_caseSensitiveNamesHasBeenSet =
true; m_caseSensitiveNames = value; }
128 inline void SetCompUpdate(
bool value) { m_compUpdateHasBeenSet =
true; m_compUpdate = value; }
139 inline void SetConnectionTimeout(
int value) { m_connectionTimeoutHasBeenSet =
true; m_connectionTimeout = value; }
150 template<
typename DatabaseNameT = Aws::String>
151 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
152 template<
typename DatabaseNameT = Aws::String>
167 template<
typename DateFormatT = Aws::String>
168 void SetDateFormat(DateFormatT&& value) { m_dateFormatHasBeenSet =
true; m_dateFormat = std::forward<DateFormatT>(value); }
169 template<
typename DateFormatT = Aws::String>
181 inline void SetEmptyAsNull(
bool value) { m_emptyAsNullHasBeenSet =
true; m_emptyAsNull = value; }
215 inline void SetExplicitIds(
bool value) { m_explicitIdsHasBeenSet =
true; m_explicitIds = value; }
243 inline void SetLoadTimeout(
int value) { m_loadTimeoutHasBeenSet =
true; m_loadTimeout = value; }
254 inline void SetMaxFileSize(
int value) { m_maxFileSizeHasBeenSet =
true; m_maxFileSize = value; }
264 template<
typename PasswordT = Aws::String>
265 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
266 template<
typename PasswordT = Aws::String>
276 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
289 inline void SetRemoveQuotes(
bool value) { m_removeQuotesHasBeenSet =
true; m_removeQuotes = value; }
300 template<
typename ReplaceInval
idCharsT = Aws::String>
301 void SetReplaceInvalidChars(ReplaceInvalidCharsT&& value) { m_replaceInvalidCharsHasBeenSet =
true; m_replaceInvalidChars = std::forward<ReplaceInvalidCharsT>(value); }
302 template<
typename ReplaceInval
idCharsT = Aws::String>
314 template<
typename ReplaceCharsT = Aws::String>
315 void SetReplaceChars(ReplaceCharsT&& value) { m_replaceCharsHasBeenSet =
true; m_replaceChars = std::forward<ReplaceCharsT>(value); }
316 template<
typename ReplaceCharsT = Aws::String>
326 template<
typename ServerNameT = Aws::String>
327 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet =
true; m_serverName = std::forward<ServerNameT>(value); }
328 template<
typename ServerNameT = Aws::String>
339 template<
typename ServiceAccessRoleArnT = Aws::String>
340 void SetServiceAccessRoleArn(ServiceAccessRoleArnT&& value) { m_serviceAccessRoleArnHasBeenSet =
true; m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value); }
341 template<
typename ServiceAccessRoleArnT = Aws::String>
353 template<
typename ServerS
ideEncryptionKmsKeyIdT = Aws::String>
354 void SetServerSideEncryptionKmsKeyId(ServerSideEncryptionKmsKeyIdT&& value) { m_serverSideEncryptionKmsKeyIdHasBeenSet =
true; m_serverSideEncryptionKmsKeyId = std::forward<ServerSideEncryptionKmsKeyIdT>(value); }
355 template<
typename ServerS
ideEncryptionKmsKeyIdT = Aws::String>
370 template<
typename TimeFormatT = Aws::String>
371 void SetTimeFormat(TimeFormatT&& value) { m_timeFormatHasBeenSet =
true; m_timeFormat = std::forward<TimeFormatT>(value); }
372 template<
typename TimeFormatT = Aws::String>
385 inline void SetTrimBlanks(
bool value) { m_trimBlanksHasBeenSet =
true; m_trimBlanks = value; }
399 inline void SetTruncateColumns(
bool value) { m_truncateColumnsHasBeenSet =
true; m_truncateColumns = value; }
409 template<
typename UsernameT = Aws::String>
410 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
411 template<
typename UsernameT = Aws::String>
423 inline void SetWriteBufferSize(
int value) { m_writeBufferSizeHasBeenSet =
true; m_writeBufferSize = value; }
448 template<
typename SecretsManagerAccessRoleArnT = Aws::String>
449 void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT&& value) { m_secretsManagerAccessRoleArnHasBeenSet =
true; m_secretsManagerAccessRoleArn = std::forward<SecretsManagerAccessRoleArnT>(value); }
450 template<
typename SecretsManagerAccessRoleArnT = Aws::String>
462 template<
typename SecretsManagerSecretIdT = Aws::String>
463 void SetSecretsManagerSecretId(SecretsManagerSecretIdT&& value) { m_secretsManagerSecretIdHasBeenSet =
true; m_secretsManagerSecretId = std::forward<SecretsManagerSecretIdT>(value); }
464 template<
typename SecretsManagerSecretIdT = Aws::String>
476 inline void SetMapBooleanAsBoolean(
bool value) { m_mapBooleanAsBooleanHasBeenSet =
true; m_mapBooleanAsBoolean = value; }
481 bool m_acceptAnyDate{
false};
482 bool m_acceptAnyDateHasBeenSet =
false;
485 bool m_afterConnectScriptHasBeenSet =
false;
488 bool m_bucketFolderHasBeenSet =
false;
491 bool m_bucketNameHasBeenSet =
false;
493 bool m_caseSensitiveNames{
false};
494 bool m_caseSensitiveNamesHasBeenSet =
false;
496 bool m_compUpdate{
false};
497 bool m_compUpdateHasBeenSet =
false;
499 int m_connectionTimeout{0};
500 bool m_connectionTimeoutHasBeenSet =
false;
503 bool m_databaseNameHasBeenSet =
false;
506 bool m_dateFormatHasBeenSet =
false;
508 bool m_emptyAsNull{
false};
509 bool m_emptyAsNullHasBeenSet =
false;
512 bool m_encryptionModeHasBeenSet =
false;
514 bool m_explicitIds{
false};
515 bool m_explicitIdsHasBeenSet =
false;
517 int m_fileTransferUploadStreams{0};
518 bool m_fileTransferUploadStreamsHasBeenSet =
false;
520 int m_loadTimeout{0};
521 bool m_loadTimeoutHasBeenSet =
false;
523 int m_maxFileSize{0};
524 bool m_maxFileSizeHasBeenSet =
false;
527 bool m_passwordHasBeenSet =
false;
530 bool m_portHasBeenSet =
false;
532 bool m_removeQuotes{
false};
533 bool m_removeQuotesHasBeenSet =
false;
536 bool m_replaceInvalidCharsHasBeenSet =
false;
539 bool m_replaceCharsHasBeenSet =
false;
542 bool m_serverNameHasBeenSet =
false;
545 bool m_serviceAccessRoleArnHasBeenSet =
false;
548 bool m_serverSideEncryptionKmsKeyIdHasBeenSet =
false;
551 bool m_timeFormatHasBeenSet =
false;
553 bool m_trimBlanks{
false};
554 bool m_trimBlanksHasBeenSet =
false;
556 bool m_truncateColumns{
false};
557 bool m_truncateColumnsHasBeenSet =
false;
560 bool m_usernameHasBeenSet =
false;
562 int m_writeBufferSize{0};
563 bool m_writeBufferSizeHasBeenSet =
false;
566 bool m_secretsManagerAccessRoleArnHasBeenSet =
false;
569 bool m_secretsManagerSecretIdHasBeenSet =
false;
571 bool m_mapBooleanAsBoolean{
false};
572 bool m_mapBooleanAsBooleanHasBeenSet =
false;
bool WriteBufferSizeHasBeenSet() const
RedshiftSettings & WithConnectionTimeout(int value)
bool ReplaceCharsHasBeenSet() const
void SetExplicitIds(bool value)
bool TruncateColumnsHasBeenSet() const
bool GetMapBooleanAsBoolean() const
void SetAfterConnectScript(AfterConnectScriptT &&value)
const Aws::String & GetServerName() const
RedshiftSettings & WithEmptyAsNull(bool value)
RedshiftSettings & WithSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
const Aws::String & GetServiceAccessRoleArn() const
RedshiftSettings & WithWriteBufferSize(int value)
RedshiftSettings & WithReplaceInvalidChars(ReplaceInvalidCharsT &&value)
void SetCompUpdate(bool value)
const Aws::String & GetPassword() const
bool DateFormatHasBeenSet() const
void SetReplaceChars(ReplaceCharsT &&value)
RedshiftSettings & WithDateFormat(DateFormatT &&value)
bool BucketFolderHasBeenSet() const
int GetLoadTimeout() const
bool ConnectionTimeoutHasBeenSet() const
bool LoadTimeoutHasBeenSet() const
void SetEncryptionMode(EncryptionModeValue value)
RedshiftSettings & WithBucketFolder(BucketFolderT &&value)
bool BucketNameHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API RedshiftSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetMaxFileSize() const
RedshiftSettings & WithAcceptAnyDate(bool value)
bool ServiceAccessRoleArnHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API RedshiftSettings()=default
RedshiftSettings & WithPort(int value)
EncryptionModeValue GetEncryptionMode() const
void SetMaxFileSize(int value)
bool GetRemoveQuotes() const
RedshiftSettings & WithTrimBlanks(bool value)
bool SecretsManagerSecretIdHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API RedshiftSettings(Aws::Utils::Json::JsonView jsonValue)
void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
void SetConnectionTimeout(int value)
RedshiftSettings & WithFileTransferUploadStreams(int value)
bool RemoveQuotesHasBeenSet() const
void SetTrimBlanks(bool value)
RedshiftSettings & WithReplaceChars(ReplaceCharsT &&value)
const Aws::String & GetDatabaseName() const
void SetCaseSensitiveNames(bool value)
bool GetEmptyAsNull() const
bool PortHasBeenSet() const
bool CompUpdateHasBeenSet() const
bool DatabaseNameHasBeenSet() const
void SetUsername(UsernameT &&value)
bool EncryptionModeHasBeenSet() const
RedshiftSettings & WithMaxFileSize(int value)
bool ReplaceInvalidCharsHasBeenSet() const
void SetBucketFolder(BucketFolderT &&value)
RedshiftSettings & WithRemoveQuotes(bool value)
bool TimeFormatHasBeenSet() const
RedshiftSettings & WithLoadTimeout(int value)
const Aws::String & GetAfterConnectScript() const
RedshiftSettings & WithServerSideEncryptionKmsKeyId(ServerSideEncryptionKmsKeyIdT &&value)
RedshiftSettings & WithCaseSensitiveNames(bool value)
void SetReplaceInvalidChars(ReplaceInvalidCharsT &&value)
void SetServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
void SetAcceptAnyDate(bool value)
const Aws::String & GetSecretsManagerAccessRoleArn() const
RedshiftSettings & WithEncryptionMode(EncryptionModeValue value)
void SetLoadTimeout(int value)
const Aws::String & GetBucketFolder() const
int GetWriteBufferSize() const
void SetMapBooleanAsBoolean(bool value)
RedshiftSettings & WithUsername(UsernameT &&value)
RedshiftSettings & WithCompUpdate(bool value)
void SetWriteBufferSize(int value)
const Aws::String & GetReplaceInvalidChars() const
const Aws::String & GetDateFormat() const
bool EmptyAsNullHasBeenSet() const
bool TrimBlanksHasBeenSet() const
RedshiftSettings & WithServerName(ServerNameT &&value)
const Aws::String & GetUsername() const
void SetBucketName(BucketNameT &&value)
void SetFileTransferUploadStreams(int value)
void SetDateFormat(DateFormatT &&value)
bool ServerSideEncryptionKmsKeyIdHasBeenSet() const
void SetServerName(ServerNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool PasswordHasBeenSet() const
int GetFileTransferUploadStreams() const
RedshiftSettings & WithTruncateColumns(bool value)
RedshiftSettings & WithAfterConnectScript(AfterConnectScriptT &&value)
RedshiftSettings & WithMapBooleanAsBoolean(bool value)
bool MaxFileSizeHasBeenSet() const
void SetSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
void SetPassword(PasswordT &&value)
void SetRemoveQuotes(bool value)
bool CaseSensitiveNamesHasBeenSet() const
void SetTimeFormat(TimeFormatT &&value)
bool AfterConnectScriptHasBeenSet() const
bool GetTrimBlanks() const
const Aws::String & GetReplaceChars() const
bool GetExplicitIds() const
bool UsernameHasBeenSet() const
bool FileTransferUploadStreamsHasBeenSet() const
RedshiftSettings & WithDatabaseName(DatabaseNameT &&value)
RedshiftSettings & WithExplicitIds(bool value)
bool GetCompUpdate() const
void SetEmptyAsNull(bool value)
int GetConnectionTimeout() const
RedshiftSettings & WithPassword(PasswordT &&value)
void SetServerSideEncryptionKmsKeyId(ServerSideEncryptionKmsKeyIdT &&value)
bool ExplicitIdsHasBeenSet() const
bool AcceptAnyDateHasBeenSet() const
void SetDatabaseName(DatabaseNameT &&value)
bool MapBooleanAsBooleanHasBeenSet() const
bool SecretsManagerAccessRoleArnHasBeenSet() const
const Aws::String & GetTimeFormat() const
const Aws::String & GetBucketName() const
const Aws::String & GetServerSideEncryptionKmsKeyId() const
bool GetCaseSensitiveNames() const
void SetTruncateColumns(bool value)
RedshiftSettings & WithTimeFormat(TimeFormatT &&value)
bool GetTruncateColumns() const
const Aws::String & GetSecretsManagerSecretId() const
RedshiftSettings & WithBucketName(BucketNameT &&value)
bool ServerNameHasBeenSet() const
RedshiftSettings & WithSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
RedshiftSettings & WithServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
bool GetAcceptAnyDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue