public function setStatus($status)
    {
        if (!in_array($status, DirectionsStatus::getDirectionsStatus())) {
            throw DirectionsException::invalidDirectionsResponseStatus();
        }

        $this->status = $status;
    }