When AIDS was a relatively new disease, patients could expect to develop full blown AIDS within 10 years and live only a year or two longer.
Now, with better HIV treatments, patients who start them before their immune system declines significantly have a much longer life expectancy. There are also excellent tests to monitor treatment and new protocols to try when old treatments stop working. With proper medical care, people with HIV can expect to live much longer now than they could 20 years ago. Some people expect a cure or preventative vaccine within the next decade.