summaryrefslogtreecommitdiffstats
path: root/src/common/json/ConfigStructures.h
blob: 554229d75f4f4751ac4d84a5c77c9ec9dafe45ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include <optional>
#include <string>

#include "include/types.h"

class JSONObj;

namespace ceph {
namespace messaging {
namespace config {
struct ConfigSetRequest {
  std::string who;
  std::string name;
  std::string value;
  std::optional<bool> force;

  void dump(Formatter* f) const;
  void decode_json(JSONObj* obj);
};
}  // namespace config
}  // namespace messaging
}  // namespace ceph