7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/DmsSslModeValue.h>
10#include <aws/dms/model/AuthTypeValue.h>
11#include <aws/dms/model/AuthMechanismValue.h>
24namespace DatabaseMigrationService
52 inline void SetServerName(
const char* value) { m_serverNameHasBeenSet =
true; m_serverName.assign(value); }
62 inline int GetPort()
const{
return m_port; }
64 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
76 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
104 inline void SetCertificateArn(
const char* value) { m_certificateArnHasBeenSet =
true; m_certificateArn.assign(value); }
133 inline void SetAuthSource(
const char* value) { m_authSourceHasBeenSet =
true; m_authSource.assign(value); }
154 bool m_serverNameHasBeenSet =
false;
157 bool m_portHasBeenSet =
false;
160 bool m_databaseNameHasBeenSet =
false;
163 bool m_sslModeHasBeenSet =
false;
166 bool m_certificateArnHasBeenSet =
false;
169 bool m_authTypeHasBeenSet =
false;
172 bool m_authSourceHasBeenSet =
false;
175 bool m_authMechanismHasBeenSet =
false;
bool AuthMechanismHasBeenSet() const
MongoDbDataProviderSettings & WithDatabaseName(const char *value)
MongoDbDataProviderSettings & WithAuthSource(Aws::String &&value)
void SetSslMode(const DmsSslModeValue &value)
MongoDbDataProviderSettings & WithSslMode(const DmsSslModeValue &value)
void SetAuthSource(const char *value)
const Aws::String & GetServerName() const
void SetDatabaseName(Aws::String &&value)
void SetCertificateArn(Aws::String &&value)
const DmsSslModeValue & GetSslMode() const
const AuthMechanismValue & GetAuthMechanism() const
MongoDbDataProviderSettings & WithCertificateArn(Aws::String &&value)
MongoDbDataProviderSettings & WithCertificateArn(const char *value)
void SetAuthMechanism(const AuthMechanismValue &value)
bool SslModeHasBeenSet() const
MongoDbDataProviderSettings & WithAuthSource(const char *value)
MongoDbDataProviderSettings & WithPort(int value)
MongoDbDataProviderSettings & WithDatabaseName(Aws::String &&value)
MongoDbDataProviderSettings & WithAuthSource(const Aws::String &value)
MongoDbDataProviderSettings & WithAuthMechanism(AuthMechanismValue &&value)
void SetAuthType(const AuthTypeValue &value)
const Aws::String & GetCertificateArn() const
const Aws::String & GetDatabaseName() const
bool AuthSourceHasBeenSet() const
MongoDbDataProviderSettings & WithServerName(const char *value)
void SetCertificateArn(const Aws::String &value)
void SetAuthMechanism(AuthMechanismValue &&value)
bool PortHasBeenSet() const
MongoDbDataProviderSettings & WithServerName(Aws::String &&value)
bool AuthTypeHasBeenSet() const
MongoDbDataProviderSettings & WithAuthMechanism(const AuthMechanismValue &value)
void SetAuthType(AuthTypeValue &&value)
bool CertificateArnHasBeenSet() const
MongoDbDataProviderSettings & WithAuthType(const AuthTypeValue &value)
AWS_DATABASEMIGRATIONSERVICE_API MongoDbDataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
bool ServerNameHasBeenSet() const
MongoDbDataProviderSettings & WithDatabaseName(const Aws::String &value)
void SetDatabaseName(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServerName(const Aws::String &value)
void SetCertificateArn(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API MongoDbDataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const AuthTypeValue & GetAuthType() const
MongoDbDataProviderSettings & WithServerName(const Aws::String &value)
bool DatabaseNameHasBeenSet() const
void SetServerName(const char *value)
void SetServerName(Aws::String &&value)
MongoDbDataProviderSettings & WithCertificateArn(const Aws::String &value)
const Aws::String & GetAuthSource() const
void SetDatabaseName(const Aws::String &value)
MongoDbDataProviderSettings & WithAuthType(AuthTypeValue &&value)
void SetSslMode(DmsSslModeValue &&value)
void SetAuthSource(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API MongoDbDataProviderSettings()
MongoDbDataProviderSettings & WithSslMode(DmsSslModeValue &&value)
void SetAuthSource(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue