1 #ifndef CBE__delegate__LeaveDelegate_h__
2 #define CBE__delegate__LeaveDelegate_h__
4 #include "cbe/QueryResult.h"
7 #include "cbe/delegate/Error.h"
9 #include "cbe/util/Context.h"
10 #include "cbe/util/ErrorInfo.h"
11 #include "cbe/util/Exception.h"
66 std::string memberName{};
78 explicit operator bool()
const;
Definition: LeaveDelegate.h:24
virtual void onLeaveError(Error &&error, cbe::util::Context &&context)=0
virtual void onLeaveSuccess(std::string &&memberName, cbe::MemberId memberId)=0
Definition: LeaveDelegate.h:64
std::shared_ptr< LeaveDelegate > LeaveDelegatePtr
Definition: LeaveDelegate.h:63
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
DefaultCtor
Default constructor marker.
Definition: Types.h:204
std::uint64_t MemberId
Represents the cbe::Group membership id.
Definition: Types.h:92
Definition: LeaveDelegate.h:42
Definition: ErrorInfo.h:27
Definition: Exception.h:38