AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::Config::ConfigAndCredentialsCacheManager Class Reference

#include <ConfigAndCredentialsCacheManager.h>

Public Member Functions

 
 
 
bool HasConfigProfile (const Aws::String &profileName) const
 
 
 
Aws::String GetConfig (const Aws::String &profileName, const Aws::String &key) const
 
bool HasCredentialsProfile (const Aws::String &profileName) const
 
 
 
 

Detailed Description

Stores the contents of config file and credentials file to avoid multiple file readings. At the same time provides the flexibility to reload from file.

Definition at line 23 of file ConfigAndCredentialsCacheManager.h.

Constructor & Destructor Documentation

◆ ConfigAndCredentialsCacheManager()

Aws::Config::ConfigAndCredentialsCacheManager::ConfigAndCredentialsCacheManager ( )

Member Function Documentation

◆ GetConfig()

Aws::String Aws::Config::ConfigAndCredentialsCacheManager::GetConfig ( const Aws::String profileName,
const Aws::String key 
) const

Returns cached config value with the specified profile name and key. Using copy instead of const reference to avoid reading bad contents due to thread contention.

◆ GetConfigProfile()

Aws::Config::Profile Aws::Config::ConfigAndCredentialsCacheManager::GetConfigProfile ( const Aws::String profileName) const

Returns cached config profile with the specified profile name. Using copy instead of const reference to avoid reading bad contents due to thread contention.

◆ GetConfigProfiles()

Aws::Map< Aws::String, Aws::Config::Profile > Aws::Config::ConfigAndCredentialsCacheManager::GetConfigProfiles ( ) const

Returns cached config profiles Using copy instead of const reference to avoid reading bad contents due to thread contention.

◆ GetCredentials()

Aws::Auth::AWSCredentials Aws::Config::ConfigAndCredentialsCacheManager::GetCredentials ( const Aws::String profileName) const

Returns cached credentials with the specified profile name. Using copy instead of const reference to avoid reading bad contents due to thread contention.

◆ GetCredentialsProfile()

Aws::Config::Profile Aws::Config::ConfigAndCredentialsCacheManager::GetCredentialsProfile ( const Aws::String profileName) const

Returns cached credentials profile with the specified profile name. Using copy instead of const reference to avoid reading bad contents due to thread contention.

◆ GetCredentialsProfiles()

Aws::Map< Aws::String, Aws::Config::Profile > Aws::Config::ConfigAndCredentialsCacheManager::GetCredentialsProfiles ( ) const

Returns cached credentials profiles. Using copy instead of const reference to avoid reading bad contents due to thread contention.

◆ HasConfigProfile()

bool Aws::Config::ConfigAndCredentialsCacheManager::HasConfigProfile ( const Aws::String profileName) const

◆ HasCredentialsProfile()

bool Aws::Config::ConfigAndCredentialsCacheManager::HasCredentialsProfile ( const Aws::String profileName) const

◆ ReloadConfigFile()

void Aws::Config::ConfigAndCredentialsCacheManager::ReloadConfigFile ( )

◆ ReloadCredentialsFile()

void Aws::Config::ConfigAndCredentialsCacheManager::ReloadCredentialsFile ( )

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