#include "common/router/debug_config.h" #include "common/common/macros.h" namespace Envoy { namespace Router { DebugConfig::DebugConfig(bool append_cluster, absl::optional cluster_header, bool append_upstream_host, absl::optional hostname_header, absl::optional host_address_header, bool do_not_forward, absl::optional not_forwarded_header) : append_cluster_(append_cluster), cluster_header_(std::move(cluster_header)), append_upstream_host_(append_upstream_host), hostname_header_(std::move(hostname_header)), host_address_header_(std::move(host_address_header)), do_not_forward_(do_not_forward), not_forwarded_header_(std::move(not_forwarded_header)) {} const std::string& DebugConfig::key() { CONSTRUCT_ON_FIRST_USE(std::string, "envoy.router.debug_config"); } } // namespace Router } // namespace Envoy