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

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

#include <gpudb/protocol/create_credential.h>

Public Member Functions

 CreateCredentialRequest ()
 Constructs a CreateCredentialRequest object with default parameter values. More...
 
 CreateCredentialRequest (const std::string &credentialName_, const std::string &type_, const std::string &identity_, const std::string &secret_, const std::map< std::string, std::string > &options_)
 Constructs a CreateCredentialRequest object with the specified parameters. More...
 

Public Attributes

std::string credentialName
 
std::string type
 
std::string identity
 
std::string secret
 
std::map< std::string,
std::string > 
options
 

Detailed Description

A set of input parameters for const.

Create a new credential.

Definition at line 19 of file create_credential.h.

Constructor & Destructor Documentation

gpudb::CreateCredentialRequest::CreateCredentialRequest ( )
inline

Constructs a CreateCredentialRequest object with default parameter values.

Definition at line 26 of file create_credential.h.

gpudb::CreateCredentialRequest::CreateCredentialRequest ( const std::string &  credentialName_,
const std::string &  type_,
const std::string &  identity_,
const std::string &  secret_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a CreateCredentialRequest object with the specified parameters.

Parameters
[in]credentialName_Name of the credential to be created. Must contain only letters, digits, and underscores, and cannot begin with a digit. Must not match an existing credential name.
[in]type_Type of the credential to be created.
[in]identity_User of the credential to be created.
[in]secret_Password of the credential to be created.
[in]options_Optional parameters.

Definition at line 69 of file create_credential.h.

Member Data Documentation

std::string gpudb::CreateCredentialRequest::credentialName

Definition at line 78 of file create_credential.h.

std::string gpudb::CreateCredentialRequest::identity

Definition at line 80 of file create_credential.h.

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

Definition at line 82 of file create_credential.h.

std::string gpudb::CreateCredentialRequest::secret

Definition at line 81 of file create_credential.h.

std::string gpudb::CreateCredentialRequest::type

Definition at line 79 of file create_credential.h.


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