Turn off a component through settings

I have a settings menu with a quality setting slider. How can I make a button or add to this slider to turn off Post Processing on all the cameras in the game (for low quality settings)?

I would reference the main cameras post processing components you want to turn off and simply do it if the slider is at a certain position. Is your question how to do such a slider?