You didn't have a risk of contracting HIV. You had protected sex and were advised of it in your first post.
It may be in the minority of cases (e.g. DHHS guidelines estimate the incidence of thrush during primary infection at 12%), usually it develops much later, if develops at all. Most importantly, it is not specific to HIV and may be caused by other conditions: use of antibiotics, diabetes, etc.