/* * Copyright (c) 2014 Kevin Smith and Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #pragma once #include #include #include #include #include #include #include namespace Swift { class SWIFTEN_API MAMQuery : public Payload { public: virtual ~MAMQuery(); void setQueryID(const boost::optional& queryID) { queryID_ = queryID; } const boost::optional& getQueryID() const { return queryID_; } void setForm(boost::shared_ptr
form) { form_ = form; } const boost::shared_ptr& getForm() const { return form_; } void setResultSet(boost::shared_ptr resultSet) { resultSet_ = resultSet; } const boost::shared_ptr& getResultSet() const { return resultSet_; } private: boost::optional queryID_; boost::shared_ptr form_; boost::shared_ptr resultSet_; }; }