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>
26 MONGOCXX_INLINE_NAMESPACE_BEGIN
28 class client_encryption;
97 const stdx::optional<bsoncxx::document::view_or_value>&
master_key()
const;
102 stdx::optional<bsoncxx::document::view_or_value> _master_key;
106 MONGOCXX_INLINE_NAMESPACE_END
109 #include <mongocxx/config/postlude.hpp>
Class representing a view-or-value variant type for strings.
Definition: view_or_value.hpp:36
Class supporting operations for MongoDB Client-Side Field Level Encryption.
Definition: client_encryption.hpp:39
Definition: rewrap_many_datakey.hpp:32
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.
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24