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/UserAttributeUpdateSettingsType.h>
16#include <aws/cognito-idp/model/UserPoolMfaType.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/AccountRecoverySettingType.h>
24#include <aws/cognito-idp/model/UserPoolTierType.h>
25#include <aws/cognito-idp/model/VerifiedAttributeType.h>
30namespace CognitoIdentityProvider
62 template<
typename UserPoolIdT = Aws::String>
63 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet =
true; m_userPoolId = std::forward<UserPoolIdT>(value); }
64 template<
typename UserPoolIdT = Aws::String>
78 template<
typename PoliciesT = UserPoolPolicyType>
79 void SetPolicies(PoliciesT&& value) { m_policiesHasBeenSet =
true; m_policies = std::forward<PoliciesT>(value); }
80 template<
typename PoliciesT = UserPoolPolicyType>
109 template<
typename LambdaConfigT = LambdaConfigType>
110 void SetLambdaConfig(LambdaConfigT&& value) { m_lambdaConfigHasBeenSet =
true; m_lambdaConfig = std::forward<LambdaConfigT>(value); }
111 template<
typename LambdaConfigT = LambdaConfigType>
124 template<
typename AutoVerifiedAttributesT = Aws::Vector<VerifiedAttributeType>>
125 void SetAutoVerifiedAttributes(AutoVerifiedAttributesT&& value) { m_autoVerifiedAttributesHasBeenSet =
true; m_autoVerifiedAttributes = std::forward<AutoVerifiedAttributesT>(value); }
126 template<
typename AutoVerifiedAttributesT = Aws::Vector<VerifiedAttributeType>>
137 template<
typename SmsVerificationMessageT = Aws::String>
138 void SetSmsVerificationMessage(SmsVerificationMessageT&& value) { m_smsVerificationMessageHasBeenSet =
true; m_smsVerificationMessage = std::forward<SmsVerificationMessageT>(value); }
139 template<
typename SmsVerificationMessageT = Aws::String>
149 template<
typename EmailVerificationMessageT = Aws::String>
150 void SetEmailVerificationMessage(EmailVerificationMessageT&& value) { m_emailVerificationMessageHasBeenSet =
true; m_emailVerificationMessage = std::forward<EmailVerificationMessageT>(value); }
151 template<
typename EmailVerificationMessageT = Aws::String>
161 template<
typename EmailVerificationSubjectT = Aws::String>
162 void SetEmailVerificationSubject(EmailVerificationSubjectT&& value) { m_emailVerificationSubjectHasBeenSet =
true; m_emailVerificationSubject = std::forward<EmailVerificationSubjectT>(value); }
163 template<
typename EmailVerificationSubjectT = Aws::String>
180 template<
typename VerificationMessageTemplateT = VerificationMessageTemplateType>
181 void SetVerificationMessageTemplate(VerificationMessageTemplateT&& value) { m_verificationMessageTemplateHasBeenSet =
true; m_verificationMessageTemplate = std::forward<VerificationMessageTemplateT>(value); }
182 template<
typename VerificationMessageTemplateT = VerificationMessageTemplateType>
193 template<
typename SmsAuthenticationMessageT = Aws::String>
194 void SetSmsAuthenticationMessage(SmsAuthenticationMessageT&& value) { m_smsAuthenticationMessageHasBeenSet =
true; m_smsAuthenticationMessage = std::forward<SmsAuthenticationMessageT>(value); }
195 template<
typename SmsAuthenticationMessageT = Aws::String>
210 template<
typename UserAttributeUpdateSettingsT = UserAttributeUpdateSettingsType>
211 void SetUserAttributeUpdateSettings(UserAttributeUpdateSettingsT&& value) { m_userAttributeUpdateSettingsHasBeenSet =
true; m_userAttributeUpdateSettings = std::forward<UserAttributeUpdateSettingsT>(value); }
212 template<
typename UserAttributeUpdateSettingsT = UserAttributeUpdateSettingsType>
251 template<
typename DeviceConfigurationT = DeviceConfigurationType>
252 void SetDeviceConfiguration(DeviceConfigurationT&& value) { m_deviceConfigurationHasBeenSet =
true; m_deviceConfiguration = std::forward<DeviceConfigurationT>(value); }
253 template<
typename DeviceConfigurationT = DeviceConfigurationType>
265 template<
typename EmailConfigurationT = EmailConfigurationType>
266 void SetEmailConfiguration(EmailConfigurationT&& value) { m_emailConfigurationHasBeenSet =
true; m_emailConfiguration = std::forward<EmailConfigurationT>(value); }
267 template<
typename EmailConfigurationT = EmailConfigurationType>
283 template<
typename SmsConfigurationT = SmsConfigurationType>
284 void SetSmsConfiguration(SmsConfigurationT&& value) { m_smsConfigurationHasBeenSet =
true; m_smsConfiguration = std::forward<SmsConfigurationT>(value); }
285 template<
typename SmsConfigurationT = SmsConfigurationType>
297 template<
typename UserPoolTagsT = Aws::Map<Aws::String, Aws::String>>
298 void SetUserPoolTags(UserPoolTagsT&& value) { m_userPoolTagsHasBeenSet =
true; m_userPoolTags = std::forward<UserPoolTagsT>(value); }
299 template<
typename UserPoolTagsT = Aws::Map<Aws::String, Aws::String>>
301 template<
typename UserPoolTagsKeyT = Aws::String,
typename UserPoolTagsValueT = Aws::String>
303 m_userPoolTagsHasBeenSet =
true; m_userPoolTags.emplace(std::forward<UserPoolTagsKeyT>(key), std::forward<UserPoolTagsValueT>(value));
return *
this;
315 template<
typename AdminCreateUserConfigT = AdminCreateUserConfigType>
316 void SetAdminCreateUserConfig(AdminCreateUserConfigT&& value) { m_adminCreateUserConfigHasBeenSet =
true; m_adminCreateUserConfig = std::forward<AdminCreateUserConfigT>(value); }
317 template<
typename AdminCreateUserConfigT = AdminCreateUserConfigType>
336 template<
typename UserPoolAddOnsT = UserPoolAddOnsType>
337 void SetUserPoolAddOns(UserPoolAddOnsT&& value) { m_userPoolAddOnsHasBeenSet =
true; m_userPoolAddOns = std::forward<UserPoolAddOnsT>(value); }
338 template<
typename UserPoolAddOnsT = UserPoolAddOnsType>
354 template<
typename AccountRecoverySettingT = AccountRecoverySettingType>
355 void SetAccountRecoverySetting(AccountRecoverySettingT&& value) { m_accountRecoverySettingHasBeenSet =
true; m_accountRecoverySetting = std::forward<AccountRecoverySettingT>(value); }
356 template<
typename AccountRecoverySettingT = AccountRecoverySettingType>
366 template<
typename PoolNameT = Aws::String>
367 void SetPoolName(PoolNameT&& value) { m_poolNameHasBeenSet =
true; m_poolName = std::forward<PoolNameT>(value); }
368 template<
typename PoolNameT = Aws::String>
388 bool m_userPoolIdHasBeenSet =
false;
391 bool m_policiesHasBeenSet =
false;
394 bool m_deletionProtectionHasBeenSet =
false;
396 LambdaConfigType m_lambdaConfig;
397 bool m_lambdaConfigHasBeenSet =
false;
400 bool m_autoVerifiedAttributesHasBeenSet =
false;
403 bool m_smsVerificationMessageHasBeenSet =
false;
406 bool m_emailVerificationMessageHasBeenSet =
false;
409 bool m_emailVerificationSubjectHasBeenSet =
false;
411 VerificationMessageTemplateType m_verificationMessageTemplate;
412 bool m_verificationMessageTemplateHasBeenSet =
false;
415 bool m_smsAuthenticationMessageHasBeenSet =
false;
417 UserAttributeUpdateSettingsType m_userAttributeUpdateSettings;
418 bool m_userAttributeUpdateSettingsHasBeenSet =
false;
421 bool m_mfaConfigurationHasBeenSet =
false;
423 DeviceConfigurationType m_deviceConfiguration;
424 bool m_deviceConfigurationHasBeenSet =
false;
426 EmailConfigurationType m_emailConfiguration;
427 bool m_emailConfigurationHasBeenSet =
false;
429 SmsConfigurationType m_smsConfiguration;
430 bool m_smsConfigurationHasBeenSet =
false;
433 bool m_userPoolTagsHasBeenSet =
false;
435 AdminCreateUserConfigType m_adminCreateUserConfig;
436 bool m_adminCreateUserConfigHasBeenSet =
false;
438 UserPoolAddOnsType m_userPoolAddOns;
439 bool m_userPoolAddOnsHasBeenSet =
false;
441 AccountRecoverySettingType m_accountRecoverySetting;
442 bool m_accountRecoverySettingHasBeenSet =
false;
445 bool m_poolNameHasBeenSet =
false;
448 bool m_userPoolTierHasBeenSet =
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)
const Aws::String & GetUserPoolId() const
const Aws::Map< Aws::String, Aws::String > & GetUserPoolTags() const
UserPoolMfaType GetMfaConfiguration() const
UpdateUserPoolRequest & WithAccountRecoverySetting(AccountRecoverySettingT &&value)
void SetMfaConfiguration(UserPoolMfaType value)
UpdateUserPoolRequest & WithEmailVerificationMessage(EmailVerificationMessageT &&value)
UpdateUserPoolRequest & WithMfaConfiguration(UserPoolMfaType value)
bool SmsVerificationMessageHasBeenSet() const
void SetUserPoolId(UserPoolIdT &&value)
const UserPoolPolicyType & GetPolicies() const
bool MfaConfigurationHasBeenSet() const
bool DeletionProtectionHasBeenSet() const
const AccountRecoverySettingType & GetAccountRecoverySetting() const
const Aws::String & GetEmailVerificationMessage() const
bool SmsConfigurationHasBeenSet() const
const DeviceConfigurationType & GetDeviceConfiguration() const
UpdateUserPoolRequest & AddUserPoolTags(UserPoolTagsKeyT &&key, UserPoolTagsValueT &&value)
const EmailConfigurationType & GetEmailConfiguration() const
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
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
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