/* * Copyright (c) 2013-2017 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #include #include #include #include #include #include #include namespace Swift { class SWIFTEN_API PubSubEventCollection : public PubSubEventPayload { public: PubSubEventCollection(); virtual ~PubSubEventCollection(); const boost::optional< std::string >& getNode() const { return node; } void setNode(const boost::optional< std::string >& value) { this->node = value ; } std::shared_ptr getDisassociate() const { return disassociate; } void setDisassociate(std::shared_ptr value) { this->disassociate = value ; } std::shared_ptr getAssociate() const { return associate; } void setAssociate(std::shared_ptr value) { this->associate = value ; } private: boost::optional< std::string > node; std::shared_ptr disassociate; std::shared_ptr associate; }; }