7#include <aws/cognito-identity/CognitoIdentityRequest.h>
8#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
9#include <aws/cognito-identity/model/CognitoIdentityProvider.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace CognitoIdentity {
45 template <
typename IdentityPoolNameT = Aws::String>
47 m_identityPoolNameHasBeenSet =
true;
48 m_identityPoolName = std::forward<IdentityPoolNameT>(value);
50 template <
typename IdentityPoolNameT = Aws::String>
64 m_allowUnauthenticatedIdentitiesHasBeenSet =
true;
65 m_allowUnauthenticatedIdentities = value;
84 m_allowClassicFlowHasBeenSet =
true;
85 m_allowClassicFlow = value;
99 template <
typename SupportedLoginProv
idersT = Aws::Map<Aws::String, Aws::String>>
101 m_supportedLoginProvidersHasBeenSet =
true;
102 m_supportedLoginProviders = std::forward<SupportedLoginProvidersT>(value);
104 template <
typename SupportedLoginProv
idersT = Aws::Map<Aws::String, Aws::String>>
109 template <
typename SupportedLoginProv
idersKeyT = Aws::String,
typename SupportedLoginProv
idersValueT = Aws::String>
111 m_supportedLoginProvidersHasBeenSet =
true;
112 m_supportedLoginProviders.emplace(std::forward<SupportedLoginProvidersKeyT>(key), std::forward<SupportedLoginProvidersValueT>(value));
128 template <
typename DeveloperProv
iderNameT = Aws::String>
130 m_developerProviderNameHasBeenSet =
true;
131 m_developerProviderName = std::forward<DeveloperProviderNameT>(value);
133 template <
typename DeveloperProv
iderNameT = Aws::String>
146 template <
typename OpenIdConnectProv
iderARNsT = Aws::Vector<Aws::String>>
148 m_openIdConnectProviderARNsHasBeenSet =
true;
149 m_openIdConnectProviderARNs = std::forward<OpenIdConnectProviderARNsT>(value);
151 template <
typename OpenIdConnectProv
iderARNsT = Aws::Vector<Aws::String>>
156 template <
typename OpenIdConnectProv
iderARNsT = Aws::String>
158 m_openIdConnectProviderARNsHasBeenSet =
true;
159 m_openIdConnectProviderARNs.emplace_back(std::forward<OpenIdConnectProviderARNsT>(value));
170 template <
typename CognitoIdentityProv
idersT = Aws::Vector<CognitoIdentityProv
ider>>
172 m_cognitoIdentityProvidersHasBeenSet =
true;
173 m_cognitoIdentityProviders = std::forward<CognitoIdentityProvidersT>(value);
175 template <
typename CognitoIdentityProv
idersT = Aws::Vector<CognitoIdentityProv
ider>>
180 template <
typename CognitoIdentityProv
idersT = CognitoIdentityProv
ider>
182 m_cognitoIdentityProvidersHasBeenSet =
true;
183 m_cognitoIdentityProviders.emplace_back(std::forward<CognitoIdentityProvidersT>(value));
195 template <
typename SamlProv
iderARNsT = Aws::Vector<Aws::String>>
197 m_samlProviderARNsHasBeenSet =
true;
198 m_samlProviderARNs = std::forward<SamlProviderARNsT>(value);
200 template <
typename SamlProv
iderARNsT = Aws::Vector<Aws::String>>
205 template <
typename SamlProv
iderARNsT = Aws::String>
207 m_samlProviderARNsHasBeenSet =
true;
208 m_samlProviderARNs.emplace_back(std::forward<SamlProviderARNsT>(value));
221 template <
typename IdentityPoolTagsT = Aws::Map<Aws::String, Aws::String>>
223 m_identityPoolTagsHasBeenSet =
true;
224 m_identityPoolTags = std::forward<IdentityPoolTagsT>(value);
226 template <
typename IdentityPoolTagsT = Aws::Map<Aws::String, Aws::String>>
231 template <
typename IdentityPoolTagsKeyT = Aws::String,
typename IdentityPoolTagsValueT = Aws::String>
233 m_identityPoolTagsHasBeenSet =
true;
234 m_identityPoolTags.emplace(std::forward<IdentityPoolTagsKeyT>(key), std::forward<IdentityPoolTagsValueT>(value));
241 bool m_allowUnauthenticatedIdentities{
false};
243 bool m_allowClassicFlow{
false};
256 bool m_identityPoolNameHasBeenSet =
false;
257 bool m_allowUnauthenticatedIdentitiesHasBeenSet =
false;
258 bool m_allowClassicFlowHasBeenSet =
false;
259 bool m_supportedLoginProvidersHasBeenSet =
false;
260 bool m_developerProviderNameHasBeenSet =
false;
261 bool m_openIdConnectProviderARNsHasBeenSet =
false;
262 bool m_cognitoIdentityProvidersHasBeenSet =
false;
263 bool m_samlProviderARNsHasBeenSet =
false;
264 bool m_identityPoolTagsHasBeenSet =
false;
bool AllowClassicFlowHasBeenSet() const
CreateIdentityPoolRequest & AddCognitoIdentityProviders(CognitoIdentityProvidersT &&value)
CreateIdentityPoolRequest & WithDeveloperProviderName(DeveloperProviderNameT &&value)
CreateIdentityPoolRequest & WithSamlProviderARNs(SamlProviderARNsT &&value)
const Aws::String & GetIdentityPoolName() const
const Aws::Vector< Aws::String > & GetOpenIdConnectProviderARNs() const
bool CognitoIdentityProvidersHasBeenSet() const
void SetCognitoIdentityProviders(CognitoIdentityProvidersT &&value)
void SetOpenIdConnectProviderARNs(OpenIdConnectProviderARNsT &&value)
CreateIdentityPoolRequest & WithAllowUnauthenticatedIdentities(bool value)
void SetSamlProviderARNs(SamlProviderARNsT &&value)
bool IdentityPoolTagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool DeveloperProviderNameHasBeenSet() const
void SetIdentityPoolName(IdentityPoolNameT &&value)
CreateIdentityPoolRequest & WithAllowClassicFlow(bool value)
bool SupportedLoginProvidersHasBeenSet() const
void SetAllowUnauthenticatedIdentities(bool value)
const Aws::String & GetDeveloperProviderName() const
CreateIdentityPoolRequest & WithIdentityPoolName(IdentityPoolNameT &&value)
AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetIdentityPoolTags() const
CreateIdentityPoolRequest & WithCognitoIdentityProviders(CognitoIdentityProvidersT &&value)
void SetIdentityPoolTags(IdentityPoolTagsT &&value)
bool IdentityPoolNameHasBeenSet() const
bool GetAllowClassicFlow() const
void SetAllowClassicFlow(bool value)
bool OpenIdConnectProviderARNsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetSupportedLoginProviders() const
AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateIdentityPoolRequest & AddOpenIdConnectProviderARNs(OpenIdConnectProviderARNsT &&value)
CreateIdentityPoolRequest & AddSamlProviderARNs(SamlProviderARNsT &&value)
void SetDeveloperProviderName(DeveloperProviderNameT &&value)
CreateIdentityPoolRequest & AddIdentityPoolTags(IdentityPoolTagsKeyT &&key, IdentityPoolTagsValueT &&value)
CreateIdentityPoolRequest & WithSupportedLoginProviders(SupportedLoginProvidersT &&value)
void SetSupportedLoginProviders(SupportedLoginProvidersT &&value)
bool AllowUnauthenticatedIdentitiesHasBeenSet() const
AWS_COGNITOIDENTITY_API CreateIdentityPoolRequest()=default
CreateIdentityPoolRequest & WithIdentityPoolTags(IdentityPoolTagsT &&value)
CreateIdentityPoolRequest & AddSupportedLoginProviders(SupportedLoginProvidersKeyT &&key, SupportedLoginProvidersValueT &&value)
const Aws::Vector< CognitoIdentityProvider > & GetCognitoIdentityProviders() const
CreateIdentityPoolRequest & WithOpenIdConnectProviderARNs(OpenIdConnectProviderARNsT &&value)
bool GetAllowUnauthenticatedIdentities() const
bool SamlProviderARNsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSamlProviderARNs() const
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