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
50 template<
typename ServerNameT = Aws::String>
51 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet =
true; m_serverName = std::forward<ServerNameT>(value); }
52 template<
typename ServerNameT = Aws::String>
60 inline int GetPort()
const {
return m_port; }
62 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
72 template<
typename DatabaseNameT = Aws::String>
73 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
74 template<
typename DatabaseNameT = Aws::String>
96 template<
typename CertificateArnT = Aws::String>
97 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet =
true; m_certificateArn = std::forward<CertificateArnT>(value); }
98 template<
typename CertificateArnT = Aws::String>
121 template<
typename AuthSourceT = Aws::String>
122 void SetAuthSource(AuthSourceT&& value) { m_authSourceHasBeenSet =
true; m_authSource = std::forward<AuthSourceT>(value); }
123 template<
typename AuthSourceT = Aws::String>
140 bool m_serverNameHasBeenSet =
false;
143 bool m_portHasBeenSet =
false;
146 bool m_databaseNameHasBeenSet =
false;
149 bool m_sslModeHasBeenSet =
false;
152 bool m_certificateArnHasBeenSet =
false;
155 bool m_authTypeHasBeenSet =
false;
158 bool m_authSourceHasBeenSet =
false;
161 bool m_authMechanismHasBeenSet =
false;
MongoDbDataProviderSettings & WithSslMode(DmsSslModeValue value)
bool AuthMechanismHasBeenSet() const
MongoDbDataProviderSettings & WithCertificateArn(CertificateArnT &&value)
void SetCertificateArn(CertificateArnT &&value)
MongoDbDataProviderSettings & WithAuthSource(AuthSourceT &&value)
AuthMechanismValue GetAuthMechanism() const
const Aws::String & GetServerName() const
bool SslModeHasBeenSet() const
DmsSslModeValue GetSslMode() const
MongoDbDataProviderSettings & WithPort(int value)
MongoDbDataProviderSettings & WithAuthType(AuthTypeValue value)
MongoDbDataProviderSettings & WithAuthMechanism(AuthMechanismValue value)
const Aws::String & GetCertificateArn() const
const Aws::String & GetDatabaseName() const
bool AuthSourceHasBeenSet() const
bool PortHasBeenSet() const
bool AuthTypeHasBeenSet() const
MongoDbDataProviderSettings & WithServerName(ServerNameT &&value)
bool CertificateArnHasBeenSet() const
void SetServerName(ServerNameT &&value)
void SetDatabaseName(DatabaseNameT &&value)
MongoDbDataProviderSettings & WithDatabaseName(DatabaseNameT &&value)
void SetAuthMechanism(AuthMechanismValue value)
AWS_DATABASEMIGRATIONSERVICE_API MongoDbDataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
bool ServerNameHasBeenSet() const
void SetAuthSource(AuthSourceT &&value)
void SetSslMode(DmsSslModeValue value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API MongoDbDataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthTypeValue GetAuthType() const
bool DatabaseNameHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API MongoDbDataProviderSettings()=default
const Aws::String & GetAuthSource() const
void SetAuthType(AuthTypeValue value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue