AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CognitoIdentityServiceClientModel.h
1
6#pragma once
7
8/* Generic header includes */
9#include <aws/cognito-identity/CognitoIdentityErrors.h>
10#include <aws/core/client/GenericClientConfiguration.h>
11#include <aws/core/client/AWSError.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/client/AsyncCallerContext.h>
14#include <aws/core/http/HttpTypes.h>
15#include <aws/cognito-identity/CognitoIdentityEndpointProvider.h>
16#include <future>
17#include <functional>
18/* End of generic header includes */
19
20/* Service model headers required in CognitoIdentityClient header */
21#include <aws/cognito-identity/model/CreateIdentityPoolResult.h>
22#include <aws/cognito-identity/model/DeleteIdentitiesResult.h>
23#include <aws/cognito-identity/model/DescribeIdentityResult.h>
24#include <aws/cognito-identity/model/DescribeIdentityPoolResult.h>
25#include <aws/cognito-identity/model/GetCredentialsForIdentityResult.h>
26#include <aws/cognito-identity/model/GetIdResult.h>
27#include <aws/cognito-identity/model/GetIdentityPoolRolesResult.h>
28#include <aws/cognito-identity/model/GetOpenIdTokenResult.h>
29#include <aws/cognito-identity/model/GetOpenIdTokenForDeveloperIdentityResult.h>
30#include <aws/cognito-identity/model/GetPrincipalTagAttributeMapResult.h>
31#include <aws/cognito-identity/model/ListIdentitiesResult.h>
32#include <aws/cognito-identity/model/ListIdentityPoolsResult.h>
33#include <aws/cognito-identity/model/ListTagsForResourceResult.h>
34#include <aws/cognito-identity/model/LookupDeveloperIdentityResult.h>
35#include <aws/cognito-identity/model/MergeDeveloperIdentitiesResult.h>
36#include <aws/cognito-identity/model/SetPrincipalTagAttributeMapResult.h>
37#include <aws/cognito-identity/model/TagResourceResult.h>
38#include <aws/cognito-identity/model/UntagResourceResult.h>
39#include <aws/cognito-identity/model/UpdateIdentityPoolResult.h>
40#include <aws/core/NoResult.h>
41/* End of service model headers required in CognitoIdentityClient header */
42
43namespace Aws
44{
45 namespace Http
46 {
47 class HttpClient;
48 class HttpClientFactory;
49 } // namespace Http
50
51 namespace Utils
52 {
53 template< typename R, typename E> class Outcome;
54
55 namespace Threading
56 {
57 class Executor;
58 } // namespace Threading
59 } // namespace Utils
60
61 namespace Auth
62 {
63 class AWSCredentials;
64 class AWSCredentialsProvider;
65 } // namespace Auth
66
67 namespace Client
68 {
69 class RetryStrategy;
70 } // namespace Client
71
72 namespace CognitoIdentity
73 {
77
78 namespace Model
79 {
80 /* Service model forward declarations required in CognitoIdentityClient header */
87 class GetIdRequest;
104 /* End of service model forward declarations required in CognitoIdentityClient header */
105
106 /* Service model Outcome class definitions */
130 /* End of service model Outcome class definitions */
131
132 /* Service model Outcome callable definitions */
133 typedef std::future<CreateIdentityPoolOutcome> CreateIdentityPoolOutcomeCallable;
134 typedef std::future<DeleteIdentitiesOutcome> DeleteIdentitiesOutcomeCallable;
135 typedef std::future<DeleteIdentityPoolOutcome> DeleteIdentityPoolOutcomeCallable;
136 typedef std::future<DescribeIdentityOutcome> DescribeIdentityOutcomeCallable;
137 typedef std::future<DescribeIdentityPoolOutcome> DescribeIdentityPoolOutcomeCallable;
138 typedef std::future<GetCredentialsForIdentityOutcome> GetCredentialsForIdentityOutcomeCallable;
139 typedef std::future<GetIdOutcome> GetIdOutcomeCallable;
140 typedef std::future<GetIdentityPoolRolesOutcome> GetIdentityPoolRolesOutcomeCallable;
141 typedef std::future<GetOpenIdTokenOutcome> GetOpenIdTokenOutcomeCallable;
142 typedef std::future<GetOpenIdTokenForDeveloperIdentityOutcome> GetOpenIdTokenForDeveloperIdentityOutcomeCallable;
143 typedef std::future<GetPrincipalTagAttributeMapOutcome> GetPrincipalTagAttributeMapOutcomeCallable;
144 typedef std::future<ListIdentitiesOutcome> ListIdentitiesOutcomeCallable;
145 typedef std::future<ListIdentityPoolsOutcome> ListIdentityPoolsOutcomeCallable;
146 typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
147 typedef std::future<LookupDeveloperIdentityOutcome> LookupDeveloperIdentityOutcomeCallable;
148 typedef std::future<MergeDeveloperIdentitiesOutcome> MergeDeveloperIdentitiesOutcomeCallable;
149 typedef std::future<SetIdentityPoolRolesOutcome> SetIdentityPoolRolesOutcomeCallable;
150 typedef std::future<SetPrincipalTagAttributeMapOutcome> SetPrincipalTagAttributeMapOutcomeCallable;
151 typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
152 typedef std::future<UnlinkDeveloperIdentityOutcome> UnlinkDeveloperIdentityOutcomeCallable;
153 typedef std::future<UnlinkIdentityOutcome> UnlinkIdentityOutcomeCallable;
154 typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
155 typedef std::future<UpdateIdentityPoolOutcome> UpdateIdentityPoolOutcomeCallable;
156 /* End of service model Outcome callable definitions */
157 } // namespace Model
158
160
161 /* Service model async handlers definitions */
162 typedef std::function<void(const CognitoIdentityClient*, const Model::CreateIdentityPoolRequest&, const Model::CreateIdentityPoolOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateIdentityPoolResponseReceivedHandler;
163 typedef std::function<void(const CognitoIdentityClient*, const Model::DeleteIdentitiesRequest&, const Model::DeleteIdentitiesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteIdentitiesResponseReceivedHandler;
164 typedef std::function<void(const CognitoIdentityClient*, const Model::DeleteIdentityPoolRequest&, const Model::DeleteIdentityPoolOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteIdentityPoolResponseReceivedHandler;
165 typedef std::function<void(const CognitoIdentityClient*, const Model::DescribeIdentityRequest&, const Model::DescribeIdentityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeIdentityResponseReceivedHandler;
166 typedef std::function<void(const CognitoIdentityClient*, const Model::DescribeIdentityPoolRequest&, const Model::DescribeIdentityPoolOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeIdentityPoolResponseReceivedHandler;
167 typedef std::function<void(const CognitoIdentityClient*, const Model::GetCredentialsForIdentityRequest&, const Model::GetCredentialsForIdentityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCredentialsForIdentityResponseReceivedHandler;
168 typedef std::function<void(const CognitoIdentityClient*, const Model::GetIdRequest&, const Model::GetIdOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetIdResponseReceivedHandler;
169 typedef std::function<void(const CognitoIdentityClient*, const Model::GetIdentityPoolRolesRequest&, const Model::GetIdentityPoolRolesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetIdentityPoolRolesResponseReceivedHandler;
170 typedef std::function<void(const CognitoIdentityClient*, const Model::GetOpenIdTokenRequest&, const Model::GetOpenIdTokenOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetOpenIdTokenResponseReceivedHandler;
171 typedef std::function<void(const CognitoIdentityClient*, const Model::GetOpenIdTokenForDeveloperIdentityRequest&, const Model::GetOpenIdTokenForDeveloperIdentityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetOpenIdTokenForDeveloperIdentityResponseReceivedHandler;
172 typedef std::function<void(const CognitoIdentityClient*, const Model::GetPrincipalTagAttributeMapRequest&, const Model::GetPrincipalTagAttributeMapOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetPrincipalTagAttributeMapResponseReceivedHandler;
173 typedef std::function<void(const CognitoIdentityClient*, const Model::ListIdentitiesRequest&, const Model::ListIdentitiesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListIdentitiesResponseReceivedHandler;
174 typedef std::function<void(const CognitoIdentityClient*, const Model::ListIdentityPoolsRequest&, const Model::ListIdentityPoolsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListIdentityPoolsResponseReceivedHandler;
175 typedef std::function<void(const CognitoIdentityClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsForResourceResponseReceivedHandler;
176 typedef std::function<void(const CognitoIdentityClient*, const Model::LookupDeveloperIdentityRequest&, const Model::LookupDeveloperIdentityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > LookupDeveloperIdentityResponseReceivedHandler;
177 typedef std::function<void(const CognitoIdentityClient*, const Model::MergeDeveloperIdentitiesRequest&, const Model::MergeDeveloperIdentitiesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > MergeDeveloperIdentitiesResponseReceivedHandler;
178 typedef std::function<void(const CognitoIdentityClient*, const Model::SetIdentityPoolRolesRequest&, const Model::SetIdentityPoolRolesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetIdentityPoolRolesResponseReceivedHandler;
179 typedef std::function<void(const CognitoIdentityClient*, const Model::SetPrincipalTagAttributeMapRequest&, const Model::SetPrincipalTagAttributeMapOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SetPrincipalTagAttributeMapResponseReceivedHandler;
180 typedef std::function<void(const CognitoIdentityClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler;
181 typedef std::function<void(const CognitoIdentityClient*, const Model::UnlinkDeveloperIdentityRequest&, const Model::UnlinkDeveloperIdentityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UnlinkDeveloperIdentityResponseReceivedHandler;
182 typedef std::function<void(const CognitoIdentityClient*, const Model::UnlinkIdentityRequest&, const Model::UnlinkIdentityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UnlinkIdentityResponseReceivedHandler;
183 typedef std::function<void(const CognitoIdentityClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UntagResourceResponseReceivedHandler;
184 typedef std::function<void(const CognitoIdentityClient*, const Model::UpdateIdentityPoolRequest&, const Model::UpdateIdentityPoolOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateIdentityPoolResponseReceivedHandler;
185 /* End of service model async handlers definitions */
186 } // namespace CognitoIdentity
187} // namespace Aws
EndpointProviderBase< CognitoIdentityClientConfiguration, CognitoIdentityBuiltInParameters, CognitoIdentityClientContextParameters > CognitoIdentityEndpointProviderBase
std::future< DescribeIdentityPoolOutcome > DescribeIdentityPoolOutcomeCallable
Aws::Utils::Outcome< Aws::NoResult, CognitoIdentityError > DeleteIdentityPoolOutcome
Aws::Utils::Outcome< GetOpenIdTokenForDeveloperIdentityResult, CognitoIdentityError > GetOpenIdTokenForDeveloperIdentityOutcome
Aws::Utils::Outcome< Aws::NoResult, CognitoIdentityError > SetIdentityPoolRolesOutcome
Aws::Utils::Outcome< Aws::NoResult, CognitoIdentityError > UnlinkDeveloperIdentityOutcome
std::future< UnlinkDeveloperIdentityOutcome > UnlinkDeveloperIdentityOutcomeCallable
Aws::Utils::Outcome< DeleteIdentitiesResult, CognitoIdentityError > DeleteIdentitiesOutcome
Aws::Utils::Outcome< MergeDeveloperIdentitiesResult, CognitoIdentityError > MergeDeveloperIdentitiesOutcome
std::future< DeleteIdentitiesOutcome > DeleteIdentitiesOutcomeCallable
std::future< GetOpenIdTokenOutcome > GetOpenIdTokenOutcomeCallable
std::future< GetOpenIdTokenForDeveloperIdentityOutcome > GetOpenIdTokenForDeveloperIdentityOutcomeCallable
std::future< SetPrincipalTagAttributeMapOutcome > SetPrincipalTagAttributeMapOutcomeCallable
std::future< GetIdOutcome > GetIdOutcomeCallable
Aws::Utils::Outcome< UpdateIdentityPoolResult, CognitoIdentityError > UpdateIdentityPoolOutcome
Aws::Utils::Outcome< GetIdentityPoolRolesResult, CognitoIdentityError > GetIdentityPoolRolesOutcome
Aws::Utils::Outcome< GetCredentialsForIdentityResult, CognitoIdentityError > GetCredentialsForIdentityOutcome
std::future< UnlinkIdentityOutcome > UnlinkIdentityOutcomeCallable
Aws::Utils::Outcome< ListTagsForResourceResult, CognitoIdentityError > ListTagsForResourceOutcome
Aws::Utils::Outcome< ListIdentityPoolsResult, CognitoIdentityError > ListIdentityPoolsOutcome
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< ListIdentitiesOutcome > ListIdentitiesOutcomeCallable
std::future< GetCredentialsForIdentityOutcome > GetCredentialsForIdentityOutcomeCallable
std::future< CreateIdentityPoolOutcome > CreateIdentityPoolOutcomeCallable
std::future< DescribeIdentityOutcome > DescribeIdentityOutcomeCallable
Aws::Utils::Outcome< GetPrincipalTagAttributeMapResult, CognitoIdentityError > GetPrincipalTagAttributeMapOutcome
std::future< GetIdentityPoolRolesOutcome > GetIdentityPoolRolesOutcomeCallable
std::future< MergeDeveloperIdentitiesOutcome > MergeDeveloperIdentitiesOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< SetIdentityPoolRolesOutcome > SetIdentityPoolRolesOutcomeCallable
Aws::Utils::Outcome< GetIdResult, CognitoIdentityError > GetIdOutcome
Aws::Utils::Outcome< DescribeIdentityResult, CognitoIdentityError > DescribeIdentityOutcome
Aws::Utils::Outcome< UntagResourceResult, CognitoIdentityError > UntagResourceOutcome
std::future< GetPrincipalTagAttributeMapOutcome > GetPrincipalTagAttributeMapOutcomeCallable
Aws::Utils::Outcome< DescribeIdentityPoolResult, CognitoIdentityError > DescribeIdentityPoolOutcome
std::future< LookupDeveloperIdentityOutcome > LookupDeveloperIdentityOutcomeCallable
Aws::Utils::Outcome< TagResourceResult, CognitoIdentityError > TagResourceOutcome
Aws::Utils::Outcome< SetPrincipalTagAttributeMapResult, CognitoIdentityError > SetPrincipalTagAttributeMapOutcome
std::future< DeleteIdentityPoolOutcome > DeleteIdentityPoolOutcomeCallable
std::future< ListIdentityPoolsOutcome > ListIdentityPoolsOutcomeCallable
std::future< UpdateIdentityPoolOutcome > UpdateIdentityPoolOutcomeCallable
Aws::Utils::Outcome< CreateIdentityPoolResult, CognitoIdentityError > CreateIdentityPoolOutcome
Aws::Utils::Outcome< LookupDeveloperIdentityResult, CognitoIdentityError > LookupDeveloperIdentityOutcome
Aws::Utils::Outcome< ListIdentitiesResult, CognitoIdentityError > ListIdentitiesOutcome
Aws::Utils::Outcome< GetOpenIdTokenResult, CognitoIdentityError > GetOpenIdTokenOutcome
Aws::Utils::Outcome< Aws::NoResult, CognitoIdentityError > UnlinkIdentityOutcome
std::function< void(const CognitoIdentityClient *, const Model::UnlinkDeveloperIdentityRequest &, const Model::UnlinkDeveloperIdentityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UnlinkDeveloperIdentityResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::DescribeIdentityPoolRequest &, const Model::DescribeIdentityPoolOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeIdentityPoolResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::DescribeIdentityRequest &, const Model::DescribeIdentityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeIdentityResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::GetIdRequest &, const Model::GetIdOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetIdResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::LookupDeveloperIdentityRequest &, const Model::LookupDeveloperIdentityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > LookupDeveloperIdentityResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::DeleteIdentityPoolRequest &, const Model::DeleteIdentityPoolOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteIdentityPoolResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::DeleteIdentitiesRequest &, const Model::DeleteIdentitiesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteIdentitiesResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::SetIdentityPoolRolesRequest &, const Model::SetIdentityPoolRolesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetIdentityPoolRolesResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::GetCredentialsForIdentityRequest &, const Model::GetCredentialsForIdentityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetCredentialsForIdentityResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::CreateIdentityPoolRequest &, const Model::CreateIdentityPoolOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateIdentityPoolResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::GetOpenIdTokenRequest &, const Model::GetOpenIdTokenOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetOpenIdTokenResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::UpdateIdentityPoolRequest &, const Model::UpdateIdentityPoolOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateIdentityPoolResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::GetPrincipalTagAttributeMapRequest &, const Model::GetPrincipalTagAttributeMapOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetPrincipalTagAttributeMapResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::SetPrincipalTagAttributeMapRequest &, const Model::SetPrincipalTagAttributeMapOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SetPrincipalTagAttributeMapResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::UnlinkIdentityRequest &, const Model::UnlinkIdentityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UnlinkIdentityResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::GetOpenIdTokenForDeveloperIdentityRequest &, const Model::GetOpenIdTokenForDeveloperIdentityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetOpenIdTokenForDeveloperIdentityResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::MergeDeveloperIdentitiesRequest &, const Model::MergeDeveloperIdentitiesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > MergeDeveloperIdentitiesResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::ListIdentitiesRequest &, const Model::ListIdentitiesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListIdentitiesResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::ListIdentityPoolsRequest &, const Model::ListIdentityPoolsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListIdentityPoolsResponseReceivedHandler
std::function< void(const CognitoIdentityClient *, const Model::GetIdentityPoolRolesRequest &, const Model::GetIdentityPoolRolesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetIdentityPoolRolesResponseReceivedHandler