If you MUST have it as a carry on
Then I find it more advisable to go with the smaller 20" sizes for hard shell cases.
If you don't mind that it gets checked, then you can go with a larger size.
What I typically do is I use a 22" bag for domestic travel in the USA.
But back when I was doing international esp. in the EU, I would use a smaller carry-on roller.