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/UserPoolPolicyType.h>
11#include <aws/cognito-idp/model/DeletionProtectionType.h>
12#include <aws/cognito-idp/model/LambdaConfigType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/cognito-idp/model/VerificationMessageTemplateType.h>
15#include <aws/cognito-idp/model/UserPoolMfaType.h>
16#include <aws/cognito-idp/model/UserAttributeUpdateSettingsType.h>
17#include <aws/cognito-idp/model/DeviceConfigurationType.h>
18#include <aws/cognito-idp/model/EmailConfigurationType.h>
19#include <aws/cognito-idp/model/SmsConfigurationType.h>
20#include <aws/core/utils/memory/stl/AWSMap.h>
21#include <aws/cognito-idp/model/AdminCreateUserConfigType.h>
22#include <aws/cognito-idp/model/UserPoolAddOnsType.h>
23#include <aws/cognito-idp/model/UsernameConfigurationType.h>
24#include <aws/cognito-idp/model/AccountRecoverySettingType.h>
25#include <aws/cognito-idp/model/UserPoolTierType.h>
26#include <aws/cognito-idp/model/VerifiedAttributeType.h>
27#include <aws/cognito-idp/model/AliasAttributeType.h>
28#include <aws/cognito-idp/model/UsernameAttributeType.h>
29#include <aws/cognito-idp/model/SchemaAttributeType.h>
34namespace CognitoIdentityProvider
66 template<
typename PoolNameT = Aws::String>
67 void SetPoolName(PoolNameT&& value) { m_poolNameHasBeenSet =
true; m_poolName = std::forward<PoolNameT>(value); }
68 template<
typename PoolNameT = Aws::String>
82 template<
typename PoliciesT = UserPoolPolicyType>
83 void SetPolicies(PoliciesT&& value) { m_policiesHasBeenSet =
true; m_policies = std::forward<PoliciesT>(value); }
84 template<
typename PoliciesT = UserPoolPolicyType>
113 template<
typename LambdaConfigT = LambdaConfigType>
114 void SetLambdaConfig(LambdaConfigT&& value) { m_lambdaConfigHasBeenSet =
true; m_lambdaConfig = std::forward<LambdaConfigT>(value); }
115 template<
typename LambdaConfigT = LambdaConfigType>
128 template<
typename AutoVerifiedAttributesT = Aws::Vector<VerifiedAttributeType>>
129 void SetAutoVerifiedAttributes(AutoVerifiedAttributesT&& value) { m_autoVerifiedAttributesHasBeenSet =
true; m_autoVerifiedAttributes = std::forward<AutoVerifiedAttributesT>(value); }
130 template<
typename AutoVerifiedAttributesT = Aws::Vector<VerifiedAttributeType>>
144 template<
typename AliasAttributesT = Aws::Vector<AliasAttributeType>>
145 void SetAliasAttributes(AliasAttributesT&& value) { m_aliasAttributesHasBeenSet =
true; m_aliasAttributes = std::forward<AliasAttributesT>(value); }
146 template<
typename AliasAttributesT = Aws::Vector<AliasAttributeType>>
160 template<
typename UsernameAttributesT = Aws::Vector<UsernameAttributeType>>
161 void SetUsernameAttributes(UsernameAttributesT&& value) { m_usernameAttributesHasBeenSet =
true; m_usernameAttributes = std::forward<UsernameAttributesT>(value); }
162 template<
typename UsernameAttributesT = Aws::Vector<UsernameAttributeType>>
173 template<
typename SmsVerificationMessageT = Aws::String>
174 void SetSmsVerificationMessage(SmsVerificationMessageT&& value) { m_smsVerificationMessageHasBeenSet =
true; m_smsVerificationMessage = std::forward<SmsVerificationMessageT>(value); }
175 template<
typename SmsVerificationMessageT = Aws::String>
185 template<
typename EmailVerificationMessageT = Aws::String>
186 void SetEmailVerificationMessage(EmailVerificationMessageT&& value) { m_emailVerificationMessageHasBeenSet =
true; m_emailVerificationMessage = std::forward<EmailVerificationMessageT>(value); }
187 template<
typename EmailVerificationMessageT = Aws::String>
197 template<
typename EmailVerificationSubjectT = Aws::String>
198 void SetEmailVerificationSubject(EmailVerificationSubjectT&& value) { m_emailVerificationSubjectHasBeenSet =
true; m_emailVerificationSubject = std::forward<EmailVerificationSubjectT>(value); }
199 template<
typename EmailVerificationSubjectT = Aws::String>
216 template<
typename VerificationMessageTemplateT = VerificationMessageTemplateType>
217 void SetVerificationMessageTemplate(VerificationMessageTemplateT&& value) { m_verificationMessageTemplateHasBeenSet =
true; m_verificationMessageTemplate = std::forward<VerificationMessageTemplateT>(value); }
218 template<
typename VerificationMessageTemplateT = VerificationMessageTemplateType>
229 template<
typename SmsAuthenticationMessageT = Aws::String>
230 void SetSmsAuthenticationMessage(SmsAuthenticationMessageT&& value) { m_smsAuthenticationMessageHasBeenSet =
true; m_smsAuthenticationMessage = std::forward<SmsAuthenticationMessageT>(value); }
231 template<
typename SmsAuthenticationMessageT = Aws::String>
264 template<
typename UserAttributeUpdateSettingsT = UserAttributeUpdateSettingsType>
265 void SetUserAttributeUpdateSettings(UserAttributeUpdateSettingsT&& value) { m_userAttributeUpdateSettingsHasBeenSet =
true; m_userAttributeUpdateSettings = std::forward<UserAttributeUpdateSettingsT>(value); }
266 template<
typename UserAttributeUpdateSettingsT = UserAttributeUpdateSettingsType>
287 template<
typename DeviceConfigurationT = DeviceConfigurationType>
288 void SetDeviceConfiguration(DeviceConfigurationT&& value) { m_deviceConfigurationHasBeenSet =
true; m_deviceConfiguration = std::forward<DeviceConfigurationT>(value); }
289 template<
typename DeviceConfigurationT = DeviceConfigurationType>
301 template<
typename EmailConfigurationT = EmailConfigurationType>
302 void SetEmailConfiguration(EmailConfigurationT&& value) { m_emailConfigurationHasBeenSet =
true; m_emailConfiguration = std::forward<EmailConfigurationT>(value); }
303 template<
typename EmailConfigurationT = EmailConfigurationType>
319 template<
typename SmsConfigurationT = SmsConfigurationType>
320 void SetSmsConfiguration(SmsConfigurationT&& value) { m_smsConfigurationHasBeenSet =
true; m_smsConfiguration = std::forward<SmsConfigurationT>(value); }
321 template<
typename SmsConfigurationT = SmsConfigurationType>
333 template<
typename UserPoolTagsT = Aws::Map<Aws::String, Aws::String>>
334 void SetUserPoolTags(UserPoolTagsT&& value) { m_userPoolTagsHasBeenSet =
true; m_userPoolTags = std::forward<UserPoolTagsT>(value); }
335 template<
typename UserPoolTagsT = Aws::Map<Aws::String, Aws::String>>
337 template<
typename UserPoolTagsKeyT = Aws::String,
typename UserPoolTagsValueT = Aws::String>
339 m_userPoolTagsHasBeenSet =
true; m_userPoolTags.emplace(std::forward<UserPoolTagsKeyT>(key), std::forward<UserPoolTagsValueT>(value));
return *
this;
351 template<
typename AdminCreateUserConfigT = AdminCreateUserConfigType>
352 void SetAdminCreateUserConfig(AdminCreateUserConfigT&& value) { m_adminCreateUserConfigHasBeenSet =
true; m_adminCreateUserConfig = std::forward<AdminCreateUserConfigT>(value); }
353 template<
typename AdminCreateUserConfigT = AdminCreateUserConfigType>
368 template<
typename SchemaT = Aws::Vector<SchemaAttributeType>>
369 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet =
true; m_schema = std::forward<SchemaT>(value); }
370 template<
typename SchemaT = Aws::Vector<SchemaAttributeType>>
372 template<
typename SchemaT = SchemaAttributeType>
391 template<
typename UserPoolAddOnsT = UserPoolAddOnsType>
392 void SetUserPoolAddOns(UserPoolAddOnsT&& value) { m_userPoolAddOnsHasBeenSet =
true; m_userPoolAddOns = std::forward<UserPoolAddOnsT>(value); }
393 template<
typename UserPoolAddOnsT = UserPoolAddOnsType>
414 template<
typename UsernameConfigurationT = UsernameConfigurationType>
415 void SetUsernameConfiguration(UsernameConfigurationT&& value) { m_usernameConfigurationHasBeenSet =
true; m_usernameConfiguration = std::forward<UsernameConfigurationT>(value); }
416 template<
typename UsernameConfigurationT = UsernameConfigurationType>
435 template<
typename AccountRecoverySettingT = AccountRecoverySettingType>
436 void SetAccountRecoverySetting(AccountRecoverySettingT&& value) { m_accountRecoverySettingHasBeenSet =
true; m_accountRecoverySetting = std::forward<AccountRecoverySettingT>(value); }
437 template<
typename AccountRecoverySettingT = AccountRecoverySettingType>
457 bool m_poolNameHasBeenSet =
false;
460 bool m_policiesHasBeenSet =
false;
463 bool m_deletionProtectionHasBeenSet =
false;
465 LambdaConfigType m_lambdaConfig;
466 bool m_lambdaConfigHasBeenSet =
false;
469 bool m_autoVerifiedAttributesHasBeenSet =
false;
472 bool m_aliasAttributesHasBeenSet =
false;
475 bool m_usernameAttributesHasBeenSet =
false;
478 bool m_smsVerificationMessageHasBeenSet =
false;
481 bool m_emailVerificationMessageHasBeenSet =
false;
484 bool m_emailVerificationSubjectHasBeenSet =
false;
486 VerificationMessageTemplateType m_verificationMessageTemplate;
487 bool m_verificationMessageTemplateHasBeenSet =
false;
490 bool m_smsAuthenticationMessageHasBeenSet =
false;
493 bool m_mfaConfigurationHasBeenSet =
false;
495 UserAttributeUpdateSettingsType m_userAttributeUpdateSettings;
496 bool m_userAttributeUpdateSettingsHasBeenSet =
false;
498 DeviceConfigurationType m_deviceConfiguration;
499 bool m_deviceConfigurationHasBeenSet =
false;
501 EmailConfigurationType m_emailConfiguration;
502 bool m_emailConfigurationHasBeenSet =
false;
504 SmsConfigurationType m_smsConfiguration;
505 bool m_smsConfigurationHasBeenSet =
false;
508 bool m_userPoolTagsHasBeenSet =
false;
510 AdminCreateUserConfigType m_adminCreateUserConfig;
511 bool m_adminCreateUserConfigHasBeenSet =
false;
514 bool m_schemaHasBeenSet =
false;
516 UserPoolAddOnsType m_userPoolAddOns;
517 bool m_userPoolAddOnsHasBeenSet =
false;
519 UsernameConfigurationType m_usernameConfiguration;
520 bool m_usernameConfigurationHasBeenSet =
false;
522 AccountRecoverySettingType m_accountRecoverySetting;
523 bool m_accountRecoverySettingHasBeenSet =
false;
526 bool m_userPoolTierHasBeenSet =
false;
void SetUserPoolTags(UserPoolTagsT &&value)
const AdminCreateUserConfigType & GetAdminCreateUserConfig() const
const Aws::String & GetSmsVerificationMessage() const
bool UserPoolTagsHasBeenSet() const
bool UsernameAttributesHasBeenSet() const
CreateUserPoolRequest & WithVerificationMessageTemplate(VerificationMessageTemplateT &&value)
bool UserPoolTierHasBeenSet() const
void SetAdminCreateUserConfig(AdminCreateUserConfigT &&value)
void SetLambdaConfig(LambdaConfigT &&value)
bool DeletionProtectionHasBeenSet() const
CreateUserPoolRequest & WithSmsVerificationMessage(SmsVerificationMessageT &&value)
bool PoolNameHasBeenSet() const
UserPoolMfaType GetMfaConfiguration() const
void SetEmailConfiguration(EmailConfigurationT &&value)
bool AccountRecoverySettingHasBeenSet() const
DeletionProtectionType GetDeletionProtection() const
CreateUserPoolRequest & WithUserPoolTier(UserPoolTierType value)
CreateUserPoolRequest & WithUserPoolAddOns(UserPoolAddOnsT &&value)
CreateUserPoolRequest & WithMfaConfiguration(UserPoolMfaType value)
CreateUserPoolRequest & WithPoolName(PoolNameT &&value)
bool AutoVerifiedAttributesHasBeenSet() const
bool SmsVerificationMessageHasBeenSet() const
const DeviceConfigurationType & GetDeviceConfiguration() const
bool AliasAttributesHasBeenSet() const
UserPoolTierType GetUserPoolTier() const
const Aws::Vector< AliasAttributeType > & GetAliasAttributes() const
CreateUserPoolRequest & WithDeletionProtection(DeletionProtectionType value)
const Aws::Map< Aws::String, Aws::String > & GetUserPoolTags() const
void SetUserPoolAddOns(UserPoolAddOnsT &&value)
void SetSchema(SchemaT &&value)
void SetMfaConfiguration(UserPoolMfaType value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
bool UsernameConfigurationHasBeenSet() const
const UserPoolPolicyType & GetPolicies() const
CreateUserPoolRequest & WithUserPoolTags(UserPoolTagsT &&value)
void SetEmailVerificationSubject(EmailVerificationSubjectT &&value)
bool EmailConfigurationHasBeenSet() const
bool DeviceConfigurationHasBeenSet() const
const Aws::String & GetPoolName() const
CreateUserPoolRequest & WithLambdaConfig(LambdaConfigT &&value)
void SetAliasAttributes(AliasAttributesT &&value)
void SetDeletionProtection(DeletionProtectionType value)
CreateUserPoolRequest & WithEmailVerificationMessage(EmailVerificationMessageT &&value)
void SetUsernameConfiguration(UsernameConfigurationT &&value)
CreateUserPoolRequest & WithEmailConfiguration(EmailConfigurationT &&value)
CreateUserPoolRequest & WithSmsAuthenticationMessage(SmsAuthenticationMessageT &&value)
const SmsConfigurationType & GetSmsConfiguration() const
CreateUserPoolRequest & WithPolicies(PoliciesT &&value)
AWS_COGNITOIDENTITYPROVIDER_API CreateUserPoolRequest()=default
void SetSmsVerificationMessage(SmsVerificationMessageT &&value)
bool EmailVerificationMessageHasBeenSet() const
void SetUserAttributeUpdateSettings(UserAttributeUpdateSettingsT &&value)
CreateUserPoolRequest & AddUsernameAttributes(UsernameAttributeType value)
const UserAttributeUpdateSettingsType & GetUserAttributeUpdateSettings() const
const Aws::String & GetEmailVerificationMessage() const
CreateUserPoolRequest & AddUserPoolTags(UserPoolTagsKeyT &&key, UserPoolTagsValueT &&value)
bool SmsAuthenticationMessageHasBeenSet() const
void SetSmsConfiguration(SmsConfigurationT &&value)
bool PoliciesHasBeenSet() const
CreateUserPoolRequest & WithDeviceConfiguration(DeviceConfigurationT &&value)
CreateUserPoolRequest & AddSchema(SchemaT &&value)
const Aws::String & GetSmsAuthenticationMessage() const
CreateUserPoolRequest & WithEmailVerificationSubject(EmailVerificationSubjectT &&value)
CreateUserPoolRequest & WithSmsConfiguration(SmsConfigurationT &&value)
CreateUserPoolRequest & WithSchema(SchemaT &&value)
bool LambdaConfigHasBeenSet() const
CreateUserPoolRequest & WithUsernameAttributes(UsernameAttributesT &&value)
bool AdminCreateUserConfigHasBeenSet() const
CreateUserPoolRequest & WithUserAttributeUpdateSettings(UserAttributeUpdateSettingsT &&value)
const UserPoolAddOnsType & GetUserPoolAddOns() const
bool UserAttributeUpdateSettingsHasBeenSet() const
bool EmailVerificationSubjectHasBeenSet() const
bool SchemaHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const AccountRecoverySettingType & GetAccountRecoverySetting() const
void SetPolicies(PoliciesT &&value)
void SetAutoVerifiedAttributes(AutoVerifiedAttributesT &&value)
const UsernameConfigurationType & GetUsernameConfiguration() const
void SetUsernameAttributes(UsernameAttributesT &&value)
const Aws::Vector< UsernameAttributeType > & GetUsernameAttributes() const
const Aws::Vector< VerifiedAttributeType > & GetAutoVerifiedAttributes() const
CreateUserPoolRequest & WithAdminCreateUserConfig(AdminCreateUserConfigT &&value)
const VerificationMessageTemplateType & GetVerificationMessageTemplate() const
const Aws::String & GetEmailVerificationSubject() const
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool SmsConfigurationHasBeenSet() const
void SetPoolName(PoolNameT &&value)
bool VerificationMessageTemplateHasBeenSet() const
const LambdaConfigType & GetLambdaConfig() const
bool UserPoolAddOnsHasBeenSet() const
const EmailConfigurationType & GetEmailConfiguration() const
bool MfaConfigurationHasBeenSet() const
CreateUserPoolRequest & AddAliasAttributes(AliasAttributeType value)
void SetEmailVerificationMessage(EmailVerificationMessageT &&value)
CreateUserPoolRequest & WithAutoVerifiedAttributes(AutoVerifiedAttributesT &&value)
void SetUserPoolTier(UserPoolTierType value)
void SetDeviceConfiguration(DeviceConfigurationT &&value)
CreateUserPoolRequest & WithAccountRecoverySetting(AccountRecoverySettingT &&value)
void SetVerificationMessageTemplate(VerificationMessageTemplateT &&value)
void SetAccountRecoverySetting(AccountRecoverySettingT &&value)
void SetSmsAuthenticationMessage(SmsAuthenticationMessageT &&value)
CreateUserPoolRequest & AddAutoVerifiedAttributes(VerifiedAttributeType value)
const Aws::Vector< SchemaAttributeType > & GetSchema() const
CreateUserPoolRequest & WithUsernameConfiguration(UsernameConfigurationT &&value)
CreateUserPoolRequest & WithAliasAttributes(AliasAttributesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector