The Shire stands as a symbol for a rural and peaceful life but their protected way of life is only possible because of the the military might of others and this is explicitly alluded to several times...for example in a conversation between Merry and Pippin (which I just happened to read to my kid yesterday!):
"Still there are things deeper and higher; and not a gaffer could tend his garden in what he calls peace but for them, whether he knows about them or not."