19#include <bsoncxx/document/view_or_value.hpp>
20#include <bsoncxx/stdx/optional.hpp>
21#include <mongocxx/stdx.hpp>
23#include <mongocxx/config/prelude.hpp>
26MONGOCXX_INLINE_NAMESPACE_BEGIN
67 const stdx::optional<
client*>& key_vault_client() const;
97 const stdx::optional<
pool*>& key_vault_pool() const;
115 using
ns_pair = std::pair<std::
string, std::
string>;
125 const stdx::optional<
ns_pair>& key_vault_namespace() const;
176 const stdx::optional<
bsoncxx::document::view_or_value>& kms_providers() const;
206 const stdx::optional<
bsoncxx::document::view_or_value>& tls_opts() const;
238 const stdx::optional<
bsoncxx::document::view_or_value>& schema_map() const;
260 bool bypass_auto_encryption() const;
292 const stdx::optional<
bsoncxx::document::view_or_value>& extra_options() const;
298 MONGOCXX_PRIVATE
void* convert() const;
303 stdx::optional<
ns_pair> _key_vault_namespace;
304 stdx::optional<
bsoncxx::document::view_or_value> _kms_providers;
305 stdx::optional<
bsoncxx::document::view_or_value> _tls_opts;
306 stdx::optional<
bsoncxx::document::view_or_value> _schema_map;
307 stdx::optional<
bsoncxx::document::view_or_value> _extra_options;
311MONGOCXX_INLINE_NAMESPACE_END
Class representing options for automatic client-side encryption.
Definition auto_encryption.hpp:36
auto_encryption() noexcept
Default constructs a new auto_encryption object.
std::pair< std::string, std::string > ns_pair
Sets the namespace to use to access the key vault collection, which contains all data keys used for e...
Definition auto_encryption.hpp:115
Class representing the optional arguments to a MongoDB driver client object.
Definition client.hpp:36
Class representing the optional arguments to a MongoDB driver pool object.
Definition pool.hpp:29
Top level namespace for MongoDB C++ BSON functionality.
Definition element.hpp:24
Top level namespace for the MongoDB C++ driver.
Definition bulk_write.hpp:24