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

#include <CreateRoleDelegate.h>

Classes

struct  ErrorInfo
 

Public Types

using Success = cbe::Role
 
using Error = delegate::Error
 

Public Member Functions

virtual void onCreateRoleSuccess (cbe::Role &&role)=0
 
virtual void onCreateRoleError (Error &&error, cbe::util::Context &&context)=0
 

Detailed Description

Delegate class for the asynchronous version of method:

  • cbe::Role::createRole

Member Function Documentation

◆ onCreateRoleError()

virtual void cbe::delegate::CreateRoleDelegate::onCreateRoleError ( Error &&  error,
cbe::util::Context &&  context 
)
pure virtual

Called if an error is encountered.

◆ onCreateRoleSuccess()

virtual void cbe::delegate::CreateRoleDelegate::onCreateRoleSuccess ( cbe::Role &&  role)
pure virtual

Called upon successful create Role.

Parameters
Rolethe role id of the created role.

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