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