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