AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateIdentityPoolRequest.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/cognito-identity/CognitoIdentityRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cognito-identity/model/CognitoIdentityProvider.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CognitoIdentity
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_COGNITOIDENTITY_API UpdateIdentityPoolRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateIdentityPool"; }
38
39 AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override;
40
41 AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
48 inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
49 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
50 inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
51 inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
52 inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
53 inline UpdateIdentityPoolRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
54 inline UpdateIdentityPoolRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
55 inline UpdateIdentityPoolRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
57
59
62 inline const Aws::String& GetIdentityPoolName() const{ return m_identityPoolName; }
63 inline bool IdentityPoolNameHasBeenSet() const { return m_identityPoolNameHasBeenSet; }
64 inline void SetIdentityPoolName(const Aws::String& value) { m_identityPoolNameHasBeenSet = true; m_identityPoolName = value; }
65 inline void SetIdentityPoolName(Aws::String&& value) { m_identityPoolNameHasBeenSet = true; m_identityPoolName = std::move(value); }
66 inline void SetIdentityPoolName(const char* value) { m_identityPoolNameHasBeenSet = true; m_identityPoolName.assign(value); }
68 inline UpdateIdentityPoolRequest& WithIdentityPoolName(Aws::String&& value) { SetIdentityPoolName(std::move(value)); return *this;}
69 inline UpdateIdentityPoolRequest& WithIdentityPoolName(const char* value) { SetIdentityPoolName(value); return *this;}
71
73
76 inline bool GetAllowUnauthenticatedIdentities() const{ return m_allowUnauthenticatedIdentities; }
77 inline bool AllowUnauthenticatedIdentitiesHasBeenSet() const { return m_allowUnauthenticatedIdentitiesHasBeenSet; }
78 inline void SetAllowUnauthenticatedIdentities(bool value) { m_allowUnauthenticatedIdentitiesHasBeenSet = true; m_allowUnauthenticatedIdentities = value; }
81
83
90 inline bool GetAllowClassicFlow() const{ return m_allowClassicFlow; }
91 inline bool AllowClassicFlowHasBeenSet() const { return m_allowClassicFlowHasBeenSet; }
92 inline void SetAllowClassicFlow(bool value) { m_allowClassicFlowHasBeenSet = true; m_allowClassicFlow = value; }
93 inline UpdateIdentityPoolRequest& WithAllowClassicFlow(bool value) { SetAllowClassicFlow(value); return *this;}
95
97
100 inline const Aws::Map<Aws::String, Aws::String>& GetSupportedLoginProviders() const{ return m_supportedLoginProviders; }
101 inline bool SupportedLoginProvidersHasBeenSet() const { return m_supportedLoginProvidersHasBeenSet; }
102 inline void SetSupportedLoginProviders(const Aws::Map<Aws::String, Aws::String>& value) { m_supportedLoginProvidersHasBeenSet = true; m_supportedLoginProviders = value; }
103 inline void SetSupportedLoginProviders(Aws::Map<Aws::String, Aws::String>&& value) { m_supportedLoginProvidersHasBeenSet = true; m_supportedLoginProviders = std::move(value); }
106 inline UpdateIdentityPoolRequest& AddSupportedLoginProviders(const Aws::String& key, const Aws::String& value) { m_supportedLoginProvidersHasBeenSet = true; m_supportedLoginProviders.emplace(key, value); return *this; }
107 inline UpdateIdentityPoolRequest& AddSupportedLoginProviders(Aws::String&& key, const Aws::String& value) { m_supportedLoginProvidersHasBeenSet = true; m_supportedLoginProviders.emplace(std::move(key), value); return *this; }
108 inline UpdateIdentityPoolRequest& AddSupportedLoginProviders(const Aws::String& key, Aws::String&& value) { m_supportedLoginProvidersHasBeenSet = true; m_supportedLoginProviders.emplace(key, std::move(value)); return *this; }
109 inline UpdateIdentityPoolRequest& AddSupportedLoginProviders(Aws::String&& key, Aws::String&& value) { m_supportedLoginProvidersHasBeenSet = true; m_supportedLoginProviders.emplace(std::move(key), std::move(value)); return *this; }
110 inline UpdateIdentityPoolRequest& AddSupportedLoginProviders(const char* key, Aws::String&& value) { m_supportedLoginProvidersHasBeenSet = true; m_supportedLoginProviders.emplace(key, std::move(value)); return *this; }
111 inline UpdateIdentityPoolRequest& AddSupportedLoginProviders(Aws::String&& key, const char* value) { m_supportedLoginProvidersHasBeenSet = true; m_supportedLoginProviders.emplace(std::move(key), value); return *this; }
112 inline UpdateIdentityPoolRequest& AddSupportedLoginProviders(const char* key, const char* value) { m_supportedLoginProvidersHasBeenSet = true; m_supportedLoginProviders.emplace(key, value); return *this; }
114
116
119 inline const Aws::String& GetDeveloperProviderName() const{ return m_developerProviderName; }
120 inline bool DeveloperProviderNameHasBeenSet() const { return m_developerProviderNameHasBeenSet; }
121 inline void SetDeveloperProviderName(const Aws::String& value) { m_developerProviderNameHasBeenSet = true; m_developerProviderName = value; }
122 inline void SetDeveloperProviderName(Aws::String&& value) { m_developerProviderNameHasBeenSet = true; m_developerProviderName = std::move(value); }
123 inline void SetDeveloperProviderName(const char* value) { m_developerProviderNameHasBeenSet = true; m_developerProviderName.assign(value); }
126 inline UpdateIdentityPoolRequest& WithDeveloperProviderName(const char* value) { SetDeveloperProviderName(value); return *this;}
128
130
133 inline const Aws::Vector<Aws::String>& GetOpenIdConnectProviderARNs() const{ return m_openIdConnectProviderARNs; }
134 inline bool OpenIdConnectProviderARNsHasBeenSet() const { return m_openIdConnectProviderARNsHasBeenSet; }
135 inline void SetOpenIdConnectProviderARNs(const Aws::Vector<Aws::String>& value) { m_openIdConnectProviderARNsHasBeenSet = true; m_openIdConnectProviderARNs = value; }
136 inline void SetOpenIdConnectProviderARNs(Aws::Vector<Aws::String>&& value) { m_openIdConnectProviderARNsHasBeenSet = true; m_openIdConnectProviderARNs = std::move(value); }
139 inline UpdateIdentityPoolRequest& AddOpenIdConnectProviderARNs(const Aws::String& value) { m_openIdConnectProviderARNsHasBeenSet = true; m_openIdConnectProviderARNs.push_back(value); return *this; }
140 inline UpdateIdentityPoolRequest& AddOpenIdConnectProviderARNs(Aws::String&& value) { m_openIdConnectProviderARNsHasBeenSet = true; m_openIdConnectProviderARNs.push_back(std::move(value)); return *this; }
141 inline UpdateIdentityPoolRequest& AddOpenIdConnectProviderARNs(const char* value) { m_openIdConnectProviderARNsHasBeenSet = true; m_openIdConnectProviderARNs.push_back(value); return *this; }
143
145
148 inline const Aws::Vector<CognitoIdentityProvider>& GetCognitoIdentityProviders() const{ return m_cognitoIdentityProviders; }
149 inline bool CognitoIdentityProvidersHasBeenSet() const { return m_cognitoIdentityProvidersHasBeenSet; }
150 inline void SetCognitoIdentityProviders(const Aws::Vector<CognitoIdentityProvider>& value) { m_cognitoIdentityProvidersHasBeenSet = true; m_cognitoIdentityProviders = value; }
151 inline void SetCognitoIdentityProviders(Aws::Vector<CognitoIdentityProvider>&& value) { m_cognitoIdentityProvidersHasBeenSet = true; m_cognitoIdentityProviders = std::move(value); }
154 inline UpdateIdentityPoolRequest& AddCognitoIdentityProviders(const CognitoIdentityProvider& value) { m_cognitoIdentityProvidersHasBeenSet = true; m_cognitoIdentityProviders.push_back(value); return *this; }
155 inline UpdateIdentityPoolRequest& AddCognitoIdentityProviders(CognitoIdentityProvider&& value) { m_cognitoIdentityProvidersHasBeenSet = true; m_cognitoIdentityProviders.push_back(std::move(value)); return *this; }
157
159
163 inline const Aws::Vector<Aws::String>& GetSamlProviderARNs() const{ return m_samlProviderARNs; }
164 inline bool SamlProviderARNsHasBeenSet() const { return m_samlProviderARNsHasBeenSet; }
165 inline void SetSamlProviderARNs(const Aws::Vector<Aws::String>& value) { m_samlProviderARNsHasBeenSet = true; m_samlProviderARNs = value; }
166 inline void SetSamlProviderARNs(Aws::Vector<Aws::String>&& value) { m_samlProviderARNsHasBeenSet = true; m_samlProviderARNs = std::move(value); }
169 inline UpdateIdentityPoolRequest& AddSamlProviderARNs(const Aws::String& value) { m_samlProviderARNsHasBeenSet = true; m_samlProviderARNs.push_back(value); return *this; }
170 inline UpdateIdentityPoolRequest& AddSamlProviderARNs(Aws::String&& value) { m_samlProviderARNsHasBeenSet = true; m_samlProviderARNs.push_back(std::move(value)); return *this; }
171 inline UpdateIdentityPoolRequest& AddSamlProviderARNs(const char* value) { m_samlProviderARNsHasBeenSet = true; m_samlProviderARNs.push_back(value); return *this; }
173
175
180 inline const Aws::Map<Aws::String, Aws::String>& GetIdentityPoolTags() const{ return m_identityPoolTags; }
181 inline bool IdentityPoolTagsHasBeenSet() const { return m_identityPoolTagsHasBeenSet; }
182 inline void SetIdentityPoolTags(const Aws::Map<Aws::String, Aws::String>& value) { m_identityPoolTagsHasBeenSet = true; m_identityPoolTags = value; }
183 inline void SetIdentityPoolTags(Aws::Map<Aws::String, Aws::String>&& value) { m_identityPoolTagsHasBeenSet = true; m_identityPoolTags = std::move(value); }
186 inline UpdateIdentityPoolRequest& AddIdentityPoolTags(const Aws::String& key, const Aws::String& value) { m_identityPoolTagsHasBeenSet = true; m_identityPoolTags.emplace(key, value); return *this; }
187 inline UpdateIdentityPoolRequest& AddIdentityPoolTags(Aws::String&& key, const Aws::String& value) { m_identityPoolTagsHasBeenSet = true; m_identityPoolTags.emplace(std::move(key), value); return *this; }
188 inline UpdateIdentityPoolRequest& AddIdentityPoolTags(const Aws::String& key, Aws::String&& value) { m_identityPoolTagsHasBeenSet = true; m_identityPoolTags.emplace(key, std::move(value)); return *this; }
189 inline UpdateIdentityPoolRequest& AddIdentityPoolTags(Aws::String&& key, Aws::String&& value) { m_identityPoolTagsHasBeenSet = true; m_identityPoolTags.emplace(std::move(key), std::move(value)); return *this; }
190 inline UpdateIdentityPoolRequest& AddIdentityPoolTags(const char* key, Aws::String&& value) { m_identityPoolTagsHasBeenSet = true; m_identityPoolTags.emplace(key, std::move(value)); return *this; }
191 inline UpdateIdentityPoolRequest& AddIdentityPoolTags(Aws::String&& key, const char* value) { m_identityPoolTagsHasBeenSet = true; m_identityPoolTags.emplace(std::move(key), value); return *this; }
192 inline UpdateIdentityPoolRequest& AddIdentityPoolTags(const char* key, const char* value) { m_identityPoolTagsHasBeenSet = true; m_identityPoolTags.emplace(key, value); return *this; }
194
196
197 inline const Aws::String& GetRequestId() const{ return m_requestId; }
198 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
199 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
200 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
201 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
202 inline UpdateIdentityPoolRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
203 inline UpdateIdentityPoolRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
204 inline UpdateIdentityPoolRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
206 private:
207
208 Aws::String m_identityPoolId;
209 bool m_identityPoolIdHasBeenSet = false;
210
211 Aws::String m_identityPoolName;
212 bool m_identityPoolNameHasBeenSet = false;
213
214 bool m_allowUnauthenticatedIdentities;
215 bool m_allowUnauthenticatedIdentitiesHasBeenSet = false;
216
217 bool m_allowClassicFlow;
218 bool m_allowClassicFlowHasBeenSet = false;
219
220 Aws::Map<Aws::String, Aws::String> m_supportedLoginProviders;
221 bool m_supportedLoginProvidersHasBeenSet = false;
222
223 Aws::String m_developerProviderName;
224 bool m_developerProviderNameHasBeenSet = false;
225
226 Aws::Vector<Aws::String> m_openIdConnectProviderARNs;
227 bool m_openIdConnectProviderARNsHasBeenSet = false;
228
229 Aws::Vector<CognitoIdentityProvider> m_cognitoIdentityProviders;
230 bool m_cognitoIdentityProvidersHasBeenSet = false;
231
232 Aws::Vector<Aws::String> m_samlProviderARNs;
233 bool m_samlProviderARNsHasBeenSet = false;
234
235 Aws::Map<Aws::String, Aws::String> m_identityPoolTags;
236 bool m_identityPoolTagsHasBeenSet = false;
237
238 Aws::String m_requestId;
239 bool m_requestIdHasBeenSet = false;
240 };
241
242} // namespace Model
243} // namespace CognitoIdentity
244} // namespace Aws
UpdateIdentityPoolRequest & WithCognitoIdentityProviders(Aws::Vector< CognitoIdentityProvider > &&value)
void SetSupportedLoginProviders(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIdentityPoolRequest & AddOpenIdConnectProviderARNs(const char *value)
UpdateIdentityPoolRequest & WithIdentityPoolId(Aws::String &&value)
UpdateIdentityPoolRequest & WithIdentityPoolTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< CognitoIdentityProvider > & GetCognitoIdentityProviders() const
UpdateIdentityPoolRequest & WithRequestId(Aws::String &&value)
UpdateIdentityPoolRequest & AddIdentityPoolTags(const char *key, const char *value)
UpdateIdentityPoolRequest & AddIdentityPoolTags(Aws::String &&key, const Aws::String &value)
void SetCognitoIdentityProviders(Aws::Vector< CognitoIdentityProvider > &&value)
UpdateIdentityPoolRequest & WithDeveloperProviderName(Aws::String &&value)
UpdateIdentityPoolRequest & AddSamlProviderARNs(const Aws::String &value)
UpdateIdentityPoolRequest & WithAllowUnauthenticatedIdentities(bool value)
UpdateIdentityPoolRequest & WithIdentityPoolName(const Aws::String &value)
UpdateIdentityPoolRequest & AddSamlProviderARNs(const char *value)
UpdateIdentityPoolRequest & WithIdentityPoolId(const char *value)
UpdateIdentityPoolRequest & AddOpenIdConnectProviderARNs(const Aws::String &value)
UpdateIdentityPoolRequest & WithIdentityPoolName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetSupportedLoginProviders() const
UpdateIdentityPoolRequest & AddIdentityPoolTags(const char *key, Aws::String &&value)
UpdateIdentityPoolRequest & WithOpenIdConnectProviderARNs(const Aws::Vector< Aws::String > &value)
UpdateIdentityPoolRequest & AddOpenIdConnectProviderARNs(Aws::String &&value)
void SetOpenIdConnectProviderARNs(Aws::Vector< Aws::String > &&value)
void SetIdentityPoolTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSamlProviderARNs(const Aws::Vector< Aws::String > &value)
UpdateIdentityPoolRequest & WithRequestId(const char *value)
UpdateIdentityPoolRequest & WithDeveloperProviderName(const Aws::String &value)
UpdateIdentityPoolRequest & AddSupportedLoginProviders(const char *key, const char *value)
UpdateIdentityPoolRequest & WithCognitoIdentityProviders(const Aws::Vector< CognitoIdentityProvider > &value)
void SetCognitoIdentityProviders(const Aws::Vector< CognitoIdentityProvider > &value)
const Aws::Vector< Aws::String > & GetOpenIdConnectProviderARNs() const
UpdateIdentityPoolRequest & AddSupportedLoginProviders(Aws::String &&key, Aws::String &&value)
UpdateIdentityPoolRequest & WithRequestId(const Aws::String &value)
UpdateIdentityPoolRequest & WithSamlProviderARNs(Aws::Vector< Aws::String > &&value)
void SetIdentityPoolTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIdentityPoolRequest & WithIdentityPoolId(const Aws::String &value)
void SetSamlProviderARNs(Aws::Vector< Aws::String > &&value)
UpdateIdentityPoolRequest & AddCognitoIdentityProviders(CognitoIdentityProvider &&value)
const Aws::Map< Aws::String, Aws::String > & GetIdentityPoolTags() const
AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override
UpdateIdentityPoolRequest & WithSupportedLoginProviders(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIdentityPoolRequest & AddSupportedLoginProviders(Aws::String &&key, const Aws::String &value)
AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateIdentityPoolRequest & WithOpenIdConnectProviderARNs(Aws::Vector< Aws::String > &&value)
UpdateIdentityPoolRequest & AddCognitoIdentityProviders(const CognitoIdentityProvider &value)
UpdateIdentityPoolRequest & WithIdentityPoolName(Aws::String &&value)
UpdateIdentityPoolRequest & AddSupportedLoginProviders(const Aws::String &key, Aws::String &&value)
UpdateIdentityPoolRequest & AddIdentityPoolTags(Aws::String &&key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetSamlProviderARNs() const
UpdateIdentityPoolRequest & WithIdentityPoolTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIdentityPoolRequest & AddIdentityPoolTags(const Aws::String &key, const Aws::String &value)
UpdateIdentityPoolRequest & AddSupportedLoginProviders(const Aws::String &key, const Aws::String &value)
void SetSupportedLoginProviders(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIdentityPoolRequest & AddSupportedLoginProviders(Aws::String &&key, const char *value)
UpdateIdentityPoolRequest & AddIdentityPoolTags(Aws::String &&key, const char *value)
UpdateIdentityPoolRequest & WithSupportedLoginProviders(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIdentityPoolRequest & WithSamlProviderARNs(const Aws::Vector< Aws::String > &value)
UpdateIdentityPoolRequest & WithDeveloperProviderName(const char *value)
UpdateIdentityPoolRequest & AddSamlProviderARNs(Aws::String &&value)
UpdateIdentityPoolRequest & AddIdentityPoolTags(const Aws::String &key, Aws::String &&value)
UpdateIdentityPoolRequest & AddSupportedLoginProviders(const char *key, Aws::String &&value)
void SetOpenIdConnectProviderARNs(const Aws::Vector< Aws::String > &value)
UpdateIdentityPoolRequest & WithAllowClassicFlow(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector