3#include <unordered_set>
5#include <userver/dynamic_config/snapshot.hpp>
6#include <userver/dynamic_config/value.hpp>
12class BaggageSettings
final {
14 static BaggageSettings Parse(
const dynamic_config::DocsMap& docs_map);
16 std::unordered_set<std::string> allowed_keys;
19constexpr dynamic_config::Key<BaggageSettings::Parse> kBaggageSettings;
21bool ParseBaggageEnabled(
const dynamic_config::DocsMap& docs_map);
23BaggageSettings Parse(
const formats::
json::Value& value,
24 formats::
parse::
To<BaggageSettings>);
26constexpr dynamic_config::Key<ParseBaggageEnabled> kBaggageEnabled{};