AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBackendAuthUserPoolConfig.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace AmplifyBackend
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_AMPLIFYBACKEND_API UpdateBackendAuthUserPoolConfig();
43 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const UpdateBackendAuthForgotPasswordConfig& GetForgotPassword() const{ return m_forgotPassword; }
52 inline bool ForgotPasswordHasBeenSet() const { return m_forgotPasswordHasBeenSet; }
53 inline void SetForgotPassword(const UpdateBackendAuthForgotPasswordConfig& value) { m_forgotPasswordHasBeenSet = true; m_forgotPassword = value; }
54 inline void SetForgotPassword(UpdateBackendAuthForgotPasswordConfig&& value) { m_forgotPasswordHasBeenSet = true; m_forgotPassword = std::move(value); }
58
60
64 inline const UpdateBackendAuthMFAConfig& GetMfa() const{ return m_mfa; }
65 inline bool MfaHasBeenSet() const { return m_mfaHasBeenSet; }
66 inline void SetMfa(const UpdateBackendAuthMFAConfig& value) { m_mfaHasBeenSet = true; m_mfa = value; }
67 inline void SetMfa(UpdateBackendAuthMFAConfig&& value) { m_mfaHasBeenSet = true; m_mfa = std::move(value); }
68 inline UpdateBackendAuthUserPoolConfig& WithMfa(const UpdateBackendAuthMFAConfig& value) { SetMfa(value); return *this;}
69 inline UpdateBackendAuthUserPoolConfig& WithMfa(UpdateBackendAuthMFAConfig&& value) { SetMfa(std::move(value)); return *this;}
71
73
77 inline const UpdateBackendAuthOAuthConfig& GetOAuth() const{ return m_oAuth; }
78 inline bool OAuthHasBeenSet() const { return m_oAuthHasBeenSet; }
79 inline void SetOAuth(const UpdateBackendAuthOAuthConfig& value) { m_oAuthHasBeenSet = true; m_oAuth = value; }
80 inline void SetOAuth(UpdateBackendAuthOAuthConfig&& value) { m_oAuthHasBeenSet = true; m_oAuth = std::move(value); }
82 inline UpdateBackendAuthUserPoolConfig& WithOAuth(UpdateBackendAuthOAuthConfig&& value) { SetOAuth(std::move(value)); return *this;}
84
86
90 inline const UpdateBackendAuthPasswordPolicyConfig& GetPasswordPolicy() const{ return m_passwordPolicy; }
91 inline bool PasswordPolicyHasBeenSet() const { return m_passwordPolicyHasBeenSet; }
92 inline void SetPasswordPolicy(const UpdateBackendAuthPasswordPolicyConfig& value) { m_passwordPolicyHasBeenSet = true; m_passwordPolicy = value; }
93 inline void SetPasswordPolicy(UpdateBackendAuthPasswordPolicyConfig&& value) { m_passwordPolicyHasBeenSet = true; m_passwordPolicy = std::move(value); }
97
99
103 inline const UpdateBackendAuthVerificationMessageConfig& GetVerificationMessage() const{ return m_verificationMessage; }
104 inline bool VerificationMessageHasBeenSet() const { return m_verificationMessageHasBeenSet; }
105 inline void SetVerificationMessage(const UpdateBackendAuthVerificationMessageConfig& value) { m_verificationMessageHasBeenSet = true; m_verificationMessage = value; }
106 inline void SetVerificationMessage(UpdateBackendAuthVerificationMessageConfig&& value) { m_verificationMessageHasBeenSet = true; m_verificationMessage = std::move(value); }
110 private:
111
113 bool m_forgotPasswordHasBeenSet = false;
114
116 bool m_mfaHasBeenSet = false;
117
119 bool m_oAuthHasBeenSet = false;
120
122 bool m_passwordPolicyHasBeenSet = false;
123
124 UpdateBackendAuthVerificationMessageConfig m_verificationMessage;
125 bool m_verificationMessageHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace AmplifyBackend
130} // namespace Aws
UpdateBackendAuthUserPoolConfig & WithForgotPassword(const UpdateBackendAuthForgotPasswordConfig &value)
UpdateBackendAuthUserPoolConfig & WithPasswordPolicy(const UpdateBackendAuthPasswordPolicyConfig &value)
const UpdateBackendAuthVerificationMessageConfig & GetVerificationMessage() const
UpdateBackendAuthUserPoolConfig & WithForgotPassword(UpdateBackendAuthForgotPasswordConfig &&value)
void SetVerificationMessage(const UpdateBackendAuthVerificationMessageConfig &value)
UpdateBackendAuthUserPoolConfig & WithMfa(UpdateBackendAuthMFAConfig &&value)
UpdateBackendAuthUserPoolConfig & WithOAuth(const UpdateBackendAuthOAuthConfig &value)
const UpdateBackendAuthPasswordPolicyConfig & GetPasswordPolicy() const
AWS_AMPLIFYBACKEND_API UpdateBackendAuthUserPoolConfig(Aws::Utils::Json::JsonView jsonValue)
void SetForgotPassword(const UpdateBackendAuthForgotPasswordConfig &value)
void SetForgotPassword(UpdateBackendAuthForgotPasswordConfig &&value)
void SetPasswordPolicy(const UpdateBackendAuthPasswordPolicyConfig &value)
UpdateBackendAuthUserPoolConfig & WithOAuth(UpdateBackendAuthOAuthConfig &&value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYBACKEND_API UpdateBackendAuthUserPoolConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const UpdateBackendAuthForgotPasswordConfig & GetForgotPassword() const
UpdateBackendAuthUserPoolConfig & WithVerificationMessage(const UpdateBackendAuthVerificationMessageConfig &value)
UpdateBackendAuthUserPoolConfig & WithPasswordPolicy(UpdateBackendAuthPasswordPolicyConfig &&value)
UpdateBackendAuthUserPoolConfig & WithVerificationMessage(UpdateBackendAuthVerificationMessageConfig &&value)
UpdateBackendAuthUserPoolConfig & WithMfa(const UpdateBackendAuthMFAConfig &value)
void SetVerificationMessage(UpdateBackendAuthVerificationMessageConfig &&value)
void SetPasswordPolicy(UpdateBackendAuthPasswordPolicyConfig &&value)
Aws::Utils::Json::JsonValue JsonValue