Is there an equivalent of Python properties in C++? Or would it just be better to do this using getters and setters?
Yes, explicit getter and setters would be the closest construct in C++.
C++ equivalent of Python properties