AWS SDK for C++  1.9.21
AWS SDK for C++
AWSAuthSignerProvider.h
Go to the documentation of this file.
1 
7 #pragma once
8 
12 #include <memory>
13 
14 
15 namespace Aws
16 {
17  namespace Client
18  {
19  class AWSAuthSigner;
20  }
21  namespace Auth
22  {
23  class AWSCredentialsProvider;
24 
26  {
27  public:
28  virtual std::shared_ptr<Aws::Client::AWSAuthSigner> GetSigner(const Aws::String& signerName) const = 0;
29  virtual void AddSigner(std::shared_ptr<Aws::Client::AWSAuthSigner>& signer) = 0;
30  virtual ~AWSAuthSignerProvider() = default;
31  };
32 
34  {
35  public:
44  DefaultAuthSignerProvider(const std::shared_ptr<AWSCredentialsProvider>& credentialsProvider,
45  const Aws::String& serviceName, const Aws::String& region);
46  explicit DefaultAuthSignerProvider(const std::shared_ptr<Aws::Client::AWSAuthSigner>& signer);
47  void AddSigner(std::shared_ptr<Aws::Client::AWSAuthSigner>& signer) override;
48  std::shared_ptr<Aws::Client::AWSAuthSigner> GetSigner(const Aws::String& signerName) const override;
49  private:
51  };
52  }
53 }
Aws::Auth::AWSAuthSignerProvider
Definition: AWSAuthSignerProvider.h:26
Aws::DirectoryService::Model::LDAPSType::NOT_SET
@ NOT_SET
AWS_CORE_API
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Auth::AWSAuthSignerProvider::GetSigner
virtual std::shared_ptr< Aws::Client::AWSAuthSigner > GetSigner(const Aws::String &signerName) const =0
AWSVector.h
Aws::Auth::AWSAuthSignerProvider::AddSigner
virtual void AddSigner(std::shared_ptr< Aws::Client::AWSAuthSigner > &signer)=0
Aws::Auth::DefaultAuthSignerProvider::DefaultAuthSignerProvider
DefaultAuthSignerProvider(const std::shared_ptr< Aws::Client::AWSAuthSigner > &signer)
Aws::Auth::DefaultAuthSignerProvider::AddSigner
void AddSigner(std::shared_ptr< Aws::Client::AWSAuthSigner > &signer) override
Aws::Auth::AWSAuthSignerProvider::~AWSAuthSignerProvider
virtual ~AWSAuthSignerProvider()=default
Aws::Auth::DefaultAuthSignerProvider
Definition: AWSAuthSignerProvider.h:34
AWSString.h
Aws::Auth::DefaultAuthSignerProvider::GetSigner
std::shared_ptr< Aws::Client::AWSAuthSigner > GetSigner(const Aws::String &signerName) const override
Core_EXPORTS.h
Aws::Auth::DefaultAuthSignerProvider::DefaultAuthSignerProvider
DefaultAuthSignerProvider(const std::shared_ptr< AWSCredentialsProvider > &credentialsProvider, const Aws::String &serviceName, const Aws::String &region)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97