pub fn is_invalid_authentication_code_exception(&self) -> bool {
        matches!(
            &self.kind,
            EnableMFADeviceErrorKind::InvalidAuthenticationCodeException(_)
        )
    }
/// Returns `true` if the error kind is `EnableMFADeviceErrorKind::InvalidAuthenticationCodeException`.
Returns `true` if the error kind is `EnableMFADeviceErrorKind::InvalidAuthenticationCodeException`.
Returns ` true ` if the error kind is ` EnableMFADeviceErrorKind :: InvalidAuthenticationCodeException ` .
pub fn is_invalid_authentication_code_exception(&self) -> bool {
        matches!(
            &self.kind,
            EnableMFADeviceErrorKind::InvalidAuthenticationCodeException(_)
        )
    }
pub fn is_invalid_authentication_code_exception ( & self ) -> bool { matches ! ( self kind EnableMFADeviceErrorKind InvalidAuthenticationCodeException ( ) ) }
Returns `true` if the error kind is `EnableMFADeviceErrorKind::InvalidAuthenticationCodeException`.
Returns ` true ` if the error kind is ` EnableMFADeviceErrorKind :: InvalidAuthenticationCodeException ` .
&self
&self