AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudHSMClient.h
1
6#pragma once
7#include <aws/cloudhsm/CloudHSM_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/cloudhsm/CloudHSMServiceClientModel.h>
13
14namespace Aws
15{
16namespace CloudHSM
17{
34 class AWS_CLOUDHSM_API CloudHSMClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<CloudHSMClient>
35 {
36 public:
38 static const char* GetServiceName();
39 static const char* GetAllocationTag();
40
43
49 std::shared_ptr<CloudHSMEndpointProviderBase> endpointProvider = nullptr);
50
56 std::shared_ptr<CloudHSMEndpointProviderBase> endpointProvider = nullptr,
58
63 CloudHSMClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
64 std::shared_ptr<CloudHSMEndpointProviderBase> endpointProvider = nullptr,
66
67
68 /* Legacy constructors due deprecation */
74
80 const Aws::Client::ClientConfiguration& clientConfiguration);
81
86 CloudHSMClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
87 const Aws::Client::ClientConfiguration& clientConfiguration);
88
89 /* End of legacy constructors due deprecation */
90 virtual ~CloudHSMClient();
91
92
93 void OverrideEndpoint(const Aws::String& endpoint);
94 std::shared_ptr<CloudHSMEndpointProviderBase>& accessEndpointProvider();
95 private:
97 void init(const CloudHSMClientConfiguration& clientConfiguration);
98
99 CloudHSMClientConfiguration m_clientConfiguration;
100 std::shared_ptr<CloudHSMEndpointProviderBase> m_endpointProvider;
101 };
102
103} // namespace CloudHSM
104} // namespace Aws
void OverrideEndpoint(const Aws::String &endpoint)
Aws::Client::AWSJsonClient BASECLASS
CloudHSMClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< CloudHSMEndpointProviderBase > endpointProvider=nullptr, const Aws::CloudHSM::CloudHSMClientConfiguration &clientConfiguration=Aws::CloudHSM::CloudHSMClientConfiguration())
CloudHSMClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
CloudHSMClientConfiguration ClientConfigurationType
CloudHSMClient(const Aws::Client::ClientConfiguration &clientConfiguration)
CloudHSMClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
static const char * GetServiceName()
static const char * GetAllocationTag()
CloudHSMClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< CloudHSMEndpointProviderBase > endpointProvider=nullptr, const Aws::CloudHSM::CloudHSMClientConfiguration &clientConfiguration=Aws::CloudHSM::CloudHSMClientConfiguration())
CloudHSMClient(const Aws::CloudHSM::CloudHSMClientConfiguration &clientConfiguration=Aws::CloudHSM::CloudHSMClientConfiguration(), std::shared_ptr< CloudHSMEndpointProviderBase > endpointProvider=nullptr)
CloudHSMEndpointProvider EndpointProviderType
std::shared_ptr< CloudHSMEndpointProviderBase > & accessEndpointProvider()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String