AWS SDK for C++  1.8.20
AWS SDK for C++
Public Member Functions | List of all members
Aws::IAM::Model::PasswordPolicy Class Reference

#include <PasswordPolicy.h>

Public Member Functions

 PasswordPolicy ()
 
 PasswordPolicy (const Aws::Utils::Xml::XmlNode &xmlNode)
 
PasswordPolicyoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
int GetMinimumPasswordLength () const
 
bool MinimumPasswordLengthHasBeenSet () const
 
void SetMinimumPasswordLength (int value)
 
PasswordPolicyWithMinimumPasswordLength (int value)
 
bool GetRequireSymbols () const
 
bool RequireSymbolsHasBeenSet () const
 
void SetRequireSymbols (bool value)
 
PasswordPolicyWithRequireSymbols (bool value)
 
bool GetRequireNumbers () const
 
bool RequireNumbersHasBeenSet () const
 
void SetRequireNumbers (bool value)
 
PasswordPolicyWithRequireNumbers (bool value)
 
bool GetRequireUppercaseCharacters () const
 
bool RequireUppercaseCharactersHasBeenSet () const
 
void SetRequireUppercaseCharacters (bool value)
 
PasswordPolicyWithRequireUppercaseCharacters (bool value)
 
bool GetRequireLowercaseCharacters () const
 
bool RequireLowercaseCharactersHasBeenSet () const
 
void SetRequireLowercaseCharacters (bool value)
 
PasswordPolicyWithRequireLowercaseCharacters (bool value)
 
bool GetAllowUsersToChangePassword () const
 
bool AllowUsersToChangePasswordHasBeenSet () const
 
void SetAllowUsersToChangePassword (bool value)
 
PasswordPolicyWithAllowUsersToChangePassword (bool value)
 
bool GetExpirePasswords () const
 
bool ExpirePasswordsHasBeenSet () const
 
void SetExpirePasswords (bool value)
 
PasswordPolicyWithExpirePasswords (bool value)
 
int GetMaxPasswordAge () const
 
bool MaxPasswordAgeHasBeenSet () const
 
void SetMaxPasswordAge (int value)
 
PasswordPolicyWithMaxPasswordAge (int value)
 
int GetPasswordReusePrevention () const
 
bool PasswordReusePreventionHasBeenSet () const
 
void SetPasswordReusePrevention (int value)
 
PasswordPolicyWithPasswordReusePrevention (int value)
 
bool GetHardExpiry () const
 
bool HardExpiryHasBeenSet () const
 
void SetHardExpiry (bool value)
 
PasswordPolicyWithHardExpiry (bool value)
 

Detailed Description

Contains information about the account password policy.

This data type is used as a response element in the GetAccountPasswordPolicy operation.

See Also:

AWS API Reference

Definition at line 31 of file PasswordPolicy.h.

Constructor & Destructor Documentation

◆ PasswordPolicy() [1/2]

Aws::IAM::Model::PasswordPolicy::PasswordPolicy ( )

◆ PasswordPolicy() [2/2]

Aws::IAM::Model::PasswordPolicy::PasswordPolicy ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AllowUsersToChangePasswordHasBeenSet()

bool Aws::IAM::Model::PasswordPolicy::AllowUsersToChangePasswordHasBeenSet ( ) const
inline

Specifies whether IAM users are allowed to change their own password.

Definition at line 155 of file PasswordPolicy.h.

◆ ExpirePasswordsHasBeenSet()

bool Aws::IAM::Model::PasswordPolicy::ExpirePasswordsHasBeenSet ( ) const
inline

Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.

Definition at line 180 of file PasswordPolicy.h.

◆ GetAllowUsersToChangePassword()

bool Aws::IAM::Model::PasswordPolicy::GetAllowUsersToChangePassword ( ) const
inline

Specifies whether IAM users are allowed to change their own password.

Definition at line 150 of file PasswordPolicy.h.

◆ GetExpirePasswords()

bool Aws::IAM::Model::PasswordPolicy::GetExpirePasswords ( ) const
inline

Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.

Definition at line 173 of file PasswordPolicy.h.

◆ GetHardExpiry()

bool Aws::IAM::Model::PasswordPolicy::GetHardExpiry ( ) const
inline

Specifies whether IAM users are prevented from setting a new password after their password has expired.

Definition at line 247 of file PasswordPolicy.h.

◆ GetMaxPasswordAge()

