7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/AuthTypeValue.h>
10#include <aws/dms/model/AuthMechanismValue.h>
11#include <aws/dms/model/NestingLevelValue.h>
24namespace DatabaseMigrationService
52 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
67 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
82 inline void SetServerName(
const char* value) { m_serverNameHasBeenSet =
true; m_serverName.assign(value); }
92 inline int GetPort()
const{
return m_port; }
94 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
106 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
166 inline void SetExtractDocId(
const char* value) { m_extractDocIdHasBeenSet =
true; m_extractDocId.assign(value); }
183 inline void SetDocsToInvestigate(
const char* value) { m_docsToInvestigateHasBeenSet =
true; m_docsToInvestigate.assign(value); }
199 inline void SetAuthSource(
const char* value) { m_authSourceHasBeenSet =
true; m_authSource.assign(value); }
217 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
262 inline void SetSecretsManagerSecretId(
const char* value) { m_secretsManagerSecretIdHasBeenSet =
true; m_secretsManagerSecretId.assign(value); }
277 inline void SetUseUpdateLookUp(
bool value) { m_useUpdateLookUpHasBeenSet =
true; m_useUpdateLookUp = value; }
298 bool m_usernameHasBeenSet =
false;
301 bool m_passwordHasBeenSet =
false;
304 bool m_serverNameHasBeenSet =
false;
307 bool m_portHasBeenSet =
false;
310 bool m_databaseNameHasBeenSet =
false;
313 bool m_authTypeHasBeenSet =
false;
316 bool m_authMechanismHasBeenSet =
false;
319 bool m_nestingLevelHasBeenSet =
false;
322 bool m_extractDocIdHasBeenSet =
false;
325 bool m_docsToInvestigateHasBeenSet =
false;
328 bool m_authSourceHasBeenSet =
false;
331 bool m_kmsKeyIdHasBeenSet =
false;
334 bool m_secretsManagerAccessRoleArnHasBeenSet =
false;
337 bool m_secretsManagerSecretIdHasBeenSet =
false;
339 bool m_useUpdateLookUp;
340 bool m_useUpdateLookUpHasBeenSet =
false;
342 bool m_replicateShardCollections;
343 bool m_replicateShardCollectionsHasBeenSet =
false;
void SetUseUpdateLookUp(bool value)
MongoDbSettings & WithExtractDocId(const char *value)
const Aws::String & GetSecretsManagerSecretId() const
void SetServerName(const Aws::String &value)
MongoDbSettings & WithAuthSource(const char *value)
bool NestingLevelHasBeenSet() const
const AuthTypeValue & GetAuthType() const
const NestingLevelValue & GetNestingLevel() const
const Aws::String & GetExtractDocId() const
MongoDbSettings & WithSecretsManagerSecretId(const char *value)
MongoDbSettings & WithKmsKeyId(const Aws::String &value)
MongoDbSettings & WithAuthType(const AuthTypeValue &value)
void SetKmsKeyId(Aws::String &&value)
void SetSecretsManagerSecretId(Aws::String &&value)
void SetDocsToInvestigate(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
MongoDbSettings & WithUsername(const Aws::String &value)
bool AuthMechanismHasBeenSet() const
void SetAuthMechanism(AuthMechanismValue &&value)
bool AuthTypeHasBeenSet() const
MongoDbSettings & WithPassword(const char *value)
void SetKmsKeyId(const char *value)
void SetDocsToInvestigate(Aws::String &&value)
bool SecretsManagerSecretIdHasBeenSet() const
MongoDbSettings & WithDocsToInvestigate(const Aws::String &value)
MongoDbSettings & WithPassword(const Aws::String &value)
MongoDbSettings & WithAuthMechanism(const AuthMechanismValue &value)
MongoDbSettings & WithUseUpdateLookUp(bool value)
MongoDbSettings & WithKmsKeyId(const char *value)
void SetServerName(const char *value)
MongoDbSettings & WithPassword(Aws::String &&value)
const Aws::String & GetAuthSource() const
bool UsernameHasBeenSet() const
const Aws::String & GetKmsKeyId() const
MongoDbSettings & WithExtractDocId(Aws::String &&value)
void SetSecretsManagerAccessRoleArn(Aws::String &&value)
void SetExtractDocId(const char *value)
MongoDbSettings & WithUsername(Aws::String &&value)
void SetDocsToInvestigate(const char *value)
void SetNestingLevel(NestingLevelValue &&value)
void SetDatabaseName(Aws::String &&value)
MongoDbSettings & WithUsername(const char *value)
MongoDbSettings & WithKmsKeyId(Aws::String &&value)
bool AuthSourceHasBeenSet() const
void SetKmsKeyId(const Aws::String &value)
MongoDbSettings & WithNestingLevel(const NestingLevelValue &value)
bool PortHasBeenSet() const
void SetNestingLevel(const NestingLevelValue &value)
void SetAuthSource(const Aws::String &value)
MongoDbSettings & WithSecretsManagerSecretId(const Aws::String &value)
void SetUsername(const Aws::String &value)
void SetAuthType(AuthTypeValue &&value)
bool DocsToInvestigateHasBeenSet() const
void SetExtractDocId(Aws::String &&value)
MongoDbSettings & WithServerName(Aws::String &&value)
const Aws::String & GetUsername() const
bool ServerNameHasBeenSet() const
void SetPassword(const char *value)
MongoDbSettings & WithDocsToInvestigate(const char *value)
bool PasswordHasBeenSet() const
void SetExtractDocId(const Aws::String &value)
void SetUsername(const char *value)
MongoDbSettings & WithReplicateShardCollections(bool value)
void SetPassword(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API MongoDbSettings()
const Aws::String & GetDatabaseName() const
AWS_DATABASEMIGRATIONSERVICE_API MongoDbSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecretsManagerSecretId(const Aws::String &value)
void SetSecretsManagerSecretId(const char *value)
bool DatabaseNameHasBeenSet() const
void SetAuthSource(Aws::String &&value)
MongoDbSettings & WithServerName(const Aws::String &value)
bool SecretsManagerAccessRoleArnHasBeenSet() const
MongoDbSettings & WithDocsToInvestigate(Aws::String &&value)
const Aws::String & GetServerName() const
const Aws::String & GetPassword() const
bool ReplicateShardCollectionsHasBeenSet() const
MongoDbSettings & WithDatabaseName(Aws::String &&value)
void SetAuthMechanism(const AuthMechanismValue &value)
MongoDbSettings & WithAuthMechanism(AuthMechanismValue &&value)
bool UseUpdateLookUpHasBeenSet() const
MongoDbSettings & WithExtractDocId(const Aws::String &value)
void SetSecretsManagerAccessRoleArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API MongoDbSettings(Aws::Utils::Json::JsonView jsonValue)
MongoDbSettings & WithNestingLevel(NestingLevelValue &&value)
void SetPassword(const Aws::String &value)
MongoDbSettings & WithPort(int value)
bool GetReplicateShardCollections() const
void SetServerName(Aws::String &&value)
MongoDbSettings & WithSecretsManagerAccessRoleArn(const char *value)
MongoDbSettings & WithDatabaseName(const char *value)
MongoDbSettings & WithSecretsManagerAccessRoleArn(Aws::String &&value)
MongoDbSettings & WithSecretsManagerSecretId(Aws::String &&value)
const Aws::String & GetDocsToInvestigate() const
void SetUsername(Aws::String &&value)
MongoDbSettings & WithAuthSource(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecretsManagerAccessRoleArn(const char *value)
MongoDbSettings & WithSecretsManagerAccessRoleArn(const Aws::String &value)
MongoDbSettings & WithAuthSource(Aws::String &&value)
const Aws::String & GetSecretsManagerAccessRoleArn() const
bool GetUseUpdateLookUp() const
bool ExtractDocIdHasBeenSet() const
void SetReplicateShardCollections(bool value)
MongoDbSettings & WithServerName(const char *value)
void SetDatabaseName(const Aws::String &value)
void SetAuthSource(const char *value)
MongoDbSettings & WithAuthType(AuthTypeValue &&value)
void SetAuthType(const AuthTypeValue &value)
void SetDatabaseName(const char *value)
MongoDbSettings & WithDatabaseName(const Aws::String &value)
const AuthMechanismValue & GetAuthMechanism() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue