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