7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/CreateBackendAuthForgotPasswordConfig.h>
9#include <aws/amplifybackend/model/CreateBackendAuthMFAConfig.h>
10#include <aws/amplifybackend/model/CreateBackendAuthOAuthConfig.h>
11#include <aws/amplifybackend/model/CreateBackendAuthPasswordPolicyConfig.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/amplifybackend/model/SignInMethod.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/amplifybackend/model/CreateBackendAuthVerificationMessageConfig.h>
16#include <aws/amplifybackend/model/RequiredSignUpAttributesElement.h>
29namespace AmplifyBackend
56 template<
typename ForgotPasswordT = CreateBackendAuthForgotPasswordConfig>
57 void SetForgotPassword(ForgotPasswordT&& value) { m_forgotPasswordHasBeenSet =
true; m_forgotPassword = std::forward<ForgotPasswordT>(value); }
58 template<
typename ForgotPasswordT = CreateBackendAuthForgotPasswordConfig>
69 template<
typename MfaT = CreateBackendAuthMFAConfig>
70 void SetMfa(MfaT&& value) { m_mfaHasBeenSet =
true; m_mfa = std::forward<MfaT>(value); }
71 template<
typename MfaT = CreateBackendAuthMFAConfig>
82 template<
typename OAuthT = CreateBackendAuthOAuthConfig>
83 void SetOAuth(OAuthT&& value) { m_oAuthHasBeenSet =
true; m_oAuth = std::forward<OAuthT>(value); }
84 template<
typename OAuthT = CreateBackendAuthOAuthConfig>
95 template<
typename PasswordPolicyT = CreateBackendAuthPasswordPolicyConfig>
96 void SetPasswordPolicy(PasswordPolicyT&& value) { m_passwordPolicyHasBeenSet =
true; m_passwordPolicy = std::forward<PasswordPolicyT>(value); }
97 template<
typename PasswordPolicyT = CreateBackendAuthPasswordPolicyConfig>
107 template<
typename RequiredSignUpAttributesT = Aws::Vector<RequiredSignUpAttributesElement>>
108 void SetRequiredSignUpAttributes(RequiredSignUpAttributesT&& value) { m_requiredSignUpAttributesHasBeenSet =
true; m_requiredSignUpAttributes = std::forward<RequiredSignUpAttributesT>(value); }
109 template<
typename RequiredSignUpAttributesT = Aws::Vector<RequiredSignUpAttributesElement>>
131 template<
typename UserPoolNameT = Aws::String>
132 void SetUserPoolName(UserPoolNameT&& value) { m_userPoolNameHasBeenSet =
true; m_userPoolName = std::forward<UserPoolNameT>(value); }
133 template<
typename UserPoolNameT = Aws::String>
144 template<
typename VerificationMessageT = CreateBackendAuthVerificationMessageConfig>
145 void SetVerificationMessage(VerificationMessageT&& value) { m_verificationMessageHasBeenSet =
true; m_verificationMessage = std::forward<VerificationMessageT>(value); }
146 template<
typename VerificationMessageT = CreateBackendAuthVerificationMessageConfig>
152 bool m_forgotPasswordHasBeenSet =
false;
155 bool m_mfaHasBeenSet =
false;
158 bool m_oAuthHasBeenSet =
false;
161 bool m_passwordPolicyHasBeenSet =
false;
164 bool m_requiredSignUpAttributesHasBeenSet =
false;
167 bool m_signInMethodHasBeenSet =
false;
170 bool m_userPoolNameHasBeenSet =
false;
172 CreateBackendAuthVerificationMessageConfig m_verificationMessage;
173 bool m_verificationMessageHasBeenSet =
false;
CreateBackendAuthUserPoolConfig & WithSignInMethod(SignInMethod value)
const CreateBackendAuthVerificationMessageConfig & GetVerificationMessage() const
AWS_AMPLIFYBACKEND_API CreateBackendAuthUserPoolConfig()=default
void SetMfa(MfaT &&value)
void SetPasswordPolicy(PasswordPolicyT &&value)
void SetVerificationMessage(VerificationMessageT &&value)
CreateBackendAuthUserPoolConfig & WithForgotPassword(ForgotPasswordT &&value)
CreateBackendAuthUserPoolConfig & WithMfa(MfaT &&value)
const CreateBackendAuthMFAConfig & GetMfa() const
CreateBackendAuthUserPoolConfig & WithUserPoolName(UserPoolNameT &&value)
const CreateBackendAuthForgotPasswordConfig & GetForgotPassword() const
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
CreateBackendAuthUserPoolConfig & WithVerificationMessage(VerificationMessageT &&value)
const Aws::String & GetUserPoolName() const
bool OAuthHasBeenSet() const
bool UserPoolNameHasBeenSet() const
void SetRequiredSignUpAttributes(RequiredSignUpAttributesT &&value)
bool SignInMethodHasBeenSet() const
AWS_AMPLIFYBACKEND_API CreateBackendAuthUserPoolConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateBackendAuthUserPoolConfig & WithOAuth(OAuthT &&value)
const CreateBackendAuthOAuthConfig & GetOAuth() const
CreateBackendAuthUserPoolConfig & WithRequiredSignUpAttributes(RequiredSignUpAttributesT &&value)
void SetSignInMethod(SignInMethod value)
const CreateBackendAuthPasswordPolicyConfig & GetPasswordPolicy() const
SignInMethod GetSignInMethod() const
bool MfaHasBeenSet() const
void SetUserPoolName(UserPoolNameT &&value)
void SetOAuth(OAuthT &&value)
CreateBackendAuthUserPoolConfig & WithPasswordPolicy(PasswordPolicyT &&value)
bool ForgotPasswordHasBeenSet() const
CreateBackendAuthUserPoolConfig & AddRequiredSignUpAttributes(RequiredSignUpAttributesElement value)
bool RequiredSignUpAttributesHasBeenSet() const
AWS_AMPLIFYBACKEND_API CreateBackendAuthUserPoolConfig(Aws::Utils::Json::JsonView jsonValue)
void SetForgotPassword(ForgotPasswordT &&value)
const Aws::Vector< RequiredSignUpAttributesElement > & GetRequiredSignUpAttributes() const
bool VerificationMessageHasBeenSet() const
bool PasswordPolicyHasBeenSet() const
RequiredSignUpAttributesElement
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue