How do I change the AA Technique at runtime using the Antialiasing script included in Standard Assets? (PC)

I have Antialiasing.cs, from Standard Assets, on my camera. I have a Dropdown in my game’s main menu. I want to use myDropDown.value to set the public enum AAMode in Antialiasing.cs, so that the player can decide for themselves which aa method is best for their rig. Unfortunately, I can’t seem to directly access AAMode from another script. Every time I try, Unity spits out:

error CS1061: Type UnityStandardAssets.ImageEffects.Antialiasing' does not contain a definition for AAMode’ and no extension method AAMode' of type UnityStandardAssets.ImageEffects.Antialiasing’ could be found. Are you missing an assembly reference?

Why!? AAMode is public. That means you can access it from wherever, right?

I’m an idiot.

The AAMode is the class. The name of the instance of the class is mode.

aa.mode = AAMode.FXAA2; works fine.

My bad.