The whole tree or not a cherry on it. “Aut Caesar aut nullus.” All in all or none at all.
“This Hospitaller seems to be one of those pragmatical knaves who must have the whole tree, or they'll not have a cherry on it.”
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Cherry from Infoplease: