A group of women stood in line in front of the pool, shaking their bodies with the music.