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 SetClientName(
const char* value) { m_clientNameHasBeenSet =
true; m_clientName.assign(value); }
83 inline void SetGenerateSecret(
bool value) { m_generateSecretHasBeenSet =
true; m_generateSecret = value; }
146 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); }
497 bool m_userPoolIdHasBeenSet =
false;
500 bool m_clientNameHasBeenSet =
false;
502 bool m_generateSecret;
503 bool m_generateSecretHasBeenSet =
false;
505 int m_refreshTokenValidity;
506 bool m_refreshTokenValidityHasBeenSet =
false;
508 int m_accessTokenValidity;
509 bool m_accessTokenValidityHasBeenSet =
false;
511 int m_idTokenValidity;
512 bool m_idTokenValidityHasBeenSet =
false;
515 bool m_tokenValidityUnitsHasBeenSet =
false;
518 bool m_readAttributesHasBeenSet =
false;
521 bool m_writeAttributesHasBeenSet =
false;
524 bool m_explicitAuthFlowsHasBeenSet =
false;
527 bool m_supportedIdentityProvidersHasBeenSet =
false;
530 bool m_callbackURLsHasBeenSet =
false;
533 bool m_logoutURLsHasBeenSet =
false;
536 bool m_defaultRedirectURIHasBeenSet =
false;
539 bool m_allowedOAuthFlowsHasBeenSet =
false;
542 bool m_allowedOAuthScopesHasBeenSet =
false;
544 bool m_allowedOAuthFlowsUserPoolClient;
545 bool m_allowedOAuthFlowsUserPoolClientHasBeenSet =
false;
548 bool m_analyticsConfigurationHasBeenSet =
false;
551 bool m_preventUserExistenceErrorsHasBeenSet =
false;
553 bool m_enableTokenRevocation;
554 bool m_enableTokenRevocationHasBeenSet =
false;
556 bool m_enablePropagateAdditionalUserContextData;
557 bool m_enablePropagateAdditionalUserContextDataHasBeenSet =
false;
559 int m_authSessionValidity;
560 bool m_authSessionValidityHasBeenSet =
false;
int GetAuthSessionValidity() const
CreateUserPoolClientRequest & AddReadAttributes(Aws::String &&value)
void SetExplicitAuthFlows(const Aws::Vector< ExplicitAuthFlowsType > &value)
const Aws::Vector< ExplicitAuthFlowsType > & GetExplicitAuthFlows() const
void SetAllowedOAuthFlows(Aws::Vector< OAuthFlowType > &&value)
bool SupportedIdentityProvidersHasBeenSet() const
CreateUserPoolClientRequest & AddCallbackURLs(const Aws::String &value)
CreateUserPoolClientRequest & WithCallbackURLs(Aws::Vector< Aws::String > &&value)
CreateUserPoolClientRequest & WithCallbackURLs(const Aws::Vector< Aws::String > &value)
bool GetEnablePropagateAdditionalUserContextData() const
void SetAnalyticsConfiguration(const AnalyticsConfigurationType &value)
void SetAuthSessionValidity(int value)
void SetSupportedIdentityProviders(Aws::Vector< Aws::String > &&value)
void SetDefaultRedirectURI(const Aws::String &value)
CreateUserPoolClientRequest & WithAllowedOAuthFlows(Aws::Vector< OAuthFlowType > &&value)
CreateUserPoolClientRequest & WithClientName(Aws::String &&value)
void SetAnalyticsConfiguration(AnalyticsConfigurationType &&value)
CreateUserPoolClientRequest & WithAllowedOAuthScopes(const Aws::Vector< Aws::String > &value)
void SetPreventUserExistenceErrors(PreventUserExistenceErrorTypes &&value)
void SetSupportedIdentityProviders(const Aws::Vector< Aws::String > &value)
CreateUserPoolClientRequest & WithAnalyticsConfiguration(const AnalyticsConfigurationType &value)
CreateUserPoolClientRequest & AddAllowedOAuthFlows(const OAuthFlowType &value)
CreateUserPoolClientRequest & AddReadAttributes(const char *value)
bool AccessTokenValidityHasBeenSet() const
CreateUserPoolClientRequest & AddAllowedOAuthScopes(const Aws::String &value)
CreateUserPoolClientRequest & WithTokenValidityUnits(TokenValidityUnitsType &&value)
CreateUserPoolClientRequest & WithAllowedOAuthFlows(const Aws::Vector< OAuthFlowType > &value)
void SetAllowedOAuthScopes(Aws::Vector< Aws::String > &&value)
CreateUserPoolClientRequest & AddWriteAttributes(const Aws::String &value)
const Aws::Vector< OAuthFlowType > & GetAllowedOAuthFlows() const
CreateUserPoolClientRequest & WithAnalyticsConfiguration(AnalyticsConfigurationType &&value)
void SetClientName(const Aws::String &value)
bool AnalyticsConfigurationHasBeenSet() const
const Aws::String & GetUserPoolId() const
CreateUserPoolClientRequest & WithUserPoolId(const char *value)
void SetAllowedOAuthFlows(const Aws::Vector< OAuthFlowType > &value)
CreateUserPoolClientRequest & AddSupportedIdentityProviders(const char *value)
CreateUserPoolClientRequest & WithDefaultRedirectURI(const char *value)
const PreventUserExistenceErrorTypes & GetPreventUserExistenceErrors() const
void SetLogoutURLs(const Aws::Vector< Aws::String > &value)
int GetAccessTokenValidity() const
CreateUserPoolClientRequest & WithLogoutURLs(const Aws::Vector< Aws::String > &value)
CreateUserPoolClientRequest & WithAuthSessionValidity(int value)
bool RefreshTokenValidityHasBeenSet() const
bool UserPoolIdHasBeenSet() const
bool GetEnableTokenRevocation() const
CreateUserPoolClientRequest & WithClientName(const Aws::String &value)
bool AllowedOAuthFlowsHasBeenSet() const
CreateUserPoolClientRequest & WithGenerateSecret(bool value)
const Aws::Vector< Aws::String > & GetSupportedIdentityProviders() const
CreateUserPoolClientRequest & WithWriteAttributes(Aws::Vector< Aws::String > &&value)
CreateUserPoolClientRequest & WithSupportedIdentityProviders(Aws::Vector< Aws::String > &&value)
CreateUserPoolClientRequest & WithAccessTokenValidity(int value)
void SetAllowedOAuthFlowsUserPoolClient(bool value)
CreateUserPoolClientRequest & WithPreventUserExistenceErrors(PreventUserExistenceErrorTypes &&value)
void SetUserPoolId(const char *value)
void SetClientName(const char *value)
CreateUserPoolClientRequest & WithUserPoolId(Aws::String &&value)
bool AuthSessionValidityHasBeenSet() const
AWS_COGNITOIDENTITYPROVIDER_API CreateUserPoolClientRequest()
bool CallbackURLsHasBeenSet() const
void SetDefaultRedirectURI(Aws::String &&value)
void SetCallbackURLs(const Aws::Vector< Aws::String > &value)
void SetUserPoolId(Aws::String &&value)
CreateUserPoolClientRequest & WithExplicitAuthFlows(const Aws::Vector< ExplicitAuthFlowsType > &value)
CreateUserPoolClientRequest & AddExplicitAuthFlows(ExplicitAuthFlowsType &&value)
CreateUserPoolClientRequest & WithWriteAttributes(const Aws::Vector< Aws::String > &value)
void SetTokenValidityUnits(TokenValidityUnitsType &&value)
const AnalyticsConfigurationType & GetAnalyticsConfiguration() const
virtual const char * GetServiceRequestName() const override
CreateUserPoolClientRequest & WithDefaultRedirectURI(Aws::String &&value)
CreateUserPoolClientRequest & WithEnableTokenRevocation(bool value)
bool DefaultRedirectURIHasBeenSet() const
CreateUserPoolClientRequest & AddLogoutURLs(Aws::String &&value)
const Aws::Vector< Aws::String > & GetReadAttributes() const
CreateUserPoolClientRequest & AddAllowedOAuthScopes(Aws::String &&value)
CreateUserPoolClientRequest & AddCallbackURLs(const char *value)
const Aws::Vector< Aws::String > & GetAllowedOAuthScopes() const
void SetTokenValidityUnits(const TokenValidityUnitsType &value)
void SetRefreshTokenValidity(int value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
CreateUserPoolClientRequest & AddReadAttributes(const Aws::String &value)
void SetGenerateSecret(bool value)
CreateUserPoolClientRequest & WithRefreshTokenValidity(int value)
bool TokenValidityUnitsHasBeenSet() const
void SetEnablePropagateAdditionalUserContextData(bool value)
bool GetAllowedOAuthFlowsUserPoolClient() const
CreateUserPoolClientRequest & WithSupportedIdentityProviders(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLogoutURLs() const
void SetCallbackURLs(Aws::Vector< Aws::String > &&value)
const TokenValidityUnitsType & GetTokenValidityUnits() const
CreateUserPoolClientRequest & AddCallbackURLs(Aws::String &&value)
bool AllowedOAuthScopesHasBeenSet() const
int GetRefreshTokenValidity() const
bool WriteAttributesHasBeenSet() const
void SetWriteAttributes(const Aws::Vector< Aws::String > &value)
CreateUserPoolClientRequest & WithReadAttributes(const Aws::Vector< Aws::String > &value)
CreateUserPoolClientRequest & WithAllowedOAuthFlowsUserPoolClient(bool value)
void SetWriteAttributes(Aws::Vector< Aws::String > &&value)
bool IdTokenValidityHasBeenSet() const
void SetReadAttributes(const Aws::Vector< Aws::String > &value)
bool EnableTokenRevocationHasBeenSet() const
void SetExplicitAuthFlows(Aws::Vector< ExplicitAuthFlowsType > &&value)
const Aws::String & GetClientName() const
CreateUserPoolClientRequest & AddAllowedOAuthFlows(OAuthFlowType &&value)
CreateUserPoolClientRequest & WithLogoutURLs(Aws::Vector< Aws::String > &&value)
CreateUserPoolClientRequest & WithDefaultRedirectURI(const Aws::String &value)
void SetEnableTokenRevocation(bool value)
CreateUserPoolClientRequest & AddSupportedIdentityProviders(Aws::String &&value)
CreateUserPoolClientRequest & AddLogoutURLs(const char *value)
void SetLogoutURLs(Aws::Vector< Aws::String > &&value)
bool GetGenerateSecret() const
CreateUserPoolClientRequest & WithIdTokenValidity(int value)
CreateUserPoolClientRequest & WithUserPoolId(const Aws::String &value)
bool ExplicitAuthFlowsHasBeenSet() const
bool ClientNameHasBeenSet() const
CreateUserPoolClientRequest & WithAllowedOAuthScopes(Aws::Vector< Aws::String > &&value)
bool AllowedOAuthFlowsUserPoolClientHasBeenSet() const
CreateUserPoolClientRequest & WithTokenValidityUnits(const TokenValidityUnitsType &value)
bool PreventUserExistenceErrorsHasBeenSet() const
CreateUserPoolClientRequest & AddSupportedIdentityProviders(const Aws::String &value)
void SetAccessTokenValidity(int value)
CreateUserPoolClientRequest & WithEnablePropagateAdditionalUserContextData(bool value)
CreateUserPoolClientRequest & WithExplicitAuthFlows(Aws::Vector< ExplicitAuthFlowsType > &&value)
void SetReadAttributes(Aws::Vector< Aws::String > &&value)
bool ReadAttributesHasBeenSet() const
void SetIdTokenValidity(int value)
CreateUserPoolClientRequest & AddWriteAttributes(const char *value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetWriteAttributes() const
CreateUserPoolClientRequest & WithReadAttributes(Aws::Vector< Aws::String > &&value)
int GetIdTokenValidity() const
void SetClientName(Aws::String &&value)
bool LogoutURLsHasBeenSet() const
CreateUserPoolClientRequest & WithClientName(const char *value)
CreateUserPoolClientRequest & AddWriteAttributes(Aws::String &&value)
CreateUserPoolClientRequest & AddAllowedOAuthScopes(const char *value)
const Aws::Vector< Aws::String > & GetCallbackURLs() const
CreateUserPoolClientRequest & AddExplicitAuthFlows(const ExplicitAuthFlowsType &value)
CreateUserPoolClientRequest & AddLogoutURLs(const Aws::String &value)
void SetDefaultRedirectURI(const char *value)
const Aws::String & GetDefaultRedirectURI() const
CreateUserPoolClientRequest & WithPreventUserExistenceErrors(const PreventUserExistenceErrorTypes &value)
void SetPreventUserExistenceErrors(const PreventUserExistenceErrorTypes &value)
void SetUserPoolId(const Aws::String &value)
bool GenerateSecretHasBeenSet() const
bool EnablePropagateAdditionalUserContextDataHasBeenSet() const
void SetAllowedOAuthScopes(const Aws::Vector< Aws::String > &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