AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AppConfigDataClient.h
1
6#pragma once
7#include <aws/appconfigdata/AppConfigData_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/appconfigdata/AppConfigDataServiceClientModel.h>
13
14namespace Aws
15{
16namespace AppConfigData
17{
60 class AWS_APPCONFIGDATA_API AppConfigDataClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<AppConfigDataClient>
61 {
62 public:
64 static const char* GetServiceName();
65 static const char* GetAllocationTag();
66
69
75 std::shared_ptr<AppConfigDataEndpointProviderBase> endpointProvider = nullptr);
76
82 std::shared_ptr<AppConfigDataEndpointProviderBase> endpointProvider = nullptr,
84
89 AppConfigDataClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
90 std::shared_ptr<AppConfigDataEndpointProviderBase> endpointProvider = nullptr,
92
93
94 /* Legacy constructors due deprecation */
100
106 const Aws::Client::ClientConfiguration& clientConfiguration);
107
112 AppConfigDataClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
113 const Aws::Client::ClientConfiguration& clientConfiguration);
114
115 /* End of legacy constructors due deprecation */
117
138
142 template<typename GetLatestConfigurationRequestT = Model::GetLatestConfigurationRequest>
143 Model::GetLatestConfigurationOutcomeCallable GetLatestConfigurationCallable(const GetLatestConfigurationRequestT& request) const
144 {
145 return SubmitCallable(&AppConfigDataClient::GetLatestConfiguration, request);
146 }
147
151 template<typename GetLatestConfigurationRequestT = Model::GetLatestConfigurationRequest>
152 void GetLatestConfigurationAsync(const GetLatestConfigurationRequestT& request, const GetLatestConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
153 {
154 return SubmitAsync(&AppConfigDataClient::GetLatestConfiguration, request, handler, context);
155 }
156
168
172 template<typename StartConfigurationSessionRequestT = Model::StartConfigurationSessionRequest>
173 Model::StartConfigurationSessionOutcomeCallable StartConfigurationSessionCallable(const StartConfigurationSessionRequestT& request) const
174 {
175 return SubmitCallable(&AppConfigDataClient::StartConfigurationSession, request);
176 }
177
181 template<typename StartConfigurationSessionRequestT = Model::StartConfigurationSessionRequest>
182 void StartConfigurationSessionAsync(const StartConfigurationSessionRequestT& request, const StartConfigurationSessionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
183 {
184 return SubmitAsync(&AppConfigDataClient::StartConfigurationSession, request, handler, context);
185 }
186
187
188 void OverrideEndpoint(const Aws::String& endpoint);
189 std::shared_ptr<AppConfigDataEndpointProviderBase>& accessEndpointProvider();
190 private:
192 void init(const AppConfigDataClientConfiguration& clientConfiguration);
193
194 AppConfigDataClientConfiguration m_clientConfiguration;
195 std::shared_ptr<AppConfigDataEndpointProviderBase> m_endpointProvider;
196 };
197
198} // namespace AppConfigData
199} // namespace Aws
Model::StartConfigurationSessionOutcomeCallable StartConfigurationSessionCallable(const StartConfigurationSessionRequestT &request) const
void OverrideEndpoint(const Aws::String &endpoint)
Model::GetLatestConfigurationOutcomeCallable GetLatestConfigurationCallable(const GetLatestConfigurationRequestT &request) const
void GetLatestConfigurationAsync(const GetLatestConfigurationRequestT &request, const GetLatestConfigurationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AppConfigDataClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< AppConfigDataEndpointProviderBase > endpointProvider=nullptr, const Aws::AppConfigData::AppConfigDataClientConfiguration &clientConfiguration=Aws::AppConfigData::AppConfigDataClientConfiguration())
AppConfigDataClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
AppConfigDataClientConfiguration ClientConfigurationType
AppConfigDataClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetLatestConfigurationOutcome GetLatestConfiguration(const Model::GetLatestConfigurationRequest &request) const
AppConfigDataClient(const Aws::AppConfigData::AppConfigDataClientConfiguration &clientConfiguration=Aws::AppConfigData::AppConfigDataClientConfiguration(), std::shared_ptr< AppConfigDataEndpointProviderBase > endpointProvider=nullptr)
AppConfigDataClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< AppConfigDataEndpointProviderBase > endpointProvider=nullptr, const Aws::AppConfigData::AppConfigDataClientConfiguration &clientConfiguration=Aws::AppConfigData::AppConfigDataClientConfiguration())
static const char * GetAllocationTag()
void StartConfigurationSessionAsync(const StartConfigurationSessionRequestT &request, const StartConfigurationSessionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::StartConfigurationSessionOutcome StartConfigurationSession(const Model::StartConfigurationSessionRequest &request) const
AppConfigDataClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
AppConfigDataEndpointProvider EndpointProviderType
std::shared_ptr< AppConfigDataEndpointProviderBase > & accessEndpointProvider()
std::future< StartConfigurationSessionOutcome > StartConfigurationSessionOutcomeCallable
std::future< GetLatestConfigurationOutcome > GetLatestConfigurationOutcomeCallable
std::function< void(const AppConfigDataClient *, const Model::StartConfigurationSessionRequest &, const Model::StartConfigurationSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartConfigurationSessionResponseReceivedHandler
std::function< void(const AppConfigDataClient *, const Model::GetLatestConfigurationRequest &, Model::GetLatestConfigurationOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetLatestConfigurationResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String