MongoDB C++ Driver mongocxx-3.11.0
|
#include <mongocxx/v_noabi/mongocxx/options/client.hpp>
Class representing the optional arguments to a MongoDB driver client object.
Public Member Functions | |
const stdx::optional< apm > & | apm_opts () const |
The current APM-related options. | |
client & | apm_opts (apm apm_opts) |
Sets the APM-related options. | |
const stdx::optional< auto_encryption > & | auto_encryption_opts () const |
Gets the current automatic encryption options. | |
client & | auto_encryption_opts (auto_encryption auto_encryption_opts) |
Sets the automatic encryption options. | |
const stdx::optional< server_api > & | server_api_opts () const |
Gets the current server API options or returns a disengaged optional if there are no server API options set. | |
client & | server_api_opts (server_api server_api_opts) |
Sets the server API options. | |
MONGOCXX_DEPRECATED const stdx::optional< tls > & | ssl_opts () const |
The current SSL-related options. | |
MONGOCXX_DEPRECATED client & | ssl_opts (tls ssl_opts) |
Sets the SSL-related options. | |
const stdx::optional< tls > & | tls_opts () const |
The current TLS-related options. | |
client & | tls_opts (tls tls_opts) |
Sets the TLS-related options. | |
const stdx::optional< apm > & mongocxx::v_noabi::options::client::apm_opts | ( | ) | const |
The current APM-related options.
Sets the APM-related options.
apm_opts | The APM-related options. |
const stdx::optional< auto_encryption > & mongocxx::v_noabi::options::client::auto_encryption_opts | ( | ) | const |
Gets the current automatic encryption options.
client & mongocxx::v_noabi::options::client::auto_encryption_opts | ( | auto_encryption | auto_encryption_opts | ) |
Sets the automatic encryption options.
auto_encryption_opts | The options for automatic encryption. |
const stdx::optional< server_api > & mongocxx::v_noabi::options::client::server_api_opts | ( | ) | const |
Gets the current server API options or returns a disengaged optional if there are no server API options set.
client & mongocxx::v_noabi::options::client::server_api_opts | ( | server_api | server_api_opts | ) |
Sets the server API options.
server_api_opts | The options for server API. |
MONGOCXX_DEPRECATED const stdx::optional< tls > & mongocxx::v_noabi::options::client::ssl_opts | ( | ) | const |
The current SSL-related options.
MONGOCXX_DEPRECATED client & mongocxx::v_noabi::options::client::ssl_opts | ( | tls | ssl_opts | ) |
Sets the SSL-related options.
ssl_opts | The SSL-related options. |
const stdx::optional< tls > & mongocxx::v_noabi::options::client::tls_opts | ( | ) | const |
The current TLS-related options.
Sets the TLS-related options.
tls_opts | The TLS-related options. |