19 #include <mongocxx/options/client-fwd.hpp>
21 #include <bsoncxx/stdx/optional.hpp>
22 #include <mongocxx/options/apm.hpp>
23 #include <mongocxx/options/auto_encryption.hpp>
24 #include <mongocxx/options/server_api.hpp>
25 #include <mongocxx/options/tls.hpp>
27 #include <mongocxx/config/prelude.hpp>
74 MONGOCXX_DEPRECATED
const stdx::optional<tls>&
ssl_opts()
const;
144 stdx::optional<tls> _tls_opts;
145 stdx::optional<apm> _apm_opts;
146 stdx::optional<auto_encryption> _auto_encrypt_opts;
147 stdx::optional<server_api> _server_api_opts;
154 #include <mongocxx/config/postlude.hpp>
Class representing MongoDB application performance monitoring.
Definition: apm.hpp:43
Class representing options for automatic client-side encryption.
Definition: auto_encryption.hpp:36
Class representing the optional arguments to a MongoDB driver client object.
Definition: client.hpp:38
client & apm_opts(apm apm_opts)
Sets the APM-related options.
client & ssl_opts(tls ssl_opts)
Sets the SSL-related options.
const stdx::optional< apm > & apm_opts() const
The current APM-related options.
const stdx::optional< tls > & ssl_opts() const
The current SSL-related options.
client & tls_opts(tls tls_opts)
Sets the TLS-related options.
client & auto_encryption_opts(auto_encryption auto_encryption_opts)
Sets the automatic encryption options.
client & server_api_opts(server_api server_api_opts)
Sets the server API options.
const stdx::optional< auto_encryption > & auto_encryption_opts() const
Gets the current 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 optio...
const stdx::optional< tls > & tls_opts() const
The current TLS-related options.
Class representing options for server API.
Definition: server_api.hpp:36
Class representing the optional arguments to a MongoDB driver client (TLS)
Definition: tls.hpp:34
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19