SM's versions are Elio and Selene.
USUM's versions are Ray and Ailey.
The names Sun and Moon aren't from in the games at all, but from people attempting to extrapolate from the past (which is weird, because nobody has been named after their game of introduction since Generation II) and people attempting to extrapolate from Pokémon Adventures (which also doesn't make much sense, because the manga always uses the games even when they do have official names, like with Brendan, May, Lucas, Dawn, Hilbert, Hilda, Nate, Rosa, Calem and Serena, and therefore shouldn't even be considered a source for this).