124 return _auto_encrypt_opts;
174 return _server_api_opts;
198 return _oidc_callback;
232 auto ret =
from_v1(std::move(v));
233 ret.auto_encryption_opts(std::move(opts));
250 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:310
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:43
client & auto_encryption_opts(auto_encryption auto_encryption_opts)
Sets the automatic encryption options.
Definition client.hpp:112
client & ssl_opts(tls ssl_opts)
Sets the SSL-related options.
Definition client.hpp:63
client & apm_opts(apm apm_opts)
Sets the APM-related options.
Definition client.hpp:137
client()=default
Default initialization.
client & oidc_callback(v1::oidc_callback oidc_callback)
Sets the OIDC callback.
Definition client.hpp:187
bsoncxx::v_noabi::stdx::optional< tls > const & ssl_opts() const
The current SSL-related options.
Definition client.hpp:89
bsoncxx::v_noabi::stdx::optional< v1::oidc_callback > const & oidc_callback() const
The current OIDC callback.
Definition client.hpp:197
client & server_api_opts(server_api server_api_opts)
Sets the server API options.
Definition client.hpp:161
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:173
bsoncxx::v_noabi::stdx::optional< tls > const & tls_opts() const
The current TLS-related options.
Definition client.hpp:98
bsoncxx::v_noabi::stdx::optional< auto_encryption > const & auto_encryption_opts() const
Gets the current automatic encryption options.
Definition client.hpp:123
client & tls_opts(tls tls_opts)
Sets the TLS-related options.
Definition client.hpp:77
bsoncxx::v_noabi::stdx::optional< apm > const & apm_opts() const
The current APM-related options.
Definition client.hpp:147
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_UNSTABLE(...)
Equivalent to MONGOCXX_ABI_EXPORT_UNSTABLE with MONGOCXX_ABI_CDECL.
Definition config.hpp:28
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
std::function< oidc_credential(oidc_callback_params const &)> oidc_callback
An OIDC credential callback function.
Definition oidc_callback.hpp:36
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 mongocxx::v1::oidc_callback.
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.