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>
26 MONGOCXX_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;
265 const stdx::optional<
bsoncxx::document::view_or_value>& encrypted_fields_map() const;
287 bool bypass_auto_encryption() const;
309 bool bypass_query_analysis() const;
368 const stdx::optional<
bsoncxx::document::view_or_value>& extra_options() const;
374 MONGOCXX_PRIVATE
void* convert() const;
377 bool _bypass_query_analysis;
380 stdx::optional<
ns_pair> _key_vault_namespace;
381 stdx::optional<
bsoncxx::document::view_or_value> _kms_providers;
382 stdx::optional<
bsoncxx::document::view_or_value> _tls_opts;
383 stdx::optional<
bsoncxx::document::view_or_value> _schema_map;
384 stdx::optional<
bsoncxx::document::view_or_value> _encrypted_fields_map;
385 stdx::optional<
bsoncxx::document::view_or_value> _extra_options;
389 MONGOCXX_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