<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_next_boot(self, boot_device):
 """Sets the machine to boot to boot_device on its next reboot Will default back to normal boot list on the reboot that follows. """

        payload = amt.wsman.change_boot_order_request(self.uri, boot_device)
        self.post(payload)

        payload = amt.wsman.enable_boot_config_request(self.uri)
        self.post(payload)