ACCESS POST PROCESSING FOG EFFECT OVER CODE

How can I access the Post Processing Fog effect over code?

I try
using UnityEngine.Rendering.PostProcessing;
Fog mFog = null;

5799070--612883--upload_2020-5-3_23-24-28.png

But it gives an error. I want to change Fog Attenuation Distance over code

and also My fog class does not contain Fog Attenuation Distance? is there any other fog setting class ?

Ohh my mistake,

using UnityEngine.Rendering;
using UnityEngine.Rendering.HighDefinition;

https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@7.3/api/UnityEngine.Rendering.HighDefinition.Fog.html?_ga=2.242972802.1459915840.1588329596-1986937321.1576323877

solved