The Swiss world No 2 came through 6-3 7-6 (13-11) with a superb display of clay-court tennis??to take the title.
Federer, a??17-time Grand Slam winner, showed imperious form ahead of the French Open, beating world No 23 Cuevas to claim his fourth ATP Tour final of the year and the 85th title of his career in his 128th career final.
Federer showed dexterity and power despite resolute defence from his opponent, who required two injury timeouts for treatment on his wrist.
The 33-year-old secured the first set comfortably before sealing victory following a thrilling second set tie break.
“It’s been a while since I won a title on clay,” said a delighted Federer, whose last clay court title was Madrid in 2012.
“It’s been a pleasure playing here. I felt unlucky and then I felt lucky,” was how Federer described the tie-break which was a fitting conclusion to Turkey’s first ever ATP World Tour tournament.
“I think that the match deserved a third set,” he added.
With the clay-court season in full swing the Swiss star now head to Madrid where he will join defending champion Rafael Nadal and Britain’s Andy Murray ahead of the French Open which starts at the end of the month.