7#include <aws/cognito-sync/CognitoSync_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/cognito-sync/CognitoSyncServiceClientModel.h>
55 std::shared_ptr<CognitoSyncEndpointProviderBase> endpointProvider =
nullptr);
62 std::shared_ptr<CognitoSyncEndpointProviderBase> endpointProvider =
nullptr,
69 CognitoSyncClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
70 std::shared_ptr<CognitoSyncEndpointProviderBase> endpointProvider =
nullptr,
92 CognitoSyncClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
113 template<
typename BulkPublishRequestT = Model::BulkPublishRequest>
116 return SubmitCallable(&CognitoSyncClient::BulkPublish, request);
122 template<
typename BulkPublishRequestT = Model::BulkPublishRequest>
125 return SubmitAsync(&CognitoSyncClient::BulkPublish, request, handler, context);
143 template<
typename DeleteDatasetRequestT = Model::DeleteDatasetRequest>
146 return SubmitCallable(&CognitoSyncClient::DeleteDataset, request);
152 template<
typename DeleteDatasetRequestT = Model::DeleteDatasetRequest>
155 return SubmitAsync(&CognitoSyncClient::DeleteDataset, request, handler, context);
173 template<
typename DescribeDatasetRequestT = Model::DescribeDatasetRequest>
176 return SubmitCallable(&CognitoSyncClient::DescribeDataset, request);
182 template<
typename DescribeDatasetRequestT = Model::DescribeDatasetRequest>
185 return SubmitAsync(&CognitoSyncClient::DescribeDataset, request, handler, context);
201 template<
typename DescribeIdentityPoolUsageRequestT = Model::DescribeIdentityPoolUsageRequest>
204 return SubmitCallable(&CognitoSyncClient::DescribeIdentityPoolUsage, request);
210 template<
typename DescribeIdentityPoolUsageRequestT = Model::DescribeIdentityPoolUsageRequest>
213 return SubmitAsync(&CognitoSyncClient::DescribeIdentityPoolUsage, request, handler, context);
228 template<
typename DescribeIdentityUsageRequestT = Model::DescribeIdentityUsageRequest>
231 return SubmitCallable(&CognitoSyncClient::DescribeIdentityUsage, request);
237 template<
typename DescribeIdentityUsageRequestT = Model::DescribeIdentityUsageRequest>
240 return SubmitAsync(&CognitoSyncClient::DescribeIdentityUsage, request, handler, context);
256 template<
typename GetBulkPublishDetailsRequestT = Model::GetBulkPublishDetailsRequest>
259 return SubmitCallable(&CognitoSyncClient::GetBulkPublishDetails, request);
265 template<
typename GetBulkPublishDetailsRequestT = Model::GetBulkPublishDetailsRequest>
268 return SubmitAsync(&CognitoSyncClient::GetBulkPublishDetails, request, handler, context);
284 template<
typename GetCognitoEventsRequestT = Model::GetCognitoEventsRequest>
287 return SubmitCallable(&CognitoSyncClient::GetCognitoEvents, request);
293 template<
typename GetCognitoEventsRequestT = Model::GetCognitoEventsRequest>
296 return SubmitAsync(&CognitoSyncClient::GetCognitoEvents, request, handler, context);
312 template<
typename GetIdentityPoolConfigurationRequestT = Model::GetIdentityPoolConfigurationRequest>
315 return SubmitCallable(&CognitoSyncClient::GetIdentityPoolConfiguration, request);
321 template<
typename GetIdentityPoolConfigurationRequestT = Model::GetIdentityPoolConfigurationRequest>
324 return SubmitAsync(&CognitoSyncClient::GetIdentityPoolConfiguration, request, handler, context);
342 template<
typename ListDatasetsRequestT = Model::ListDatasetsRequest>
345 return SubmitCallable(&CognitoSyncClient::ListDatasets, request);
351 template<
typename ListDatasetsRequestT = Model::ListDatasetsRequest>
354 return SubmitAsync(&CognitoSyncClient::ListDatasets, request, handler, context);
370 template<
typename ListIdentityPoolUsageRequestT = Model::ListIdentityPoolUsageRequest>
373 return SubmitCallable(&CognitoSyncClient::ListIdentityPoolUsage, request);
379 template<
typename ListIdentityPoolUsageRequestT = Model::ListIdentityPoolUsageRequest>
382 return SubmitAsync(&CognitoSyncClient::ListIdentityPoolUsage, request, handler, context);
401 template<
typename ListRecordsRequestT = Model::ListRecordsRequest>
404 return SubmitCallable(&CognitoSyncClient::ListRecords, request);
410 template<
typename ListRecordsRequestT = Model::ListRecordsRequest>
413 return SubmitAsync(&CognitoSyncClient::ListRecords, request, handler, context);
428 template<
typename RegisterDeviceRequestT = Model::RegisterDeviceRequest>
431 return SubmitCallable(&CognitoSyncClient::RegisterDevice, request);
437 template<
typename RegisterDeviceRequestT = Model::RegisterDeviceRequest>
440 return SubmitAsync(&CognitoSyncClient::RegisterDevice, request, handler, context);
458 template<
typename SetCognitoEventsRequestT = Model::SetCognitoEventsRequest>
461 return SubmitCallable(&CognitoSyncClient::SetCognitoEvents, request);
467 template<
typename SetCognitoEventsRequestT = Model::SetCognitoEventsRequest>
470 return SubmitAsync(&CognitoSyncClient::SetCognitoEvents, request, handler, context);
485 template<
typename SetIdentityPoolConfigurationRequestT = Model::SetIdentityPoolConfigurationRequest>
488 return SubmitCallable(&CognitoSyncClient::SetIdentityPoolConfiguration, request);
494 template<
typename SetIdentityPoolConfigurationRequestT = Model::SetIdentityPoolConfigurationRequest>
497 return SubmitAsync(&CognitoSyncClient::SetIdentityPoolConfiguration, request, handler, context);
513 template<
typename SubscribeToDatasetRequestT = Model::SubscribeToDatasetRequest>
516 return SubmitCallable(&CognitoSyncClient::SubscribeToDataset, request);
522 template<
typename SubscribeToDatasetRequestT = Model::SubscribeToDatasetRequest>
525 return SubmitAsync(&CognitoSyncClient::SubscribeToDataset, request, handler, context);
541 template<
typename UnsubscribeFromDatasetRequestT = Model::UnsubscribeFromDatasetRequest>
544 return SubmitCallable(&CognitoSyncClient::UnsubscribeFromDataset, request);
550 template<
typename UnsubscribeFromDatasetRequestT = Model::UnsubscribeFromDatasetRequest>
553 return SubmitAsync(&CognitoSyncClient::UnsubscribeFromDataset, request, handler, context);
578 template<
typename UpdateRecordsRequestT = Model::UpdateRecordsRequest>
581 return SubmitCallable(&CognitoSyncClient::UpdateRecords, request);
587 template<
typename UpdateRecordsRequestT = Model::UpdateRecordsRequest>
590 return SubmitAsync(&CognitoSyncClient::UpdateRecords, request, handler, context);
601 std::shared_ptr<CognitoSyncEndpointProviderBase> m_endpointProvider;
virtual Model::SetIdentityPoolConfigurationOutcome SetIdentityPoolConfiguration(const Model::SetIdentityPoolConfigurationRequest &request) const
Aws::Client::AWSJsonClient BASECLASS
CognitoSyncClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< CognitoSyncEndpointProviderBase > endpointProvider=nullptr, const Aws::CognitoSync::CognitoSyncClientConfiguration &clientConfiguration=Aws::CognitoSync::CognitoSyncClientConfiguration())
void DeleteDatasetAsync(const DeleteDatasetRequestT &request, const DeleteDatasetResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DeleteDatasetOutcome DeleteDataset(const Model::DeleteDatasetRequest &request) const
CognitoSyncClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< CognitoSyncEndpointProviderBase > endpointProvider=nullptr, const Aws::CognitoSync::CognitoSyncClientConfiguration &clientConfiguration=Aws::CognitoSync::CognitoSyncClientConfiguration())
Model::SubscribeToDatasetOutcomeCallable SubscribeToDatasetCallable(const SubscribeToDatasetRequestT &request) const
Model::DescribeIdentityUsageOutcomeCallable DescribeIdentityUsageCallable(const DescribeIdentityUsageRequestT &request) const
void UnsubscribeFromDatasetAsync(const UnsubscribeFromDatasetRequestT &request, const UnsubscribeFromDatasetResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void SetIdentityPoolConfigurationAsync(const SetIdentityPoolConfigurationRequestT &request, const SetIdentityPoolConfigurationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DescribeIdentityUsageAsync(const DescribeIdentityUsageRequestT &request, const DescribeIdentityUsageResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetBulkPublishDetailsOutcomeCallable GetBulkPublishDetailsCallable(const GetBulkPublishDetailsRequestT &request) const
void UpdateRecordsAsync(const UpdateRecordsRequestT &request, const UpdateRecordsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CognitoSyncClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::DescribeDatasetOutcomeCallable DescribeDatasetCallable(const DescribeDatasetRequestT &request) const
virtual Model::BulkPublishOutcome BulkPublish(const Model::BulkPublishRequest &request) const
static const char * GetAllocationTag()
virtual Model::ListDatasetsOutcome ListDatasets(const Model::ListDatasetsRequest &request) const
void SubscribeToDatasetAsync(const SubscribeToDatasetRequestT &request, const SubscribeToDatasetResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListIdentityPoolUsageOutcome ListIdentityPoolUsage(const Model::ListIdentityPoolUsageRequest &request={}) const
void DescribeDatasetAsync(const DescribeDatasetRequestT &request, const DescribeDatasetResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::BulkPublishOutcomeCallable BulkPublishCallable(const BulkPublishRequestT &request) const
Model::UnsubscribeFromDatasetOutcomeCallable UnsubscribeFromDatasetCallable(const UnsubscribeFromDatasetRequestT &request) const
CognitoSyncClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void GetCognitoEventsAsync(const GetCognitoEventsRequestT &request, const GetCognitoEventsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual ~CognitoSyncClient()
virtual Model::GetIdentityPoolConfigurationOutcome GetIdentityPoolConfiguration(const Model::GetIdentityPoolConfigurationRequest &request) const
void BulkPublishAsync(const BulkPublishRequestT &request, const BulkPublishResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListRecordsOutcome ListRecords(const Model::ListRecordsRequest &request) const
Model::ListRecordsOutcomeCallable ListRecordsCallable(const ListRecordsRequestT &request) const
void ListIdentityPoolUsageAsync(const ListIdentityPoolUsageResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListIdentityPoolUsageRequestT &request={}) const
virtual Model::SetCognitoEventsOutcome SetCognitoEvents(const Model::SetCognitoEventsRequest &request) const
Model::SetIdentityPoolConfigurationOutcomeCallable SetIdentityPoolConfigurationCallable(const SetIdentityPoolConfigurationRequestT &request) const
void RegisterDeviceAsync(const RegisterDeviceRequestT &request, const RegisterDeviceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetIdentityPoolConfigurationAsync(const GetIdentityPoolConfigurationRequestT &request, const GetIdentityPoolConfigurationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CognitoSyncClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::SubscribeToDatasetOutcome SubscribeToDataset(const Model::SubscribeToDatasetRequest &request) const
Model::GetIdentityPoolConfigurationOutcomeCallable GetIdentityPoolConfigurationCallable(const GetIdentityPoolConfigurationRequestT &request) const
CognitoSyncEndpointProvider EndpointProviderType
virtual Model::GetBulkPublishDetailsOutcome GetBulkPublishDetails(const Model::GetBulkPublishDetailsRequest &request) const
void ListDatasetsAsync(const ListDatasetsRequestT &request, const ListDatasetsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::RegisterDeviceOutcome RegisterDevice(const Model::RegisterDeviceRequest &request) const
void GetBulkPublishDetailsAsync(const GetBulkPublishDetailsRequestT &request, const GetBulkPublishDetailsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::RegisterDeviceOutcomeCallable RegisterDeviceCallable(const RegisterDeviceRequestT &request) const
virtual Model::DescribeIdentityUsageOutcome DescribeIdentityUsage(const Model::DescribeIdentityUsageRequest &request) const
virtual Model::DescribeDatasetOutcome DescribeDataset(const Model::DescribeDatasetRequest &request) const
void DescribeIdentityPoolUsageAsync(const DescribeIdentityPoolUsageRequestT &request, const DescribeIdentityPoolUsageResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
CognitoSyncClient(const Aws::CognitoSync::CognitoSyncClientConfiguration &clientConfiguration=Aws::CognitoSync::CognitoSyncClientConfiguration(), std::shared_ptr< CognitoSyncEndpointProviderBase > endpointProvider=nullptr)
Model::ListIdentityPoolUsageOutcomeCallable ListIdentityPoolUsageCallable(const ListIdentityPoolUsageRequestT &request={}) const
Model::DeleteDatasetOutcomeCallable DeleteDatasetCallable(const DeleteDatasetRequestT &request) const
static const char * GetServiceName()
virtual Model::GetCognitoEventsOutcome GetCognitoEvents(const Model::GetCognitoEventsRequest &request) const
Model::ListDatasetsOutcomeCallable ListDatasetsCallable(const ListDatasetsRequestT &request) const
virtual Model::UpdateRecordsOutcome UpdateRecords(const Model::UpdateRecordsRequest &request) const
Model::UpdateRecordsOutcomeCallable UpdateRecordsCallable(const UpdateRecordsRequestT &request) const
virtual Model::UnsubscribeFromDatasetOutcome UnsubscribeFromDataset(const Model::UnsubscribeFromDatasetRequest &request) const
virtual Model::DescribeIdentityPoolUsageOutcome DescribeIdentityPoolUsage(const Model::DescribeIdentityPoolUsageRequest &request) const
Model::DescribeIdentityPoolUsageOutcomeCallable DescribeIdentityPoolUsageCallable(const DescribeIdentityPoolUsageRequestT &request) const
void SetCognitoEventsAsync(const SetCognitoEventsRequestT &request, const SetCognitoEventsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::SetCognitoEventsOutcomeCallable SetCognitoEventsCallable(const SetCognitoEventsRequestT &request) const
CognitoSyncClientConfiguration ClientConfigurationType
std::shared_ptr< CognitoSyncEndpointProviderBase > & accessEndpointProvider()
Model::GetCognitoEventsOutcomeCallable GetCognitoEventsCallable(const GetCognitoEventsRequestT &request) const
void OverrideEndpoint(const Aws::String &endpoint)
void ListRecordsAsync(const ListRecordsRequestT &request, const ListRecordsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< SetCognitoEventsOutcome > SetCognitoEventsOutcomeCallable
std::future< DeleteDatasetOutcome > DeleteDatasetOutcomeCallable
std::future< ListDatasetsOutcome > ListDatasetsOutcomeCallable
std::future< RegisterDeviceOutcome > RegisterDeviceOutcomeCallable
std::future< BulkPublishOutcome > BulkPublishOutcomeCallable
std::future< GetIdentityPoolConfigurationOutcome > GetIdentityPoolConfigurationOutcomeCallable
std::future< UnsubscribeFromDatasetOutcome > UnsubscribeFromDatasetOutcomeCallable
std::future< DescribeIdentityUsageOutcome > DescribeIdentityUsageOutcomeCallable
std::future< ListRecordsOutcome > ListRecordsOutcomeCallable
std::future< GetCognitoEventsOutcome > GetCognitoEventsOutcomeCallable
std::future< SetIdentityPoolConfigurationOutcome > SetIdentityPoolConfigurationOutcomeCallable
std::future< GetBulkPublishDetailsOutcome > GetBulkPublishDetailsOutcomeCallable
std::future< UpdateRecordsOutcome > UpdateRecordsOutcomeCallable
std::future< DescribeDatasetOutcome > DescribeDatasetOutcomeCallable
std::future< SubscribeToDatasetOutcome > SubscribeToDatasetOutcomeCallable
std::future< DescribeIdentityPoolUsageOutcome > DescribeIdentityPoolUsageOutcomeCallable
std::future< ListIdentityPoolUsageOutcome > ListIdentityPoolUsageOutcomeCallable
std::function< void(const CognitoSyncClient *, const Model::ListDatasetsRequest &, const Model::ListDatasetsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDatasetsResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::GetIdentityPoolConfigurationRequest &, const Model::GetIdentityPoolConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetIdentityPoolConfigurationResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::SubscribeToDatasetRequest &, const Model::SubscribeToDatasetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SubscribeToDatasetResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::ListRecordsRequest &, const Model::ListRecordsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRecordsResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::GetCognitoEventsRequest &, const Model::GetCognitoEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetCognitoEventsResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::ListIdentityPoolUsageRequest &, const Model::ListIdentityPoolUsageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListIdentityPoolUsageResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::DescribeIdentityUsageRequest &, const Model::DescribeIdentityUsageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeIdentityUsageResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::SetCognitoEventsRequest &, const Model::SetCognitoEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetCognitoEventsResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::GetBulkPublishDetailsRequest &, const Model::GetBulkPublishDetailsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetBulkPublishDetailsResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::UpdateRecordsRequest &, const Model::UpdateRecordsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateRecordsResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::SetIdentityPoolConfigurationRequest &, const Model::SetIdentityPoolConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetIdentityPoolConfigurationResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::RegisterDeviceRequest &, const Model::RegisterDeviceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RegisterDeviceResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::DescribeIdentityPoolUsageRequest &, const Model::DescribeIdentityPoolUsageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeIdentityPoolUsageResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::UnsubscribeFromDatasetRequest &, const Model::UnsubscribeFromDatasetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UnsubscribeFromDatasetResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::DescribeDatasetRequest &, const Model::DescribeDatasetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeDatasetResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::DeleteDatasetRequest &, const Model::DeleteDatasetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteDatasetResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::BulkPublishRequest &, const Model::BulkPublishOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BulkPublishResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String