GPUdb C++ API  Version 7.2.2.4
gpudb::AlterRoleRequest Struct Reference

A set of parameters for GPUdb::alterRole. More...

#include <gpudb/protocol/alter_role.h>

Public Member Functions

 AlterRoleRequest ()
 Constructs an AlterRoleRequest object with default parameters. 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
 Name of the role to be altered. More...
 
std::string action
 Modification operation to be applied to the role. More...
 
std::string value
 The value of the modification, depending on action. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::alterRole.

Alters a Role.

Definition at line 17 of file alter_role.h.

Constructor & Destructor Documentation

◆ AlterRoleRequest() [1/2]

gpudb::AlterRoleRequest::AlterRoleRequest ( )
inline

Constructs an AlterRoleRequest object with default parameters.

Definition at line 22 of file alter_role.h.

◆ AlterRoleRequest() [2/2]

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. Supported values:
[in]value_The value of the modification, depending on action_.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 55 of file alter_role.h.

Member Data Documentation

◆ action

std::string gpudb::AlterRoleRequest::action

Modification operation to be applied to the role.

Supported values:

Definition at line 81 of file alter_role.h.

◆ name

std::string gpudb::AlterRoleRequest::name

Name of the role to be altered.

Must be an existing role.

Definition at line 66 of file alter_role.h.

◆ options

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

Optional parameters.

The default value is an empty map.

Definition at line 91 of file alter_role.h.

◆ value

std::string gpudb::AlterRoleRequest::value

The value of the modification, depending on action.

Definition at line 86 of file alter_role.h.


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