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

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

#include <gpudb/protocol/create_role.h>

Public Member Functions

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

Public Attributes

std::string name
 
std::map< std::string,
std::string > 
options
 

Detailed Description

A set of input parameters for const.

Creates a new role.

Definition at line 18 of file create_role.h.

Constructor & Destructor Documentation

gpudb::CreateRoleRequest::CreateRoleRequest ( )
inline

Constructs a CreateRoleRequest object with default parameter values.

Definition at line 24 of file create_role.h.

gpudb::CreateRoleRequest::CreateRoleRequest ( const std::string &  name_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a CreateRoleRequest object with the specified parameters.

Parameters
[in]name_Name of the role to be created. Must contain only lowercase letters, digits, and underscores, and cannot begin with a digit. Must not be the same name as an existing user or role.
[in]options_Optional parameters.

Definition at line 45 of file create_role.h.

Member Data Documentation

std::string gpudb::CreateRoleRequest::name

Definition at line 51 of file create_role.h.

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

Definition at line 52 of file create_role.h.


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