text: #pragma once
  #include "AbstractSoapEndpointHandler.h"
  #include "SoapResponse.h"
  #include "ClientInfoRepository.h"
  #include "GetFindMembershipResponse.h"
  #include "SyncResponse.h"
  #include "AccountDataDirectResponse.h"
  #include "ClientInfo.h"
  #include "ABSyncData.h"
  #include "DirectEvent.h"
  
  namespace wlmatrix
  {
  class FindMembershipHandler : public AbstractSoapEndpointHandler{
  
      private: 
          void handleDirects(GetFindMembershipResponse& response, ABSyncData& syncData, DirectEvent &directs);
          void handleJoinedRooms(GetFindMembershipResponse& response, ABSyncData& syncData);
          void handleInvitedRooms(GetFindMembershipResponse& response, ABSyncData& syncData, DirectEvent &directs);
          void handleLeftRooms(GetFindMembershipResponse& response, ABSyncData& syncData, DirectEvent &directs);
  
      public:
          FindMembershipHandler();
          SoapResponse handleRequest(std::string requestBody) override;
  };
  };