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