17 #include <mongocxx/client_encryption-fwd.hpp>
18 #include <mongocxx/options/rewrap_many_datakey-fwd.hpp>
20 #include <bsoncxx/stdx/optional.hpp>
21 #include <bsoncxx/string/view_or_value.hpp>
22 #include <bsoncxx/types.hpp>
23 #include <bsoncxx/types/bson_value/view_or_value.hpp>
24 #include <mongocxx/stdx.hpp>
26 #include <mongocxx/config/prelude.hpp>
100 const stdx::optional<bsoncxx::v_noabi::document::view_or_value>&
master_key()
const;
103 friend ::mongocxx::v_noabi::client_encryption;
106 stdx::optional<bsoncxx::v_noabi::document::view_or_value> _master_key;
113 #include <mongocxx/config/postlude.hpp>
Class representing a view-or-value variant type for strings.
Definition: view_or_value.hpp:38
Class representing options for a rewrap many datakey operation.
Definition: rewrap_many_datakey.hpp:35
rewrap_many_datakey & provider(bsoncxx::v_noabi::string::view_or_value provider)
Set the optional KMS provider use to encrypt the data keys.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & master_key() const
Get the masterKey option.
bsoncxx::v_noabi::string::view_or_value provider() const
Get the KMS provider.
rewrap_many_datakey & master_key(bsoncxx::v_noabi::document::view_or_value master_key)
Set the masterKey option.
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19