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

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

#include <gpudb/protocol/alter_credential.h>

Public Member Functions

 AlterCredentialRequest ()
 Constructs an AlterCredentialRequest object with default parameters. More...
 
 AlterCredentialRequest (const std::string &credentialName_, const std::map< std::string, std::string > &credentialUpdatesMap_, const std::map< std::string, std::string > &options_)
 Constructs an AlterCredentialRequest object with the specified parameters. More...
 

Public Attributes

std::string credentialName
 Name of the credential to be altered. More...
 
std::map< std::string, std::string > credentialUpdatesMap
 Map containing the properties of the credential to be updated. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::alterCredential.

Alter the properties of an existing credential.

Definition at line 19 of file alter_credential.h.

Constructor & Destructor Documentation

◆ AlterCredentialRequest() [1/2]

gpudb::AlterCredentialRequest::AlterCredentialRequest ( )
inline

Constructs an AlterCredentialRequest object with default parameters.

Definition at line 24 of file alter_credential.h.

◆ AlterCredentialRequest() [2/2]

gpudb::AlterCredentialRequest::AlterCredentialRequest ( const std::string &  credentialName_,
const std::map< std::string, std::string > &  credentialUpdatesMap_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs an AlterCredentialRequest object with the specified parameters.

Parameters
[in]credentialName_Name of the credential to be altered. Must be an existing credential.
[in]credentialUpdatesMap_Map containing the properties of the credential to be updated. Error if empty.
[in]options_Optional parameters.

Definition at line 108 of file alter_credential.h.

Member Data Documentation

◆ credentialName

std::string gpudb::AlterCredentialRequest::credentialName

Name of the credential to be altered.

Must be an existing credential.

Definition at line 119 of file alter_credential.h.

◆ credentialUpdatesMap

std::map<std::string, std::string> gpudb::AlterCredentialRequest::credentialUpdatesMap

Map containing the properties of the credential to be updated.

Error if empty.

Definition at line 165 of file alter_credential.h.

◆ options

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

Optional parameters.

Definition at line 170 of file alter_credential.h.


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