7 #ifndef __LAUNCH_INFO_RSP_H__
8 #define __LAUNCH_INFO_RSP_H__
50 case PENDING_VALIDATION:
51 return "pendingValidation";
56 case PENDING_ALLOCATION:
57 return "pendingAllocation";
76 if (value ==
"pendingValidation") {
77 return PENDING_VALIDATION;
79 }
else if (value ==
"validated") {
82 }
else if (value ==
"invalid") {
85 }
else if (value ==
"pendingAllocation") {
86 return PENDING_ALLOCATION;
88 }
else if (value ==
"allocated") {
91 }
else if (value ==
"rejected") {
94 }
else if (value ==
"custom") {
149 void set_marks(
const list<SMDMark> &marks) { _marks = marks; }
167 _applicationId.clear();
168 _status = Status::NONE;
177 string _applicationId;
183 list<SMDMark> _marks;
188 #endif // __LAUNCH_INFO_RSP_H__
Value
Possible launch info response status.
Definition: LaunchInfoRsp.H:29
EPP Launch Phase Class.
Definition: Launch.H:121
EPP LaunchInfoRsp::Status Class.
Definition: LaunchInfoRsp.H:25
void set_marks(const list< SMDMark > &marks)
Sets the list of marks.
Definition: LaunchInfoRsp.H:149
list< SMDMark > get_marks() const
Returns the list of marks.
Definition: LaunchInfoRsp.H:161
void set_phase(const LaunchPhase &phase)
Sets the phase of the launch.
Definition: LaunchInfoRsp.H:112
EPP SMDMark Class.
Definition: SMD.H:1244
void add_mark(const SMDMark &mark)
Add a mark.
Definition: LaunchInfoRsp.H:155
void reset()
Reset object attributes.
Definition: Launch.H:236
static string toStr(const Value value)
Convert status to text format.
Definition: LaunchInfoRsp.H:45
EPP LaunchInfoRsp Class.
Definition: LaunchInfoRsp.H:21
void set_status(const Status::Value status)
Sets the status of the Launch Application.
Definition: LaunchInfoRsp.H:137
Status::Value get_status() const
Returns the status of the Launch Application.
Definition: LaunchInfoRsp.H:143
void reset()
Reset object attributes.
Definition: LaunchInfoRsp.H:164
LaunchPhase get_phase() const
Returns the phase of the launch.
Definition: LaunchInfoRsp.H:118
void set_applicationId(const string &applicationId)
Sets the application Identifier of the Launch Application.
Definition: LaunchInfoRsp.H:125
static Value fromStr(const string &value)
Convert text status to value.
Definition: LaunchInfoRsp.H:74
string get_applicationId() const
Returns the application Identifier of the Launch Application.
Definition: LaunchInfoRsp.H:131
LaunchInfoRsp()
Default constructor.
Definition: LaunchInfoRsp.H:103