I don't think it's good decision to buy a Gripen if you're looking for maintenance and repair. The better choice, if not the F-16, would have been the Eurofighter, which is the most common jet in Europe.
However, decisions in Thailand are not made by technical figures but valued hand shakes