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

#include <RemoveRoleDelegate.h>

Classes

struct  ErrorInfo
 

Public Types

using Success = cbe::RoleId
 
using Error = delegate::Error
 

Public Member Functions

virtual void onRemoveRoleSuccess (cbe::RoleId &&roleId)=0
 
virtual void onRemoveRoleError (Error &&error, cbe::util::Context &&context)=0
 

Detailed Description

Delegate class for the asynchronous version of method:

  • cbe::Role::removeRole

Member Function Documentation

◆ onRemoveRoleError()

virtual void cbe::delegate::RemoveRoleDelegate::onRemoveRoleError ( Error &&  error,
cbe::util::Context &&  context 
)
pure virtual

Called if an error is encountered.

◆ onRemoveRoleSuccess()

virtual void cbe::delegate::RemoveRoleDelegate::onRemoveRoleSuccess ( cbe::RoleId &&  roleId)
pure virtual

Called upon successful removal of the Role.

Parameters
Rolethe role id of the removed role.

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