blob: d916a9d7fef179673c6c12c155d3a80a42a17596 (
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 Vespa.ai. 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; }
};
}
|