Rig lighting settings (set samples count)

Is there a non-scripting way to rig gather samples in world settings and bunch of ray shadow samples to one value? I use 2-3 samples for preview renders and 10 for final, but when you have many lights, it gets time consuming.