7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cognito-idp/model/TokenValidityUnitsType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cognito-idp/model/AnalyticsConfigurationType.h>
13#include <aws/cognito-idp/model/PreventUserExistenceErrorTypes.h>
14#include <aws/cognito-idp/model/RefreshTokenRotationType.h>
15#include <aws/cognito-idp/model/ExplicitAuthFlowsType.h>
16#include <aws/cognito-idp/model/OAuthFlowType.h>
21namespace CognitoIdentityProvider
54 template<
typename UserPoolIdT = Aws::String>
55 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet =
true; m_userPoolId = std::forward<UserPoolIdT>(value); }
56 template<
typename UserPoolIdT = Aws::String>
66 template<
typename ClientIdT = Aws::String>
67 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet =
true; m_clientId = std::forward<ClientIdT>(value); }
68 template<
typename ClientIdT = Aws::String>
78 template<
typename ClientNameT = Aws::String>
79 void SetClientName(ClientNameT&& value) { m_clientNameHasBeenSet =
true; m_clientName = std::forward<ClientNameT>(value); }
80 template<
typename ClientNameT = Aws::String>
143 inline void SetIdTokenValidity(
int value) { m_idTokenValidityHasBeenSet =
true; m_idTokenValidity = value; }
154 template<
typename TokenVal
idityUnitsT = TokenVal
idityUnitsType>
155 void SetTokenValidityUnits(TokenValidityUnitsT&& value) { m_tokenValidityUnitsHasBeenSet =
true; m_tokenValidityUnits = std::forward<TokenValidityUnitsT>(value); }
156 template<
typename TokenVal
idityUnitsT = TokenVal
idityUnitsType>
175 template<
typename ReadAttributesT = Aws::Vector<Aws::String>>
176 void SetReadAttributes(ReadAttributesT&& value) { m_readAttributesHasBeenSet =
true; m_readAttributes = std::forward<ReadAttributesT>(value); }
177 template<
typename ReadAttributesT = Aws::Vector<Aws::String>>
179 template<
typename ReadAttributesT = Aws::String>
204 template<
typename WriteAttributesT = Aws::Vector<Aws::String>>
205 void SetWriteAttributes(WriteAttributesT&& value) { m_writeAttributesHasBeenSet =
true; m_writeAttributes = std::forward<WriteAttributesT>(value); }
206 template<
typename WriteAttributesT = Aws::Vector<Aws::String>>
208 template<
typename WriteAttributesT = Aws::String>
257 template<
typename ExplicitAuthFlowsT = Aws::Vector<ExplicitAuthFlowsType>>
258 void SetExplicitAuthFlows(ExplicitAuthFlowsT&& value) { m_explicitAuthFlowsHasBeenSet =
true; m_explicitAuthFlows = std::forward<ExplicitAuthFlowsT>(value); }
259 template<
typename ExplicitAuthFlowsT = Aws::Vector<ExplicitAuthFlowsType>>
282 template<
typename SupportedIdentityProv
idersT = Aws::Vector<Aws::String>>
283 void SetSupportedIdentityProviders(SupportedIdentityProvidersT&& value) { m_supportedIdentityProvidersHasBeenSet =
true; m_supportedIdentityProviders = std::forward<SupportedIdentityProvidersT>(value); }
284 template<
typename SupportedIdentityProv
idersT = Aws::Vector<Aws::String>>
286 template<
typename SupportedIdentityProv
idersT = Aws::String>
309 template<
typename CallbackURLsT = Aws::Vector<Aws::String>>
310 void SetCallbackURLs(CallbackURLsT&& value) { m_callbackURLsHasBeenSet =
true; m_callbackURLs = std::forward<CallbackURLsT>(value); }
311 template<
typename CallbackURLsT = Aws::Vector<Aws::String>>
313 template<
typename CallbackURLsT = Aws::String>
331 template<
typename LogoutURLsT = Aws::Vector<Aws::String>>
332 void SetLogoutURLs(LogoutURLsT&& value) { m_logoutURLsHasBeenSet =
true; m_logoutURLs = std::forward<LogoutURLsT>(value); }
333 template<
typename LogoutURLsT = Aws::Vector<Aws::String>>
335 template<
typename LogoutURLsT = Aws::String>
347 template<
typename DefaultRedirectURIT = Aws::String>
348 void SetDefaultRedirectURI(DefaultRedirectURIT&& value) { m_defaultRedirectURIHasBeenSet =
true; m_defaultRedirectURI = std::forward<DefaultRedirectURIT>(value); }
349 template<
typename DefaultRedirectURIT = Aws::String>
368 template<
typename AllowedOAuthFlowsT = Aws::Vector<OAuthFlowType>>
369 void SetAllowedOAuthFlows(AllowedOAuthFlowsT&& value) { m_allowedOAuthFlowsHasBeenSet =
true; m_allowedOAuthFlows = std::forward<AllowedOAuthFlowsT>(value); }
370 template<
typename AllowedOAuthFlowsT = Aws::Vector<OAuthFlowType>>
388 template<
typename AllowedOAuthScopesT = Aws::Vector<Aws::String>>
389 void SetAllowedOAuthScopes(AllowedOAuthScopesT&& value) { m_allowedOAuthScopesHasBeenSet =
true; m_allowedOAuthScopes = std::forward<AllowedOAuthScopesT>(value); }
390 template<
typename AllowedOAuthScopesT = Aws::Vector<Aws::String>>
392 template<
typename AllowedOAuthScopesT = Aws::String>
432 template<
typename AnalyticsConfigurationT = AnalyticsConfigurationType>
433 void SetAnalyticsConfiguration(AnalyticsConfigurationT&& value) { m_analyticsConfigurationHasBeenSet =
true; m_analyticsConfiguration = std::forward<AnalyticsConfigurationT>(value); }
434 template<
typename AnalyticsConfigurationT = AnalyticsConfigurationType>
510 template<
typename RefreshTokenRotationT = RefreshTokenRotationType>
511 void SetRefreshTokenRotation(RefreshTokenRotationT&& value) { m_refreshTokenRotationHasBeenSet =
true; m_refreshTokenRotation = std::forward<RefreshTokenRotationT>(value); }
512 template<
typename RefreshTokenRotationT = RefreshTokenRotationType>
518 bool m_userPoolIdHasBeenSet =
false;
521 bool m_clientIdHasBeenSet =
false;
524 bool m_clientNameHasBeenSet =
false;
526 int m_refreshTokenValidity{0};
527 bool m_refreshTokenValidityHasBeenSet =
false;
529 int m_accessTokenValidity{0};
530 bool m_accessTokenValidityHasBeenSet =
false;
532 int m_idTokenValidity{0};
533 bool m_idTokenValidityHasBeenSet =
false;
535 TokenValidityUnitsType m_tokenValidityUnits;
536 bool m_tokenValidityUnitsHasBeenSet =
false;
539 bool m_readAttributesHasBeenSet =
false;
542 bool m_writeAttributesHasBeenSet =
false;
545 bool m_explicitAuthFlowsHasBeenSet =
false;
548 bool m_supportedIdentityProvidersHasBeenSet =
false;
551 bool m_callbackURLsHasBeenSet =
false;
554 bool m_logoutURLsHasBeenSet =
false;
557 bool m_defaultRedirectURIHasBeenSet =
false;
560 bool m_allowedOAuthFlowsHasBeenSet =
false;
563 bool m_allowedOAuthScopesHasBeenSet =
false;
565 bool m_allowedOAuthFlowsUserPoolClient{
false};
566 bool m_allowedOAuthFlowsUserPoolClientHasBeenSet =
false;
568 AnalyticsConfigurationType m_analyticsConfiguration;
569 bool m_analyticsConfigurationHasBeenSet =
false;
572 bool m_preventUserExistenceErrorsHasBeenSet =
false;
574 bool m_enableTokenRevocation{
false};
575 bool m_enableTokenRevocationHasBeenSet =
false;
577 bool m_enablePropagateAdditionalUserContextData{
false};
578 bool m_enablePropagateAdditionalUserContextDataHasBeenSet =
false;
580 int m_authSessionValidity{0};
581 bool m_authSessionValidityHasBeenSet =
false;
583 RefreshTokenRotationType m_refreshTokenRotation;
584 bool m_refreshTokenRotationHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetLogoutURLs() const
bool GetEnableTokenRevocation() const
bool AnalyticsConfigurationHasBeenSet() const
bool IdTokenValidityHasBeenSet() const
const Aws::String & GetClientName() const
UpdateUserPoolClientRequest & WithExplicitAuthFlows(ExplicitAuthFlowsT &&value)
UpdateUserPoolClientRequest & AddReadAttributes(ReadAttributesT &&value)
const TokenValidityUnitsType & GetTokenValidityUnits() const
void SetAllowedOAuthScopes(AllowedOAuthScopesT &&value)
UpdateUserPoolClientRequest & WithTokenValidityUnits(TokenValidityUnitsT &&value)
const RefreshTokenRotationType & GetRefreshTokenRotation() const
bool RefreshTokenRotationHasBeenSet() const
bool PreventUserExistenceErrorsHasBeenSet() const
UpdateUserPoolClientRequest & WithAllowedOAuthFlowsUserPoolClient(bool value)
int GetRefreshTokenValidity() const
void SetWriteAttributes(WriteAttributesT &&value)
UpdateUserPoolClientRequest & AddSupportedIdentityProviders(SupportedIdentityProvidersT &&value)
void SetExplicitAuthFlows(ExplicitAuthFlowsT &&value)
UpdateUserPoolClientRequest & WithRefreshTokenValidity(int value)
UpdateUserPoolClientRequest & WithAllowedOAuthScopes(AllowedOAuthScopesT &&value)
const Aws::Vector< Aws::String > & GetAllowedOAuthScopes() const
bool GetEnablePropagateAdditionalUserContextData() const
void SetRefreshTokenRotation(RefreshTokenRotationT &&value)
void SetAuthSessionValidity(int value)
UpdateUserPoolClientRequest & WithWriteAttributes(WriteAttributesT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
bool CallbackURLsHasBeenSet() const
void SetAllowedOAuthFlows(AllowedOAuthFlowsT &&value)
const Aws::String & GetDefaultRedirectURI() const
void SetEnableTokenRevocation(bool value)
UpdateUserPoolClientRequest & WithReadAttributes(ReadAttributesT &&value)
bool WriteAttributesHasBeenSet() const
UpdateUserPoolClientRequest & WithAccessTokenValidity(int value)
UpdateUserPoolClientRequest & WithRefreshTokenRotation(RefreshTokenRotationT &&value)
void SetEnablePropagateAdditionalUserContextData(bool value)
UpdateUserPoolClientRequest & WithDefaultRedirectURI(DefaultRedirectURIT &&value)
void SetDefaultRedirectURI(DefaultRedirectURIT &&value)
const Aws::Vector< ExplicitAuthFlowsType > & GetExplicitAuthFlows() const
const Aws::Vector< Aws::String > & GetWriteAttributes() const
bool AuthSessionValidityHasBeenSet() const
UpdateUserPoolClientRequest & WithCallbackURLs(CallbackURLsT &&value)
bool AllowedOAuthScopesHasBeenSet() const
void SetAnalyticsConfiguration(AnalyticsConfigurationT &&value)
void SetLogoutURLs(LogoutURLsT &&value)
bool LogoutURLsHasBeenSet() const
void SetRefreshTokenValidity(int value)
UpdateUserPoolClientRequest & AddWriteAttributes(WriteAttributesT &&value)
UpdateUserPoolClientRequest & AddAllowedOAuthScopes(AllowedOAuthScopesT &&value)
bool GetAllowedOAuthFlowsUserPoolClient() const
bool ReadAttributesHasBeenSet() const
bool AccessTokenValidityHasBeenSet() const
int GetIdTokenValidity() const
void SetClientId(ClientIdT &&value)
UpdateUserPoolClientRequest & AddAllowedOAuthFlows(OAuthFlowType value)
UpdateUserPoolClientRequest & WithLogoutURLs(LogoutURLsT &&value)
UpdateUserPoolClientRequest & WithAuthSessionValidity(int value)
bool EnablePropagateAdditionalUserContextDataHasBeenSet() const
bool RefreshTokenValidityHasBeenSet() const
bool EnableTokenRevocationHasBeenSet() const
void SetReadAttributes(ReadAttributesT &&value)
UpdateUserPoolClientRequest & AddExplicitAuthFlows(ExplicitAuthFlowsType value)
const Aws::String & GetUserPoolId() const
UpdateUserPoolClientRequest & WithAnalyticsConfiguration(AnalyticsConfigurationT &&value)
void SetAccessTokenValidity(int value)
virtual const char * GetServiceRequestName() const override
bool AllowedOAuthFlowsUserPoolClientHasBeenSet() const
bool DefaultRedirectURIHasBeenSet() const
const Aws::Vector< Aws::String > & GetSupportedIdentityProviders() const
void SetPreventUserExistenceErrors(PreventUserExistenceErrorTypes value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool TokenValidityUnitsHasBeenSet() const
int GetAuthSessionValidity() const
UpdateUserPoolClientRequest & WithAllowedOAuthFlows(AllowedOAuthFlowsT &&value)
UpdateUserPoolClientRequest & WithSupportedIdentityProviders(SupportedIdentityProvidersT &&value)
void SetIdTokenValidity(int value)
bool SupportedIdentityProvidersHasBeenSet() const
void SetUserPoolId(UserPoolIdT &&value)
UpdateUserPoolClientRequest & WithEnableTokenRevocation(bool value)
void SetSupportedIdentityProviders(SupportedIdentityProvidersT &&value)
PreventUserExistenceErrorTypes GetPreventUserExistenceErrors() const
UpdateUserPoolClientRequest & WithPreventUserExistenceErrors(PreventUserExistenceErrorTypes value)
UpdateUserPoolClientRequest & WithEnablePropagateAdditionalUserContextData(bool value)
const Aws::Vector< Aws::String > & GetCallbackURLs() const
AWS_COGNITOIDENTITYPROVIDER_API UpdateUserPoolClientRequest()=default
UpdateUserPoolClientRequest & WithClientName(ClientNameT &&value)
UpdateUserPoolClientRequest & AddLogoutURLs(LogoutURLsT &&value)
const Aws::Vector< Aws::String > & GetReadAttributes() const
void SetCallbackURLs(CallbackURLsT &&value)
bool UserPoolIdHasBeenSet() const
bool ClientNameHasBeenSet() const
UpdateUserPoolClientRequest & WithIdTokenValidity(int value)
const AnalyticsConfigurationType & GetAnalyticsConfiguration() const
UpdateUserPoolClientRequest & WithClientId(ClientIdT &&value)
bool AllowedOAuthFlowsHasBeenSet() const
void SetClientName(ClientNameT &&value)
bool ExplicitAuthFlowsHasBeenSet() const
const Aws::Vector< OAuthFlowType > & GetAllowedOAuthFlows() const
UpdateUserPoolClientRequest & AddCallbackURLs(CallbackURLsT &&value)
void SetAllowedOAuthFlowsUserPoolClient(bool value)
bool ClientIdHasBeenSet() const
int GetAccessTokenValidity() const
UpdateUserPoolClientRequest & WithUserPoolId(UserPoolIdT &&value)
const Aws::String & GetClientId() const
void SetTokenValidityUnits(TokenValidityUnitsT &&value)
PreventUserExistenceErrorTypes
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector