SDK  2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
cbe::delegate::ListRolesDelegate Class Referenceabstract

#include <ListRolesDelegate.h>

Classes

struct  ErrorInfo
 

Public Types

using Roles = std::vector< cbe::Role >
 
using Success = Roles
 
using Error = delegate::Error
 

Public Member Functions

virtual void onListRolesSuccess (Roles &&roles)=0
 
virtual void onListRolesError (Error &&error, cbe::util::Context &&context)=0
 

Detailed Description

Delegate class for the asynchronous version of method:

  • cbe::Group::ListRoles

Member Function Documentation

◆ onListRolesError()

virtual void cbe::delegate::ListRolesDelegate::onListRolesError ( Error &&  error,
cbe::util::Context &&  context 
)
pure virtual

Called if an error is encountered.

◆ onListRolesSuccess()

virtual void cbe::delegate::ListRolesDelegate::onListRolesSuccess ( Roles &&  roles)
pure virtual

Called upon successful ListRoles.

Parameters
rolesA unordered map with role id as key and role name as value of a group.

The documentation for this class was generated from the following file: