#ifndef ENGINE_API_NEAREST_PARAMETERS_HPP
#define ENGINE_API_NEAREST_PARAMETERS_HPP

#include "engine/api/base_parameters.hpp"

namespace osrm
{
namespace engine
{
namespace api
{

struct NearestParameters : public BaseParameters
{
    unsigned number_of_results = 1;

    bool IsValid() const { return BaseParameters::IsValid() && number_of_results >= 1; }
};
}
}
}

#endif // ENGINE_API_NEAREST_PARAMETERS_HPP