int Aws::IAM::Model::PasswordPolicy::GetMaxPasswordAge ( ) const
inline

The number of days that an IAM user password is valid.

Definition at line 200 of file PasswordPolicy.h.

◆ GetMinimumPasswordLength()

int Aws::IAM::Model::PasswordPolicy::GetMinimumPasswordLength ( ) const
inline

Minimum length to require for IAM user passwords.

Definition at line 45 of file PasswordPolicy.h.

◆ GetPasswordReusePrevention()

int Aws::IAM::Model::PasswordPolicy::GetPasswordReusePrevention ( ) const
inline

Specifies the number of previous passwords that IAM users are prevented from reusing.

Definition at line 222 of file PasswordPolicy.h.

◆ GetRequireLowercaseCharacters()

bool Aws::IAM::Model::PasswordPolicy::GetRequireLowercaseCharacters ( ) const
inline

Specifies whether to require lowercase characters for IAM user passwords.

Definition at line 129 of file PasswordPolicy.h.

◆ GetRequireNumbers()

bool Aws::IAM::Model::PasswordPolicy::GetRequireNumbers ( ) const
inline

Specifies whether to require numbers for IAM user passwords.

Definition at line 87 of file PasswordPolicy.h.

◆ GetRequireSymbols()

bool Aws::IAM::Model::PasswordPolicy::GetRequireSymbols ( ) const
inline

Specifies whether to require symbols for IAM user passwords.

Definition at line 66 of file PasswordPolicy.h.

◆ GetRequireUppercaseCharacters()

bool Aws::IAM::Model::PasswordPolicy::GetRequireUppercaseCharacters ( ) const
inline

Specifies whether to require uppercase characters for IAM user passwords.

Definition at line 108 of file PasswordPolicy.h.

◆ HardExpiryHasBeenSet()

bool Aws::IAM::Model::PasswordPolicy::HardExpiryHasBeenSet ( ) const
inline

Specifies whether IAM users are prevented from setting a new password after their password has expired.

Definition at line 253 of file PasswordPolicy.h.

◆ MaxPasswordAgeHasBeenSet()

bool Aws::IAM::Model::PasswordPolicy::MaxPasswordAgeHasBeenSet ( ) const
inline

The number of days that an IAM user password is valid.

Definition at line 205 of file PasswordPolicy.h.

◆ MinimumPasswordLengthHasBeenSet()

bool Aws::IAM::Model::PasswordPolicy::MinimumPasswordLengthHasBeenSet ( ) const
inline

Minimum length to require for IAM user passwords.

Definition at line 50 of file PasswordPolicy.h.

◆ operator=()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::IAM::Model::PasswordPolicy::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ OutputToStream() [2/2]

void Aws::IAM::Model::PasswordPolicy::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ PasswordReusePreventionHasBeenSet()

bool Aws::IAM::Model::PasswordPolicy::PasswordReusePreventionHasBeenSet ( ) const
inline

Specifies the number of previous passwords that IAM users are prevented from reusing.

Definition at line 228 of file PasswordPolicy.h.

◆ RequireLowercaseCharactersHasBeenSet()

bool Aws::IAM::Model::PasswordPolicy::RequireLowercaseCharactersHasBeenSet ( ) const
inline

Specifies whether to require lowercase characters for IAM user passwords.

Definition at line 134 of file PasswordPolicy.h.

◆ RequireNumbersHasBeenSet()

bool Aws::IAM::Model::PasswordPolicy::RequireNumbersHasBeenSet ( ) const
inline

Specifies whether to require numbers for IAM user passwords.

Definition at line 92 of file PasswordPolicy.h.

◆ RequireSymbolsHasBeenSet()

bool Aws::IAM::Model::PasswordPolicy::RequireSymbolsHasBeenSet ( ) const
inline

Specifies whether to require symbols for IAM user passwords.

Definition at line 71 of file PasswordPolicy.h.

◆ RequireUppercaseCharactersHasBeenSet()

bool Aws::IAM::Model::PasswordPolicy::RequireUppercaseCharactersHasBeenSet ( ) const
inline

Specifies whether to require uppercase characters for IAM user passwords.

Definition at line 113 of file PasswordPolicy.h.

◆ SetAllowUsersToChangePassword()

void Aws::IAM::Model::PasswordPolicy::SetAllowUsersToChangePassword ( bool  value)
inline

Specifies whether IAM users are allowed to change their own password.

Definition at line 160 of file PasswordPolicy.h.

◆ SetExpirePasswords()

void Aws::IAM::Model::PasswordPolicy::SetExpirePasswords ( bool  value)
inline

Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.

Definition at line 187 of file PasswordPolicy.h.

◆ SetHardExpiry()

void Aws::IAM::Model::PasswordPolicy::SetHardExpiry ( bool  value)
inline

Specifies whether IAM users are prevented from setting a new password after their password has expired.

Definition at line 259 of file PasswordPolicy.h.

◆ SetMaxPasswordAge()

void Aws::IAM::Model::PasswordPolicy::SetMaxPasswordAge ( int  value)
inline

The number of days that an IAM user password is valid.

Definition at line 210 of file PasswordPolicy.h.

◆ SetMinimumPasswordLength()

void Aws::IAM::Model::PasswordPolicy::SetMinimumPasswordLength ( int  value)
inline

Minimum length to require for IAM user passwords.

Definition at line 55 of file PasswordPolicy.h.

◆ SetPasswordReusePrevention()

void Aws::IAM::Model::PasswordPolicy::SetPasswordReusePrevention ( int  value)
inline

Specifies the number of previous passwords that IAM users are prevented from reusing.

Definition at line 234 of file PasswordPolicy.h.

◆ SetRequireLowercaseCharacters()

void Aws::IAM::Model::PasswordPolicy::SetRequireLowercaseCharacters ( bool  value)
inline

Specifies whether to require lowercase characters for IAM user passwords.

Definition at line 139 of file PasswordPolicy.h.

◆ SetRequireNumbers()

void Aws::IAM::Model::PasswordPolicy::SetRequireNumbers ( bool  value)
inline

Specifies whether to require numbers for IAM user passwords.

Definition at line 97 of file PasswordPolicy.h.

◆ SetRequireSymbols()

void Aws::IAM::Model::PasswordPolicy::SetRequireSymbols ( bool  value)
inline

Specifies whether to require symbols for IAM user passwords.

Definition at line 76 of file PasswordPolicy.h.

◆ SetRequireUppercaseCharacters()

void Aws::IAM::Model::PasswordPolicy::SetRequireUppercaseCharacters ( bool  value)
inline

Specifies whether to require uppercase characters for IAM user passwords.

Definition at line 118 of file PasswordPolicy.h.

◆ WithAllowUsersToChangePassword()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::WithAllowUsersToChangePassword ( bool  value)
inline

Specifies whether IAM users are allowed to change their own password.

Definition at line 165 of file PasswordPolicy.h.

◆ WithExpirePasswords()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::WithExpirePasswords ( bool  value)
inline

Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.

Definition at line 194 of file PasswordPolicy.h.

◆ WithHardExpiry()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::WithHardExpiry ( bool  value)
inline

Specifies whether IAM users are prevented from setting a new password after their password has expired.

Definition at line 265 of file PasswordPolicy.h.

◆ WithMaxPasswordAge()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::WithMaxPasswordAge ( int  value)
inline

The number of days that an IAM user password is valid.

Definition at line 215 of file PasswordPolicy.h.

◆ WithMinimumPasswordLength()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::WithMinimumPasswordLength ( int  value)
inline

Minimum length to require for IAM user passwords.

Definition at line 60 of file PasswordPolicy.h.

◆ WithPasswordReusePrevention()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::WithPasswordReusePrevention ( int  value)
inline

Specifies the number of previous passwords that IAM users are prevented from reusing.

Definition at line 240 of file PasswordPolicy.h.

◆ WithRequireLowercaseCharacters()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::WithRequireLowercaseCharacters ( bool  value)
inline

Specifies whether to require lowercase characters for IAM user passwords.

Definition at line 144 of file PasswordPolicy.h.

◆ WithRequireNumbers()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::WithRequireNumbers ( bool  value)
inline

Specifies whether to require numbers for IAM user passwords.

Definition at line 102 of file PasswordPolicy.h.

◆ WithRequireSymbols()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::WithRequireSymbols ( bool  value)
inline

Specifies whether to require symbols for IAM user passwords.

Definition at line 81 of file PasswordPolicy.h.

◆ WithRequireUppercaseCharacters()

PasswordPolicy& Aws::IAM::Model::PasswordPolicy::WithRequireUppercaseCharacters ( bool  value)
inline

Specifies whether to require uppercase characters for IAM user passwords.

Definition at line 123 of file PasswordPolicy.h.


The documentation for this class was generated from the following file: