GPUdb C++ API  Version 5.2.0.0
gpudb::CreateRoleRequest Struct Reference

A set of input parameters for createRole(const CreateRoleRequest&) 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 createRole(const CreateRoleRequest&) 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]nameName 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 GPUdb.
[in]optionsOptional parameters.

Definition at line 40 of file create_role.h.

Member Data Documentation

std::string gpudb::CreateRoleRequest::name

Definition at line 46 of file create_role.h.

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

Definition at line 47 of file create_role.h.


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