By all accounts I've seen, the F-22 is outstanding as a Gen 4+ air to air combat fighter. The problem is, as Bio said, there's only so many of them and there will be no more, ever.
The F-35 tried to be the 'do everything' Glock 19 of air superiority and close air support needs, and ended up being a longslide Glock in .357 Sig. What it does well it does outstandingly well but much more expensively than it should. What it doesn't do well is tangle with other fighters. In Beyond Visual Range (BVR) air to air engagements it's almost cheat-code good thanks to its stealth tech, and same for a hit-and-run ground attack mission.
But it is not a dogfighter and it's not even in the same league as the A10 or AH64E in CAS. It has not nearly enough ordnance or loitering time to really be effective in CAS, and it's not nearly as maneuverable as the F22, F15, or F16.
So, there's definitely a modern Gen 5+ need for the air-to-air superiority mission. It'll be interesting to see what comes out!