Dynamically Control Head Bobbing Oscillation (CameraShake)

I have a camera shake setup for my walking and sprinting but run into issues with how it is setup. I currently have the LocOscillation set with amplitude of 15 and frequency of 15 since it matches my sprinting quite well… My issue is that as the player stamina is dropping I have the walk speed going slower to simulate the character getting tired but the Oscillation stays the same. Is there a way to cast to the camera shake to dynamically change the Oscillation so I can modify it on the fly? I have tried casting to it so I can try to access the settings but I am not sure where to begin.

Thanks in advance!