17#include <bsoncxx/stdx/optional.hpp>
18#include <bsoncxx/string/view_or_value.hpp>
19#include <bsoncxx/types.hpp>
20#include <bsoncxx/types/bson_value/view_or_value.hpp>
21#include <mongocxx/stdx.hpp>
23#include <mongocxx/config/prelude.hpp>
26inline namespace v_noabi {
27class client_encryption;
67 bsoncxx::string::view_or_value
provider()
const;
99 const stdx::optional<bsoncxx::document::view_or_value>&
master_key()
const;
103 bsoncxx::string::view_or_value _provider;
104 stdx::optional<bsoncxx::document::view_or_value> _master_key;
111#include <mongocxx/config/postlude.hpp>
Class supporting operations for MongoDB Client-Side Field Level Encryption.
Definition client_encryption.hpp:38
Class representing options for a rewrap many datakey operation.
Definition rewrap_many_datakey.hpp:34
rewrap_many_datakey & master_key(bsoncxx::document::view_or_value master_key)
Set the masterKey option.
bsoncxx::string::view_or_value provider() const
Get the KMS provider.
rewrap_many_datakey & provider(bsoncxx::string::view_or_value provider)
Set the optional KMS provider use to encrypt the data keys.
const stdx::optional< bsoncxx::document::view_or_value > & master_key() const
Get the masterKey option.
The top-level namespace for mongocxx library entities.
Definition bulk_write.hpp:24