How to fix code deprecation?

if I use
SetValue(EnemyLocationID, InPawn->GetActorLocation());
‘SetValue’ : undeclared identifier
‘UBlackboardKeyType_Vector’ : undeclared identifier

Perhaps I did something wrong?