/* * Copyright (c) 2013 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #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 ; } boost::shared_ptr getDisassociate() const { return disassociate; } void setDisassociate(boost::shared_ptr value) { this->disassociate = value ; } boost::shared_ptr getAssociate() const { return associate; } void setAssociate(boost::shared_ptr value) { this->associate = value ; } private: boost::optional< std::string > node; boost::shared_ptr disassociate; boost::shared_ptr associate; }; }