Though It isn't obvious how to enhance a direct member entry like foo.num = num, You can certainly augment your regular setter with an additional power parameter: This is excellent, is just not it: You can start with the simplest implementation imaginable, and you are no cost to later on https://whitelandgurugram.co.in/whiteland-westin-residences-gurgaon-redefining-ultra-luxury-living-in-sector-103/