1 #ifndef CBE__delegate__ListRolesDelegate_h__
2 #define CBE__delegate__ListRolesDelegate_h__
5 #include <unordered_map>
6 #include "cbe/QueryResult.h"
9 #include "cbe/delegate/Error.h"
10 #include "cbe/util/Context.h"
11 #include "cbe/util/ErrorInfo.h"
12 #include "cbe/util/Exception.h"
24 using Roles = std::vector<cbe::Role>;
25 using Success = Roles;
Definition: ListRolesDelegate.h:22
virtual void onListRolesSuccess(Roles &&roles)=0
virtual void onListRolesError(Error &&error, cbe::util::Context &&context)=0
std::shared_ptr< ListRolesDelegate > ListRolesDelegatePtr
Definition: ListRolesDelegate.h:66
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
Definition: ListRolesDelegate.h:42
Definition: ErrorInfo.h:27
Definition: Exception.h:38