1 #ifndef CBE__delegate__object__RemoveDelegate_h__
2 #define CBE__delegate__object__RemoveDelegate_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"
34 std::string name) = 0;
89 explicit operator bool()
const;
Definition: RemoveDelegate.h:25
virtual void onRemoveError(Error &&error, cbe::util::Context &&context)=0
virtual void onRemoveSuccess(cbe::ItemId objectId, std::string name)=0
Convenience type that bundles all parameters passed to method cbe::delegate::object::onRemoveSuccess.
Definition: RemoveDelegate.h:75
std::shared_ptr< RemoveDelegate > RemoveDelegatePtr
Definition: RemoveDelegate.h:68
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
std::uint64_t ItemId
Id of a cbe::Container or cbe::Object.
Definition: Types.h:88
DefaultCtor
Default constructor marker.
Definition: Types.h:204
Definition: RemoveDelegate.h:45
Definition: ErrorInfo.h:27
Definition: Exception.h:38