7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
59 inline void SetRequireSymbols(
bool value) { m_requireSymbolsHasBeenSet =
true; m_requireSymbols = value; }
70 inline void SetRequireNumbers(
bool value) { m_requireNumbersHasBeenSet =
true; m_requireNumbers = value; }
118 inline void SetExpirePasswords(
bool value) { m_expirePasswordsHasBeenSet =
true; m_expirePasswords = value; }
128 inline void SetMaxPasswordAge(
int value) { m_maxPasswordAgeHasBeenSet =
true; m_maxPasswordAge = value; }
153 inline void SetHardExpiry(
bool value) { m_hardExpiryHasBeenSet =
true; m_hardExpiry = value; }
158 int m_minimumPasswordLength;
159 bool m_minimumPasswordLengthHasBeenSet =
false;
161 bool m_requireSymbols;
162 bool m_requireSymbolsHasBeenSet =
false;
164 bool m_requireNumbers;
165 bool m_requireNumbersHasBeenSet =
false;
167 bool m_requireUppercaseCharacters;
168 bool m_requireUppercaseCharactersHasBeenSet =
false;
170 bool m_requireLowercaseCharacters;
171 bool m_requireLowercaseCharactersHasBeenSet =
false;
173 bool m_allowUsersToChangePassword;
174 bool m_allowUsersToChangePasswordHasBeenSet =
false;
176 bool m_expirePasswords;
177 bool m_expirePasswordsHasBeenSet =
false;
179 int m_maxPasswordAge;
180 bool m_maxPasswordAgeHasBeenSet =
false;
182 int m_passwordReusePrevention;
183 bool m_passwordReusePreventionHasBeenSet =
false;
186 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)
AWS_IAM_API PasswordPolicy()
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
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