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
136 inline void SetUserPoolName(
const char* value) { m_userPoolNameHasBeenSet =
true; m_userPoolName.assign(value); }
157 bool m_forgotPasswordHasBeenSet =
false;
160 bool m_mfaHasBeenSet =
false;
163 bool m_oAuthHasBeenSet =
false;
166 bool m_passwordPolicyHasBeenSet =
false;
169 bool m_requiredSignUpAttributesHasBeenSet =
false;
172 bool m_signInMethodHasBeenSet =
false;
175 bool m_userPoolNameHasBeenSet =
false;
178 bool m_verificationMessageHasBeenSet =
false;
const CreateBackendAuthVerificationMessageConfig & GetVerificationMessage() const
void SetPasswordPolicy(CreateBackendAuthPasswordPolicyConfig &&value)
void SetPasswordPolicy(const CreateBackendAuthPasswordPolicyConfig &value)
CreateBackendAuthUserPoolConfig & WithRequiredSignUpAttributes(Aws::Vector< RequiredSignUpAttributesElement > &&value)
CreateBackendAuthUserPoolConfig & WithSignInMethod(SignInMethod &&value)
CreateBackendAuthUserPoolConfig & WithOAuth(CreateBackendAuthOAuthConfig &&value)
void SetForgotPassword(const CreateBackendAuthForgotPasswordConfig &value)
CreateBackendAuthUserPoolConfig & WithForgotPassword(CreateBackendAuthForgotPasswordConfig &&value)
AWS_AMPLIFYBACKEND_API CreateBackendAuthUserPoolConfig()
void SetVerificationMessage(const CreateBackendAuthVerificationMessageConfig &value)
const CreateBackendAuthMFAConfig & GetMfa() const
void SetRequiredSignUpAttributes(Aws::Vector< RequiredSignUpAttributesElement > &&value)
CreateBackendAuthUserPoolConfig & WithPasswordPolicy(const CreateBackendAuthPasswordPolicyConfig &value)
void SetSignInMethod(SignInMethod &&value)
void SetForgotPassword(CreateBackendAuthForgotPasswordConfig &&value)
const CreateBackendAuthForgotPasswordConfig & GetForgotPassword() const
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSignInMethod(const SignInMethod &value)
const Aws::String & GetUserPoolName() const
void SetUserPoolName(const char *value)
bool OAuthHasBeenSet() const
void SetOAuth(CreateBackendAuthOAuthConfig &&value)
void SetUserPoolName(const Aws::String &value)
bool UserPoolNameHasBeenSet() const
bool SignInMethodHasBeenSet() const
void SetVerificationMessage(CreateBackendAuthVerificationMessageConfig &&value)
CreateBackendAuthUserPoolConfig & WithUserPoolName(Aws::String &&value)
CreateBackendAuthUserPoolConfig & WithForgotPassword(const CreateBackendAuthForgotPasswordConfig &value)
AWS_AMPLIFYBACKEND_API CreateBackendAuthUserPoolConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateBackendAuthUserPoolConfig & WithVerificationMessage(CreateBackendAuthVerificationMessageConfig &&value)
CreateBackendAuthUserPoolConfig & WithUserPoolName(const char *value)
CreateBackendAuthUserPoolConfig & WithPasswordPolicy(CreateBackendAuthPasswordPolicyConfig &&value)
CreateBackendAuthUserPoolConfig & WithMfa(CreateBackendAuthMFAConfig &&value)
void SetMfa(const CreateBackendAuthMFAConfig &value)
const CreateBackendAuthOAuthConfig & GetOAuth() const
CreateBackendAuthUserPoolConfig & WithMfa(const CreateBackendAuthMFAConfig &value)
void SetOAuth(const CreateBackendAuthOAuthConfig &value)
void SetMfa(CreateBackendAuthMFAConfig &&value)
const CreateBackendAuthPasswordPolicyConfig & GetPasswordPolicy() const
CreateBackendAuthUserPoolConfig & WithUserPoolName(const Aws::String &value)
CreateBackendAuthUserPoolConfig & WithOAuth(const CreateBackendAuthOAuthConfig &value)
CreateBackendAuthUserPoolConfig & AddRequiredSignUpAttributes(RequiredSignUpAttributesElement &&value)
void SetUserPoolName(Aws::String &&value)
bool MfaHasBeenSet() const
CreateBackendAuthUserPoolConfig & WithSignInMethod(const SignInMethod &value)
void SetRequiredSignUpAttributes(const Aws::Vector< RequiredSignUpAttributesElement > &value)
CreateBackendAuthUserPoolConfig & AddRequiredSignUpAttributes(const RequiredSignUpAttributesElement &value)
const SignInMethod & GetSignInMethod() const
bool ForgotPasswordHasBeenSet() const
bool RequiredSignUpAttributesHasBeenSet() const
AWS_AMPLIFYBACKEND_API CreateBackendAuthUserPoolConfig(Aws::Utils::Json::JsonView jsonValue)
CreateBackendAuthUserPoolConfig & WithRequiredSignUpAttributes(const Aws::Vector< RequiredSignUpAttributesElement > &value)
const Aws::Vector< RequiredSignUpAttributesElement > & GetRequiredSignUpAttributes() const
CreateBackendAuthUserPoolConfig & WithVerificationMessage(const CreateBackendAuthVerificationMessageConfig &value)
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