#include <mongocxx/v1/client.hpp>
Options for mongocxx::v1::client.
Supported fields include:
Public Member Functions | |
| options () | |
| Default initialization. | |
| options (options &&other) noexcept | |
| Move constructor. | |
| options (options const &other) | |
| Copy construction. | |
| ~options () | |
| Destroy this object. | |
| bsoncxx::v1::stdx::optional< v1::apm > | apm_opts () const |
| Return the current "apm_opts" field. | |
| options & | apm_opts (v1::apm v) |
| Set the "apm_opts" field. | |
| bsoncxx::v1::stdx::optional< v1::auto_encryption_options > | auto_encryption_opts () const |
| Return the current "auto_encryption_opts" field. | |
| options & | auto_encryption_opts (v1::auto_encryption_options v) |
| Set the "auto_encryption_opts" field. | |
| options & | operator= (options &&other) noexcept |
| Move assignment. | |
| options & | operator= (options const &other) |
| Copy assignment. | |
| bsoncxx::v1::stdx::optional< v1::server_api > | server_api_opts () const |
| Return the current "server_api_opts" field. | |
| options & | server_api_opts (v1::server_api v) |
| Set the "server_api_opts" field. | |
| bsoncxx::v1::stdx::optional< v1::tls > | tls_opts () const |
| Return the current "tls_opts" field. | |
| options & | tls_opts (v1::tls v) |
| Set the "tls_opts" field. | |
| mongocxx::v1::client::options::~options | ( | ) |
Destroy this object.
|
noexcept |
Move constructor.
| mongocxx::v1::client::options::options | ( | options const & | other | ) |
Copy construction.
| mongocxx::v1::client::options::options | ( | ) |
Default initialization.
| bsoncxx::v1::stdx::optional< v1::apm > mongocxx::v1::client::options::apm_opts | ( | ) | const |
Return the current "apm_opts" field.
| bsoncxx::v1::stdx::optional< v1::auto_encryption_options > mongocxx::v1::client::options::auto_encryption_opts | ( | ) | const |
Return the current "auto_encryption_opts" field.
| options & mongocxx::v1::client::options::auto_encryption_opts | ( | v1::auto_encryption_options | v | ) |
Set the "auto_encryption_opts" field.
Move assignment.
| bsoncxx::v1::stdx::optional< v1::server_api > mongocxx::v1::client::options::server_api_opts | ( | ) | const |
Return the current "server_api_opts" field.
| options & mongocxx::v1::client::options::server_api_opts | ( | v1::server_api | v | ) |
Set the "server_api_opts" field.
| bsoncxx::v1::stdx::optional< v1::tls > mongocxx::v1::client::options::tls_opts | ( | ) | const |
Return the current "tls_opts" field.