GPUdb C++ API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::GrantRoleRequest Struct Reference

A set of input parameters for const. More...

#include <gpudb/protocol/grant_role.h>

Public Member Functions

 GrantRoleRequest ()
 Constructs a GrantRoleRequest object with default parameter values. More...
 
 GrantRoleRequest (const std::string &role_, const std::string &member_, const std::map< std::string, std::string > &options_)
 Constructs a GrantRoleRequest object with the specified parameters. More...
 

Public Attributes

std::string role
 
std::string member
 
std::map< std::string,
std::string > 
options
 

Detailed Description

A set of input parameters for const.

Grants membership in a role to a user or role.

Definition at line 18 of file grant_role.h.

Constructor & Destructor Documentation

gpudb::GrantRoleRequest::GrantRoleRequest ( )
inline

Constructs a GrantRoleRequest object with default parameter values.

Definition at line 24 of file grant_role.h.

gpudb::GrantRoleRequest::GrantRoleRequest ( const std::string &  role_,
const std::string &  member_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a GrantRoleRequest object with the specified parameters.

Parameters
[in]role_Name of the role in which membership will be granted. Must be an existing role.
[in]member_Name of the user or role that will be granted membership in role. Must be an existing user or role.
[in]options_Optional parameters.

Definition at line 42 of file grant_role.h.

Member Data Documentation

std::string gpudb::GrantRoleRequest::member

Definition at line 50 of file grant_role.h.

std::map<std::string, std::string> gpudb::GrantRoleRequest::options

Definition at line 51 of file grant_role.h.

std::string gpudb::GrantRoleRequest::role

Definition at line 49 of file grant_role.h.


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