AWS SDK for C++  0.12.9
AWS SDK for C++
CognitoSyncClient.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
39 #include <aws/core/NoResult.h>
42 #include <future>
43 #include <functional>
44 
45 namespace Aws
46 {
47 
48 namespace Http
49 {
50  class HttpClient;
51  class HttpClientFactory;
52 } // namespace Http
53 
54 namespace Utils
55 {
56  template< typename R, typename E> class Outcome;
57 
58 namespace Threading
59 {
60  class Executor;
61 } // namespace Threading
62 
63 namespace Json
64 {
65  class JsonValue;
66 } // namespace Json
67 } // namespace Utils
68 
69 namespace Auth
70 {
71  class AWSCredentials;
72  class AWSCredentialsProvider;
73 } // namespace Auth
74 
75 namespace Client
76 {
77  class RetryStrategy;
78 } // namespace Client
79 
80 namespace CognitoSync
81 {
82 
83 namespace Model
84 {
85  class BulkPublishRequest;
93  class ListDatasetsRequest;
95  class ListRecordsRequest;
102 
120 
121  typedef std::future<BulkPublishOutcome> BulkPublishOutcomeCallable;
122  typedef std::future<DeleteDatasetOutcome> DeleteDatasetOutcomeCallable;
123  typedef std::future<DescribeDatasetOutcome> DescribeDatasetOutcomeCallable;
124  typedef std::future<DescribeIdentityPoolUsageOutcome> DescribeIdentityPoolUsageOutcomeCallable;
125  typedef std::future<DescribeIdentityUsageOutcome> DescribeIdentityUsageOutcomeCallable;
126  typedef std::future<GetBulkPublishDetailsOutcome> GetBulkPublishDetailsOutcomeCallable;
127  typedef std::future<GetCognitoEventsOutcome> GetCognitoEventsOutcomeCallable;
128  typedef std::future<GetIdentityPoolConfigurationOutcome> GetIdentityPoolConfigurationOutcomeCallable;
129  typedef std::future<ListDatasetsOutcome> ListDatasetsOutcomeCallable;
130  typedef std::future<ListIdentityPoolUsageOutcome> ListIdentityPoolUsageOutcomeCallable;
131  typedef std::future<ListRecordsOutcome> ListRecordsOutcomeCallable;
132  typedef std::future<RegisterDeviceOutcome> RegisterDeviceOutcomeCallable;
133  typedef std::future<SetCognitoEventsOutcome> SetCognitoEventsOutcomeCallable;
134  typedef std::future<SetIdentityPoolConfigurationOutcome> SetIdentityPoolConfigurationOutcomeCallable;
135  typedef std::future<SubscribeToDatasetOutcome> SubscribeToDatasetOutcomeCallable;
136  typedef std::future<UnsubscribeFromDatasetOutcome> UnsubscribeFromDatasetOutcomeCallable;
137  typedef std::future<UpdateRecordsOutcome> UpdateRecordsOutcomeCallable;
138 } // namespace Model
139 
141 
142  typedef std::function<void(const CognitoSyncClient*, const Model::BulkPublishRequest&, const Model::BulkPublishOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > BulkPublishResponseReceivedHandler;
143  typedef std::function<void(const CognitoSyncClient*, const Model::DeleteDatasetRequest&, const Model::DeleteDatasetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteDatasetResponseReceivedHandler;
144  typedef std::function<void(const CognitoSyncClient*, const Model::DescribeDatasetRequest&, const Model::DescribeDatasetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeDatasetResponseReceivedHandler;
145  typedef std::function<void(const CognitoSyncClient*, const Model::DescribeIdentityPoolUsageRequest&, const Model::DescribeIdentityPoolUsageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeIdentityPoolUsageResponseReceivedHandler;
146  typedef std::function<void(const CognitoSyncClient*, const Model::DescribeIdentityUsageRequest&, const Model::DescribeIdentityUsageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeIdentityUsageResponseReceivedHandler;
147  typedef std::function<void(const CognitoSyncClient*, const Model::GetBulkPublishDetailsRequest&, const Model::GetBulkPublishDetailsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBulkPublishDetailsResponseReceivedHandler;
148  typedef std::function<void(const CognitoSyncClient*, const Model::GetCognitoEventsRequest&, const Model::GetCognitoEventsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCognitoEventsResponseReceivedHandler;
149  typedef std::function<void(const CognitoSyncClient*, const Model::GetIdentityPoolConfigurationRequest&, const Model::GetIdentityPoolConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetIdentityPoolConfigurationResponseReceivedHandler;
150  typedef std::function<void(const CognitoSyncClient*, const Model::ListDatasetsRequest&, const Model::ListDatasetsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListDatasetsResponseReceivedHandler;
151  typedef std::function<void(const CognitoSyncClient*, const Model::ListIdentityPoolUsageRequest&, const Model::ListIdentityPoolUsageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListIdentityPoolUsageResponseReceivedHandler;
152  typedef std::function<void(const CognitoSyncClient*, const Model::ListRecordsRequest&, const Model::ListRecordsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListRecordsResponseReceivedHandler;
153  typedef std::function<void(const CognitoSyncClient*, const Model::RegisterDeviceRequest&, const Model::RegisterDeviceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RegisterDeviceResponseReceivedHandler;
154  typedef std::function<void(const CognitoSyncClient*, const Model::SetCognitoEventsRequest&, const Model::SetCognitoEventsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetCognitoEventsResponseReceivedHandler;
155  typedef std::function<void(const CognitoSyncClient*, const Model::SetIdentityPoolConfigurationRequest&, const Model::SetIdentityPoolConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetIdentityPoolConfigurationResponseReceivedHandler;
156  typedef std::function<void(const CognitoSyncClient*, const Model::SubscribeToDatasetRequest&, const Model::SubscribeToDatasetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SubscribeToDatasetResponseReceivedHandler;
157  typedef std::function<void(const CognitoSyncClient*, const Model::UnsubscribeFromDatasetRequest&, const Model::UnsubscribeFromDatasetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UnsubscribeFromDatasetResponseReceivedHandler;
158  typedef std::function<void(const CognitoSyncClient*, const Model::UpdateRecordsRequest&, const Model::UpdateRecordsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateRecordsResponseReceivedHandler;
159 
183  {
184  public:
186 
192 
197  CognitoSyncClient(const Auth::AWSCredentials& credentials, const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
198 
203  CognitoSyncClient(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
204  const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
205 
206  virtual ~CognitoSyncClient();
207 
216  virtual Model::BulkPublishOutcome BulkPublish(const Model::BulkPublishRequest& request) const;
217 
228  virtual Model::BulkPublishOutcomeCallable BulkPublishCallable(const Model::BulkPublishRequest& request) const;
229 
240  virtual void BulkPublishAsync(const Model::BulkPublishRequest& request, const BulkPublishResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
241 
249  virtual Model::DeleteDatasetOutcome DeleteDataset(const Model::DeleteDatasetRequest& request) const;
250 
260  virtual Model::DeleteDatasetOutcomeCallable DeleteDatasetCallable(const Model::DeleteDatasetRequest& request) const;
261 
271  virtual void DeleteDatasetAsync(const Model::DeleteDatasetRequest& request, const DeleteDatasetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
272 
281  virtual Model::DescribeDatasetOutcome DescribeDataset(const Model::DescribeDatasetRequest& request) const;
282 
293  virtual Model::DescribeDatasetOutcomeCallable DescribeDatasetCallable(const Model::DescribeDatasetRequest& request) const;
294 
305  virtual void DescribeDatasetAsync(const Model::DescribeDatasetRequest& request, const DescribeDatasetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
306 
313  virtual Model::DescribeIdentityPoolUsageOutcome DescribeIdentityPoolUsage(const Model::DescribeIdentityPoolUsageRequest& request) const;
314 
323  virtual Model::DescribeIdentityPoolUsageOutcomeCallable DescribeIdentityPoolUsageCallable(const Model::DescribeIdentityPoolUsageRequest& request) const;
324 
333  virtual void DescribeIdentityPoolUsageAsync(const Model::DescribeIdentityPoolUsageRequest& request, const DescribeIdentityPoolUsageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
334 
340  virtual Model::DescribeIdentityUsageOutcome DescribeIdentityUsage(const Model::DescribeIdentityUsageRequest& request) const;
341 
349  virtual Model::DescribeIdentityUsageOutcomeCallable DescribeIdentityUsageCallable(const Model::DescribeIdentityUsageRequest& request) const;
350 
358  virtual void DescribeIdentityUsageAsync(const Model::DescribeIdentityUsageRequest& request, const DescribeIdentityUsageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
359 
365  virtual Model::GetBulkPublishDetailsOutcome GetBulkPublishDetails(const Model::GetBulkPublishDetailsRequest& request) const;
366 
374  virtual Model::GetBulkPublishDetailsOutcomeCallable GetBulkPublishDetailsCallable(const Model::GetBulkPublishDetailsRequest& request) const;
375 
383  virtual void GetBulkPublishDetailsAsync(const Model::GetBulkPublishDetailsRequest& request, const GetBulkPublishDetailsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
384 
391  virtual Model::GetCognitoEventsOutcome GetCognitoEvents(const Model::GetCognitoEventsRequest& request) const;
392 
401  virtual Model::GetCognitoEventsOutcomeCallable GetCognitoEventsCallable(const Model::GetCognitoEventsRequest& request) const;
402 
411  virtual void GetCognitoEventsAsync(const Model::GetCognitoEventsRequest& request, const GetCognitoEventsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
412 
418  virtual Model::GetIdentityPoolConfigurationOutcome GetIdentityPoolConfiguration(const Model::GetIdentityPoolConfigurationRequest& request) const;
419 
427  virtual Model::GetIdentityPoolConfigurationOutcomeCallable GetIdentityPoolConfigurationCallable(const Model::GetIdentityPoolConfigurationRequest& request) const;
428 
436  virtual void GetIdentityPoolConfigurationAsync(const Model::GetIdentityPoolConfigurationRequest& request, const GetIdentityPoolConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
437 
446  virtual Model::ListDatasetsOutcome ListDatasets(const Model::ListDatasetsRequest& request) const;
447 
458  virtual Model::ListDatasetsOutcomeCallable ListDatasetsCallable(const Model::ListDatasetsRequest& request) const;
459 
470  virtual void ListDatasetsAsync(const Model::ListDatasetsRequest& request, const ListDatasetsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
471 
478  virtual Model::ListIdentityPoolUsageOutcome ListIdentityPoolUsage(const Model::ListIdentityPoolUsageRequest& request) const;
479 
488  virtual Model::ListIdentityPoolUsageOutcomeCallable ListIdentityPoolUsageCallable(const Model::ListIdentityPoolUsageRequest& request) const;
489 
498  virtual void ListIdentityPoolUsageAsync(const Model::ListIdentityPoolUsageRequest& request, const ListIdentityPoolUsageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
499 
508  virtual Model::ListRecordsOutcome ListRecords(const Model::ListRecordsRequest& request) const;
509 
520  virtual Model::ListRecordsOutcomeCallable ListRecordsCallable(const Model::ListRecordsRequest& request) const;
521 
532  virtual void ListRecordsAsync(const Model::ListRecordsRequest& request, const ListRecordsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
533 
539  virtual Model::RegisterDeviceOutcome RegisterDevice(const Model::RegisterDeviceRequest& request) const;
540 
548  virtual Model::RegisterDeviceOutcomeCallable RegisterDeviceCallable(const Model::RegisterDeviceRequest& request) const;
549 
557  virtual void RegisterDeviceAsync(const Model::RegisterDeviceRequest& request, const RegisterDeviceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
558 
567  virtual Model::SetCognitoEventsOutcome SetCognitoEvents(const Model::SetCognitoEventsRequest& request) const;
568 
579  virtual Model::SetCognitoEventsOutcomeCallable SetCognitoEventsCallable(const Model::SetCognitoEventsRequest& request) const;
580 
591  virtual void SetCognitoEventsAsync(const Model::SetCognitoEventsRequest& request, const SetCognitoEventsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
592 
598  virtual Model::SetIdentityPoolConfigurationOutcome SetIdentityPoolConfiguration(const Model::SetIdentityPoolConfigurationRequest& request) const;
599 
607  virtual Model::SetIdentityPoolConfigurationOutcomeCallable SetIdentityPoolConfigurationCallable(const Model::SetIdentityPoolConfigurationRequest& request) const;
608 
616  virtual void SetIdentityPoolConfigurationAsync(const Model::SetIdentityPoolConfigurationRequest& request, const SetIdentityPoolConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
617 
623  virtual Model::SubscribeToDatasetOutcome SubscribeToDataset(const Model::SubscribeToDatasetRequest& request) const;
624 
632  virtual Model::SubscribeToDatasetOutcomeCallable SubscribeToDatasetCallable(const Model::SubscribeToDatasetRequest& request) const;
633 
641  virtual void SubscribeToDatasetAsync(const Model::SubscribeToDatasetRequest& request, const SubscribeToDatasetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
642 
649  virtual Model::UnsubscribeFromDatasetOutcome UnsubscribeFromDataset(const Model::UnsubscribeFromDatasetRequest& request) const;
650 
659  virtual Model::UnsubscribeFromDatasetOutcomeCallable UnsubscribeFromDatasetCallable(const Model::UnsubscribeFromDatasetRequest& request) const;
660 
669  virtual void UnsubscribeFromDatasetAsync(const Model::UnsubscribeFromDatasetRequest& request, const UnsubscribeFromDatasetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
670 
685  virtual Model::UpdateRecordsOutcome UpdateRecords(const Model::UpdateRecordsRequest& request) const;
686 
703  virtual Model::UpdateRecordsOutcomeCallable UpdateRecordsCallable(const Model::UpdateRecordsRequest& request) const;
704 
721  virtual void UpdateRecordsAsync(const Model::UpdateRecordsRequest& request, const UpdateRecordsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
722 
723 
724  private:
725  void init(const Client::ClientConfiguration& clientConfiguration);
726 
728  void BulkPublishAsyncHelper(const Model::BulkPublishRequest& request, const BulkPublishResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
729  void DeleteDatasetAsyncHelper(const Model::DeleteDatasetRequest& request, const DeleteDatasetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
730  void DescribeDatasetAsyncHelper(const Model::DescribeDatasetRequest& request, const DescribeDatasetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
731  void DescribeIdentityPoolUsageAsyncHelper(const Model::DescribeIdentityPoolUsageRequest& request, const DescribeIdentityPoolUsageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
732  void DescribeIdentityUsageAsyncHelper(const Model::DescribeIdentityUsageRequest& request, const DescribeIdentityUsageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
733  void GetBulkPublishDetailsAsyncHelper(const Model::GetBulkPublishDetailsRequest& request, const GetBulkPublishDetailsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
734  void GetCognitoEventsAsyncHelper(const Model::GetCognitoEventsRequest& request, const GetCognitoEventsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
735  void GetIdentityPoolConfigurationAsyncHelper(const Model::GetIdentityPoolConfigurationRequest& request, const GetIdentityPoolConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
736  void ListDatasetsAsyncHelper(const Model::ListDatasetsRequest& request, const ListDatasetsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
737  void ListIdentityPoolUsageAsyncHelper(const Model::ListIdentityPoolUsageRequest& request, const ListIdentityPoolUsageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
738  void ListRecordsAsyncHelper(const Model::ListRecordsRequest& request, const ListRecordsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
739  void RegisterDeviceAsyncHelper(const Model::RegisterDeviceRequest& request, const RegisterDeviceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
740  void SetCognitoEventsAsyncHelper(const Model::SetCognitoEventsRequest& request, const SetCognitoEventsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
741  void SetIdentityPoolConfigurationAsyncHelper(const Model::SetIdentityPoolConfigurationRequest& request, const SetIdentityPoolConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
742  void SubscribeToDatasetAsyncHelper(const Model::SubscribeToDatasetRequest& request, const SubscribeToDatasetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
743  void UnsubscribeFromDatasetAsyncHelper(const Model::UnsubscribeFromDatasetRequest& request, const UnsubscribeFromDatasetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
744  void UpdateRecordsAsyncHelper(const Model::UpdateRecordsRequest& request, const UpdateRecordsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
745 
746  Aws::String m_uri;
747  std::shared_ptr<Utils::Threading::Executor> m_executor;
748  };
749 
750 } // namespace CognitoSync
751 } // namespace Aws
std::function< void(const CognitoSyncClient *, const Model::GetCognitoEventsRequest &, const Model::GetCognitoEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetCognitoEventsResponseReceivedHandler
Aws::Utils::Outcome< GetIdentityPoolConfigurationResult, Aws::Client::AWSError< CognitoSyncErrors > > GetIdentityPoolConfigurationOutcome
Aws::Utils::Outcome< RegisterDeviceResult, Aws::Client::AWSError< CognitoSyncErrors > > RegisterDeviceOutcome
Aws::Utils::Outcome< UpdateRecordsResult, Aws::Client::AWSError< CognitoSyncErrors > > UpdateRecordsOutcome
std::function< void(const CognitoSyncClient *, const Model::UpdateRecordsRequest &, const Model::UpdateRecordsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateRecordsResponseReceivedHandler
Aws::Utils::Outcome< SetIdentityPoolConfigurationResult, Aws::Client::AWSError< CognitoSyncErrors > > SetIdentityPoolConfigurationOutcome
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< CognitoSyncErrors > > SetCognitoEventsOutcome
std::future< ListIdentityPoolUsageOutcome > ListIdentityPoolUsageOutcomeCallable
std::function< void(const CognitoSyncClient *, const Model::BulkPublishRequest &, const Model::BulkPublishOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BulkPublishResponseReceivedHandler
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::GetIdentityPoolConfigurationRequest &, const Model::GetIdentityPoolConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetIdentityPoolConfigurationResponseReceivedHandler
Aws::Utils::Outcome< ListRecordsResult, Aws::Client::AWSError< CognitoSyncErrors > > ListRecordsOutcome
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::DescribeIdentityUsageRequest &, const Model::DescribeIdentityUsageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeIdentityUsageResponseReceivedHandler
Aws::Client::AWSJsonClient BASECLASS
std::function< void(const CognitoSyncClient *, const Model::ListDatasetsRequest &, const Model::ListDatasetsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDatasetsResponseReceivedHandler
std::future< ListRecordsOutcome > ListRecordsOutcomeCallable
std::future< GetCognitoEventsOutcome > GetCognitoEventsOutcomeCallable
std::future< RegisterDeviceOutcome > RegisterDeviceOutcomeCallable
std::future< GetBulkPublishDetailsOutcome > GetBulkPublishDetailsOutcomeCallable
std::function< void(const CognitoSyncClient *, const Model::DescribeIdentityPoolUsageRequest &, const Model::DescribeIdentityPoolUsageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeIdentityPoolUsageResponseReceivedHandler
std::future< DescribeDatasetOutcome > DescribeDatasetOutcomeCallable
std::future< UnsubscribeFromDatasetOutcome > UnsubscribeFromDatasetOutcomeCallable
std::function< void(const CognitoSyncClient *, const Model::DeleteDatasetRequest &, const Model::DeleteDatasetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteDatasetResponseReceivedHandler
Aws::Utils::Outcome< DescribeIdentityUsageResult, Aws::Client::AWSError< CognitoSyncErrors > > DescribeIdentityUsageOutcome
std::future< GetIdentityPoolConfigurationOutcome > GetIdentityPoolConfigurationOutcomeCallable
std::function< void(const CognitoSyncClient *, const Model::SetCognitoEventsRequest &, const Model::SetCognitoEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetCognitoEventsResponseReceivedHandler
Aws::Utils::Outcome< GetBulkPublishDetailsResult, Aws::Client::AWSError< CognitoSyncErrors > > GetBulkPublishDetailsOutcome
std::future< ListDatasetsOutcome > ListDatasetsOutcomeCallable
Aws::Utils::Outcome< SubscribeToDatasetResult, Aws::Client::AWSError< CognitoSyncErrors > > SubscribeToDatasetOutcome
std::future< DescribeIdentityUsageOutcome > DescribeIdentityUsageOutcomeCallable
Aws::Utils::Outcome< ListDatasetsResult, Aws::Client::AWSError< CognitoSyncErrors > > ListDatasetsOutcome
std::function< void(const CognitoSyncClient *, const Model::UnsubscribeFromDatasetRequest &, const Model::UnsubscribeFromDatasetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UnsubscribeFromDatasetResponseReceivedHandler
std::future< UpdateRecordsOutcome > UpdateRecordsOutcomeCallable
std::function< void(const CognitoSyncClient *, const Model::DescribeDatasetRequest &, const Model::DescribeDatasetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeDatasetResponseReceivedHandler
Aws::Utils::Outcome< UnsubscribeFromDatasetResult, Aws::Client::AWSError< CognitoSyncErrors > > UnsubscribeFromDatasetOutcome
std::future< BulkPublishOutcome > BulkPublishOutcomeCallable
Aws::Utils::Outcome< DeleteDatasetResult, Aws::Client::AWSError< CognitoSyncErrors > > DeleteDatasetOutcome
Aws::Utils::Outcome< GetCognitoEventsResult, Aws::Client::AWSError< CognitoSyncErrors > > GetCognitoEventsOutcome
Aws::Utils::Outcome< BulkPublishResult, Aws::Client::AWSError< CognitoSyncErrors > > BulkPublishOutcome
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
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::SetIdentityPoolConfigurationRequest &, const Model::SetIdentityPoolConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetIdentityPoolConfigurationResponseReceivedHandler
std::function< void(const CognitoSyncClient *, const Model::GetBulkPublishDetailsRequest &, const Model::GetBulkPublishDetailsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetBulkPublishDetailsResponseReceivedHandler
std::future< SetCognitoEventsOutcome > SetCognitoEventsOutcomeCallable
Aws::Utils::Outcome< ListIdentityPoolUsageResult, Aws::Client::AWSError< CognitoSyncErrors > > ListIdentityPoolUsageOutcome
Aws::Utils::Outcome< DescribeIdentityPoolUsageResult, Aws::Client::AWSError< CognitoSyncErrors > > DescribeIdentityPoolUsageOutcome
Aws::Utils::Outcome< DescribeDatasetResult, Aws::Client::AWSError< CognitoSyncErrors > > DescribeDatasetOutcome
std::future< DeleteDatasetOutcome > DeleteDatasetOutcomeCallable
#define AWS_COGNITOSYNC_API
std::future< DescribeIdentityPoolUsageOutcome > DescribeIdentityPoolUsageOutcomeCallable
std::future< SubscribeToDatasetOutcome > SubscribeToDatasetOutcomeCallable
std::future< SetIdentityPoolConfigurationOutcome > SetIdentityPoolConfigurationOutcomeCallable
std::function< void(const CognitoSyncClient *, const Model::ListRecordsRequest &, const Model::ListRecordsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRecordsResponseReceivedHandler
JSON (JavaScript Object Notation).