blob: 24ebcb2512b81e1e8e5c323db0a3242009f7b96c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
// @author Vegard Sjonfjell
#pragma once
#include "documentmessage.h"
#include "testandsetcondition.h"
namespace documentapi {
class TestAndSetMessage : public DocumentMessage {
private:
TestAndSetCondition _condition;
public:
TestAndSetMessage();
~TestAndSetMessage() override;
void setCondition(const TestAndSetCondition & condition) { _condition = condition; }
const TestAndSetCondition & getCondition() const { return _condition; }
};
}
|