AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
ProtonClient.h
1
6#pragma once
7#include <aws/core/client/AWSClient.h>
8#include <aws/core/client/AWSClientAsyncCRTP.h>
9#include <aws/core/client/ClientConfiguration.h>
10#include <aws/core/utils/json/JsonSerializer.h>
11#include <aws/proton/ProtonServiceClientModel.h>
12#include <aws/proton/Proton_EXPORTS.h>
13
14namespace Aws {
15namespace Proton {
105 public:
107 static const char* GetServiceName();
108 static const char* GetAllocationTag();
109
112
118 std::shared_ptr<ProtonEndpointProviderBase> endpointProvider = nullptr);
119
124 ProtonClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr<ProtonEndpointProviderBase> endpointProvider = nullptr,
126
131 ProtonClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
132 std::shared_ptr<ProtonEndpointProviderBase> endpointProvider = nullptr,
134
135 /* Legacy constructors due deprecation */
141
146 ProtonClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration);
147
152 ProtonClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
153 const Aws::Client::ClientConfiguration& clientConfiguration);
154
155 /* End of legacy constructors due deprecation */
156 virtual ~ProtonClient();
157
158 virtual void OverrideEndpoint(const Aws::String& endpoint);
159 virtual std::shared_ptr<ProtonEndpointProviderBase>& accessEndpointProvider();
160
161 private:
163 void init(const ProtonClientConfiguration& clientConfiguration);
164
165 ProtonClientConfiguration m_clientConfiguration;
166 std::shared_ptr<ProtonEndpointProviderBase> m_endpointProvider;
167};
168
169} // namespace Proton
170} // namespace Aws
ProtonEndpointProvider EndpointProviderType
ProtonClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
ProtonClient(const Aws::Proton::ProtonClientConfiguration &clientConfiguration=Aws::Proton::ProtonClientConfiguration(), std::shared_ptr< ProtonEndpointProviderBase > endpointProvider=nullptr)
static const char * GetAllocationTag()
virtual void OverrideEndpoint(const Aws::String &endpoint)
static const char * GetServiceName()
virtual std::shared_ptr< ProtonEndpointProviderBase > & accessEndpointProvider()
ProtonClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< ProtonEndpointProviderBase > endpointProvider=nullptr, const Aws::Proton::ProtonClientConfiguration &clientConfiguration=Aws::Proton::ProtonClientConfiguration())
Aws::Client::AWSJsonClient BASECLASS
ProtonClient(const Aws::Client::ClientConfiguration &clientConfiguration)
ProtonClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
ProtonClientConfiguration ClientConfigurationType
ProtonClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< ProtonEndpointProviderBase > endpointProvider=nullptr, const Aws::Proton::ProtonClientConfiguration &clientConfiguration=Aws::Proton::ProtonClientConfiguration())
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String