// !! This file has been generated by dnsdist-rules-generator.py, do not edit by hand!!
std::shared_ptr<DNSResponseAction> getAllowResponseAction()
{
  return std::shared_ptr<DNSResponseAction>(new AllowResponseAction());
}
std::shared_ptr<DNSResponseAction> getDelayResponseAction(uint32_t msec)
{
  return std::shared_ptr<DNSResponseAction>(new DelayResponseAction(msec));
}
std::shared_ptr<DNSResponseAction> getDropResponseAction()
{
  return std::shared_ptr<DNSResponseAction>(new DropResponseAction());
}
std::shared_ptr<DNSResponseAction> getLogResponseAction(const std::string& file_name, bool append, bool buffered, bool verbose_only, bool include_timestamp)
{
  return std::shared_ptr<DNSResponseAction>(new LogResponseAction(file_name, append, buffered, verbose_only, include_timestamp));
}
std::shared_ptr<DNSResponseAction> getLuaFFIPerThreadResponseAction(const std::string& code)
{
  return std::shared_ptr<DNSResponseAction>(new LuaFFIPerThreadResponseAction(code));
}
std::shared_ptr<DNSResponseAction> getSetEDNSOptionResponseAction(uint32_t code, const std::string& data)
{
  return std::shared_ptr<DNSResponseAction>(new SetEDNSOptionResponseAction(code, data));
}
std::shared_ptr<DNSResponseAction> getSetExtendedDNSErrorResponseAction(uint16_t info_code, const std::string& extra_text, std::optional<bool> clear_existing_entries)
{
  return std::shared_ptr<DNSResponseAction>(new SetExtendedDNSErrorResponseAction(info_code, extra_text, clear_existing_entries ? *clear_existing_entries : true));
}
std::shared_ptr<DNSResponseAction> getSetReducedTTLResponseAction(uint8_t percentage)
{
  return std::shared_ptr<DNSResponseAction>(new SetReducedTTLResponseAction(percentage));
}
std::shared_ptr<DNSResponseAction> getSetSkipCacheResponseAction()
{
  return std::shared_ptr<DNSResponseAction>(new SetSkipCacheResponseAction());
}
std::shared_ptr<DNSResponseAction> getSetTagResponseAction(const std::string& tag, const std::string& value)
{
  return std::shared_ptr<DNSResponseAction>(new SetTagResponseAction(tag, value));
}
std::shared_ptr<DNSResponseAction> getSNMPTrapResponseAction(const std::string& reason)
{
  return std::shared_ptr<DNSResponseAction>(new SNMPTrapResponseAction(reason));
}
std::shared_ptr<DNSResponseAction> getTCResponseAction()
{
  return std::shared_ptr<DNSResponseAction>(new TCResponseAction());
}
