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

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

#include <gpudb/protocol/alter_role.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

A set of input parameters for const.

Alters a Role.

Definition at line 18 of file alter_role.h.

Constructor & Destructor Documentation

gpudb::AlterRoleRequest::AlterRoleRequest ( )
inline

Constructs an AlterRoleRequest object with default parameter values.

Definition at line 24 of file alter_role.h.

gpudb::AlterRoleRequest::AlterRoleRequest ( const std::string &  name_,
const std::string &  action_,
const std::string &  value_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs an AlterRoleRequest object with the specified parameters.

Parameters
[in]name_Name of the role to be altered. Must be an existing role.
[in]action_Modification operation to be applied to the role.
  • gpudb::alter_role_set_resource_group: Sets the resource group for an internal role. The resource group must exist, otherwise, an empty string assigns the role to the default resource group.
[in]value_The value of the modification, depending on action.
[in]options_Optional parameters.

Definition at line 52 of file alter_role.h.

Member Data Documentation

std::string gpudb::AlterRoleRequest::action

Definition at line 61 of file alter_role.h.

std::string gpudb::AlterRoleRequest::name

Definition at line 60 of file alter_role.h.

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

Definition at line 63 of file alter_role.h.

std::string gpudb::AlterRoleRequest::value

Definition at line 62 of file alter_role.h.


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