AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkLinkClient.h
1
6#pragma once
7#include <aws/worklink/WorkLink_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/worklink/WorkLinkServiceClientModel.h>
13
14namespace Aws
15{
16namespace WorkLink
17{
28 class AWS_WORKLINK_API WorkLinkClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<WorkLinkClient>
29 {
30 public:
32 static const char* GetServiceName();
33 static const char* GetAllocationTag();
34
37
43 std::shared_ptr<WorkLinkEndpointProviderBase> endpointProvider = nullptr);
44
50 std::shared_ptr<WorkLinkEndpointProviderBase> endpointProvider = nullptr,
52
57 WorkLinkClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
58 std::shared_ptr<WorkLinkEndpointProviderBase> endpointProvider = nullptr,
60
61
62 /* Legacy constructors due deprecation */
68
74 const Aws::Client::ClientConfiguration& clientConfiguration);
75
80 WorkLinkClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
81 const Aws::Client::ClientConfiguration& clientConfiguration);
82
83 /* End of legacy constructors due deprecation */
84 virtual ~WorkLinkClient();
85
86
87 void OverrideEndpoint(const Aws::String& endpoint);
88 std::shared_ptr<WorkLinkEndpointProviderBase>& accessEndpointProvider();
89 private:
91 void init(const WorkLinkClientConfiguration& clientConfiguration);
92
93 WorkLinkClientConfiguration m_clientConfiguration;
94 std::shared_ptr<WorkLinkEndpointProviderBase> m_endpointProvider;
95 };
96
97} // namespace WorkLink
98} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String