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