Both good choices, although both do have some interesting quirks that might prove annoying. That Ibanez has a floating, locking whammy and that can be a pain to set up and tune for a beginner (great system though). The SG has interesting ergonomics that you’ll either love or find irritating. These are both personal observations and both will do the job admirably. If I were choosing, I’d look at a Telecaster type (full disclosure, I’m a Tele fanboy), a Strat type with a standard trem set flat to body to avoid tuning issues or a Les Paul type. Brand wise you’d probably be looking at Squier, Epiphone, JHS’ Vintage brand or the always excellent Yamaha, although there are plenty of others, Ibanez included. The best thing to do is get yourself to a shop and try a few of the shapes, see what you like the look of and feels good to hold and play. Tone can be improved (if necessary) down the road with replacement electronics, etc. If money allows, invest in a pro set up, it’ll make the playing experience so much better.
It is a fun journey, I’m quite envious.