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