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