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