7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
60 inline void SetRequireSymbols(
bool value) { m_requireSymbolsHasBeenSet =
true; m_requireSymbols = value; }
71 inline void SetRequireNumbers(
bool value) { m_requireNumbersHasBeenSet =
true; m_requireNumbers = value; }
119 inline void SetExpirePasswords(
bool value) { m_expirePasswordsHasBeenSet =
true; m_expirePasswords = value; }
129 inline void SetMaxPasswordAge(
int value) { m_maxPasswordAgeHasBeenSet =
true; m_maxPasswordAge = value; }
154 inline void SetHardExpiry(
bool value) { m_hardExpiryHasBeenSet =
true; m_hardExpiry = value; }
159 int m_minimumPasswordLength{0};
160 bool m_minimumPasswordLengthHasBeenSet =
false;
162 bool m_requireSymbols{
false};
163 bool m_requireSymbolsHasBeenSet =
false;
165 bool m_requireNumbers{
false};
166 bool m_requireNumbersHasBeenSet =
false;
168 bool m_requireUppercaseCharacters{
false};
169 bool m_requireUppercaseCharactersHasBeenSet =
false;
171 bool m_requireLowercaseCharacters{
false};
172 bool m_requireLowercaseCharactersHasBeenSet =
false;
174 bool m_allowUsersToChangePassword{
false};
175 bool m_allowUsersToChangePasswordHasBeenSet =
false;
177 bool m_expirePasswords{
false};
178 bool m_expirePasswordsHasBeenSet =
false;
180 int m_maxPasswordAge{0};
181 bool m_maxPasswordAgeHasBeenSet =
false;
183 int m_passwordReusePrevention{0};
184 bool m_passwordReusePreventionHasBeenSet =
false;
186 bool m_hardExpiry{
false};
187 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