Really depends on stack size and who your opponent is. Short stacked, 15 bb or less, it's a no brainer, shove with JJ or higher pre-flop. Medium stacked, you probably fold JJ to an all in bet, especially to a larger stack.
QQ are trickier, depending on your opponent & stack size, if you're short - shove. Medium probably shove, unless your opponent is large stacked and is a nit. If you're large stacked shove every time vs short stacks, shove most of the time vs medium stacks. Proceed with caution vs other large stacks - against a TAG, probably fold, LAG/Maniac shove.
KK - not too many reasons to ever fold KK preflop - the only one I can think of if there are 2+ all ins before you act or if you are on the bubble, facing an all in from a good player. Other than that, it's usually safe to shove with KK pre-flop, there's only one hand in the entire deck that you would be behind on, and you still have about a 20% chance to beat that one too
AA, the only possible reason to ever fold AA is if you are a medium stack, facing 2+ larger stacks all in before you. Other than that, shove with AA any stack size, any position, any opponent.