MongoDB C++ Driver mongocxx-3.10.1
Loading...
Searching...
No Matches
rewrap_many_datakey.hpp
1// Copyright 2023 MongoDB Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#pragma once
16
17#include <mongocxx/result/rewrap_many_datakey-fwd.hpp>
18
19#include <bsoncxx/document/value.hpp>
20#include <bsoncxx/stdx/optional.hpp>
21#include <mongocxx/bulk_write.hpp>
22
23#include <mongocxx/config/prelude.hpp>
24
25namespace mongocxx {
26namespace v_noabi {
27namespace result {
28
31 public:
32 rewrap_many_datakey() = default;
33
34 explicit rewrap_many_datakey(mongocxx::v_noabi::result::bulk_write bulk_write_result_doc);
35
41 const bsoncxx::v_noabi::stdx::optional<mongocxx::v_noabi::result::bulk_write>& result();
42
43 private:
44 bsoncxx::v_noabi::stdx::optional<mongocxx::v_noabi::result::bulk_write> _result;
45};
46
47} // namespace result
48} // namespace v_noabi
49} // namespace mongocxx
50
51#include <mongocxx/config/postlude.hpp>
Class representing the result of a MongoDB bulk write operation.
Definition bulk_write.hpp:36
Class representing the result of a MongoDB rewrap_many_datakey operation.
Definition rewrap_many_datakey.hpp:30
const bsoncxx::v_noabi::stdx::optional< mongocxx::v_noabi::result::bulk_write > & result()
Returns the bulk write result for this rewrap_many_datakey operation.
The top-level namespace for mongocxx library entities.
Definition bulk_write-fwd.hpp:19