/**
* 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;} /** *When active, DeletionProtection
prevents accidental deletion of
* your user pool. Before you can delete a user pool that you have protected
* against deletion, you must deactivate this feature.
When you try to
* delete a protected user pool in a DeleteUserPool
API request,
* Amazon Cognito returns an InvalidParameterException
error. To
* delete a protected user pool, send a new DeleteUserPool
request
* after you deactivate deletion protection in an UpdateUserPool
API
* request.
When active, DeletionProtection
prevents accidental deletion of
* your user pool. Before you can delete a user pool that you have protected
* against deletion, you must deactivate this feature.
When you try to
* delete a protected user pool in a DeleteUserPool
API request,
* Amazon Cognito returns an InvalidParameterException
error. To
* delete a protected user pool, send a new DeleteUserPool
request
* after you deactivate deletion protection in an UpdateUserPool
API
* request.
When active, DeletionProtection
prevents accidental deletion of
* your user pool. Before you can delete a user pool that you have protected
* against deletion, you must deactivate this feature.
When you try to
* delete a protected user pool in a DeleteUserPool
API request,
* Amazon Cognito returns an InvalidParameterException
error. To
* delete a protected user pool, send a new DeleteUserPool
request
* after you deactivate deletion protection in an UpdateUserPool
API
* request.
When active, DeletionProtection
prevents accidental deletion of
* your user pool. Before you can delete a user pool that you have protected
* against deletion, you must deactivate this feature.
When you try to
* delete a protected user pool in a DeleteUserPool
API request,
* Amazon Cognito returns an InvalidParameterException
error. To
* delete a protected user pool, send a new DeleteUserPool
request
* after you deactivate deletion protection in an UpdateUserPool
API
* request.
When active, DeletionProtection
prevents accidental deletion of
* your user pool. Before you can delete a user pool that you have protected
* against deletion, you must deactivate this feature.
When you try to
* delete a protected user pool in a DeleteUserPool
API request,
* Amazon Cognito returns an InvalidParameterException
error. To
* delete a protected user pool, send a new DeleteUserPool
request
* after you deactivate deletion protection in an UpdateUserPool
API
* request.
When active, DeletionProtection
prevents accidental deletion of
* your user pool. Before you can delete a user pool that you have protected
* against deletion, you must deactivate this feature.
When you try to
* delete a protected user pool in a DeleteUserPool
API request,
* Amazon Cognito returns an InvalidParameterException
error. To
* delete a protected user pool, send a new DeleteUserPool
request
* after you deactivate deletion protection in an UpdateUserPool
API
* request.
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 must 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 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 must 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 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 must 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 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 must 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 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 must 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 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 must 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 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 a user can use an email address or phone number as a * username when they sign up.
*/ inline const Aws::VectorSpecifies whether a user can use an email address or phone number as a * username when they sign up.
*/ inline bool UsernameAttributesHasBeenSet() const { return m_usernameAttributesHasBeenSet; } /** *Specifies whether a user can use an email address or phone number as a * username when they sign up.
*/ inline void SetUsernameAttributes(const Aws::VectorSpecifies whether a user can use an email address or phone number as a * username when they sign up.
*/ inline void SetUsernameAttributes(Aws::VectorSpecifies whether a user can use an email address or phone number as a * username when they sign up.
*/ inline CreateUserPoolRequest& WithUsernameAttributes(const Aws::VectorSpecifies whether a user can use an email address or phone number as a * username when they sign up.
*/ inline CreateUserPoolRequest& WithUsernameAttributes(Aws::VectorSpecifies whether a user can use an email address or phone number as a * username when they sign up.
*/ inline CreateUserPoolRequest& AddUsernameAttributes(const UsernameAttributeType& value) { m_usernameAttributesHasBeenSet = true; m_usernameAttributes.push_back(value); return *this; } /** *Specifies whether a user can use an email address or phone number as a * username when they sign up.
*/ inline CreateUserPoolRequest& AddUsernameAttributes(UsernameAttributeType&& value) { m_usernameAttributesHasBeenSet = true; m_usernameAttributes.push_back(std::move(value)); return *this; } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline const Aws::String& GetSmsVerificationMessage() const{ return m_smsVerificationMessage; } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline bool SmsVerificationMessageHasBeenSet() const { return m_smsVerificationMessageHasBeenSet; } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline void SetSmsVerificationMessage(const Aws::String& value) { m_smsVerificationMessageHasBeenSet = true; m_smsVerificationMessage = value; } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline void SetSmsVerificationMessage(Aws::String&& value) { m_smsVerificationMessageHasBeenSet = true; m_smsVerificationMessage = std::move(value); } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline void SetSmsVerificationMessage(const char* value) { m_smsVerificationMessageHasBeenSet = true; m_smsVerificationMessage.assign(value); } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline CreateUserPoolRequest& WithSmsVerificationMessage(const Aws::String& value) { SetSmsVerificationMessage(value); return *this;} /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline CreateUserPoolRequest& WithSmsVerificationMessage(Aws::String&& value) { SetSmsVerificationMessage(std::move(value)); return *this;} /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline CreateUserPoolRequest& WithSmsVerificationMessage(const char* value) { SetSmsVerificationMessage(value); return *this;} /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline const Aws::String& GetEmailVerificationMessage() const{ return m_emailVerificationMessage; } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline bool EmailVerificationMessageHasBeenSet() const { return m_emailVerificationMessageHasBeenSet; } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline void SetEmailVerificationMessage(const Aws::String& value) { m_emailVerificationMessageHasBeenSet = true; m_emailVerificationMessage = value; } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline void SetEmailVerificationMessage(Aws::String&& value) { m_emailVerificationMessageHasBeenSet = true; m_emailVerificationMessage = std::move(value); } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline void SetEmailVerificationMessage(const char* value) { m_emailVerificationMessageHasBeenSet = true; m_emailVerificationMessage.assign(value); } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline CreateUserPoolRequest& WithEmailVerificationMessage(const Aws::String& value) { SetEmailVerificationMessage(value); return *this;} /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline CreateUserPoolRequest& WithEmailVerificationMessage(Aws::String&& value) { SetEmailVerificationMessage(std::move(value)); return *this;} /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline CreateUserPoolRequest& WithEmailVerificationMessage(const char* value) { SetEmailVerificationMessage(value); return *this;} /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline const Aws::String& GetEmailVerificationSubject() const{ return m_emailVerificationSubject; } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline bool EmailVerificationSubjectHasBeenSet() const { return m_emailVerificationSubjectHasBeenSet; } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline void SetEmailVerificationSubject(const Aws::String& value) { m_emailVerificationSubjectHasBeenSet = true; m_emailVerificationSubject = value; } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline void SetEmailVerificationSubject(Aws::String&& value) { m_emailVerificationSubjectHasBeenSet = true; m_emailVerificationSubject = std::move(value); } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline void SetEmailVerificationSubject(const char* value) { m_emailVerificationSubjectHasBeenSet = true; m_emailVerificationSubject.assign(value); } /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline CreateUserPoolRequest& WithEmailVerificationSubject(const Aws::String& value) { SetEmailVerificationSubject(value); return *this;} /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ inline CreateUserPoolRequest& WithEmailVerificationSubject(Aws::String&& value) { SetEmailVerificationSubject(std::move(value)); return *this;} /** *This parameter is no longer used. See VerificationMessageTemplateType.
*/ 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 settings for updates to user attributes. These settings include the
* property AttributesRequireVerificationBeforeUpdate
, a user-pool
* setting that tells Amazon Cognito how to handle changes to the value of your
* users' email address and phone number attributes. For more information, see
* Verifying updates to email addresses and phone numbers.
The settings for updates to user attributes. These settings include the
* property AttributesRequireVerificationBeforeUpdate
, a user-pool
* setting that tells Amazon Cognito how to handle changes to the value of your
* users' email address and phone number attributes. For more information, see
* Verifying updates to email addresses and phone numbers.
The settings for updates to user attributes. These settings include the
* property AttributesRequireVerificationBeforeUpdate
, a user-pool
* setting that tells Amazon Cognito how to handle changes to the value of your
* users' email address and phone number attributes. For more information, see
* Verifying updates to email addresses and phone numbers.
The settings for updates to user attributes. These settings include the
* property AttributesRequireVerificationBeforeUpdate
, a user-pool
* setting that tells Amazon Cognito how to handle changes to the value of your
* users' email address and phone number attributes. For more information, see
* Verifying updates to email addresses and phone numbers.
The settings for updates to user attributes. These settings include the
* property AttributesRequireVerificationBeforeUpdate
, a user-pool
* setting that tells Amazon Cognito how to handle changes to the value of your
* users' email address and phone number attributes. For more information, see
* Verifying updates to email addresses and phone numbers.
The settings for updates to user attributes. These settings include the
* property AttributesRequireVerificationBeforeUpdate
, a user-pool
* setting that tells Amazon Cognito how to handle changes to the value of your
* users' email address and phone number attributes. For more information, see
* Verifying updates to email addresses and phone numbers.
The device-remembering configuration for a user pool. A null value indicates * that you have deactivated device remembering in your user pool.
*When you provide a value for any DeviceConfiguration
field, you
* activate the Amazon Cognito device-remembering feature.
The device-remembering configuration for a user pool. A null value indicates * that you have deactivated device remembering in your user pool.
*When you provide a value for any DeviceConfiguration
field, you
* activate the Amazon Cognito device-remembering feature.
The device-remembering configuration for a user pool. A null value indicates * that you have deactivated device remembering in your user pool.
*When you provide a value for any DeviceConfiguration
field, you
* activate the Amazon Cognito device-remembering feature.
The device-remembering configuration for a user pool. A null value indicates * that you have deactivated device remembering in your user pool.
*When you provide a value for any DeviceConfiguration
field, you
* activate the Amazon Cognito device-remembering feature.
The device-remembering configuration for a user pool. A null value indicates * that you have deactivated device remembering in your user pool.
*When you provide a value for any DeviceConfiguration
field, you
* activate the Amazon Cognito device-remembering feature.
The device-remembering configuration for a user pool. A null value indicates * that you have deactivated device remembering in your user pool.
*When you provide a value for any DeviceConfiguration
field, you
* activate the Amazon Cognito device-remembering feature.
The email configuration of your user pool. The email configuration type sets * your preferred sending method, Amazon Web Services Region, and sender for * messages from your user pool.
*/ inline const EmailConfigurationType& GetEmailConfiguration() const{ return m_emailConfiguration; } /** *The email configuration of your user pool. The email configuration type sets * your preferred sending method, Amazon Web Services Region, and sender for * messages from your user pool.
*/ inline bool EmailConfigurationHasBeenSet() const { return m_emailConfigurationHasBeenSet; } /** *The email configuration of your user pool. The email configuration type sets * your preferred sending method, Amazon Web Services Region, and sender for * messages from your user pool.
*/ inline void SetEmailConfiguration(const EmailConfigurationType& value) { m_emailConfigurationHasBeenSet = true; m_emailConfiguration = value; } /** *The email configuration of your user pool. The email configuration type sets * your preferred sending method, Amazon Web Services Region, and sender for * messages from your user pool.
*/ inline void SetEmailConfiguration(EmailConfigurationType&& value) { m_emailConfigurationHasBeenSet = true; m_emailConfiguration = std::move(value); } /** *The email configuration of your user pool. The email configuration type sets * your preferred sending method, Amazon Web Services Region, and sender for * messages from your user pool.
*/ inline CreateUserPoolRequest& WithEmailConfiguration(const EmailConfigurationType& value) { SetEmailConfiguration(value); return *this;} /** *The email configuration of your user pool. The email configuration type sets * your preferred sending method, Amazon Web Services Region, and sender for * messages from your user pool.
*/ inline CreateUserPoolRequest& WithEmailConfiguration(EmailConfigurationType&& value) { SetEmailConfiguration(std::move(value)); return *this;} /** *The SMS configuration with the settings that your Amazon Cognito user pool * must use to send an SMS message from your Amazon Web Services account through * Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the * Amazon Web Services Region that you want, the Amazon Cognito user pool uses an * Identity and Access Management (IAM) role in your Amazon Web Services * account.
*/ inline const SmsConfigurationType& GetSmsConfiguration() const{ return m_smsConfiguration; } /** *The SMS configuration with the settings that your Amazon Cognito user pool * must use to send an SMS message from your Amazon Web Services account through * Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the * Amazon Web Services Region that you want, the Amazon Cognito user pool uses an * Identity and Access Management (IAM) role in your Amazon Web Services * account.
*/ inline bool SmsConfigurationHasBeenSet() const { return m_smsConfigurationHasBeenSet; } /** *The SMS configuration with the settings that your Amazon Cognito user pool * must use to send an SMS message from your Amazon Web Services account through * Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the * Amazon Web Services Region that you want, the Amazon Cognito user pool uses an * Identity and Access Management (IAM) role in your Amazon Web Services * account.
*/ inline void SetSmsConfiguration(const SmsConfigurationType& value) { m_smsConfigurationHasBeenSet = true; m_smsConfiguration = value; } /** *The SMS configuration with the settings that your Amazon Cognito user pool * must use to send an SMS message from your Amazon Web Services account through * Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the * Amazon Web Services Region that you want, the Amazon Cognito user pool uses an * Identity and Access Management (IAM) role in your Amazon Web Services * account.
*/ inline void SetSmsConfiguration(SmsConfigurationType&& value) { m_smsConfigurationHasBeenSet = true; m_smsConfiguration = std::move(value); } /** *The SMS configuration with the settings that your Amazon Cognito user pool * must use to send an SMS message from your Amazon Web Services account through * Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the * Amazon Web Services Region that you want, the Amazon Cognito user pool uses an * Identity and Access Management (IAM) role in your Amazon Web Services * account.
*/ inline CreateUserPoolRequest& WithSmsConfiguration(const SmsConfigurationType& value) { SetSmsConfiguration(value); return *this;} /** *The SMS configuration with the settings that your Amazon Cognito user pool * must use to send an SMS message from your Amazon Web Services account through * Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the * Amazon Web Services Region that you want, the Amazon Cognito user pool uses an * Identity and Access Management (IAM) role in your Amazon Web Services * account.
*/ 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; } /** *Enables advanced security risk detection. Set the key
* AdvancedSecurityMode
to the value "AUDIT".
Enables advanced security risk detection. Set the key
* AdvancedSecurityMode
to the value "AUDIT".
Enables advanced security risk detection. Set the key
* AdvancedSecurityMode
to the value "AUDIT".
Enables advanced security risk detection. Set the key
* AdvancedSecurityMode
to the value "AUDIT".
Enables advanced security risk detection. Set the key
* AdvancedSecurityMode
to the value "AUDIT".
Enables advanced security risk detection. Set the key
* AdvancedSecurityMode
to the value "AUDIT".
Case sensitivity on the username input for the selected sign-in option. For
* example, when case sensitivity is set to False
, users can sign in
* using either "username" or "Username". This configuration is immutable once it
* has been set. For more information, see UsernameConfigurationType.
Case sensitivity on the username input for the selected sign-in option. For
* example, when case sensitivity is set to False
, users can sign in
* using either "username" or "Username". This configuration is immutable once it
* has been set. For more information, see UsernameConfigurationType.
Case sensitivity on the username input for the selected sign-in option. For
* example, when case sensitivity is set to False
, users can sign in
* using either "username" or "Username". This configuration is immutable once it
* has been set. For more information, see UsernameConfigurationType.
Case sensitivity on the username input for the selected sign-in option. For
* example, when case sensitivity is set to False
, users can sign in
* using either "username" or "Username". This configuration is immutable once it
* has been set. For more information, see UsernameConfigurationType.
Case sensitivity on the username input for the selected sign-in option. For
* example, when case sensitivity is set to False
, users can sign in
* using either "username" or "Username". This configuration is immutable once it
* has been set. For more information, see UsernameConfigurationType.
Case sensitivity on the username input for the selected sign-in option. For
* example, when case sensitivity is set to False
, users can sign in
* using either "username" or "Username". This configuration is immutable once it
* has been set. For more information, see UsernameConfigurationType.
The available verified method a user can use to recover their password when
* they call ForgotPassword
. You can use this setting to define a
* preferred method when a user has more than one method available. With this
* setting, SMS doesn't qualify for a valid password recovery mechanism if the user
* also has SMS multi-factor authentication (MFA) activated. In the absence of this
* setting, Amazon Cognito uses the legacy behavior to determine the recovery
* method where SMS is preferred through email.
The available verified method a user can use to recover their password when
* they call ForgotPassword
. You can use this setting to define a
* preferred method when a user has more than one method available. With this
* setting, SMS doesn't qualify for a valid password recovery mechanism if the user
* also has SMS multi-factor authentication (MFA) activated. In the absence of this
* setting, Amazon Cognito uses the legacy behavior to determine the recovery
* method where SMS is preferred through email.
The available verified method a user can use to recover their password when
* they call ForgotPassword
. You can use this setting to define a
* preferred method when a user has more than one method available. With this
* setting, SMS doesn't qualify for a valid password recovery mechanism if the user
* also has SMS multi-factor authentication (MFA) activated. In the absence of this
* setting, Amazon Cognito uses the legacy behavior to determine the recovery
* method where SMS is preferred through email.
The available verified method a user can use to recover their password when
* they call ForgotPassword
. You can use this setting to define a
* preferred method when a user has more than one method available. With this
* setting, SMS doesn't qualify for a valid password recovery mechanism if the user
* also has SMS multi-factor authentication (MFA) activated. In the absence of this
* setting, Amazon Cognito uses the legacy behavior to determine the recovery
* method where SMS is preferred through email.
The available verified method a user can use to recover their password when
* they call ForgotPassword
. You can use this setting to define a
* preferred method when a user has more than one method available. With this
* setting, SMS doesn't qualify for a valid password recovery mechanism if the user
* also has SMS multi-factor authentication (MFA) activated. In the absence of this
* setting, Amazon Cognito uses the legacy behavior to determine the recovery
* method where SMS is preferred through email.
The available verified method a user can use to recover their password when
* they call ForgotPassword
. You can use this setting to define a
* preferred method when a user has more than one method available. With this
* setting, SMS doesn't qualify for a valid password recovery mechanism if the user
* also has SMS multi-factor authentication (MFA) activated. In the absence of this
* setting, Amazon Cognito uses the legacy behavior to determine the recovery
* method where SMS is preferred through email.