Lines Matching refs:RequestStatus
69 const std::map<RequestStatus, std::string> ReqStatusToStrMap = {
70 {RequestStatus::Invalid, "invalid"},
71 {RequestStatus::Pending, "pending"},
72 {RequestStatus::Failure, "failure"},
73 {RequestStatus::Success, "success"}};
75 const std::map<std::string, RequestStatus> StrToReqStatusMap = {
76 {"invalid", RequestStatus::Invalid},
77 {"pending", RequestStatus::Pending},
78 {"failure", RequestStatus::Failure},
79 {"success", RequestStatus::Success}};
140 RequestStatus StrToStatus(const std::string& st) { in StrToStatus()
143 return RequestStatus::Invalid; in StrToStatus()
149 std::string StatusToStr(RequestStatus st) { in StatusToStr()
151 case RequestStatus::Invalid: in StatusToStr()
153 case RequestStatus::Pending: in StatusToStr()
155 case RequestStatus::Success: in StatusToStr()
157 case RequestStatus::Failure: in StatusToStr()