Pistol + Sword Playstyle

Hello! I'm going to be trying out Pathfinder for the first time, and the character I had in mind was a Pistol + Rapier build inspired by the likes of the Sigmarite Witch Hunters from Warhammer Fantasy and the beast hunters from Bloodborne. I noticed that Path has a lot more gun support than games like D&D, which is what made me want to try out a Sword + Gun hybrid in the first place, but I wanted to ask first to see what class would be good for a character like this while still being friendly for a new player.