bool IsOk() const

接口功能

判断状态对象状态是否是成功的。

接口格式

bool IsOk() const

接口参数

使用样例

status = response->ImmutableOutput("OUTPUT_IDS", &outputToken);
if (!status.IsOk()) {
    EP_LOG_ERROR("Failed to get token by " << status.StatusMsg());
    return;
}

返回值