123 return _auto_encrypt_opts;
173 return _server_api_opts;
206 auto ret =
from_v1(std::move(v));
207 ret.auto_encryption_opts(std::move(opts));
224 ret.auto_encryption_opts(std::move(opts));
Provides mongocxx::v_noabi::options::auto_encryption.
A polyfill for std::optional<T>.
Definition optional.hpp:799
client()=default
Default initialization.
Options related In-Use Encryption configuration.
Definition auto_encryption_options.hpp:58
Options for mongocxx::v1::client.
Definition client.hpp:307
Used by mongocxx::v_noabi::options::client::apm_opts.
Definition apm.hpp:52
Used by mongocxx::v_noabi::options::client::auto_encryption_opts.
Definition auto_encryption.hpp:44
Used by clients.
Definition client.hpp:42
client & auto_encryption_opts(auto_encryption auto_encryption_opts)
Sets the automatic encryption options.
Definition client.hpp:111
client & ssl_opts(tls ssl_opts)
Sets the SSL-related options.
Definition client.hpp:62
client & apm_opts(apm apm_opts)
Sets the APM-related options.
Definition client.hpp:136
client()=default
Default initialization.
bsoncxx::v_noabi::stdx::optional< tls > const & ssl_opts() const
The current SSL-related options.
Definition client.hpp:88
client & server_api_opts(server_api server_api_opts)
Sets the server API options.
Definition client.hpp:160
bsoncxx::v_noabi::stdx::optional< server_api > const & server_api_opts() const
Gets the current server API options or returns a disengaged optional if there are no server API optio...
Definition client.hpp:172
bsoncxx::v_noabi::stdx::optional< tls > const & tls_opts() const
The current TLS-related options.
Definition client.hpp:97
bsoncxx::v_noabi::stdx::optional< auto_encryption > const & auto_encryption_opts() const
Gets the current automatic encryption options.
Definition client.hpp:122
client & tls_opts(tls tls_opts)
Sets the TLS-related options.
Definition client.hpp:76
bsoncxx::v_noabi::stdx::optional< apm > const & apm_opts() const
The current APM-related options.
Definition client.hpp:146
Used by mongocxx::v_noabi::options::client::server_api_opts.
Definition server_api.hpp:43
Used by mongocxx::v_noabi::options::client::tls_opts.
Definition tls.hpp:39
#define MONGOCXX_DEPRECATED
Declares the associated entity as deprecated.
Definition export.hpp:25
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
Declares entities representing options to use with various commands.
Declares entities whose ABI stability is NOT guaranteed.
v1::bulk_write to_v1(v_noabi::bulk_write v)
Convert to the mongocxx::v1 equivalent of v.
Definition bulk_write.hpp:162
v_noabi::bulk_write from_v1(v1::bulk_write v)
Convert to the mongocxx::v_noabi equivalent of v.
Definition bulk_write.hpp:155
The top-level namespace within which all mongocxx library entities are declared.
Provides mongocxx::v1::client.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::options::apm.
Declares mongocxx::v_noabi::options::client.
Provides mongocxx::v_noabi::options::server_api.
Provides mongocxx::v_noabi::options::tls.