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