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/ExplicitAuthFlowsType.h>
15#include <aws/cognito-idp/model/OAuthFlowType.h>
20namespace CognitoIdentityProvider
56 inline void SetUserPoolId(
const char* value) { m_userPoolIdHasBeenSet =
true; m_userPoolId.assign(value); }
70 inline void SetClientId(
const char* value) { m_clientIdHasBeenSet =
true; m_clientId.assign(value); }
84 inline void SetClientName(
const char* value) { m_clientNameHasBeenSet =
true; m_clientName.assign(value); }
149 inline void SetIdTokenValidity(
int value) { m_idTokenValidityHasBeenSet =
true; m_idTokenValidity = value; }
339 inline void SetDefaultRedirectURI(
const char* value) { m_defaultRedirectURIHasBeenSet =
true; m_defaultRedirectURI.assign(value); }
493 bool m_userPoolIdHasBeenSet =
false;
496 bool m_clientIdHasBeenSet =
false;
499 bool m_clientNameHasBeenSet =
false;
501 int m_refreshTokenValidity;
502 bool m_refreshTokenValidityHasBeenSet =
false;
504 int m_accessTokenValidity;
505 bool m_accessTokenValidityHasBeenSet =
false;
507 int m_idTokenValidity;
508 bool m_idTokenValidityHasBeenSet =
false;
511 bool m_tokenValidityUnitsHasBeenSet =
false;
514 bool m_readAttributesHasBeenSet =
false;
517 bool m_writeAttributesHasBeenSet =
false;
520 bool m_explicitAuthFlowsHasBeenSet =
false;
523 bool m_supportedIdentityProvidersHasBeenSet =
false;
526 bool m_callbackURLsHasBeenSet =
false;
529 bool m_logoutURLsHasBeenSet =
false;
532 bool m_defaultRedirectURIHasBeenSet =
false;
535 bool m_allowedOAuthFlowsHasBeenSet =
false;
538 bool m_allowedOAuthScopesHasBeenSet =
false;
540 bool m_allowedOAuthFlowsUserPoolClient;
541 bool m_allowedOAuthFlowsUserPoolClientHasBeenSet =
false;
544 bool m_analyticsConfigurationHasBeenSet =
false;
547 bool m_preventUserExistenceErrorsHasBeenSet =
false;
549 bool m_enableTokenRevocation;
550 bool m_enableTokenRevocationHasBeenSet =
false;
552 bool m_enablePropagateAdditionalUserContextData;
553 bool m_enablePropagateAdditionalUserContextDataHasBeenSet =
false;
555 int m_authSessionValidity;
556 bool m_authSessionValidityHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetLogoutURLs() const
UpdateUserPoolClientRequest & WithAnalyticsConfiguration(const AnalyticsConfigurationType &value)
UpdateUserPoolClientRequest & AddSupportedIdentityProviders(const char *value)
bool GetEnableTokenRevocation() const
bool AnalyticsConfigurationHasBeenSet() const
bool IdTokenValidityHasBeenSet() const
const Aws::String & GetClientName() const
void SetUserPoolId(Aws::String &&value)
const TokenValidityUnitsType & GetTokenValidityUnits() const
void SetWriteAttributes(const Aws::Vector< Aws::String > &value)
UpdateUserPoolClientRequest & AddLogoutURLs(const char *value)
UpdateUserPoolClientRequest & WithUserPoolId(const char *value)
void SetTokenValidityUnits(TokenValidityUnitsType &&value)
UpdateUserPoolClientRequest & WithClientName(const Aws::String &value)
UpdateUserPoolClientRequest & WithAnalyticsConfiguration(AnalyticsConfigurationType &&value)
void SetReadAttributes(Aws::Vector< Aws::String > &&value)
UpdateUserPoolClientRequest & WithTokenValidityUnits(TokenValidityUnitsType &&value)
bool PreventUserExistenceErrorsHasBeenSet() const
UpdateUserPoolClientRequest & WithAllowedOAuthFlowsUserPoolClient(bool value)
void SetExplicitAuthFlows(Aws::Vector< ExplicitAuthFlowsType > &&value)
UpdateUserPoolClientRequest & AddSupportedIdentityProviders(Aws::String &&value)
UpdateUserPoolClientRequest & AddAllowedOAuthScopes(Aws::String &&value)
int GetRefreshTokenValidity() const
UpdateUserPoolClientRequest & WithSupportedIdentityProviders(const Aws::Vector< Aws::String > &value)
UpdateUserPoolClientRequest & AddSupportedIdentityProviders(const Aws::String &value)
UpdateUserPoolClientRequest & WithRefreshTokenValidity(int value)
void SetLogoutURLs(const Aws::Vector< Aws::String > &value)
UpdateUserPoolClientRequest & WithClientName(const char *value)
UpdateUserPoolClientRequest & WithClientName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAllowedOAuthScopes() const
bool GetEnablePropagateAdditionalUserContextData() const
UpdateUserPoolClientRequest & AddWriteAttributes(Aws::String &&value)
void SetAllowedOAuthScopes(const Aws::Vector< Aws::String > &value)
void SetAuthSessionValidity(int value)
void SetLogoutURLs(Aws::Vector< Aws::String > &&value)
UpdateUserPoolClientRequest & WithCallbackURLs(const Aws::Vector< Aws::String > &value)
UpdateUserPoolClientRequest & AddWriteAttributes(const char *value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
UpdateUserPoolClientRequest & WithUserPoolId(const Aws::String &value)
UpdateUserPoolClientRequest & WithWriteAttributes(const Aws::Vector< Aws::String > &value)
void SetUserPoolId(const char *value)
UpdateUserPoolClientRequest & WithSupportedIdentityProviders(Aws::Vector< Aws::String > &&value)
bool CallbackURLsHasBeenSet() const
const Aws::String & GetDefaultRedirectURI() const
UpdateUserPoolClientRequest & AddReadAttributes(const Aws::String &value)
UpdateUserPoolClientRequest & WithDefaultRedirectURI(Aws::String &&value)
void SetEnableTokenRevocation(bool value)
UpdateUserPoolClientRequest & WithLogoutURLs(Aws::Vector< Aws::String > &&value)
bool WriteAttributesHasBeenSet() const
UpdateUserPoolClientRequest & WithAccessTokenValidity(int value)
void SetWriteAttributes(Aws::Vector< Aws::String > &&value)
UpdateUserPoolClientRequest & AddAllowedOAuthFlows(OAuthFlowType &&value)
void SetEnablePropagateAdditionalUserContextData(bool value)
UpdateUserPoolClientRequest & AddCallbackURLs(const Aws::String &value)
UpdateUserPoolClientRequest & AddExplicitAuthFlows(const ExplicitAuthFlowsType &value)
const PreventUserExistenceErrorTypes & GetPreventUserExistenceErrors() const
UpdateUserPoolClientRequest & WithPreventUserExistenceErrors(const PreventUserExistenceErrorTypes &value)
const Aws::Vector< ExplicitAuthFlowsType > & GetExplicitAuthFlows() const
const Aws::Vector< Aws::String > & GetWriteAttributes() const
UpdateUserPoolClientRequest & WithAllowedOAuthFlows(const Aws::Vector< OAuthFlowType > &value)
bool AuthSessionValidityHasBeenSet() const
bool AllowedOAuthScopesHasBeenSet() const
void SetUserPoolId(const Aws::String &value)
void SetAnalyticsConfiguration(const AnalyticsConfigurationType &value)
void SetClientName(const Aws::String &value)
void SetPreventUserExistenceErrors(const PreventUserExistenceErrorTypes &value)
UpdateUserPoolClientRequest & WithClientId(const char *value)
void SetCallbackURLs(const Aws::Vector< Aws::String > &value)
bool LogoutURLsHasBeenSet() const
void SetRefreshTokenValidity(int value)
UpdateUserPoolClientRequest & WithTokenValidityUnits(const TokenValidityUnitsType &value)
UpdateUserPoolClientRequest & WithClientId(const Aws::String &value)
void SetClientId(Aws::String &&value)
bool GetAllowedOAuthFlowsUserPoolClient() const
UpdateUserPoolClientRequest & WithAllowedOAuthScopes(const Aws::Vector< Aws::String > &value)
bool ReadAttributesHasBeenSet() const
bool AccessTokenValidityHasBeenSet() const
int GetIdTokenValidity() const
UpdateUserPoolClientRequest & WithReadAttributes(Aws::Vector< Aws::String > &&value)
UpdateUserPoolClientRequest & WithExplicitAuthFlows(const Aws::Vector< ExplicitAuthFlowsType > &value)
UpdateUserPoolClientRequest & AddCallbackURLs(Aws::String &&value)
UpdateUserPoolClientRequest & WithAuthSessionValidity(int value)
void SetSupportedIdentityProviders(const Aws::Vector< Aws::String > &value)
AWS_COGNITOIDENTITYPROVIDER_API UpdateUserPoolClientRequest()
bool EnablePropagateAdditionalUserContextDataHasBeenSet() const
void SetReadAttributes(const Aws::Vector< Aws::String > &value)
bool RefreshTokenValidityHasBeenSet() const
UpdateUserPoolClientRequest & AddReadAttributes(Aws::String &&value)
bool EnableTokenRevocationHasBeenSet() const
UpdateUserPoolClientRequest & WithLogoutURLs(const Aws::Vector< Aws::String > &value)
const Aws::String & GetUserPoolId() const
void SetAccessTokenValidity(int value)
UpdateUserPoolClientRequest & WithWriteAttributes(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
void SetDefaultRedirectURI(const char *value)
void SetClientName(Aws::String &&value)
bool AllowedOAuthFlowsUserPoolClientHasBeenSet() const
bool DefaultRedirectURIHasBeenSet() const
void SetClientName(const char *value)
const Aws::Vector< Aws::String > & GetSupportedIdentityProviders() const
UpdateUserPoolClientRequest & AddAllowedOAuthFlows(const OAuthFlowType &value)
UpdateUserPoolClientRequest & AddReadAttributes(const char *value)
void SetAllowedOAuthFlows(Aws::Vector< OAuthFlowType > &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateUserPoolClientRequest & WithUserPoolId(Aws::String &&value)
bool TokenValidityUnitsHasBeenSet() const
int GetAuthSessionValidity() const
void SetIdTokenValidity(int value)
bool SupportedIdentityProvidersHasBeenSet() const
void SetAnalyticsConfiguration(AnalyticsConfigurationType &&value)
UpdateUserPoolClientRequest & WithEnableTokenRevocation(bool value)
UpdateUserPoolClientRequest & WithCallbackURLs(Aws::Vector< Aws::String > &&value)
UpdateUserPoolClientRequest & WithReadAttributes(const Aws::Vector< Aws::String > &value)
void SetSupportedIdentityProviders(Aws::Vector< Aws::String > &&value)
UpdateUserPoolClientRequest & AddLogoutURLs(Aws::String &&value)
void SetClientId(const char *value)
void SetTokenValidityUnits(const TokenValidityUnitsType &value)
UpdateUserPoolClientRequest & WithEnablePropagateAdditionalUserContextData(bool value)
UpdateUserPoolClientRequest & AddExplicitAuthFlows(ExplicitAuthFlowsType &&value)
void SetDefaultRedirectURI(const Aws::String &value)
const Aws::Vector< Aws::String > & GetCallbackURLs() const
UpdateUserPoolClientRequest & WithPreventUserExistenceErrors(PreventUserExistenceErrorTypes &&value)
UpdateUserPoolClientRequest & WithClientId(Aws::String &&value)
void SetAllowedOAuthScopes(Aws::Vector< Aws::String > &&value)
UpdateUserPoolClientRequest & AddCallbackURLs(const char *value)
const Aws::Vector< Aws::String > & GetReadAttributes() const
UpdateUserPoolClientRequest & WithAllowedOAuthScopes(Aws::Vector< Aws::String > &&value)
UpdateUserPoolClientRequest & WithExplicitAuthFlows(Aws::Vector< ExplicitAuthFlowsType > &&value)
UpdateUserPoolClientRequest & WithDefaultRedirectURI(const char *value)
UpdateUserPoolClientRequest & AddLogoutURLs(const Aws::String &value)
bool UserPoolIdHasBeenSet() const
UpdateUserPoolClientRequest & AddAllowedOAuthScopes(const char *value)
bool ClientNameHasBeenSet() const
UpdateUserPoolClientRequest & WithIdTokenValidity(int value)
UpdateUserPoolClientRequest & AddWriteAttributes(const Aws::String &value)
const AnalyticsConfigurationType & GetAnalyticsConfiguration() const
UpdateUserPoolClientRequest & WithDefaultRedirectURI(const Aws::String &value)
bool AllowedOAuthFlowsHasBeenSet() const
void SetClientId(const Aws::String &value)
UpdateUserPoolClientRequest & WithAllowedOAuthFlows(Aws::Vector< OAuthFlowType > &&value)
bool ExplicitAuthFlowsHasBeenSet() const
const Aws::Vector< OAuthFlowType > & GetAllowedOAuthFlows() const
void SetAllowedOAuthFlowsUserPoolClient(bool value)
void SetPreventUserExistenceErrors(PreventUserExistenceErrorTypes &&value)
bool ClientIdHasBeenSet() const
void SetExplicitAuthFlows(const Aws::Vector< ExplicitAuthFlowsType > &value)
void SetCallbackURLs(Aws::Vector< Aws::String > &&value)
void SetAllowedOAuthFlows(const Aws::Vector< OAuthFlowType > &value)
UpdateUserPoolClientRequest & AddAllowedOAuthScopes(const Aws::String &value)
int GetAccessTokenValidity() const
void SetDefaultRedirectURI(Aws::String &&value)
const Aws::String & GetClientId() const
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