Most any acid will remove mineral deposits, however descaling products for washing machines and dishwashers tend to favour citric acid, and a few others, but not vinegar. Even heard one or two Miele techs say it is not a good idea to put white vinegar in the washer.
There are lots of things between and the tubs like sensors and such that could be harmed by any number of substances.
Play things safe and get some washing machine "cleaner", which has not just acids, but surfactants to assist in removing and carrying away whatever gunk inside the machine.
IIRC, Affresh is mainly oxygen bleach,and is sold as something else by it's maker (Summit?). Whirlpool just slapped a different packaging and marketing twist on the stuff.
Oxygen bleach will kill moild and germs, but does nothing for hard water deposits, detergent residue and soap scum.
L.