blob: 812e7df8bc75487a26cd27b2a029b692e2926338 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "documentreply.h"
namespace documentapi {
class WrongDistributionReply : public DocumentReply {
private:
string _systemState;
public:
using UP = std::unique_ptr<WrongDistributionReply>;
using SP = std::shared_ptr<WrongDistributionReply>;
WrongDistributionReply();
WrongDistributionReply(const string &systemState);
~WrongDistributionReply();
const string &getSystemState() const { return _systemState; };
void setSystemState(const string &state) { _systemState = state; };
string toString() const override { return "wrongdistributionreply"; }
};
}
|