| 507 | explicit Savepoint(std::string savepoint_id) : savepoint_id_(std::move(savepoint_id)) {} |
| 508 | const std::string& savepoint_id() const { return savepoint_id_; } |
| 509 | bool is_valid() const { return !savepoint_id_.empty(); } |
| 510 | |
| 511 | private: |
| 512 | std::string savepoint_id_; |