His Royal Highness the Prince of Wales has distributed a message to the people of Queensland and New South Wales following recent widespread flooding.