AWS SDK for C++  0.12.9
AWS SDK for C++
Public Member Functions | List of all members
Aws::Auth::AWSCredentials Class Reference

#include <AWSCredentialsProvider.h>

Public Member Functions

 AWSCredentials (const Aws::String &accessKeyId, const Aws::String &secretKey, const Aws::String &sessionToken="")
 
const Aws::StringGetAWSAccessKeyId () const
 
const Aws::StringGetAWSSecretKey () const
 
const Aws::StringGetSessionToken () const
 
void SetAWSAccessKeyId (const Aws::String &accessKeyId)
 
void SetAWSSecretKey (const Aws::String &secretKey)
 
void SetSessionToken (const Aws::String &sessionToken)
 
void SetAWSAccessKeyId (const char *accessKeyId)
 
void SetAWSSecretKey (const char *secretKey)
 
void SetSessionToken (const char *sessionToken)
 

Detailed Description

Simple data object around aws credentials

Definition at line 41 of file AWSCredentialsProvider.h.

Constructor & Destructor Documentation

Aws::Auth::AWSCredentials::AWSCredentials ( const Aws::String accessKeyId,
const Aws::String secretKey,
const Aws::String sessionToken = "" 
)
inline

Initializes object with accessKeyId, secretKey, and sessionToken. Session token defaults to empty.

Definition at line 47 of file AWSCredentialsProvider.h.

Member Function Documentation

const Aws::String& Aws::Auth::AWSCredentials::GetAWSAccessKeyId ( ) const
inline

Gets the underlying access key credential

Definition at line 55 of file AWSCredentialsProvider.h.

const Aws::String& Aws::Auth::AWSCredentials::GetAWSSecretKey ( ) const
inline

Gets the underlying secret key credential

Definition at line 63 of file AWSCredentialsProvider.h.

const Aws::String& Aws::Auth::AWSCredentials::GetSessionToken ( ) const
inline

Gets the underlying session token

Definition at line 71 of file AWSCredentialsProvider.h.

void Aws::Auth::AWSCredentials::SetAWSAccessKeyId ( const Aws::String accessKeyId)
inline

Sets the underlying access key credential. Copies from parameter accessKeyId.

Definition at line 79 of file AWSCredentialsProvider.h.

void Aws::Auth::AWSCredentials::SetAWSAccessKeyId ( const char *  accessKeyId)
inline

Sets the underlying access key credential. Copies from parameter accessKeyId.

Definition at line 103 of file AWSCredentialsProvider.h.

void Aws::Auth::AWSCredentials::SetAWSSecretKey ( const Aws::String secretKey)
inline

Sets the underlying secret key credential. Copies from parameter secretKey

Definition at line 87 of file AWSCredentialsProvider.h.

void Aws::Auth::AWSCredentials::SetAWSSecretKey ( const char *  secretKey)
inline

Sets the underlying secret key credential. Copies from parameter secretKey

Definition at line 111 of file AWSCredentialsProvider.h.

void Aws::Auth::AWSCredentials::SetSessionToken ( const Aws::String sessionToken)
inline

Sets the underlyint session token. Copies from parameter sessionToken

Definition at line 95 of file AWSCredentialsProvider.h.

void Aws::Auth::AWSCredentials::SetSessionToken ( const char *  sessionToken)
inline

Sets the underlying secret key credential. Copies from parameter secretKey

Definition at line 119 of file AWSCredentialsProvider.h.


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