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

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

#include <gpudb/protocol/delete_user.h>

Public Member Functions

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

Public Attributes

std::string name
 Name of the user to be deleted. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::deleteUser.

Deletes an existing user.

Definition at line 17 of file delete_user.h.

Constructor & Destructor Documentation

◆ DeleteUserRequest() [1/2]

gpudb::DeleteUserRequest::DeleteUserRequest ( )
inline

Constructs a DeleteUserRequest object with default parameters.

Definition at line 22 of file delete_user.h.

◆ DeleteUserRequest() [2/2]

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

Constructs a DeleteUserRequest object with the specified parameters.

Parameters
[in]name_Name of the user to be deleted. Must be an existing user.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 36 of file delete_user.h.

Member Data Documentation

◆ name

std::string gpudb::DeleteUserRequest::name

Name of the user to be deleted.

Must be an existing user.

Definition at line 45 of file delete_user.h.

◆ options

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

Optional parameters.

The default value is an empty map.

Definition at line 50 of file delete_user.h.


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