7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/cognito-idp/model/AccountRecoverySettingType.h>
10#include <aws/cognito-idp/model/AdminCreateUserConfigType.h>
11#include <aws/cognito-idp/model/DeletionProtectionType.h>
12#include <aws/cognito-idp/model/DeviceConfigurationType.h>
13#include <aws/cognito-idp/model/EmailConfigurationType.h>
14#include <aws/cognito-idp/model/IssuerConfigurationType.h>
15#include <aws/cognito-idp/model/KeyConfigurationType.h>
16#include <aws/cognito-idp/model/LambdaConfigType.h>
17#include <aws/cognito-idp/model/SmsConfigurationType.h>
18#include <aws/cognito-idp/model/UserAttributeUpdateSettingsType.h>
19#include <aws/cognito-idp/model/UserPoolAddOnsType.h>
20#include <aws/cognito-idp/model/UserPoolMfaType.h>
21#include <aws/cognito-idp/model/UserPoolPolicyType.h>
22#include <aws/cognito-idp/model/UserPoolTierType.h>
23#include <aws/cognito-idp/model/VerificationMessageTemplateType.h>
24#include <aws/cognito-idp/model/VerifiedAttributeType.h>
25#include <aws/core/utils/memory/stl/AWSMap.h>
26#include <aws/core/utils/memory/stl/AWSString.h>
27#include <aws/core/utils/memory/stl/AWSVector.h>
32namespace CognitoIdentityProvider {
60 template <
typename UserPoolIdT = Aws::String>
62 m_userPoolIdHasBeenSet =
true;
63 m_userPoolId = std::forward<UserPoolIdT>(value);
65 template <
typename UserPoolIdT = Aws::String>
82 template <
typename PoliciesT = UserPoolPolicyType>
84 m_policiesHasBeenSet =
true;
85 m_policies = std::forward<PoliciesT>(value);
87 template <
typename PoliciesT = UserPoolPolicyType>
108 m_deletionProtectionHasBeenSet =
true;
109 m_deletionProtection = value;
125 template <
typename LambdaConfigT = LambdaConfigType>
127 m_lambdaConfigHasBeenSet =
true;
128 m_lambdaConfig = std::forward<LambdaConfigT>(value);
130 template <
typename LambdaConfigT = LambdaConfigType>
146 template <
typename AutoVerifiedAttributesT = Aws::Vector<VerifiedAttributeType>>
148 m_autoVerifiedAttributesHasBeenSet =
true;
149 m_autoVerifiedAttributes = std::forward<AutoVerifiedAttributesT>(value);
151 template <
typename AutoVerifiedAttributesT = Aws::Vector<VerifiedAttributeType>>
157 m_autoVerifiedAttributesHasBeenSet =
true;
158 m_autoVerifiedAttributes.push_back(value);
169 template <
typename SmsVerificationMessageT = Aws::String>
171 m_smsVerificationMessageHasBeenSet =
true;
172 m_smsVerificationMessage = std::forward<SmsVerificationMessageT>(value);
174 template <
typename SmsVerificationMessageT = Aws::String>
187 template <
typename EmailVerificationMessageT = Aws::String>
189 m_emailVerificationMessageHasBeenSet =
true;
190 m_emailVerificationMessage = std::forward<EmailVerificationMessageT>(value);
192 template <
typename EmailVerificationMessageT = Aws::String>
205 template <
typename EmailVerificationSubjectT = Aws::String>
207 m_emailVerificationSubjectHasBeenSet =
true;
208 m_emailVerificationSubject = std::forward<EmailVerificationSubjectT>(value);
210 template <
typename EmailVerificationSubjectT = Aws::String>
230 template <
typename VerificationMessageTemplateT = VerificationMessageTemplateType>
232 m_verificationMessageTemplateHasBeenSet =
true;
233 m_verificationMessageTemplate = std::forward<VerificationMessageTemplateT>(value);
235 template <
typename VerificationMessageTemplateT = VerificationMessageTemplateType>
249 template <
typename SmsAuthenticationMessageT = Aws::String>
251 m_smsAuthenticationMessageHasBeenSet =
true;
252 m_smsAuthenticationMessage = std::forward<SmsAuthenticationMessageT>(value);
254 template <
typename SmsAuthenticationMessageT = Aws::String>
272 template <
typename UserAttributeUpdateSettingsT = UserAttributeUpdateSettingsType>
274 m_userAttributeUpdateSettingsHasBeenSet =
true;
275 m_userAttributeUpdateSettings = std::forward<UserAttributeUpdateSettingsT>(value);
277 template <
typename UserAttributeUpdateSettingsT = UserAttributeUpdateSettingsType>
299 m_mfaConfigurationHasBeenSet =
true;
300 m_mfaConfiguration = value;
325 template <
typename DeviceConfigurationT = DeviceConfigurationType>
327 m_deviceConfigurationHasBeenSet =
true;
328 m_deviceConfiguration = std::forward<DeviceConfigurationT>(value);
330 template <
typename DeviceConfigurationT = DeviceConfigurationType>
345 template <
typename EmailConfigurationT = EmailConfigurationType>
347 m_emailConfigurationHasBeenSet =
true;
348 m_emailConfiguration = std::forward<EmailConfigurationT>(value);
350 template <
typename EmailConfigurationT = EmailConfigurationType>
369 template <
typename SmsConfigurationT = SmsConfigurationType>
371 m_smsConfigurationHasBeenSet =
true;
372 m_smsConfiguration = std::forward<SmsConfigurationT>(value);
374 template <
typename SmsConfigurationT = SmsConfigurationType>
389 template <
typename UserPoolTagsT = Aws::Map<Aws::String, Aws::String>>
391 m_userPoolTagsHasBeenSet =
true;
392 m_userPoolTags = std::forward<UserPoolTagsT>(value);
394 template <
typename UserPoolTagsT = Aws::Map<Aws::String, Aws::String>>
399 template <
typename UserPoolTagsKeyT = Aws::String,
typename UserPoolTagsValueT = Aws::String>
401 m_userPoolTagsHasBeenSet =
true;
402 m_userPoolTags.emplace(std::forward<UserPoolTagsKeyT>(key), std::forward<UserPoolTagsValueT>(value));
415 template <
typename AdminCreateUserConfigT = AdminCreateUserConfigType>
417 m_adminCreateUserConfigHasBeenSet =
true;
418 m_adminCreateUserConfig = std::forward<AdminCreateUserConfigT>(value);
420 template <
typename AdminCreateUserConfigT = AdminCreateUserConfigType>
442 template <
typename UserPoolAddOnsT = UserPoolAddOnsType>
444 m_userPoolAddOnsHasBeenSet =
true;
445 m_userPoolAddOns = std::forward<UserPoolAddOnsT>(value);
447 template <
typename UserPoolAddOnsT = UserPoolAddOnsType>
466 template <
typename AccountRecoverySettingT = AccountRecoverySettingType>
468 m_accountRecoverySettingHasBeenSet =
true;
469 m_accountRecoverySetting = std::forward<AccountRecoverySettingT>(value);
471 template <
typename AccountRecoverySettingT = AccountRecoverySettingType>
484 template <
typename PoolNameT = Aws::String>
486 m_poolNameHasBeenSet =
true;
487 m_poolName = std::forward<PoolNameT>(value);
489 template <
typename PoolNameT = Aws::String>
507 m_userPoolTierHasBeenSet =
true;
508 m_userPoolTier = value;
523 template <
typename KeyConfigurationT = KeyConfigurationType>
525 m_keyConfigurationHasBeenSet =
true;
526 m_keyConfiguration = std::forward<KeyConfigurationT>(value);
528 template <
typename KeyConfigurationT = KeyConfigurationType>
542 template <
typename IssuerConfigurationT = IssuerConfigurationType>
544 m_issuerConfigurationHasBeenSet =
true;
545 m_issuerConfiguration = std::forward<IssuerConfigurationT>(value);
547 template <
typename IssuerConfigurationT = IssuerConfigurationType>
560 LambdaConfigType m_lambdaConfig;
570 VerificationMessageTemplateType m_verificationMessageTemplate;
574 UserAttributeUpdateSettingsType m_userAttributeUpdateSettings;
578 DeviceConfigurationType m_deviceConfiguration;
580 EmailConfigurationType m_emailConfiguration;
582 SmsConfigurationType m_smsConfiguration;
586 AdminCreateUserConfigType m_adminCreateUserConfig;
588 UserPoolAddOnsType m_userPoolAddOns;
590 AccountRecoverySettingType m_accountRecoverySetting;
596 KeyConfigurationType m_keyConfiguration;
598 IssuerConfigurationType m_issuerConfiguration;
599 bool m_userPoolIdHasBeenSet =
false;
600 bool m_policiesHasBeenSet =
false;
601 bool m_deletionProtectionHasBeenSet =
false;
602 bool m_lambdaConfigHasBeenSet =
false;
603 bool m_autoVerifiedAttributesHasBeenSet =
false;
604 bool m_smsVerificationMessageHasBeenSet =
false;
605 bool m_emailVerificationMessageHasBeenSet =
false;
606 bool m_emailVerificationSubjectHasBeenSet =
false;
607 bool m_verificationMessageTemplateHasBeenSet =
false;
608 bool m_smsAuthenticationMessageHasBeenSet =
false;
609 bool m_userAttributeUpdateSettingsHasBeenSet =
false;
610 bool m_mfaConfigurationHasBeenSet =
false;
611 bool m_deviceConfigurationHasBeenSet =
false;
612 bool m_emailConfigurationHasBeenSet =
false;
613 bool m_smsConfigurationHasBeenSet =
false;
614 bool m_userPoolTagsHasBeenSet =
false;
615 bool m_adminCreateUserConfigHasBeenSet =
false;
616 bool m_userPoolAddOnsHasBeenSet =
false;
617 bool m_accountRecoverySettingHasBeenSet =
false;
618 bool m_poolNameHasBeenSet =
false;
619 bool m_userPoolTierHasBeenSet =
false;
620 bool m_keyConfigurationHasBeenSet =
false;
621 bool m_issuerConfigurationHasBeenSet =
false;
void SetEmailVerificationMessage(EmailVerificationMessageT &&value)
bool DeviceConfigurationHasBeenSet() const
bool VerificationMessageTemplateHasBeenSet() const
const Aws::String & GetEmailVerificationSubject() const
UpdateUserPoolRequest & WithSmsConfiguration(SmsConfigurationT &&value)
const Aws::String & GetSmsAuthenticationMessage() const
bool PoliciesHasBeenSet() const
UpdateUserPoolRequest & WithLambdaConfig(LambdaConfigT &&value)
UpdateUserPoolRequest & WithDeletionProtection(DeletionProtectionType value)
bool UserAttributeUpdateSettingsHasBeenSet() const
UpdateUserPoolRequest & WithSmsAuthenticationMessage(SmsAuthenticationMessageT &&value)
UpdateUserPoolRequest & WithKeyConfiguration(KeyConfigurationT &&value)
const Aws::String & GetUserPoolId() const
const Aws::Map< Aws::String, Aws::String > & GetUserPoolTags() const
UserPoolMfaType GetMfaConfiguration() const
UpdateUserPoolRequest & WithAccountRecoverySetting(AccountRecoverySettingT &&value)
const KeyConfigurationType & GetKeyConfiguration() const
void SetMfaConfiguration(UserPoolMfaType value)
UpdateUserPoolRequest & WithEmailVerificationMessage(EmailVerificationMessageT &&value)
UpdateUserPoolRequest & WithMfaConfiguration(UserPoolMfaType value)
bool IssuerConfigurationHasBeenSet() const
bool SmsVerificationMessageHasBeenSet() const
void SetUserPoolId(UserPoolIdT &&value)
const UserPoolPolicyType & GetPolicies() const
bool MfaConfigurationHasBeenSet() const
void SetIssuerConfiguration(IssuerConfigurationT &&value)
bool DeletionProtectionHasBeenSet() const
const AccountRecoverySettingType & GetAccountRecoverySetting() const
const Aws::String & GetEmailVerificationMessage() const
bool SmsConfigurationHasBeenSet() const
const IssuerConfigurationType & GetIssuerConfiguration() const
const DeviceConfigurationType & GetDeviceConfiguration() const
UpdateUserPoolRequest & AddUserPoolTags(UserPoolTagsKeyT &&key, UserPoolTagsValueT &&value)
const EmailConfigurationType & GetEmailConfiguration() const
void SetKeyConfiguration(KeyConfigurationT &&value)
bool UserPoolAddOnsHasBeenSet() const
void SetAdminCreateUserConfig(AdminCreateUserConfigT &&value)
void SetEmailVerificationSubject(EmailVerificationSubjectT &&value)
void SetSmsAuthenticationMessage(SmsAuthenticationMessageT &&value)
void SetDeletionProtection(DeletionProtectionType value)
const SmsConfigurationType & GetSmsConfiguration() const
virtual const char * GetServiceRequestName() const override
DeletionProtectionType GetDeletionProtection() const
bool LambdaConfigHasBeenSet() const
UpdateUserPoolRequest & WithDeviceConfiguration(DeviceConfigurationT &&value)
bool EmailVerificationMessageHasBeenSet() const
UpdateUserPoolRequest & WithEmailVerificationSubject(EmailVerificationSubjectT &&value)
void SetAutoVerifiedAttributes(AutoVerifiedAttributesT &&value)
bool AdminCreateUserConfigHasBeenSet() const
bool EmailConfigurationHasBeenSet() const
void SetUserPoolTags(UserPoolTagsT &&value)
void SetLambdaConfig(LambdaConfigT &&value)
UpdateUserPoolRequest & WithAutoVerifiedAttributes(AutoVerifiedAttributesT &&value)
const UserAttributeUpdateSettingsType & GetUserAttributeUpdateSettings() const
bool AutoVerifiedAttributesHasBeenSet() const
UpdateUserPoolRequest & WithUserPoolId(UserPoolIdT &&value)
UpdateUserPoolRequest & WithUserPoolTags(UserPoolTagsT &&value)
UpdateUserPoolRequest & WithPoolName(PoolNameT &&value)
const Aws::Vector< VerifiedAttributeType > & GetAutoVerifiedAttributes() const
const AdminCreateUserConfigType & GetAdminCreateUserConfig() const
void SetVerificationMessageTemplate(VerificationMessageTemplateT &&value)
AWS_COGNITOIDENTITYPROVIDER_API UpdateUserPoolRequest()=default
UpdateUserPoolRequest & WithIssuerConfiguration(IssuerConfigurationT &&value)
void SetSmsVerificationMessage(SmsVerificationMessageT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool UserPoolIdHasBeenSet() const
UpdateUserPoolRequest & WithSmsVerificationMessage(SmsVerificationMessageT &&value)
UpdateUserPoolRequest & WithVerificationMessageTemplate(VerificationMessageTemplateT &&value)
const LambdaConfigType & GetLambdaConfig() const
bool EmailVerificationSubjectHasBeenSet() const
void SetPolicies(PoliciesT &&value)
bool AccountRecoverySettingHasBeenSet() const
bool UserPoolTagsHasBeenSet() const
void SetUserAttributeUpdateSettings(UserAttributeUpdateSettingsT &&value)
void SetSmsConfiguration(SmsConfigurationT &&value)
bool UserPoolTierHasBeenSet() const
bool KeyConfigurationHasBeenSet() const
UpdateUserPoolRequest & WithUserPoolAddOns(UserPoolAddOnsT &&value)
UpdateUserPoolRequest & WithEmailConfiguration(EmailConfigurationT &&value)
UpdateUserPoolRequest & AddAutoVerifiedAttributes(VerifiedAttributeType value)
void SetUserPoolAddOns(UserPoolAddOnsT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
const VerificationMessageTemplateType & GetVerificationMessageTemplate() const
void SetDeviceConfiguration(DeviceConfigurationT &&value)
void SetPoolName(PoolNameT &&value)
UpdateUserPoolRequest & WithUserAttributeUpdateSettings(UserAttributeUpdateSettingsT &&value)
bool SmsAuthenticationMessageHasBeenSet() const
const Aws::String & GetPoolName() const
void SetUserPoolTier(UserPoolTierType value)
UserPoolTierType GetUserPoolTier() const
bool PoolNameHasBeenSet() const
UpdateUserPoolRequest & WithPolicies(PoliciesT &&value)
void SetEmailConfiguration(EmailConfigurationT &&value)
UpdateUserPoolRequest & WithUserPoolTier(UserPoolTierType value)
UpdateUserPoolRequest & WithAdminCreateUserConfig(AdminCreateUserConfigT &&value)
void SetAccountRecoverySetting(AccountRecoverySettingT &&value)
const UserPoolAddOnsType & GetUserPoolAddOns() const
const Aws::String & GetSmsVerificationMessage() const
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