7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9#include <aws/dms/model/AuthMechanismValue.h>
10#include <aws/dms/model/AuthTypeValue.h>
11#include <aws/dms/model/DmsSslModeValue.h>
22namespace DatabaseMigrationService {
44 template <
typename ServerNameT = Aws::String>
46 m_serverNameHasBeenSet =
true;
47 m_serverName = std::forward<ServerNameT>(value);
49 template <
typename ServerNameT = Aws::String>
60 inline int GetPort()
const {
return m_port; }
63 m_portHasBeenSet =
true;
78 template <
typename DatabaseNameT = Aws::String>
80 m_databaseNameHasBeenSet =
true;
81 m_databaseName = std::forward<DatabaseNameT>(value);
83 template <
typename DatabaseNameT = Aws::String>
98 m_sslModeHasBeenSet =
true;
114 template <
typename CertificateArnT = Aws::String>
116 m_certificateArnHasBeenSet =
true;
117 m_certificateArn = std::forward<CertificateArnT>(value);
119 template <
typename CertificateArnT = Aws::String>
134 m_authTypeHasBeenSet =
true;
151 template <
typename AuthSourceT = Aws::String>
153 m_authSourceHasBeenSet =
true;
154 m_authSource = std::forward<AuthSourceT>(value);
156 template <
typename AuthSourceT = Aws::String>
171 m_authMechanismHasBeenSet =
true;
172 m_authMechanism = value;
195 bool m_serverNameHasBeenSet =
false;
196 bool m_portHasBeenSet =
false;
197 bool m_databaseNameHasBeenSet =
false;
198 bool m_sslModeHasBeenSet =
false;
199 bool m_certificateArnHasBeenSet =
false;
200 bool m_authTypeHasBeenSet =
false;
201 bool m_authSourceHasBeenSet =
false;
202 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