00001 /* ${copyright}$ */ 00002 /* $Id: ContactCreateRsp.H 450 2006-02-21 12:28:46Z eduardo $ */ 00007 #ifndef __CONTACT_CREATE_RSP_H__ 00008 #define __CONTACT_CREATE_RSP_H__ 00009 00010 #include <string> 00011 00012 #include "libepp_nicbr.H" 00013 00014 #include "Response.H" 00015 00016 using std::string; 00017 00018 LIBEPP_NICBR_NS_BEGIN 00019 00021 class ContactCreateRsp : public Response 00022 { 00023 public: 00025 ContactCreateRsp(bool reset = true) : Response(false) 00026 { 00027 if (reset) { 00028 this->reset(); 00029 } 00030 } 00031 00033 00036 void set_id(const string &id) { _id = id; } 00037 00039 00042 void set_crDate(const string &crDate) { _crDate = crDate; } 00043 00045 00048 string get_id() { return _id; } 00049 00051 00054 string get_crDate() { return _crDate; } 00055 00057 void reset() 00058 { 00059 Response::reset(); 00060 _id = ""; 00061 _crDate = ""; 00062 } 00063 00064 protected: 00066 string _id; 00067 00069 string _crDate; 00070 00071 }; 00072 00073 LIBEPP_NICBR_NS_END 00074 #endif //__CONTACT_CREATE_RSP_H__