7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/cognito-idp/model/AnalyticsConfigurationType.h>
10#include <aws/cognito-idp/model/ExplicitAuthFlowsType.h>
11#include <aws/cognito-idp/model/OAuthFlowType.h>
12#include <aws/cognito-idp/model/PreventUserExistenceErrorTypes.h>
13#include <aws/cognito-idp/model/RefreshTokenRotationType.h>
14#include <aws/cognito-idp/model/TokenValidityUnitsType.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace CognitoIdentityProvider {
50 template <
typename UserPoolIdT = Aws::String>
52 m_userPoolIdHasBeenSet =
true;
53 m_userPoolId = std::forward<UserPoolIdT>(value);
55 template <
typename UserPoolIdT = Aws::String>
68 template <
typename ClientIdT = Aws::String>
70 m_clientIdHasBeenSet =
true;
71 m_clientId = std::forward<ClientIdT>(value);
73 template <
typename ClientIdT = Aws::String>
86 template <
typename ClientNameT = Aws::String>
88 m_clientNameHasBeenSet =
true;
89 m_clientName = std::forward<ClientNameT>(value);
91 template <
typename ClientNameT = Aws::String>
118 m_refreshTokenValidityHasBeenSet =
true;
119 m_refreshTokenValidity = value;
144 m_accessTokenValidityHasBeenSet =
true;
145 m_accessTokenValidity = value;
170 m_idTokenValidityHasBeenSet =
true;
171 m_idTokenValidity = value;
186 template <
typename TokenVal
idityUnitsT = TokenVal
idityUnitsType>
188 m_tokenValidityUnitsHasBeenSet =
true;
189 m_tokenValidityUnits = std::forward<TokenValidityUnitsT>(value);
191 template <
typename TokenVal
idityUnitsT = TokenVal
idityUnitsType>
213 template <
typename ReadAttributesT = Aws::Vector<Aws::String>>
215 m_readAttributesHasBeenSet =
true;
216 m_readAttributes = std::forward<ReadAttributesT>(value);
218 template <
typename ReadAttributesT = Aws::Vector<Aws::String>>
223 template <
typename ReadAttributesT = Aws::String>
225 m_readAttributesHasBeenSet =
true;
226 m_readAttributes.emplace_back(std::forward<ReadAttributesT>(value));
252 template <
typename WriteAttributesT = Aws::Vector<Aws::String>>
254 m_writeAttributesHasBeenSet =
true;
255 m_writeAttributes = std::forward<WriteAttributesT>(value);
257 template <
typename WriteAttributesT = Aws::Vector<Aws::String>>
262 template <
typename WriteAttributesT = Aws::String>
264 m_writeAttributesHasBeenSet =
true;
265 m_writeAttributes.emplace_back(std::forward<WriteAttributesT>(value));
315 template <
typename ExplicitAuthFlowsT = Aws::Vector<ExplicitAuthFlowsType>>
317 m_explicitAuthFlowsHasBeenSet =
true;
318 m_explicitAuthFlows = std::forward<ExplicitAuthFlowsT>(value);
320 template <
typename ExplicitAuthFlowsT = Aws::Vector<ExplicitAuthFlowsType>>
326 m_explicitAuthFlowsHasBeenSet =
true;
327 m_explicitAuthFlows.push_back(value);
350 template <
typename SupportedIdentityProv
idersT = Aws::Vector<Aws::String>>
352 m_supportedIdentityProvidersHasBeenSet =
true;
353 m_supportedIdentityProviders = std::forward<SupportedIdentityProvidersT>(value);
355 template <
typename SupportedIdentityProv
idersT = Aws::Vector<Aws::String>>
360 template <
typename SupportedIdentityProv
idersT = Aws::String>
362 m_supportedIdentityProvidersHasBeenSet =
true;
363 m_supportedIdentityProviders.emplace_back(std::forward<SupportedIdentityProvidersT>(value));
387 template <
typename CallbackURLsT = Aws::Vector<Aws::String>>
389 m_callbackURLsHasBeenSet =
true;
390 m_callbackURLs = std::forward<CallbackURLsT>(value);
392 template <
typename CallbackURLsT = Aws::Vector<Aws::String>>
397 template <
typename CallbackURLsT = Aws::String>
399 m_callbackURLsHasBeenSet =
true;
400 m_callbackURLs.emplace_back(std::forward<CallbackURLsT>(value));
419 template <
typename LogoutURLsT = Aws::Vector<Aws::String>>
421 m_logoutURLsHasBeenSet =
true;
422 m_logoutURLs = std::forward<LogoutURLsT>(value);
424 template <
typename LogoutURLsT = Aws::Vector<Aws::String>>
429 template <
typename LogoutURLsT = Aws::String>
431 m_logoutURLsHasBeenSet =
true;
432 m_logoutURLs.emplace_back(std::forward<LogoutURLsT>(value));
445 template <
typename DefaultRedirectURIT = Aws::String>
447 m_defaultRedirectURIHasBeenSet =
true;
448 m_defaultRedirectURI = std::forward<DefaultRedirectURIT>(value);
450 template <
typename DefaultRedirectURIT = Aws::String>
472 template <
typename AllowedOAuthFlowsT = Aws::Vector<OAuthFlowType>>
474 m_allowedOAuthFlowsHasBeenSet =
true;
475 m_allowedOAuthFlows = std::forward<AllowedOAuthFlowsT>(value);
477 template <
typename AllowedOAuthFlowsT = Aws::Vector<OAuthFlowType>>
483 m_allowedOAuthFlowsHasBeenSet =
true;
484 m_allowedOAuthFlows.push_back(value);
502 template <
typename AllowedOAuthScopesT = Aws::Vector<Aws::String>>
504 m_allowedOAuthScopesHasBeenSet =
true;
505 m_allowedOAuthScopes = std::forward<AllowedOAuthScopesT>(value);
507 template <
typename AllowedOAuthScopesT = Aws::Vector<Aws::String>>
512 template <
typename AllowedOAuthScopesT = Aws::String>
514 m_allowedOAuthScopesHasBeenSet =
true;
515 m_allowedOAuthScopes.emplace_back(std::forward<AllowedOAuthScopesT>(value));
541 m_allowedOAuthFlowsUserPoolClientHasBeenSet =
true;
542 m_allowedOAuthFlowsUserPoolClient = value;
562 template <
typename AnalyticsConfigurationT = AnalyticsConfigurationType>
564 m_analyticsConfigurationHasBeenSet =
true;
565 m_analyticsConfiguration = std::forward<AnalyticsConfigurationT>(value);
567 template <
typename AnalyticsConfigurationT = AnalyticsConfigurationType>
591 m_preventUserExistenceErrorsHasBeenSet =
true;
592 m_preventUserExistenceErrors = value;
609 m_enableTokenRevocationHasBeenSet =
true;
610 m_enableTokenRevocation = value;
633 m_enablePropagateAdditionalUserContextDataHasBeenSet =
true;
634 m_enablePropagateAdditionalUserContextData = value;
652 m_authSessionValidityHasBeenSet =
true;
653 m_authSessionValidity = value;
670 template <
typename RefreshTokenRotationT = RefreshTokenRotationType>
672 m_refreshTokenRotationHasBeenSet =
true;
673 m_refreshTokenRotation = std::forward<RefreshTokenRotationT>(value);
675 template <
typename RefreshTokenRotationT = RefreshTokenRotationType>
688 int m_refreshTokenValidity{0};
690 int m_accessTokenValidity{0};
692 int m_idTokenValidity{0};
694 TokenValidityUnitsType m_tokenValidityUnits;
714 bool m_allowedOAuthFlowsUserPoolClient{
false};
716 AnalyticsConfigurationType m_analyticsConfiguration;
720 bool m_enableTokenRevocation{
false};
722 bool m_enablePropagateAdditionalUserContextData{
false};
724 int m_authSessionValidity{0};
726 RefreshTokenRotationType m_refreshTokenRotation;
727 bool m_userPoolIdHasBeenSet =
false;
728 bool m_clientIdHasBeenSet =
false;
729 bool m_clientNameHasBeenSet =
false;
730 bool m_refreshTokenValidityHasBeenSet =
false;
731 bool m_accessTokenValidityHasBeenSet =
false;
732 bool m_idTokenValidityHasBeenSet =
false;
733 bool m_tokenValidityUnitsHasBeenSet =
false;
734 bool m_readAttributesHasBeenSet =
false;
735 bool m_writeAttributesHasBeenSet =
false;
736 bool m_explicitAuthFlowsHasBeenSet =
false;
737 bool m_supportedIdentityProvidersHasBeenSet =
false;
738 bool m_callbackURLsHasBeenSet =
false;
739 bool m_logoutURLsHasBeenSet =
false;
740 bool m_defaultRedirectURIHasBeenSet =
false;
741 bool m_allowedOAuthFlowsHasBeenSet =
false;
742 bool m_allowedOAuthScopesHasBeenSet =
false;
743 bool m_allowedOAuthFlowsUserPoolClientHasBeenSet =
false;
744 bool m_analyticsConfigurationHasBeenSet =
false;
745 bool m_preventUserExistenceErrorsHasBeenSet =
false;
746 bool m_enableTokenRevocationHasBeenSet =
false;
747 bool m_enablePropagateAdditionalUserContextDataHasBeenSet =
false;
748 bool m_authSessionValidityHasBeenSet =
false;
749 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