/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the request to create a user pool.See Also:
AWS
* API Reference
A string used to name the user pool.
*/ inline const Aws::String& GetPoolName() const{ return m_poolName; } /** *A string used to name the user pool.
*/ inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; } /** *A string used to name the user pool.
*/ inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; } /** *A string used to name the user pool.
*/ inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); } /** *A string used to name the user pool.
*/ inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); } /** *A string used to name the user pool.
*/ inline CreateUserPoolRequest& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;} /** *A string used to name the user pool.
*/ inline CreateUserPoolRequest& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;} /** *A string used to name the user pool.
*/ inline CreateUserPoolRequest& WithPoolName(const char* value) { SetPoolName(value); return *this;} /** *The policies associated with the new user pool.
*/ inline const UserPoolPolicyType& GetPolicies() const{ return m_policies; } /** *The policies associated with the new user pool.
*/ inline bool PoliciesHasBeenSet() const { return m_policiesHasBeenSet; } /** *The policies associated with the new user pool.
*/ inline void SetPolicies(const UserPoolPolicyType& value) { m_policiesHasBeenSet = true; m_policies = value; } /** *The policies associated with the new user pool.
*/ inline void SetPolicies(UserPoolPolicyType&& value) { m_policiesHasBeenSet = true; m_policies = std::move(value); } /** *The policies associated with the new user pool.
*/ inline CreateUserPoolRequest& WithPolicies(const UserPoolPolicyType& value) { SetPolicies(value); return *this;} /** *The policies associated with the new user pool.
*/ inline CreateUserPoolRequest& WithPolicies(UserPoolPolicyType&& value) { SetPolicies(std::move(value)); return *this;} /** *The Lambda trigger configuration information for the new user pool.
*In a push model, event sources (such as Amazon S3 and custom * applications) need permission to invoke a function. So you will need to make an * extra call to add permission for these event sources to invoke your Lambda * function.
For more information on using the Lambda API to add * permission, see * AddPermission .
For adding permission using the AWS CLI, see * add-permission .
*/ inline const LambdaConfigType& GetLambdaConfig() const{ return m_lambdaConfig; } /** *The Lambda trigger configuration information for the new user pool.
*In a push model, event sources (such as Amazon S3 and custom * applications) need permission to invoke a function. So you will need to make an * extra call to add permission for these event sources to invoke your Lambda * function.
For more information on using the Lambda API to add * permission, see * AddPermission .
For adding permission using the AWS CLI, see * add-permission .
*/ inline bool LambdaConfigHasBeenSet() const { return m_lambdaConfigHasBeenSet; } /** *The Lambda trigger configuration information for the new user pool.
*In a push model, event sources (such as Amazon S3 and custom * applications) need permission to invoke a function. So you will need to make an * extra call to add permission for these event sources to invoke your Lambda * function.
For more information on using the Lambda API to add * permission, see * AddPermission .
For adding permission using the AWS CLI, see * add-permission .
*/ inline void SetLambdaConfig(const LambdaConfigType& value) { m_lambdaConfigHasBeenSet = true; m_lambdaConfig = value; } /** *The Lambda trigger configuration information for the new user pool.
*In a push model, event sources (such as Amazon S3 and custom * applications) need permission to invoke a function. So you will need to make an * extra call to add permission for these event sources to invoke your Lambda * function.
For more information on using the Lambda API to add * permission, see * AddPermission .
For adding permission using the AWS CLI, see * add-permission .
*/ inline void SetLambdaConfig(LambdaConfigType&& value) { m_lambdaConfigHasBeenSet = true; m_lambdaConfig = std::move(value); } /** *The Lambda trigger configuration information for the new user pool.
*In a push model, event sources (such as Amazon S3 and custom * applications) need permission to invoke a function. So you will need to make an * extra call to add permission for these event sources to invoke your Lambda * function.
For more information on using the Lambda API to add * permission, see * AddPermission .
For adding permission using the AWS CLI, see * add-permission .
*/ inline CreateUserPoolRequest& WithLambdaConfig(const LambdaConfigType& value) { SetLambdaConfig(value); return *this;} /** *The Lambda trigger configuration information for the new user pool.
*In a push model, event sources (such as Amazon S3 and custom * applications) need permission to invoke a function. So you will need to make an * extra call to add permission for these event sources to invoke your Lambda * function.
For more information on using the Lambda API to add * permission, see * AddPermission .
For adding permission using the AWS CLI, see * add-permission .
*/ inline CreateUserPoolRequest& WithLambdaConfig(LambdaConfigType&& value) { SetLambdaConfig(std::move(value)); return *this;} /** *The attributes to be auto-verified. Possible values: email, * phone_number.
*/ inline const Aws::VectorThe attributes to be auto-verified. Possible values: email, * phone_number.
*/ inline bool AutoVerifiedAttributesHasBeenSet() const { return m_autoVerifiedAttributesHasBeenSet; } /** *The attributes to be auto-verified. Possible values: email, * phone_number.
*/ inline void SetAutoVerifiedAttributes(const Aws::VectorThe attributes to be auto-verified. Possible values: email, * phone_number.
*/ inline void SetAutoVerifiedAttributes(Aws::VectorThe attributes to be auto-verified. Possible values: email, * phone_number.
*/ inline CreateUserPoolRequest& WithAutoVerifiedAttributes(const Aws::VectorThe attributes to be auto-verified. Possible values: email, * phone_number.
*/ inline CreateUserPoolRequest& WithAutoVerifiedAttributes(Aws::VectorThe attributes to be auto-verified. Possible values: email, * phone_number.
*/ inline CreateUserPoolRequest& AddAutoVerifiedAttributes(const VerifiedAttributeType& value) { m_autoVerifiedAttributesHasBeenSet = true; m_autoVerifiedAttributes.push_back(value); return *this; } /** *The attributes to be auto-verified. Possible values: email, * phone_number.
*/ inline CreateUserPoolRequest& AddAutoVerifiedAttributes(VerifiedAttributeType&& value) { m_autoVerifiedAttributesHasBeenSet = true; m_autoVerifiedAttributes.push_back(std::move(value)); return *this; } /** *Attributes supported as an alias for this user pool. Possible values: * phone_number, email, or preferred_username.
*/ inline const Aws::VectorAttributes supported as an alias for this user pool. Possible values: * phone_number, email, or preferred_username.
*/ inline bool AliasAttributesHasBeenSet() const { return m_aliasAttributesHasBeenSet; } /** *Attributes supported as an alias for this user pool. Possible values: * phone_number, email, or preferred_username.
*/ inline void SetAliasAttributes(const Aws::VectorAttributes supported as an alias for this user pool. Possible values: * phone_number, email, or preferred_username.
*/ inline void SetAliasAttributes(Aws::VectorAttributes supported as an alias for this user pool. Possible values: * phone_number, email, or preferred_username.
*/ inline CreateUserPoolRequest& WithAliasAttributes(const Aws::VectorAttributes supported as an alias for this user pool. Possible values: * phone_number, email, or preferred_username.
*/ inline CreateUserPoolRequest& WithAliasAttributes(Aws::VectorAttributes supported as an alias for this user pool. Possible values: * phone_number, email, or preferred_username.
*/ inline CreateUserPoolRequest& AddAliasAttributes(const AliasAttributeType& value) { m_aliasAttributesHasBeenSet = true; m_aliasAttributes.push_back(value); return *this; } /** *Attributes supported as an alias for this user pool. Possible values: * phone_number, email, or preferred_username.
*/ inline CreateUserPoolRequest& AddAliasAttributes(AliasAttributeType&& value) { m_aliasAttributesHasBeenSet = true; m_aliasAttributes.push_back(std::move(value)); return *this; } /** *Specifies whether email addresses or phone numbers can be specified as * usernames when a user signs up.
*/ inline const Aws::VectorSpecifies whether email addresses or phone numbers can be specified as * usernames when a user signs up.
*/ inline bool UsernameAttributesHasBeenSet() const { return m_usernameAttributesHasBeenSet; } /** *Specifies whether email addresses or phone numbers can be specified as * usernames when a user signs up.
*/ inline void SetUsernameAttributes(const Aws::VectorSpecifies whether email addresses or phone numbers can be specified as * usernames when a user signs up.
*/ inline void SetUsernameAttributes(Aws::VectorSpecifies whether email addresses or phone numbers can be specified as * usernames when a user signs up.
*/ inline CreateUserPoolRequest& WithUsernameAttributes(const Aws::VectorSpecifies whether email addresses or phone numbers can be specified as * usernames when a user signs up.
*/ inline CreateUserPoolRequest& WithUsernameAttributes(Aws::VectorSpecifies whether email addresses or phone numbers can be specified as * usernames when a user signs up.
*/ inline CreateUserPoolRequest& AddUsernameAttributes(const UsernameAttributeType& value) { m_usernameAttributesHasBeenSet = true; m_usernameAttributes.push_back(value); return *this; } /** *Specifies whether email addresses or phone numbers can be specified as * usernames when a user signs up.
*/ inline CreateUserPoolRequest& AddUsernameAttributes(UsernameAttributeType&& value) { m_usernameAttributesHasBeenSet = true; m_usernameAttributes.push_back(std::move(value)); return *this; } /** *A string representing the SMS verification message.
*/ inline const Aws::String& GetSmsVerificationMessage() const{ return m_smsVerificationMessage; } /** *A string representing the SMS verification message.
*/ inline bool SmsVerificationMessageHasBeenSet() const { return m_smsVerificationMessageHasBeenSet; } /** *A string representing the SMS verification message.
*/ inline void SetSmsVerificationMessage(const Aws::String& value) { m_smsVerificationMessageHasBeenSet = true; m_smsVerificationMessage = value; } /** *A string representing the SMS verification message.
*/ inline void SetSmsVerificationMessage(Aws::String&& value) { m_smsVerificationMessageHasBeenSet = true; m_smsVerificationMessage = std::move(value); } /** *A string representing the SMS verification message.
*/ inline void SetSmsVerificationMessage(const char* value) { m_smsVerificationMessageHasBeenSet = true; m_smsVerificationMessage.assign(value); } /** *A string representing the SMS verification message.
*/ inline CreateUserPoolRequest& WithSmsVerificationMessage(const Aws::String& value) { SetSmsVerificationMessage(value); return *this;} /** *A string representing the SMS verification message.
*/ inline CreateUserPoolRequest& WithSmsVerificationMessage(Aws::String&& value) { SetSmsVerificationMessage(std::move(value)); return *this;} /** *A string representing the SMS verification message.
*/ inline CreateUserPoolRequest& WithSmsVerificationMessage(const char* value) { SetSmsVerificationMessage(value); return *this;} /** *A string representing the email verification message.
*/ inline const Aws::String& GetEmailVerificationMessage() const{ return m_emailVerificationMessage; } /** *A string representing the email verification message.
*/ inline bool EmailVerificationMessageHasBeenSet() const { return m_emailVerificationMessageHasBeenSet; } /** *A string representing the email verification message.
*/ inline void SetEmailVerificationMessage(const Aws::String& value) { m_emailVerificationMessageHasBeenSet = true; m_emailVerificationMessage = value; } /** *A string representing the email verification message.
*/ inline void SetEmailVerificationMessage(Aws::String&& value) { m_emailVerificationMessageHasBeenSet = true; m_emailVerificationMessage = std::move(value); } /** *A string representing the email verification message.
*/ inline void SetEmailVerificationMessage(const char* value) { m_emailVerificationMessageHasBeenSet = true; m_emailVerificationMessage.assign(value); } /** *A string representing the email verification message.
*/ inline CreateUserPoolRequest& WithEmailVerificationMessage(const Aws::String& value) { SetEmailVerificationMessage(value); return *this;} /** *A string representing the email verification message.
*/ inline CreateUserPoolRequest& WithEmailVerificationMessage(Aws::String&& value) { SetEmailVerificationMessage(std::move(value)); return *this;} /** *A string representing the email verification message.
*/ inline CreateUserPoolRequest& WithEmailVerificationMessage(const char* value) { SetEmailVerificationMessage(value); return *this;} /** *A string representing the email verification subject.
*/ inline const Aws::String& GetEmailVerificationSubject() const{ return m_emailVerificationSubject; } /** *A string representing the email verification subject.
*/ inline bool EmailVerificationSubjectHasBeenSet() const { return m_emailVerificationSubjectHasBeenSet; } /** *A string representing the email verification subject.
*/ inline void SetEmailVerificationSubject(const Aws::String& value) { m_emailVerificationSubjectHasBeenSet = true; m_emailVerificationSubject = value; } /** *A string representing the email verification subject.
*/ inline void SetEmailVerificationSubject(Aws::String&& value) { m_emailVerificationSubjectHasBeenSet = true; m_emailVerificationSubject = std::move(value); } /** *A string representing the email verification subject.
*/ inline void SetEmailVerificationSubject(const char* value) { m_emailVerificationSubjectHasBeenSet = true; m_emailVerificationSubject.assign(value); } /** *A string representing the email verification subject.
*/ inline CreateUserPoolRequest& WithEmailVerificationSubject(const Aws::String& value) { SetEmailVerificationSubject(value); return *this;} /** *A string representing the email verification subject.
*/ inline CreateUserPoolRequest& WithEmailVerificationSubject(Aws::String&& value) { SetEmailVerificationSubject(std::move(value)); return *this;} /** *A string representing the email verification subject.
*/ inline CreateUserPoolRequest& WithEmailVerificationSubject(const char* value) { SetEmailVerificationSubject(value); return *this;} /** *The template for the verification message that the user sees when the app * requests permission to access the user's information.
*/ inline const VerificationMessageTemplateType& GetVerificationMessageTemplate() const{ return m_verificationMessageTemplate; } /** *The template for the verification message that the user sees when the app * requests permission to access the user's information.
*/ inline bool VerificationMessageTemplateHasBeenSet() const { return m_verificationMessageTemplateHasBeenSet; } /** *The template for the verification message that the user sees when the app * requests permission to access the user's information.
*/ inline void SetVerificationMessageTemplate(const VerificationMessageTemplateType& value) { m_verificationMessageTemplateHasBeenSet = true; m_verificationMessageTemplate = value; } /** *The template for the verification message that the user sees when the app * requests permission to access the user's information.
*/ inline void SetVerificationMessageTemplate(VerificationMessageTemplateType&& value) { m_verificationMessageTemplateHasBeenSet = true; m_verificationMessageTemplate = std::move(value); } /** *The template for the verification message that the user sees when the app * requests permission to access the user's information.
*/ inline CreateUserPoolRequest& WithVerificationMessageTemplate(const VerificationMessageTemplateType& value) { SetVerificationMessageTemplate(value); return *this;} /** *The template for the verification message that the user sees when the app * requests permission to access the user's information.
*/ inline CreateUserPoolRequest& WithVerificationMessageTemplate(VerificationMessageTemplateType&& value) { SetVerificationMessageTemplate(std::move(value)); return *this;} /** *A string representing the SMS authentication message.
*/ inline const Aws::String& GetSmsAuthenticationMessage() const{ return m_smsAuthenticationMessage; } /** *A string representing the SMS authentication message.
*/ inline bool SmsAuthenticationMessageHasBeenSet() const { return m_smsAuthenticationMessageHasBeenSet; } /** *A string representing the SMS authentication message.
*/ inline void SetSmsAuthenticationMessage(const Aws::String& value) { m_smsAuthenticationMessageHasBeenSet = true; m_smsAuthenticationMessage = value; } /** *A string representing the SMS authentication message.
*/ inline void SetSmsAuthenticationMessage(Aws::String&& value) { m_smsAuthenticationMessageHasBeenSet = true; m_smsAuthenticationMessage = std::move(value); } /** *A string representing the SMS authentication message.
*/ inline void SetSmsAuthenticationMessage(const char* value) { m_smsAuthenticationMessageHasBeenSet = true; m_smsAuthenticationMessage.assign(value); } /** *A string representing the SMS authentication message.
*/ inline CreateUserPoolRequest& WithSmsAuthenticationMessage(const Aws::String& value) { SetSmsAuthenticationMessage(value); return *this;} /** *A string representing the SMS authentication message.
*/ inline CreateUserPoolRequest& WithSmsAuthenticationMessage(Aws::String&& value) { SetSmsAuthenticationMessage(std::move(value)); return *this;} /** *A string representing the SMS authentication message.
*/ inline CreateUserPoolRequest& WithSmsAuthenticationMessage(const char* value) { SetSmsAuthenticationMessage(value); return *this;} /** *Specifies MFA configuration details.
*/ inline const UserPoolMfaType& GetMfaConfiguration() const{ return m_mfaConfiguration; } /** *Specifies MFA configuration details.
*/ inline bool MfaConfigurationHasBeenSet() const { return m_mfaConfigurationHasBeenSet; } /** *Specifies MFA configuration details.
*/ inline void SetMfaConfiguration(const UserPoolMfaType& value) { m_mfaConfigurationHasBeenSet = true; m_mfaConfiguration = value; } /** *Specifies MFA configuration details.
*/ inline void SetMfaConfiguration(UserPoolMfaType&& value) { m_mfaConfigurationHasBeenSet = true; m_mfaConfiguration = std::move(value); } /** *Specifies MFA configuration details.
*/ inline CreateUserPoolRequest& WithMfaConfiguration(const UserPoolMfaType& value) { SetMfaConfiguration(value); return *this;} /** *Specifies MFA configuration details.
*/ inline CreateUserPoolRequest& WithMfaConfiguration(UserPoolMfaType&& value) { SetMfaConfiguration(std::move(value)); return *this;} /** *The device configuration.
*/ inline const DeviceConfigurationType& GetDeviceConfiguration() const{ return m_deviceConfiguration; } /** *The device configuration.
*/ inline bool DeviceConfigurationHasBeenSet() const { return m_deviceConfigurationHasBeenSet; } /** *The device configuration.
*/ inline void SetDeviceConfiguration(const DeviceConfigurationType& value) { m_deviceConfigurationHasBeenSet = true; m_deviceConfiguration = value; } /** *The device configuration.
*/ inline void SetDeviceConfiguration(DeviceConfigurationType&& value) { m_deviceConfigurationHasBeenSet = true; m_deviceConfiguration = std::move(value); } /** *The device configuration.
*/ inline CreateUserPoolRequest& WithDeviceConfiguration(const DeviceConfigurationType& value) { SetDeviceConfiguration(value); return *this;} /** *The device configuration.
*/ inline CreateUserPoolRequest& WithDeviceConfiguration(DeviceConfigurationType&& value) { SetDeviceConfiguration(std::move(value)); return *this;} /** *The email configuration.
*/ inline const EmailConfigurationType& GetEmailConfiguration() const{ return m_emailConfiguration; } /** *The email configuration.
*/ inline bool EmailConfigurationHasBeenSet() const { return m_emailConfigurationHasBeenSet; } /** *The email configuration.
*/ inline void SetEmailConfiguration(const EmailConfigurationType& value) { m_emailConfigurationHasBeenSet = true; m_emailConfiguration = value; } /** *The email configuration.
*/ inline void SetEmailConfiguration(EmailConfigurationType&& value) { m_emailConfigurationHasBeenSet = true; m_emailConfiguration = std::move(value); } /** *The email configuration.
*/ inline CreateUserPoolRequest& WithEmailConfiguration(const EmailConfigurationType& value) { SetEmailConfiguration(value); return *this;} /** *The email configuration.
*/ inline CreateUserPoolRequest& WithEmailConfiguration(EmailConfigurationType&& value) { SetEmailConfiguration(std::move(value)); return *this;} /** *The SMS configuration.
*/ inline const SmsConfigurationType& GetSmsConfiguration() const{ return m_smsConfiguration; } /** *The SMS configuration.
*/ inline bool SmsConfigurationHasBeenSet() const { return m_smsConfigurationHasBeenSet; } /** *The SMS configuration.
*/ inline void SetSmsConfiguration(const SmsConfigurationType& value) { m_smsConfigurationHasBeenSet = true; m_smsConfiguration = value; } /** *The SMS configuration.
*/ inline void SetSmsConfiguration(SmsConfigurationType&& value) { m_smsConfigurationHasBeenSet = true; m_smsConfiguration = std::move(value); } /** *The SMS configuration.
*/ inline CreateUserPoolRequest& WithSmsConfiguration(const SmsConfigurationType& value) { SetSmsConfiguration(value); return *this;} /** *The SMS configuration.
*/ inline CreateUserPoolRequest& WithSmsConfiguration(SmsConfigurationType&& value) { SetSmsConfiguration(std::move(value)); return *this;} /** *The tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline const Aws::MapThe tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline bool UserPoolTagsHasBeenSet() const { return m_userPoolTagsHasBeenSet; } /** *The tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline void SetUserPoolTags(const Aws::MapThe tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline void SetUserPoolTags(Aws::MapThe tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline CreateUserPoolRequest& WithUserPoolTags(const Aws::MapThe tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline CreateUserPoolRequest& WithUserPoolTags(Aws::MapThe tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline CreateUserPoolRequest& AddUserPoolTags(const Aws::String& key, const Aws::String& value) { m_userPoolTagsHasBeenSet = true; m_userPoolTags.emplace(key, value); return *this; } /** *The tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline CreateUserPoolRequest& AddUserPoolTags(Aws::String&& key, const Aws::String& value) { m_userPoolTagsHasBeenSet = true; m_userPoolTags.emplace(std::move(key), value); return *this; } /** *The tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline CreateUserPoolRequest& AddUserPoolTags(const Aws::String& key, Aws::String&& value) { m_userPoolTagsHasBeenSet = true; m_userPoolTags.emplace(key, std::move(value)); return *this; } /** *The tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline CreateUserPoolRequest& AddUserPoolTags(Aws::String&& key, Aws::String&& value) { m_userPoolTagsHasBeenSet = true; m_userPoolTags.emplace(std::move(key), std::move(value)); return *this; } /** *The tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline CreateUserPoolRequest& AddUserPoolTags(const char* key, Aws::String&& value) { m_userPoolTagsHasBeenSet = true; m_userPoolTags.emplace(key, std::move(value)); return *this; } /** *The tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline CreateUserPoolRequest& AddUserPoolTags(Aws::String&& key, const char* value) { m_userPoolTagsHasBeenSet = true; m_userPoolTags.emplace(std::move(key), value); return *this; } /** *The tag keys and values to assign to the user pool. A tag is a label that you * can use to categorize and manage user pools in different ways, such as by * purpose, owner, environment, or other criteria.
*/ inline CreateUserPoolRequest& AddUserPoolTags(const char* key, const char* value) { m_userPoolTagsHasBeenSet = true; m_userPoolTags.emplace(key, value); return *this; } /** *The configuration for AdminCreateUser requests.
The configuration for AdminCreateUser requests.
The configuration for AdminCreateUser requests.
The configuration for AdminCreateUser requests.
The configuration for AdminCreateUser requests.
The configuration for AdminCreateUser requests.
An array of schema attributes for the new user pool. These attributes can be * standard or custom attributes.
*/ inline const Aws::VectorAn array of schema attributes for the new user pool. These attributes can be * standard or custom attributes.
*/ inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; } /** *An array of schema attributes for the new user pool. These attributes can be * standard or custom attributes.
*/ inline void SetSchema(const Aws::VectorAn array of schema attributes for the new user pool. These attributes can be * standard or custom attributes.
*/ inline void SetSchema(Aws::VectorAn array of schema attributes for the new user pool. These attributes can be * standard or custom attributes.
*/ inline CreateUserPoolRequest& WithSchema(const Aws::VectorAn array of schema attributes for the new user pool. These attributes can be * standard or custom attributes.
*/ inline CreateUserPoolRequest& WithSchema(Aws::VectorAn array of schema attributes for the new user pool. These attributes can be * standard or custom attributes.
*/ inline CreateUserPoolRequest& AddSchema(const SchemaAttributeType& value) { m_schemaHasBeenSet = true; m_schema.push_back(value); return *this; } /** *An array of schema attributes for the new user pool. These attributes can be * standard or custom attributes.
*/ inline CreateUserPoolRequest& AddSchema(SchemaAttributeType&& value) { m_schemaHasBeenSet = true; m_schema.push_back(std::move(value)); return *this; } /** *Used to enable advanced security risk detection. Set the key
* AdvancedSecurityMode to the value "AUDIT".
Used to enable advanced security risk detection. Set the key
* AdvancedSecurityMode to the value "AUDIT".
Used to enable advanced security risk detection. Set the key
* AdvancedSecurityMode to the value "AUDIT".
Used to enable advanced security risk detection. Set the key
* AdvancedSecurityMode to the value "AUDIT".
Used to enable advanced security risk detection. Set the key
* AdvancedSecurityMode to the value "AUDIT".
Used to enable advanced security risk detection. Set the key
* AdvancedSecurityMode to the value "AUDIT".
You can choose to set case sensitivity on the username input for the selected
* sign-in option. For example, when this is set to False, users will
* be able to sign in using either "username" or "Username". This configuration is
* immutable once it has been set. For more information, see UsernameConfigurationType.
You can choose to set case sensitivity on the username input for the selected
* sign-in option. For example, when this is set to False, users will
* be able to sign in using either "username" or "Username". This configuration is
* immutable once it has been set. For more information, see UsernameConfigurationType.
You can choose to set case sensitivity on the username input for the selected
* sign-in option. For example, when this is set to False, users will
* be able to sign in using either "username" or "Username". This configuration is
* immutable once it has been set. For more information, see UsernameConfigurationType.
You can choose to set case sensitivity on the username input for the selected
* sign-in option. For example, when this is set to False, users will
* be able to sign in using either "username" or "Username". This configuration is
* immutable once it has been set. For more information, see UsernameConfigurationType.
You can choose to set case sensitivity on the username input for the selected
* sign-in option. For example, when this is set to False, users will
* be able to sign in using either "username" or "Username". This configuration is
* immutable once it has been set. For more information, see UsernameConfigurationType.
You can choose to set case sensitivity on the username input for the selected
* sign-in option. For example, when this is set to False, users will
* be able to sign in using either "username" or "Username". This configuration is
* immutable once it has been set. For more information, see UsernameConfigurationType.
Use this setting to define which verified available method a user can use to
* recover their password when they call ForgotPassword. It allows you
* to define a preferred method when a user has more than one method available.
* With this setting, SMS does not qualify for a valid password recovery mechanism
* if the user also has SMS MFA enabled. In the absence of this setting, Cognito
* uses the legacy behavior to determine the recovery method where SMS is preferred
* over email.
Use this setting to define which verified available method a user can use to
* recover their password when they call ForgotPassword. It allows you
* to define a preferred method when a user has more than one method available.
* With this setting, SMS does not qualify for a valid password recovery mechanism
* if the user also has SMS MFA enabled. In the absence of this setting, Cognito
* uses the legacy behavior to determine the recovery method where SMS is preferred
* over email.
Use this setting to define which verified available method a user can use to
* recover their password when they call ForgotPassword. It allows you
* to define a preferred method when a user has more than one method available.
* With this setting, SMS does not qualify for a valid password recovery mechanism
* if the user also has SMS MFA enabled. In the absence of this setting, Cognito
* uses the legacy behavior to determine the recovery method where SMS is preferred
* over email.
Use this setting to define which verified available method a user can use to
* recover their password when they call ForgotPassword. It allows you
* to define a preferred method when a user has more than one method available.
* With this setting, SMS does not qualify for a valid password recovery mechanism
* if the user also has SMS MFA enabled. In the absence of this setting, Cognito
* uses the legacy behavior to determine the recovery method where SMS is preferred
* over email.
Use this setting to define which verified available method a user can use to
* recover their password when they call ForgotPassword. It allows you
* to define a preferred method when a user has more than one method available.
* With this setting, SMS does not qualify for a valid password recovery mechanism
* if the user also has SMS MFA enabled. In the absence of this setting, Cognito
* uses the legacy behavior to determine the recovery method where SMS is preferred
* over email.
Use this setting to define which verified available method a user can use to
* recover their password when they call ForgotPassword. It allows you
* to define a preferred method when a user has more than one method available.
* With this setting, SMS does not qualify for a valid password recovery mechanism
* if the user also has SMS MFA enabled. In the absence of this setting, Cognito
* uses the legacy behavior to determine the recovery method where SMS is preferred
* over email.