7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/iam/IAM_EXPORTS.h>
43 m_minimumPasswordLengthHasBeenSet =
true;
44 m_minimumPasswordLength = value;
60 m_requireSymbolsHasBeenSet =
true;
61 m_requireSymbols = value;
77 m_requireNumbersHasBeenSet =
true;
78 m_requireNumbers = value;
94 m_requireUppercaseCharactersHasBeenSet =
true;
95 m_requireUppercaseCharacters = value;
111 m_requireLowercaseCharactersHasBeenSet =
true;
112 m_requireLowercaseCharacters = value;
131 m_allowUsersToChangePasswordHasBeenSet =
true;
132 m_allowUsersToChangePassword = value;
149 m_expirePasswordsHasBeenSet =
true;
150 m_expirePasswords = value;
165 m_maxPasswordAgeHasBeenSet =
true;
166 m_maxPasswordAge = value;
182 m_passwordReusePreventionHasBeenSet =
true;
183 m_passwordReusePrevention = value;
202 m_hardExpiryHasBeenSet =
true;
203 m_hardExpiry = value;
211 int m_minimumPasswordLength{0};
213 bool m_requireSymbols{
false};
215 bool m_requireNumbers{
false};
217 bool m_requireUppercaseCharacters{
false};
219 bool m_requireLowercaseCharacters{
false};
221 bool m_allowUsersToChangePassword{
false};
223 bool m_expirePasswords{
false};
225 int m_maxPasswordAge{0};
227 int m_passwordReusePrevention{0};
229 bool m_hardExpiry{
false};
230 bool m_minimumPasswordLengthHasBeenSet =
false;
231 bool m_requireSymbolsHasBeenSet =
false;
232 bool m_requireNumbersHasBeenSet =
false;
233 bool m_requireUppercaseCharactersHasBeenSet =
false;
234 bool m_requireLowercaseCharactersHasBeenSet =
false;
235 bool m_allowUsersToChangePasswordHasBeenSet =
false;
236 bool m_expirePasswordsHasBeenSet =
false;
237 bool m_maxPasswordAgeHasBeenSet =
false;
238 bool m_passwordReusePreventionHasBeenSet =
false;
239 bool m_hardExpiryHasBeenSet =
false;
void SetRequireLowercaseCharacters(bool value)
bool RequireLowercaseCharactersHasBeenSet() const
void SetRequireNumbers(bool value)
bool HardExpiryHasBeenSet() const
void SetAllowUsersToChangePassword(bool value)
void SetRequireUppercaseCharacters(bool value)
void SetRequireSymbols(bool value)
bool RequireUppercaseCharactersHasBeenSet() const
int GetMinimumPasswordLength() const
PasswordPolicy & WithHardExpiry(bool value)
bool GetRequireLowercaseCharacters() const
AWS_IAM_API PasswordPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AllowUsersToChangePasswordHasBeenSet() const
PasswordPolicy & WithRequireLowercaseCharacters(bool value)
void SetHardExpiry(bool value)
bool GetHardExpiry() const
PasswordPolicy & WithAllowUsersToChangePassword(bool value)
void SetMinimumPasswordLength(int value)
bool GetAllowUsersToChangePassword() const
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetExpirePasswords(bool value)
bool PasswordReusePreventionHasBeenSet() const
PasswordPolicy & WithRequireNumbers(bool value)
bool MinimumPasswordLengthHasBeenSet() const
bool GetRequireNumbers() const
bool ExpirePasswordsHasBeenSet() const
PasswordPolicy & WithRequireUppercaseCharacters(bool value)
void SetMaxPasswordAge(int value)
PasswordPolicy & WithPasswordReusePrevention(int value)
PasswordPolicy & WithMinimumPasswordLength(int value)
PasswordPolicy & WithMaxPasswordAge(int value)
bool RequireNumbersHasBeenSet() const
void SetPasswordReusePrevention(int value)
PasswordPolicy & WithRequireSymbols(bool value)
bool GetRequireUppercaseCharacters() const
int GetPasswordReusePrevention() const
AWS_IAM_API PasswordPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MaxPasswordAgeHasBeenSet() const
bool GetExpirePasswords() const
AWS_IAM_API PasswordPolicy()=default
int GetMaxPasswordAge() const
PasswordPolicy & WithExpirePasswords(bool value)
bool GetRequireSymbols() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool RequireSymbolsHasBeenSet() const
std::basic_ostream< char, std::char_traits< char > > OStream