Generated 2016-11-01 for live.

This commit is contained in:
sdk-team
2020-10-13 03:06:08 +00:00
parent 1a9c4d4d9c
commit 4830e8821e
20 changed files with 1236 additions and 0 deletions

View File

@@ -339,6 +339,42 @@ LiveClient::AddCustomLiveStreamTranscodeOutcomeCallable LiveClient::addCustomLiv
return task->get_future();
}
LiveClient::AddLiveASRConfigOutcome LiveClient::addLiveASRConfig(const AddLiveASRConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddLiveASRConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddLiveASRConfigOutcome(AddLiveASRConfigResult(outcome.result()));
else
return AddLiveASRConfigOutcome(outcome.error());
}
void LiveClient::addLiveASRConfigAsync(const AddLiveASRConfigRequest& request, const AddLiveASRConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addLiveASRConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::AddLiveASRConfigOutcomeCallable LiveClient::addLiveASRConfigCallable(const AddLiveASRConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddLiveASRConfigOutcome()>>(
[this, request]()
{
return this->addLiveASRConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::AddLiveAppRecordConfigOutcome LiveClient::addLiveAppRecordConfig(const AddLiveAppRecordConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1815,6 +1851,42 @@ LiveClient::DeleteHtmlResourceOutcomeCallable LiveClient::deleteHtmlResourceCall
return task->get_future();
}
LiveClient::DeleteLiveASRConfigOutcome LiveClient::deleteLiveASRConfig(const DeleteLiveASRConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteLiveASRConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteLiveASRConfigOutcome(DeleteLiveASRConfigResult(outcome.result()));
else
return DeleteLiveASRConfigOutcome(outcome.error());
}
void LiveClient::deleteLiveASRConfigAsync(const DeleteLiveASRConfigRequest& request, const DeleteLiveASRConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteLiveASRConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DeleteLiveASRConfigOutcomeCallable LiveClient::deleteLiveASRConfigCallable(const DeleteLiveASRConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteLiveASRConfigOutcome()>>(
[this, request]()
{
return this->deleteLiveASRConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DeleteLiveAppRecordConfigOutcome LiveClient::deleteLiveAppRecordConfig(const DeleteLiveAppRecordConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3111,6 +3183,42 @@ LiveClient::DescribeHtmlResourceOutcomeCallable LiveClient::describeHtmlResource
return task->get_future();
}
LiveClient::DescribeLiveAsrConfigOutcome LiveClient::describeLiveAsrConfig(const DescribeLiveAsrConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeLiveAsrConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeLiveAsrConfigOutcome(DescribeLiveAsrConfigResult(outcome.result()));
else
return DescribeLiveAsrConfigOutcome(outcome.error());
}
void LiveClient::describeLiveAsrConfigAsync(const DescribeLiveAsrConfigRequest& request, const DescribeLiveAsrConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeLiveAsrConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DescribeLiveAsrConfigOutcomeCallable LiveClient::describeLiveAsrConfigCallable(const DescribeLiveAsrConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeLiveAsrConfigOutcome()>>(
[this, request]()
{
return this->describeLiveAsrConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DescribeLiveAudioAuditConfigOutcome LiveClient::describeLiveAudioAuditConfig(const DescribeLiveAudioAuditConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7251,6 +7359,42 @@ LiveClient::UpdateCasterSceneConfigOutcomeCallable LiveClient::updateCasterScene
return task->get_future();
}
LiveClient::UpdateLiveASRConfigOutcome LiveClient::updateLiveASRConfig(const UpdateLiveASRConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateLiveASRConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateLiveASRConfigOutcome(UpdateLiveASRConfigResult(outcome.result()));
else
return UpdateLiveASRConfigOutcome(outcome.error());
}
void LiveClient::updateLiveASRConfigAsync(const UpdateLiveASRConfigRequest& request, const UpdateLiveASRConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateLiveASRConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::UpdateLiveASRConfigOutcomeCallable LiveClient::updateLiveASRConfigCallable(const UpdateLiveASRConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateLiveASRConfigOutcome()>>(
[this, request]()
{
return this->updateLiveASRConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::UpdateLiveAppSnapshotConfigOutcome LiveClient::updateLiveAppSnapshotConfig(const UpdateLiveAppSnapshotConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddLiveASRConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveASRConfigRequest;
AddLiveASRConfigRequest::AddLiveASRConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveASRConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveASRConfigRequest::~AddLiveASRConfigRequest()
{}
std::string AddLiveASRConfigRequest::getAppName()const
{
return appName_;
}
void AddLiveASRConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
}
std::string AddLiveASRConfigRequest::getMnsTopic()const
{
return mnsTopic_;
}
void AddLiveASRConfigRequest::setMnsTopic(const std::string& mnsTopic)
{
mnsTopic_ = mnsTopic;
setParameter("MnsTopic", mnsTopic);
}
std::string AddLiveASRConfigRequest::getStreamName()const
{
return streamName_;
}
void AddLiveASRConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
}
int AddLiveASRConfigRequest::getPeriod()const
{
return period_;
}
void AddLiveASRConfigRequest::setPeriod(int period)
{
period_ = period;
setParameter("Period", std::to_string(period));
}
std::string AddLiveASRConfigRequest::getDomainName()const
{
return domainName_;
}
void AddLiveASRConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string AddLiveASRConfigRequest::getHttpCallbackURL()const
{
return httpCallbackURL_;
}
void AddLiveASRConfigRequest::setHttpCallbackURL(const std::string& httpCallbackURL)
{
httpCallbackURL_ = httpCallbackURL;
setParameter("HttpCallbackURL", httpCallbackURL);
}
long AddLiveASRConfigRequest::getOwnerId()const
{
return ownerId_;
}
void AddLiveASRConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AddLiveASRConfigRequest::getMnsRegion()const
{
return mnsRegion_;
}
void AddLiveASRConfigRequest::setMnsRegion(const std::string& mnsRegion)
{
mnsRegion_ = mnsRegion;
setParameter("MnsRegion", mnsRegion);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddLiveASRConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
AddLiveASRConfigResult::AddLiveASRConfigResult() :
ServiceResult()
{}
AddLiveASRConfigResult::AddLiveASRConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddLiveASRConfigResult::~AddLiveASRConfigResult()
{}
void AddLiveASRConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DeleteLiveASRConfigRequest.h>
using AlibabaCloud::Live::Model::DeleteLiveASRConfigRequest;
DeleteLiveASRConfigRequest::DeleteLiveASRConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "DeleteLiveASRConfig")
{
setMethod(HttpRequest::Method::Post);
}
DeleteLiveASRConfigRequest::~DeleteLiveASRConfigRequest()
{}
std::string DeleteLiveASRConfigRequest::getAppName()const
{
return appName_;
}
void DeleteLiveASRConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
}
std::string DeleteLiveASRConfigRequest::getStreamName()const
{
return streamName_;
}
void DeleteLiveASRConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
}
std::string DeleteLiveASRConfigRequest::getDomainName()const
{
return domainName_;
}
void DeleteLiveASRConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long DeleteLiveASRConfigRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteLiveASRConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DeleteLiveASRConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DeleteLiveASRConfigResult::DeleteLiveASRConfigResult() :
ServiceResult()
{}
DeleteLiveASRConfigResult::DeleteLiveASRConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteLiveASRConfigResult::~DeleteLiveASRConfigResult()
{}
void DeleteLiveASRConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeLiveAsrConfigRequest.h>
using AlibabaCloud::Live::Model::DescribeLiveAsrConfigRequest;
DescribeLiveAsrConfigRequest::DescribeLiveAsrConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "DescribeLiveAsrConfig")
{
setMethod(HttpRequest::Method::Post);
}
DescribeLiveAsrConfigRequest::~DescribeLiveAsrConfigRequest()
{}
std::string DescribeLiveAsrConfigRequest::getAppName()const
{
return appName_;
}
void DescribeLiveAsrConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
}
std::string DescribeLiveAsrConfigRequest::getStreamName()const
{
return streamName_;
}
void DescribeLiveAsrConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
}
std::string DescribeLiveAsrConfigRequest::getDomainName()const
{
return domainName_;
}
void DescribeLiveAsrConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long DescribeLiveAsrConfigRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeLiveAsrConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeLiveAsrConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DescribeLiveAsrConfigResult::DescribeLiveAsrConfigResult() :
ServiceResult()
{}
DescribeLiveAsrConfigResult::DescribeLiveAsrConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeLiveAsrConfigResult::~DescribeLiveAsrConfigResult()
{}
void DescribeLiveAsrConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allLiveAsrConfigNode = value["LiveAsrConfig"]["LiveAsrConfigList"];
for (auto valueLiveAsrConfigLiveAsrConfigList : allLiveAsrConfigNode)
{
LiveAsrConfigList liveAsrConfigObject;
if(!valueLiveAsrConfigLiveAsrConfigList["DomainName"].isNull())
liveAsrConfigObject.domainName = std::stoi(valueLiveAsrConfigLiveAsrConfigList["DomainName"].asString());
if(!valueLiveAsrConfigLiveAsrConfigList["AppName"].isNull())
liveAsrConfigObject.appName = valueLiveAsrConfigLiveAsrConfigList["AppName"].asString();
if(!valueLiveAsrConfigLiveAsrConfigList["StreamName"].isNull())
liveAsrConfigObject.streamName = valueLiveAsrConfigLiveAsrConfigList["StreamName"].asString();
if(!valueLiveAsrConfigLiveAsrConfigList["Period"].isNull())
liveAsrConfigObject.period = std::stoi(valueLiveAsrConfigLiveAsrConfigList["Period"].asString());
if(!valueLiveAsrConfigLiveAsrConfigList["MnsTopic"].isNull())
liveAsrConfigObject.mnsTopic = valueLiveAsrConfigLiveAsrConfigList["MnsTopic"].asString();
if(!valueLiveAsrConfigLiveAsrConfigList["MnsRegion"].isNull())
liveAsrConfigObject.mnsRegion = valueLiveAsrConfigLiveAsrConfigList["MnsRegion"].asString();
if(!valueLiveAsrConfigLiveAsrConfigList["HttpCallbackURL"].isNull())
liveAsrConfigObject.httpCallbackURL = valueLiveAsrConfigLiveAsrConfigList["HttpCallbackURL"].asString();
liveAsrConfig_.push_back(liveAsrConfigObject);
}
}
std::vector<DescribeLiveAsrConfigResult::LiveAsrConfigList> DescribeLiveAsrConfigResult::getLiveAsrConfig()const
{
return liveAsrConfig_;
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/UpdateLiveASRConfigRequest.h>
using AlibabaCloud::Live::Model::UpdateLiveASRConfigRequest;
UpdateLiveASRConfigRequest::UpdateLiveASRConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "UpdateLiveASRConfig")
{
setMethod(HttpRequest::Method::Post);
}
UpdateLiveASRConfigRequest::~UpdateLiveASRConfigRequest()
{}
std::string UpdateLiveASRConfigRequest::getAppName()const
{
return appName_;
}
void UpdateLiveASRConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
}
std::string UpdateLiveASRConfigRequest::getMnsTopic()const
{
return mnsTopic_;
}
void UpdateLiveASRConfigRequest::setMnsTopic(const std::string& mnsTopic)
{
mnsTopic_ = mnsTopic;
setParameter("MnsTopic", mnsTopic);
}
std::string UpdateLiveASRConfigRequest::getStreamName()const
{
return streamName_;
}
void UpdateLiveASRConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
}
int UpdateLiveASRConfigRequest::getPeriod()const
{
return period_;
}
void UpdateLiveASRConfigRequest::setPeriod(int period)
{
period_ = period;
setParameter("Period", std::to_string(period));
}
std::string UpdateLiveASRConfigRequest::getDomainName()const
{
return domainName_;
}
void UpdateLiveASRConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string UpdateLiveASRConfigRequest::getHttpCallbackURL()const
{
return httpCallbackURL_;
}
void UpdateLiveASRConfigRequest::setHttpCallbackURL(const std::string& httpCallbackURL)
{
httpCallbackURL_ = httpCallbackURL;
setParameter("HttpCallbackURL", httpCallbackURL);
}
long UpdateLiveASRConfigRequest::getOwnerId()const
{
return ownerId_;
}
void UpdateLiveASRConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string UpdateLiveASRConfigRequest::getMnsRegion()const
{
return mnsRegion_;
}
void UpdateLiveASRConfigRequest::setMnsRegion(const std::string& mnsRegion)
{
mnsRegion_ = mnsRegion;
setParameter("MnsRegion", mnsRegion);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/UpdateLiveASRConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
UpdateLiveASRConfigResult::UpdateLiveASRConfigResult() :
ServiceResult()
{}
UpdateLiveASRConfigResult::UpdateLiveASRConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateLiveASRConfigResult::~UpdateLiveASRConfigResult()
{}
void UpdateLiveASRConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}