/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AttributeSet.h
NewValue is a mutable reference so you are able to clamp the newly applied value as well.
virtual void PreAttributeChange ( const [FGameplayAttribute](API\Plugins\GameplayAbilities\FGameplayAttribute) & Attribute, float & NewValue )