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