/**
 * Autogenerated by Thrift for thrift/compiler/test/fixtures/basic-annotations/src/module.thrift
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */

#pragma once
#if __has_include(<thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/MyService.h>)
#include <thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/MyService.h>
#else
#include <thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/module_clients.h>
#endif
#if __has_include(<thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/MyServicePrioParent.h>)
#include <thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/MyServicePrioParent.h>
#else
#include <thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/module_clients.h>
#endif
#if __has_include(<thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/MyServicePrioChild.h>)
#include <thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/MyServicePrioChild.h>
#else
#include <thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/module_clients.h>
#endif
#if __has_include(<thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/BadService.h>)
#include <thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/BadService.h>
#else
#include <thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/module_clients.h>
#endif
#if __has_include(<thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/FooBarBazService.h>)
#include <thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/FooBarBazService.h>
#else
#include <thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/module_clients.h>
#endif

#include <folly/futures/Future.h>
#include <folly/futures/Promise.h>
#include <folly/Unit.h>
#include <thrift/lib/py3/clientcallbacks.h>
#include <thrift/lib/py3/client_wrapper.h>

#include <cstdint>
#include <functional>
#include <map>
#include <memory>
#include <set>
#include <vector>

namespace cpp2 {

class MyServiceClientWrapper : public ::thrift::py3::ClientWrapper {
  public:
    using ::thrift::py3::ClientWrapper::ClientWrapper;

    folly::Future<folly::Unit> ping(
      apache::thrift::RpcOptions& rpcOptions);
    folly::Future<std::string> getRandomData(
      apache::thrift::RpcOptions& rpcOptions);
    folly::Future<bool> hasDataById(
      apache::thrift::RpcOptions& rpcOptions,
      int64_t arg_id);
    folly::Future<std::string> getDataById(
      apache::thrift::RpcOptions& rpcOptions,
      int64_t arg_id);
    folly::Future<folly::Unit> putDataById(
      apache::thrift::RpcOptions& rpcOptions,
      int64_t arg_id,
      std::string arg_data);
    folly::Future<folly::Unit> lobDataById(
      apache::thrift::RpcOptions& rpcOptions,
      int64_t arg_id,
      std::string arg_data);
    folly::Future<folly::Unit> cppDoNothing(
      apache::thrift::RpcOptions& rpcOptions);
};


class MyServicePrioParentClientWrapper : public ::thrift::py3::ClientWrapper {
  public:
    using ::thrift::py3::ClientWrapper::ClientWrapper;

    folly::Future<folly::Unit> ping(
      apache::thrift::RpcOptions& rpcOptions);
    folly::Future<folly::Unit> pong(
      apache::thrift::RpcOptions& rpcOptions);
};


class MyServicePrioChildClientWrapper : public ::cpp2::MyServicePrioParentClientWrapper {
  public:
    using ::cpp2::MyServicePrioParentClientWrapper::MyServicePrioParentClientWrapper;

    folly::Future<folly::Unit> pang(
      apache::thrift::RpcOptions& rpcOptions);
};


class BadServiceClientWrapper : public ::thrift::py3::ClientWrapper {
  public:
    using ::thrift::py3::ClientWrapper::ClientWrapper;

    folly::Future<int32_t> bar(
      apache::thrift::RpcOptions& rpcOptions);

    class BadInteractionInteractionWrapper : public ClientWrapper {
      public:
        BadInteractionInteractionWrapper(
          std::unique_ptr<apache::thrift::GeneratedAsyncClient> async_client,
           std::shared_ptr<apache::thrift::RequestChannel> channel)
           : ClientWrapper(std::move(async_client), channel) {}

        folly::Future<folly::Unit> foo(
          apache::thrift::RpcOptions& rpcOptions);
    };
    folly::Future<std::unique_ptr<::thrift::py3::ClientWrapper>> createBadInteraction();
};


class FooBarBazServiceClientWrapper : public ::thrift::py3::ClientWrapper {
  public:
    using ::thrift::py3::ClientWrapper::ClientWrapper;

    folly::Future<folly::Unit> foo(
      apache::thrift::RpcOptions& rpcOptions);
    folly::Future<folly::Unit> bar(
      apache::thrift::RpcOptions& rpcOptions);
    folly::Future<folly::Unit> baz(
      apache::thrift::RpcOptions& rpcOptions);
};


} // namespace cpp2
