19 #include <mongocxx/client-fwd.hpp>
20 #include <mongocxx/options/auto_encryption-fwd.hpp>
21 #include <mongocxx/pool-fwd.hpp>
23 #include <bsoncxx/document/view_or_value.hpp>
24 #include <bsoncxx/stdx/optional.hpp>
25 #include <mongocxx/stdx.hpp>
27 #include <mongocxx/config/prelude.hpp>
115 using
ns_pair = std::pair<std::
string, std::
string>;
379 MONGOCXX_PRIVATE
void* convert() const;
382 bool _bypass_query_analysis;
384 stdx::optional<
mongocxx::v_noabi::
pool*> _key_vault_pool;
385 stdx::optional<
ns_pair> _key_vault_namespace;
386 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _kms_providers;
387 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _tls_opts;
388 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _schema_map;
389 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _encrypted_fields_map;
390 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> _extra_options;
398 #if defined(MONGOCXX_TEST_MACRO_GUARDS_FIX_MISSING_POSTLUDE)
399 #include <mongocxx/config/postlude.hpp>
Class representing options for automatic client-side encryption.
Definition: auto_encryption.hpp:36
const stdx::optional< mongocxx::v_noabi::pool * > & key_vault_pool() const
Gets the key vault pool.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & kms_providers() const
Gets the KMS providers.
bool bypass_query_analysis() const
Gets a boolean specifying whether or not query analysis is bypassed.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & extra_options() const
Gets extra options related to the mongocryptd process.
auto_encryption() noexcept
Default constructs a new auto_encryption object.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & schema_map() const
Gets the schema map.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & tls_opts() const
Gets the TLS options.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & encrypted_fields_map() const
Get encrypted fields map.
bool bypass_auto_encryption() const
Gets a boolean specifying whether or not auto encryption is bypassed.
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
const stdx::optional< mongocxx::v_noabi::client * > & key_vault_client() const
Gets the key vault client.
const stdx::optional< ns_pair > & key_vault_namespace() const
Gets the key vault namespace.
Class representing the optional arguments to a MongoDB driver client object.
Definition: client.hpp:38
Class representing the optional arguments to a MongoDB driver pool object.
Definition: pool.hpp:31
The top-level namespace for bsoncxx library entities.
Definition: element-fwd.hpp:19
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19