#include <AWSCredentials.h>
Simple data object around aws credentials
Definition at line 18 of file AWSCredentials.h.
◆ AWSCredentials() [1/4]
Aws::Auth::AWSCredentials::AWSCredentials |
( |
| ) |
|
|
inline |
Initializes an empty credentials set. Empty credentials are not expired by default. Credentials expire only if an expiration date is explicitly set on them.
Definition at line 26 of file AWSCredentials.h.
◆ AWSCredentials() [2/4]
Initializes object with accessKeyId, secretKey. SessionToken defaults to empty string. Expiration date is set to "never expire".
Definition at line 35 of file AWSCredentials.h.
◆ AWSCredentials() [3/4]
Initializes object with accessKeyId, secretKey, and sessionToken. Expiration date is set to "never expire".
Definition at line 44 of file AWSCredentials.h.
◆ AWSCredentials() [4/4]
Initializes object with accessKeyId, secretKey, sessionToken and expiration date.
Definition at line 52 of file AWSCredentials.h.
◆ GetAWSAccessKeyId()
const Aws::String& Aws::Auth::AWSCredentials::GetAWSAccessKeyId |
( |
| ) |
const |
|
inline |
◆ GetAWSSecretKey()
const Aws::String& Aws::Auth::AWSCredentials::GetAWSSecretKey |
( |
| ) |
const |
|
inline |
◆ GetExpiration()
◆ GetSessionToken()
const Aws::String& Aws::Auth::AWSCredentials::GetSessionToken |
( |
| ) |
const |
|
inline |
◆ IsEmpty()
bool Aws::Auth::AWSCredentials::IsEmpty |
( |
| ) |
const |
|
inline |
If credentials haven't been initialized or been initialized to emtpy values. Expiration date does not affect the result of this function.
Definition at line 74 of file AWSCredentials.h.
◆ IsExpired()
bool Aws::Auth::AWSCredentials::IsExpired |
( |
| ) |
const |
|
inline |
◆ IsExpiredOrEmpty()
bool Aws::Auth::AWSCredentials::IsExpiredOrEmpty |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool Aws::Auth::AWSCredentials::operator!= |
( |
const AWSCredentials & |
other | ) |
const |
|
inline |
◆ operator==()
bool Aws::Auth::AWSCredentials::operator== |
( |
const AWSCredentials & |
other | ) |
const |
|
inline |
◆ SetAWSAccessKeyId() [1/2]
void Aws::Auth::AWSCredentials::SetAWSAccessKeyId |
( |
const Aws::String & |
accessKeyId | ) |
|
|
inline |
Sets the underlying access key credential. Copies from parameter accessKeyId.
Definition at line 115 of file AWSCredentials.h.
◆ SetAWSAccessKeyId() [2/2]
void Aws::Auth::AWSCredentials::SetAWSAccessKeyId |
( |
const char * |
accessKeyId | ) |
|
|
inline |
Sets the underlying access key credential. Copies from parameter accessKeyId.
Definition at line 140 of file AWSCredentials.h.
◆ SetAWSSecretKey() [1/2]
void Aws::Auth::AWSCredentials::SetAWSSecretKey |
( |
const Aws::String & |
secretKey | ) |
|
|
inline |
Sets the underlying secret key credential. Copies from parameter secretKey
Definition at line 123 of file AWSCredentials.h.
◆ SetAWSSecretKey() [2/2]
void Aws::Auth::AWSCredentials::SetAWSSecretKey |
( |
const char * |
secretKey | ) |
|
|
inline |
Sets the underlying secret key credential. Copies from parameter secretKey
Definition at line 148 of file AWSCredentials.h.
◆ SetExpiration()
◆ SetSessionToken() [1/2]
void Aws::Auth::AWSCredentials::SetSessionToken |
( |
const Aws::String & |
sessionToken | ) |
|
|
inline |
Sets the underlying session token. Copies from parameter sessionToken
Definition at line 131 of file AWSCredentials.h.
◆ SetSessionToken() [2/2]
void Aws::Auth::AWSCredentials::SetSessionToken |
( |
const char * |
sessionToken | ) |
|
|
inline |
Sets the underlying secret key credential. Copies from parameter secretKey
Definition at line 156 of file AWSCredentials.h.
The documentation for this class was generated from the following file: