AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
LambdaWebClient.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/lambda-web/LambdaWebPaginationBase.h>
12#include <aws/lambda-web/LambdaWebServiceClientModel.h>
13#include <aws/lambda-web/LambdaWebWaiter.h>
14#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
15
16namespace Aws {
17namespace LambdaWeb {
23class AWS_LAMBDAWEB_API LambdaWebClient : public Aws::Client::AWSJsonClient,
24 public Aws::Client::ClientWithAsyncTemplateMethods<LambdaWebClient>,
25 public LambdaWebPaginationBase<LambdaWebClient>,
26 public LambdaWebWaiter<LambdaWebClient> {
27 public:
29 static const char* GetServiceName();
30 static const char* GetAllocationTag();
31
34
40 std::shared_ptr<LambdaWebEndpointProviderBase> endpointProvider = nullptr);
41
46 LambdaWebClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr<LambdaWebEndpointProviderBase> endpointProvider = nullptr,
48
53 LambdaWebClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
54 std::shared_ptr<LambdaWebEndpointProviderBase> endpointProvider = nullptr,
56
57 /* Legacy constructors due deprecation */
63
68 LambdaWebClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration);
69
74 LambdaWebClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
75 const Aws::Client::ClientConfiguration& clientConfiguration);
76
77 /* End of legacy constructors due deprecation */
79
90
95 template <typename GetWebAccountSettingsRequestT = Model::GetWebAccountSettingsRequest>
96 Model::GetWebAccountSettingsOutcomeCallable GetWebAccountSettingsCallable(const GetWebAccountSettingsRequestT& request = {}) const {
97 return SubmitCallable(&LambdaWebClient::GetWebAccountSettings, request);
98 }
99
104 template <typename GetWebAccountSettingsRequestT = Model::GetWebAccountSettingsRequest>
106 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr,
107 const GetWebAccountSettingsRequestT& request = {}) const {
108 return SubmitAsync(&LambdaWebClient::GetWebAccountSettings, request, handler, context);
109 }
110
111 virtual void OverrideEndpoint(const Aws::String& endpoint);
112 virtual std::shared_ptr<LambdaWebEndpointProviderBase>& accessEndpointProvider();
113
114 private:
116 void init(const LambdaWebClientConfiguration& clientConfiguration);
117
119
120 InvokeOperationOutcome InvokeServiceOperation(const AmazonWebServiceRequest& request,
121 const std::function<void(Aws::Endpoint::ResolveEndpointOutcome&)>& resolveUri,
122 Aws::Http::HttpMethod httpMethod) const;
123
124 LambdaWebClientConfiguration m_clientConfiguration;
125 std::shared_ptr<LambdaWebEndpointProviderBase> m_endpointProvider;
126};
127
128} // namespace LambdaWeb
129} // namespace Aws
LambdaWebClientConfiguration ClientConfigurationType
LambdaWebEndpointProvider EndpointProviderType
LambdaWebClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< LambdaWebEndpointProviderBase > endpointProvider=nullptr, const Aws::LambdaWeb::LambdaWebClientConfiguration &clientConfiguration=Aws::LambdaWeb::LambdaWebClientConfiguration())
LambdaWebClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual void OverrideEndpoint(const Aws::String &endpoint)
LambdaWebClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
LambdaWebClient(const Aws::Client::ClientConfiguration &clientConfiguration)
LambdaWebClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< LambdaWebEndpointProviderBase > endpointProvider=nullptr, const Aws::LambdaWeb::LambdaWebClientConfiguration &clientConfiguration=Aws::LambdaWeb::LambdaWebClientConfiguration())
virtual Model::GetWebAccountSettingsOutcome GetWebAccountSettings(const Model::GetWebAccountSettingsRequest &request={}) const
Aws::Client::AWSJsonClient BASECLASS
static const char * GetServiceName()
Model::GetWebAccountSettingsOutcomeCallable GetWebAccountSettingsCallable(const GetWebAccountSettingsRequestT &request={}) const
void GetWebAccountSettingsAsync(const GetWebAccountSettingsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetWebAccountSettingsRequestT &request={}) const
LambdaWebClient(const Aws::LambdaWeb::LambdaWebClientConfiguration &clientConfiguration=Aws::LambdaWeb::LambdaWebClientConfiguration(), std::shared_ptr< LambdaWebEndpointProviderBase > endpointProvider=nullptr)
static const char * GetAllocationTag()
virtual std::shared_ptr< LambdaWebEndpointProviderBase > & accessEndpointProvider()
std::future< GetWebAccountSettingsOutcome > GetWebAccountSettingsOutcomeCallable
std::function< void(const LambdaWebClient *, const Model::GetWebAccountSettingsRequest &, const Model::GetWebAccountSettingsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetWebAccountSettingsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String