7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/UpdateBackendAuthForgotPasswordConfig.h>
9#include <aws/amplifybackend/model/UpdateBackendAuthMFAConfig.h>
10#include <aws/amplifybackend/model/UpdateBackendAuthOAuthConfig.h>
11#include <aws/amplifybackend/model/UpdateBackendAuthPasswordPolicyConfig.h>
12#include <aws/amplifybackend/model/UpdateBackendAuthVerificationMessageConfig.h>
25namespace AmplifyBackend
53 template<
typename ForgotPasswordT = UpdateBackendAuthForgotPasswordConfig>
54 void SetForgotPassword(ForgotPasswordT&& value) { m_forgotPasswordHasBeenSet =
true; m_forgotPassword = std::forward<ForgotPasswordT>(value); }
55 template<
typename ForgotPasswordT = UpdateBackendAuthForgotPasswordConfig>
66 template<
typename MfaT = UpdateBackendAuthMFAConfig>
67 void SetMfa(MfaT&& value) { m_mfaHasBeenSet =
true; m_mfa = std::forward<MfaT>(value); }
68 template<
typename MfaT = UpdateBackendAuthMFAConfig>
79 template<
typename OAuthT = UpdateBackendAuthOAuthConfig>
80 void SetOAuth(OAuthT&& value) { m_oAuthHasBeenSet =
true; m_oAuth = std::forward<OAuthT>(value); }
81 template<
typename OAuthT = UpdateBackendAuthOAuthConfig>
92 template<
typename PasswordPolicyT = UpdateBackendAuthPasswordPolicyConfig>
93 void SetPasswordPolicy(PasswordPolicyT&& value) { m_passwordPolicyHasBeenSet =
true; m_passwordPolicy = std::forward<PasswordPolicyT>(value); }
94 template<
typename PasswordPolicyT = UpdateBackendAuthPasswordPolicyConfig>
105 template<
typename VerificationMessageT = UpdateBackendAuthVerificationMessageConfig>
106 void SetVerificationMessage(VerificationMessageT&& value) { m_verificationMessageHasBeenSet =
true; m_verificationMessage = std::forward<VerificationMessageT>(value); }
107 template<
typename VerificationMessageT = UpdateBackendAuthVerificationMessageConfig>
113 bool m_forgotPasswordHasBeenSet =
false;
116 bool m_mfaHasBeenSet =
false;
119 bool m_oAuthHasBeenSet =
false;
122 bool m_passwordPolicyHasBeenSet =
false;
125 bool m_verificationMessageHasBeenSet =
false;
UpdateBackendAuthUserPoolConfig & WithForgotPassword(ForgotPasswordT &&value)
const UpdateBackendAuthVerificationMessageConfig & GetVerificationMessage() const
void SetPasswordPolicy(PasswordPolicyT &&value)
bool ForgotPasswordHasBeenSet() const
const UpdateBackendAuthMFAConfig & GetMfa() const
bool VerificationMessageHasBeenSet() const
void SetForgotPassword(ForgotPasswordT &&value)
UpdateBackendAuthUserPoolConfig & WithVerificationMessage(VerificationMessageT &&value)
void SetOAuth(OAuthT &&value)
const UpdateBackendAuthPasswordPolicyConfig & GetPasswordPolicy() const
AWS_AMPLIFYBACKEND_API UpdateBackendAuthUserPoolConfig(Aws::Utils::Json::JsonView jsonValue)
const UpdateBackendAuthOAuthConfig & GetOAuth() const
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYBACKEND_API UpdateBackendAuthUserPoolConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateBackendAuthUserPoolConfig & WithPasswordPolicy(PasswordPolicyT &&value)
void SetMfa(MfaT &&value)
void SetVerificationMessage(VerificationMessageT &&value)
UpdateBackendAuthUserPoolConfig & WithMfa(MfaT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendAuthUserPoolConfig()=default
const UpdateBackendAuthForgotPasswordConfig & GetForgotPassword() const
bool OAuthHasBeenSet() const
bool PasswordPolicyHasBeenSet() const
bool MfaHasBeenSet() const
UpdateBackendAuthUserPoolConfig & WithOAuth(OAuthT &&value)
Aws::Utils::Json::JsonValue JsonValue