How quickly does standing water need to come out?
As soon as it can be reached. Water stops being a surface problem within hours, because wood, plaster, insulation and subfloor keep taking it up for as long as it is there. The gap between a floor that is dried in place and a floor that is removed is usually measured in how long the water sat.
The mechanism is simple enough. Standing water is absorbed at the edges and the underside first, where nobody looks, and it moves sideways through porous material faster than it moves down through a finish. A floor that looks wet only in the middle of the room is often wettest at the baseboard and under the threshold, and a crew that extracts only what it can see leaves the part that matters.
In an unoccupied house the clock is different in kind, not just in length. A failure in a camp closed for the season can run until the next visit, so what arrives is not a wet floor but a saturated building, and the decisions change accordingly. That is why a seasonal house gets a different conversation from a year-round one, set out under seasonal home and camp water damage.
Will the floor and the walls have to be taken out?
Not necessarily, and the decision is made on readings rather than on appearance. Solid wood, plaster and masonry are frequently dried in place. Drywall, insulation, carpet pad and particle board that stayed wet, or that sat in anything other than clean water, are usually removed because they cannot be dried reliably.
A moisture meter and a thermo-hygrometer answer this better than a look around the room does. What a technician is comparing is the wet material against a dry part of the same building, because an old frame house in this region is not dry at the same number a new one is. Material that holds a reading for days while the air around it is dry is material that is not going to come back.
The second half of the decision is what the water was. Clean water in solid wood is a drying problem. Anything with drain or ground water in it is a removal problem regardless of how well it might dry, and a crew that cuts out a two-foot band of drywall rather than dries it is making the right call rather than an expensive one.
What happens after the water is out?
Drying starts, and it is metered in days rather than hours. Air movers and dehumidifiers run against the wet structure while readings are taken at fixed points, and the equipment stays until the numbers match a dry part of the same building rather than until the room feels dry.
Extraction and drying are two stages of one job, and the second is the longer one. Thick framing, wide board subfloor and plaster hold water well inside themselves, and the air in a closed lake house in spring is often damp enough that nothing dries at all without a dehumidifier doing the work. Opening windows is sometimes the right move and sometimes exactly the wrong one, depending on what the outside air holds.
What follows drying is a separate decision about rebuild. Baseboard, drywall bands, insulation and flooring that came out have to go back, and whether a plumbing repair is needed depends on what failed. Where a license question comes up, plumbing in Maine is licensed by the Plumbers' Examining Board at the Department of Professional and Financial Regulation.