7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9#include <aws/dms/model/NestingLevelValue.h>
20namespace DatabaseMigrationService {
42 template <
typename UsernameT = Aws::String>
44 m_usernameHasBeenSet =
true;
45 m_username = std::forward<UsernameT>(value);
47 template <
typename UsernameT = Aws::String>
61 template <
typename PasswordT = Aws::String>
63 m_passwordHasBeenSet =
true;
64 m_password = std::forward<PasswordT>(value);
66 template <
typename PasswordT = Aws::String>
79 template <
typename ServerNameT = Aws::String>
81 m_serverNameHasBeenSet =
true;
82 m_serverName = std::forward<ServerNameT>(value);
84 template <
typename ServerNameT = Aws::String>
95 inline int GetPort()
const {
return m_port; }
98 m_portHasBeenSet =
true;
113 template <
typename DatabaseNameT = Aws::String>
115 m_databaseNameHasBeenSet =
true;
116 m_databaseName = std::forward<DatabaseNameT>(value);
118 template <
typename DatabaseNameT = Aws::String>
134 m_nestingLevelHasBeenSet =
true;
135 m_nestingLevel = value;
152 m_extractDocIdHasBeenSet =
true;
153 m_extractDocId = value;
171 m_docsToInvestigateHasBeenSet =
true;
172 m_docsToInvestigate = value;
190 template <
typename KmsKeyIdT = Aws::String>
192 m_kmsKeyIdHasBeenSet =
true;
193 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
195 template <
typename KmsKeyIdT = Aws::String>
223 template <
typename SecretsManagerAccessRoleArnT = Aws::String>
225 m_secretsManagerAccessRoleArnHasBeenSet =
true;
226 m_secretsManagerAccessRoleArn = std::forward<SecretsManagerAccessRoleArnT>(value);
228 template <
typename SecretsManagerAccessRoleArnT = Aws::String>
243 template <
typename SecretsManagerSecretIdT = Aws::String>
245 m_secretsManagerSecretIdHasBeenSet =
true;
246 m_secretsManagerSecretId = std::forward<SecretsManagerSecretIdT>(value);
248 template <
typename SecretsManagerSecretIdT = Aws::String>
265 m_useUpdateLookUpHasBeenSet =
true;
266 m_useUpdateLookUp = value;
286 m_replicateShardCollectionsHasBeenSet =
true;
287 m_replicateShardCollections = value;
307 bool m_extractDocId{
false};
309 int m_docsToInvestigate{0};
317 bool m_useUpdateLookUp{
false};
319 bool m_replicateShardCollections{
false};
320 bool m_usernameHasBeenSet =
false;
321 bool m_passwordHasBeenSet =
false;
322 bool m_serverNameHasBeenSet =
false;
323 bool m_portHasBeenSet =
false;
324 bool m_databaseNameHasBeenSet =
false;
325 bool m_nestingLevelHasBeenSet =
false;
326 bool m_extractDocIdHasBeenSet =
false;
327 bool m_docsToInvestigateHasBeenSet =
false;
328 bool m_kmsKeyIdHasBeenSet =
false;
329 bool m_secretsManagerAccessRoleArnHasBeenSet =
false;
330 bool m_secretsManagerSecretIdHasBeenSet =
false;
331 bool m_useUpdateLookUpHasBeenSet =
false;
332 bool m_replicateShardCollectionsHasBeenSet =
false;
DocDbSettings & WithPassword(PasswordT &&value)
void SetUseUpdateLookUp(bool value)
DocDbSettings & WithSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
void SetServerName(ServerNameT &&value)
const Aws::String & GetDatabaseName() const
void SetDocsToInvestigate(int value)
bool NestingLevelHasBeenSet() const
bool SecretsManagerSecretIdHasBeenSet() const
const Aws::String & GetSecretsManagerAccessRoleArn() const
bool GetReplicateShardCollections() const
bool KmsKeyIdHasBeenSet() const
DocDbSettings & WithReplicateShardCollections(bool value)
bool ReplicateShardCollectionsHasBeenSet() const
const Aws::String & GetUsername() const
DocDbSettings & WithExtractDocId(bool value)
const Aws::String & GetServerName() const
void SetReplicateShardCollections(bool value)
DocDbSettings & WithUsername(UsernameT &&value)
const Aws::String & GetSecretsManagerSecretId() const
bool UseUpdateLookUpHasBeenSet() const
bool ExtractDocIdHasBeenSet() const
const Aws::String & GetPassword() const
DocDbSettings & WithKmsKeyId(KmsKeyIdT &&value)
DocDbSettings & WithUseUpdateLookUp(bool value)
bool GetUseUpdateLookUp() const
void SetExtractDocId(bool value)
DocDbSettings & WithDatabaseName(DatabaseNameT &&value)
DocDbSettings & WithSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
bool PortHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API DocDbSettings()=default
DocDbSettings & WithDocsToInvestigate(int value)
bool ServerNameHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API DocDbSettings(Aws::Utils::Json::JsonView jsonValue)
void SetUsername(UsernameT &&value)
bool SecretsManagerAccessRoleArnHasBeenSet() const
bool DatabaseNameHasBeenSet() const
bool DocsToInvestigateHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNestingLevel(NestingLevelValue value)
DocDbSettings & WithPort(int value)
bool PasswordHasBeenSet() const
void SetPassword(PasswordT &&value)
int GetDocsToInvestigate() const
NestingLevelValue GetNestingLevel() const
AWS_DATABASEMIGRATIONSERVICE_API DocDbSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetExtractDocId() const
DocDbSettings & WithNestingLevel(NestingLevelValue value)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetDatabaseName(DatabaseNameT &&value)
void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
void SetSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
bool UsernameHasBeenSet() const
DocDbSettings & WithServerName(ServerNameT &&value)
const Aws::String & GetKmsKeyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue