AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointProviderBase.h
1
7#pragma once
8
9#include <aws/core/endpoint/AWSEndpoint.h>
10#include <aws/core/client/AWSError.h>
11#include <aws/core/endpoint/EndpointParameter.h>
12#include <aws/core/endpoint/BuiltInParameters.h>
13#include <aws/core/endpoint/ClientContextParameters.h>
14
15namespace Aws
16{
17 namespace Utils
18 {
19 template< typename R, typename E> class Outcome;
20 } // namespace Utils
21 namespace Client
22 {
23 enum class CoreErrors;
24 } // namespace CoreErrors
25
26 namespace Endpoint
27 {
30
36 template<typename ClientConfigurationT = Aws::Client::GenericClientConfiguration,
37 typename BuiltInParametersT = Aws::Endpoint::BuiltInParameters,
38 typename ClientContextParametersT = Aws::Endpoint::ClientContextParameters>
39 class AWS_CORE_API EndpointProviderBase
40 {
41 public:
42 using BuiltInParameters = BuiltInParametersT;
43 using ClientContextParameters = ClientContextParametersT;
44
45 virtual ~EndpointProviderBase() = default;
46
50 virtual void InitBuiltInParameters(const ClientConfigurationT& config) = 0;
51
55 virtual void OverrideEndpoint(const Aws::String& endpoint) = 0;
56
60 virtual ClientContextParametersT& AccessClientContextParameters() = 0;
61
65 virtual const ClientContextParametersT& GetClientContextParameters() const = 0;
66
70 virtual ResolveEndpointOutcome ResolveEndpoint(const EndpointParameters& endpointParameters) const = 0;
71 };
72 } // namespace Endpoint
73} // namespace Aws
virtual void InitBuiltInParameters(const ClientConfigurationT &config)=0
virtual ClientContextParametersT & AccessClientContextParameters()=0
virtual void OverrideEndpoint(const Aws::String &endpoint)=0
virtual const ClientContextParametersT & GetClientContextParameters() const =0
virtual ~EndpointProviderBase()=default
ClientContextParametersT ClientContextParameters
virtual ResolveEndpointOutcome ResolveEndpoint(const EndpointParameters &endpointParameters) const =0
Aws::Vector< Aws::Endpoint::EndpointParameter > EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition AWSString.h:97
std::vector< T, Aws::Allocator< T > > Vector
Definition AWSVector.h:17