Re-sync with internal repository
[hiphop-php.git] / third-party / thrift / src / thrift / compiler / test / fixtures / params / gen-py3 / module / clients_wrapper.h
blobbbfc8bbe2e6fcaa181f8203797fac643b26c3808
1 /**
2 * Autogenerated by Thrift
4 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5 * @generated
6 */
8 #pragma once
9 #if __has_include(<src/gen-cpp2/NestedContainers.h>)
10 #include <src/gen-cpp2/NestedContainers.h>
11 #else
12 #include <src/gen-cpp2/module_clients.h>
13 #endif
15 #include <folly/futures/Future.h>
16 #include <folly/futures/Promise.h>
17 #include <folly/Unit.h>
18 #include <thrift/lib/py3/clientcallbacks.h>
19 #include <thrift/lib/py3/client_wrapper.h>
21 #include <cstdint>
22 #include <functional>
23 #include <map>
24 #include <memory>
25 #include <set>
26 #include <vector>
28 namespace cpp2 {
30 class NestedContainersClientWrapper : public ::thrift::py3::ClientWrapper {
31 public:
32 using ::thrift::py3::ClientWrapper::ClientWrapper;
34 folly::Future<folly::Unit> mapList(
35 apache::thrift::RpcOptions& rpcOptions,
36 std::map<int32_t,std::vector<int32_t>> arg_foo);
37 folly::Future<folly::Unit> mapSet(
38 apache::thrift::RpcOptions& rpcOptions,
39 std::map<int32_t,std::set<int32_t>> arg_foo);
40 folly::Future<folly::Unit> listMap(
41 apache::thrift::RpcOptions& rpcOptions,
42 std::vector<std::map<int32_t,int32_t>> arg_foo);
43 folly::Future<folly::Unit> listSet(
44 apache::thrift::RpcOptions& rpcOptions,
45 std::vector<std::set<int32_t>> arg_foo);
46 folly::Future<folly::Unit> turtles(
47 apache::thrift::RpcOptions& rpcOptions,
48 std::vector<std::vector<std::map<int32_t,std::map<int32_t,std::set<int32_t>>>>> arg_foo);
52 } // namespace cpp2