Apple 5S Charge-Only USB Mode
Unfortunately no there is no way to set a default option of how your iPhone interacts with a computer. However if you plug in your iPhone it will ask you if you trust this computer and you click no, then that computer will not be able to see any data on the iPhone.