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; }
67 inline void SetAfterConnectScript(
const char* value) { m_afterConnectScriptHasBeenSet =
true; m_afterConnectScript.assign(value); }
90 inline void SetBucketFolder(
const char* value) { m_bucketFolderHasBeenSet =
true; m_bucketFolder.assign(value); }
105 inline void SetBucketName(
const char* value) { m_bucketNameHasBeenSet =
true; m_bucketName.assign(value); }
119 inline void SetCaseSensitiveNames(
bool value) { m_caseSensitiveNamesHasBeenSet =
true; m_caseSensitiveNames = value; }
134 inline void SetCompUpdate(
bool value) { m_compUpdateHasBeenSet =
true; m_compUpdate = value; }
145 inline void SetConnectionTimeout(
int value) { m_connectionTimeoutHasBeenSet =
true; m_connectionTimeout = value; }
158 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
177 inline void SetDateFormat(
const char* value) { m_dateFormatHasBeenSet =
true; m_dateFormat.assign(value); }
191 inline void SetEmptyAsNull(
bool value) { m_emptyAsNullHasBeenSet =
true; m_emptyAsNull = value; }
227 inline void SetExplicitIds(
bool value) { m_explicitIdsHasBeenSet =
true; m_explicitIds = value; }
255 inline void SetLoadTimeout(
int value) { m_loadTimeoutHasBeenSet =
true; m_loadTimeout = value; }
266 inline void SetMaxFileSize(
int value) { m_maxFileSizeHasBeenSet =
true; m_maxFileSize = value; }
278 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
290 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
303 inline void SetRemoveQuotes(
bool value) { m_removeQuotesHasBeenSet =
true; m_removeQuotes = value; }
316 inline void SetReplaceInvalidChars(
const char* value) { m_replaceInvalidCharsHasBeenSet =
true; m_replaceInvalidChars.assign(value); }
332 inline void SetReplaceChars(
const char* value) { m_replaceCharsHasBeenSet =
true; m_replaceChars.assign(value); }
346 inline void SetServerName(
const char* value) { m_serverNameHasBeenSet =
true; m_serverName.assign(value); }
361 inline void SetServiceAccessRoleArn(
const char* value) { m_serviceAccessRoleArnHasBeenSet =
true; m_serviceAccessRoleArn.assign(value); }
396 inline void SetTimeFormat(
const char* value) { m_timeFormatHasBeenSet =
true; m_timeFormat.assign(value); }
411 inline void SetTrimBlanks(
bool value) { m_trimBlanksHasBeenSet =
true; m_trimBlanks = value; }
425 inline void SetTruncateColumns(
bool value) { m_truncateColumnsHasBeenSet =
true; m_truncateColumns = value; }
437 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
451 inline void SetWriteBufferSize(
int value) { m_writeBufferSizeHasBeenSet =
true; m_writeBufferSize = value; }
494 inline void SetSecretsManagerSecretId(
const char* value) { m_secretsManagerSecretIdHasBeenSet =
true; m_secretsManagerSecretId.assign(value); }
508 inline void SetMapBooleanAsBoolean(
bool value) { m_mapBooleanAsBooleanHasBeenSet =
true; m_mapBooleanAsBoolean = value; }
513 bool m_acceptAnyDate;
514 bool m_acceptAnyDateHasBeenSet =
false;
517 bool m_afterConnectScriptHasBeenSet =
false;
520 bool m_bucketFolderHasBeenSet =
false;
523 bool m_bucketNameHasBeenSet =
false;
525 bool m_caseSensitiveNames;
526 bool m_caseSensitiveNamesHasBeenSet =
false;
529 bool m_compUpdateHasBeenSet =
false;
531 int m_connectionTimeout;
532 bool m_connectionTimeoutHasBeenSet =
false;
535 bool m_databaseNameHasBeenSet =
false;
538 bool m_dateFormatHasBeenSet =
false;
541 bool m_emptyAsNullHasBeenSet =
false;
544 bool m_encryptionModeHasBeenSet =
false;
547 bool m_explicitIdsHasBeenSet =
false;
549 int m_fileTransferUploadStreams;
550 bool m_fileTransferUploadStreamsHasBeenSet =
false;
553 bool m_loadTimeoutHasBeenSet =
false;
556 bool m_maxFileSizeHasBeenSet =
false;
559 bool m_passwordHasBeenSet =
false;
562 bool m_portHasBeenSet =
false;
565 bool m_removeQuotesHasBeenSet =
false;
568 bool m_replaceInvalidCharsHasBeenSet =
false;
571 bool m_replaceCharsHasBeenSet =
false;
574 bool m_serverNameHasBeenSet =
false;
577 bool m_serviceAccessRoleArnHasBeenSet =
false;
580 bool m_serverSideEncryptionKmsKeyIdHasBeenSet =
false;
583 bool m_timeFormatHasBeenSet =
false;
586 bool m_trimBlanksHasBeenSet =
false;
588 bool m_truncateColumns;
589 bool m_truncateColumnsHasBeenSet =
false;
592 bool m_usernameHasBeenSet =
false;
594 int m_writeBufferSize;
595 bool m_writeBufferSizeHasBeenSet =
false;
598 bool m_secretsManagerAccessRoleArnHasBeenSet =
false;
601 bool m_secretsManagerSecretIdHasBeenSet =
false;
603 bool m_mapBooleanAsBoolean;
604 bool m_mapBooleanAsBooleanHasBeenSet =
false;
void SetDatabaseName(const char *value)
bool WriteBufferSizeHasBeenSet() const
RedshiftSettings & WithConnectionTimeout(int value)
bool ReplaceCharsHasBeenSet() const
void SetReplaceChars(const char *value)
RedshiftSettings & WithDatabaseName(const Aws::String &value)
void SetExplicitIds(bool value)
RedshiftSettings & WithDatabaseName(Aws::String &&value)
bool TruncateColumnsHasBeenSet() const
bool GetMapBooleanAsBoolean() const
RedshiftSettings & WithReplaceChars(const Aws::String &value)
const EncryptionModeValue & GetEncryptionMode() const
const Aws::String & GetServerName() const
RedshiftSettings & WithSecretsManagerAccessRoleArn(const Aws::String &value)
RedshiftSettings & WithTimeFormat(Aws::String &&value)
RedshiftSettings & WithEmptyAsNull(bool value)
const Aws::String & GetServiceAccessRoleArn() const
RedshiftSettings & WithWriteBufferSize(int value)
void SetCompUpdate(bool value)
const Aws::String & GetPassword() const
bool DateFormatHasBeenSet() const
RedshiftSettings & WithAfterConnectScript(const Aws::String &value)
bool BucketFolderHasBeenSet() const
void SetDateFormat(Aws::String &&value)
RedshiftSettings & WithSecretsManagerSecretId(const Aws::String &value)
void SetBucketName(const char *value)
int GetLoadTimeout() const
bool ConnectionTimeoutHasBeenSet() const
void SetReplaceChars(Aws::String &&value)
bool LoadTimeoutHasBeenSet() const
RedshiftSettings & WithEncryptionMode(EncryptionModeValue &&value)
bool BucketNameHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API RedshiftSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetMaxFileSize() const
RedshiftSettings & WithBucketFolder(Aws::String &&value)
RedshiftSettings & WithAfterConnectScript(Aws::String &&value)
RedshiftSettings & WithReplaceChars(const char *value)
RedshiftSettings & WithAcceptAnyDate(bool value)
bool ServiceAccessRoleArnHasBeenSet() const
RedshiftSettings & WithPort(int value)
void SetMaxFileSize(int value)
bool GetRemoveQuotes() const
RedshiftSettings & WithTrimBlanks(bool value)
bool SecretsManagerSecretIdHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API RedshiftSettings(Aws::Utils::Json::JsonView jsonValue)
RedshiftSettings & WithDateFormat(Aws::String &&value)
void SetConnectionTimeout(int value)
RedshiftSettings & WithFileTransferUploadStreams(int value)
void SetServiceAccessRoleArn(Aws::String &&value)
bool RemoveQuotesHasBeenSet() const
void SetTrimBlanks(bool value)
const Aws::String & GetDatabaseName() const
void SetCaseSensitiveNames(bool value)
bool GetEmptyAsNull() const
bool PortHasBeenSet() const
bool CompUpdateHasBeenSet() const
RedshiftSettings & WithSecretsManagerSecretId(Aws::String &&value)
void SetTimeFormat(const char *value)
bool DatabaseNameHasBeenSet() const
RedshiftSettings & WithServerSideEncryptionKmsKeyId(const Aws::String &value)
void SetReplaceChars(const Aws::String &value)
bool EncryptionModeHasBeenSet() const
void SetPassword(Aws::String &&value)
RedshiftSettings & WithTimeFormat(const Aws::String &value)
void SetServiceAccessRoleArn(const Aws::String &value)
RedshiftSettings & WithMaxFileSize(int value)
bool ReplaceInvalidCharsHasBeenSet() const
RedshiftSettings & WithEncryptionMode(const EncryptionModeValue &value)
RedshiftSettings & WithRemoveQuotes(bool value)
bool TimeFormatHasBeenSet() const
void SetServerSideEncryptionKmsKeyId(const char *value)
RedshiftSettings & WithLoadTimeout(int value)
const Aws::String & GetAfterConnectScript() const
RedshiftSettings & WithCaseSensitiveNames(bool value)
void SetBucketFolder(Aws::String &&value)
void SetAcceptAnyDate(bool value)
void SetBucketFolder(const Aws::String &value)
RedshiftSettings & WithUsername(Aws::String &&value)
const Aws::String & GetSecretsManagerAccessRoleArn() const
void SetReplaceInvalidChars(const char *value)
void SetLoadTimeout(int value)
void SetTimeFormat(const Aws::String &value)
RedshiftSettings & WithReplaceChars(Aws::String &&value)
RedshiftSettings & WithServerName(Aws::String &&value)
RedshiftSettings & WithBucketFolder(const Aws::String &value)
const Aws::String & GetBucketFolder() const
void SetSecretsManagerSecretId(const Aws::String &value)
void SetUsername(const Aws::String &value)
int GetWriteBufferSize() const
void SetMapBooleanAsBoolean(bool value)
RedshiftSettings & WithBucketFolder(const char *value)
RedshiftSettings & WithCompUpdate(bool value)
void SetWriteBufferSize(int value)
void SetEncryptionMode(EncryptionModeValue &&value)
const Aws::String & GetReplaceInvalidChars() const
RedshiftSettings & WithPassword(const Aws::String &value)
const Aws::String & GetDateFormat() const
bool EmptyAsNullHasBeenSet() const
bool TrimBlanksHasBeenSet() const
void SetSecretsManagerSecretId(const char *value)
RedshiftSettings & WithBucketName(const char *value)
RedshiftSettings & WithSecretsManagerAccessRoleArn(const char *value)
const Aws::String & GetUsername() const
RedshiftSettings & WithDateFormat(const char *value)
RedshiftSettings & WithServiceAccessRoleArn(Aws::String &&value)
RedshiftSettings & WithDatabaseName(const char *value)
void SetFileTransferUploadStreams(int value)
void SetSecretsManagerAccessRoleArn(Aws::String &&value)
bool ServerSideEncryptionKmsKeyIdHasBeenSet() const
void SetDateFormat(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftSettings & WithTimeFormat(const char *value)
RedshiftSettings & WithUsername(const Aws::String &value)
void SetEncryptionMode(const EncryptionModeValue &value)
bool PasswordHasBeenSet() const
void SetAfterConnectScript(const char *value)
int GetFileTransferUploadStreams() const
RedshiftSettings & WithAfterConnectScript(const char *value)
void SetBucketFolder(const char *value)
RedshiftSettings & WithTruncateColumns(bool value)
void SetAfterConnectScript(const Aws::String &value)
RedshiftSettings & WithMapBooleanAsBoolean(bool value)
bool MaxFileSizeHasBeenSet() const
RedshiftSettings & WithUsername(const char *value)
void SetRemoveQuotes(bool value)
bool CaseSensitiveNamesHasBeenSet() const
void SetServerName(Aws::String &&value)
RedshiftSettings & WithServiceAccessRoleArn(const char *value)
bool AfterConnectScriptHasBeenSet() const
void SetBucketName(Aws::String &&value)
bool GetTrimBlanks() const
const Aws::String & GetReplaceChars() const
RedshiftSettings & WithPassword(const char *value)
bool GetExplicitIds() const
RedshiftSettings & WithServerSideEncryptionKmsKeyId(const char *value)
bool UsernameHasBeenSet() const
void SetReplaceInvalidChars(const Aws::String &value)
void SetDateFormat(const Aws::String &value)
void SetReplaceInvalidChars(Aws::String &&value)
void SetServiceAccessRoleArn(const char *value)
RedshiftSettings & WithReplaceInvalidChars(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API RedshiftSettings()
bool FileTransferUploadStreamsHasBeenSet() const
void SetDatabaseName(Aws::String &&value)
void SetSecretsManagerAccessRoleArn(const Aws::String &value)
RedshiftSettings & WithExplicitIds(bool value)
bool GetCompUpdate() const
void SetEmptyAsNull(bool value)
void SetAfterConnectScript(Aws::String &&value)
int GetConnectionTimeout() const
void SetServerSideEncryptionKmsKeyId(const Aws::String &value)
void SetUsername(const char *value)
void SetSecretsManagerAccessRoleArn(const char *value)
RedshiftSettings & WithBucketName(Aws::String &&value)
void SetSecretsManagerSecretId(Aws::String &&value)
void SetUsername(Aws::String &&value)
RedshiftSettings & WithServerName(const Aws::String &value)
RedshiftSettings & WithServerName(const char *value)
RedshiftSettings & WithBucketName(const Aws::String &value)
RedshiftSettings & WithSecretsManagerAccessRoleArn(Aws::String &&value)
void SetTimeFormat(Aws::String &&value)
bool ExplicitIdsHasBeenSet() const
bool AcceptAnyDateHasBeenSet() const
void SetPassword(const Aws::String &value)
void SetDatabaseName(const Aws::String &value)
void SetBucketName(const Aws::String &value)
void SetServerName(const Aws::String &value)
RedshiftSettings & WithServiceAccessRoleArn(const Aws::String &value)
bool MapBooleanAsBooleanHasBeenSet() const
bool SecretsManagerAccessRoleArnHasBeenSet() const
const Aws::String & GetTimeFormat() const
const Aws::String & GetBucketName() const
void SetPassword(const char *value)
const Aws::String & GetServerSideEncryptionKmsKeyId() const
bool GetCaseSensitiveNames() const
void SetTruncateColumns(bool value)
bool GetTruncateColumns() const
void SetServerSideEncryptionKmsKeyId(Aws::String &&value)
const Aws::String & GetSecretsManagerSecretId() const
RedshiftSettings & WithServerSideEncryptionKmsKeyId(Aws::String &&value)
RedshiftSettings & WithReplaceInvalidChars(Aws::String &&value)
RedshiftSettings & WithReplaceInvalidChars(const Aws::String &value)
RedshiftSettings & WithPassword(Aws::String &&value)
void SetServerName(const char *value)
RedshiftSettings & WithSecretsManagerSecretId(const char *value)
bool ServerNameHasBeenSet() const
RedshiftSettings & WithDateFormat(const Aws::String &value)
bool GetAcceptAnyDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue