File diff suppressed because it is too large
Load Diff
@@ -35,10 +35,13 @@ AddCasterComponentResult::~AddCasterComponentResult()
|
||||
|
||||
void AddCasterComponentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ComponentId"].isNull())
|
||||
componentId_ = value["ComponentId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ AddCasterEpisodeGroupContentResult::~AddCasterEpisodeGroupContentResult()
|
||||
|
||||
void AddCasterEpisodeGroupContentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemIds = value["ItemIds"]["ItemId"];
|
||||
for (const auto &item : allItemIds)
|
||||
|
||||
@@ -35,10 +35,13 @@ AddCasterEpisodeGroupResult::~AddCasterEpisodeGroupResult()
|
||||
|
||||
void AddCasterEpisodeGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemIds = value["ItemIds"]["ItemId"];
|
||||
for (const auto &item : allItemIds)
|
||||
|
||||
@@ -35,10 +35,13 @@ AddCasterEpisodeResult::~AddCasterEpisodeResult()
|
||||
|
||||
void AddCasterEpisodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["EpisodeId"].isNull())
|
||||
episodeId_ = value["EpisodeId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ AddCasterLayoutResult::~AddCasterLayoutResult()
|
||||
|
||||
void AddCasterLayoutResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["LayoutId"].isNull())
|
||||
layoutId_ = value["LayoutId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ AddCasterProgramResult::~AddCasterProgramResult()
|
||||
|
||||
void AddCasterProgramResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEpisodeIds = value["EpisodeIds"]["EpisodeId"];
|
||||
for (auto value : allEpisodeIds)
|
||||
|
||||
@@ -35,10 +35,13 @@ AddCasterVideoResourceResult::~AddCasterVideoResourceResult()
|
||||
|
||||
void AddCasterVideoResourceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ResourceId"].isNull())
|
||||
resourceId_ = value["ResourceId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ AddCustomLiveStreamTranscodeResult::~AddCustomLiveStreamTranscodeResult()
|
||||
|
||||
void AddCustomLiveStreamTranscodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AddLiveAppRecordConfigResult::~AddLiveAppRecordConfigResult()
|
||||
|
||||
void AddLiveAppRecordConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AddLiveAppSnapshotConfigResult::~AddLiveAppSnapshotConfigResult()
|
||||
|
||||
void AddLiveAppSnapshotConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AddLiveDetectNotifyConfigResult::~AddLiveDetectNotifyConfigResult()
|
||||
|
||||
void AddLiveDetectNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AddLiveDomainMappingResult::~AddLiveDomainMappingResult()
|
||||
|
||||
void AddLiveDomainMappingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AddLiveDomainResult::~AddLiveDomainResult()
|
||||
|
||||
void AddLiveDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AddLivePullStreamInfoConfigResult::~AddLivePullStreamInfoConfigResult()
|
||||
|
||||
void AddLivePullStreamInfoConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AddLiveRecordNotifyConfigResult::~AddLiveRecordNotifyConfigResult()
|
||||
|
||||
void AddLiveRecordNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,15 +25,15 @@ AddLiveRecordVodConfigRequest::AddLiveRecordVodConfigRequest() :
|
||||
AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getAppName()const
|
||||
long AddLiveRecordVodConfigRequest::getCallerParentId()const
|
||||
{
|
||||
return appName_;
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setAppName(const std::string& appName)
|
||||
void AddLiveRecordVodConfigRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
appName_ = appName;
|
||||
setCoreParameter("AppName", appName);
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getAutoCompose()const
|
||||
@@ -47,37 +47,26 @@ void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string& autoCompos
|
||||
setCoreParameter("AutoCompose", autoCompose);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getDomainName()const
|
||||
bool AddLiveRecordVodConfigRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return domainName_;
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setDomainName(const std::string& domainName)
|
||||
void AddLiveRecordVodConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
int AddLiveRecordVodConfigRequest::getCycleDuration()const
|
||||
std::string AddLiveRecordVodConfigRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return cycleDuration_;
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration)
|
||||
void AddLiveRecordVodConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
cycleDuration_ = cycleDuration;
|
||||
setCoreParameter("CycleDuration", std::to_string(cycleDuration));
|
||||
}
|
||||
|
||||
long AddLiveRecordVodConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId()const
|
||||
@@ -91,6 +80,138 @@ void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::str
|
||||
setCoreParameter("ComposeVodTranscodeGroupId", composeVodTranscodeGroupId);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getEagleEyeRpcId()const
|
||||
{
|
||||
return eagleEyeRpcId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId)
|
||||
{
|
||||
eagleEyeRpcId_ = eagleEyeRpcId;
|
||||
setCoreParameter("EagleEyeRpcId", eagleEyeRpcId);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getStorageLocation()const
|
||||
{
|
||||
return storageLocation_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setStorageLocation(const std::string& storageLocation)
|
||||
{
|
||||
storageLocation_ = storageLocation;
|
||||
setCoreParameter("StorageLocation", storageLocation);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getEagleEyeTraceId()const
|
||||
{
|
||||
return eagleEyeTraceId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId)
|
||||
{
|
||||
eagleEyeTraceId_ = eagleEyeTraceId;
|
||||
setCoreParameter("EagleEyeTraceId", eagleEyeTraceId);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setCoreParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
@@ -113,3 +234,157 @@ void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string& vo
|
||||
setCoreParameter("VodTranscodeGroupId", vodTranscodeGroupId);
|
||||
}
|
||||
|
||||
long AddLiveRecordVodConfigRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int AddLiveRecordVodConfigRequest::getCycleDuration()const
|
||||
{
|
||||
return cycleDuration_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration)
|
||||
{
|
||||
cycleDuration_ = cycleDuration;
|
||||
setCoreParameter("CycleDuration", std::to_string(cycleDuration));
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long AddLiveRecordVodConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool AddLiveRecordVodConfigRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AddLiveRecordVodConfigRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool AddLiveRecordVodConfigRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getEagleEyeUserData()const
|
||||
{
|
||||
return eagleEyeUserData_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setEagleEyeUserData(const std::string& eagleEyeUserData)
|
||||
{
|
||||
eagleEyeUserData_ = eagleEyeUserData;
|
||||
setCoreParameter("EagleEyeUserData", eagleEyeUserData);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ AddLiveRecordVodConfigResult::~AddLiveRecordVodConfigResult()
|
||||
|
||||
void AddLiveRecordVodConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AddLiveSnapshotDetectPornConfigResult::~AddLiveSnapshotDetectPornConfigResult()
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AddLiveStreamTranscodeResult::~AddLiveStreamTranscodeResult()
|
||||
|
||||
void AddLiveStreamTranscodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AddTrancodeSEIResult::~AddTrancodeSEIResult()
|
||||
|
||||
void AddTrancodeSEIResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ AllowPushStreamResult::~AllowPushStreamResult()
|
||||
|
||||
void AllowPushStreamResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ ApplyBoardTokenResult::~ApplyBoardTokenResult()
|
||||
|
||||
void ApplyBoardTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Token"].isNull())
|
||||
token_ = value["Token"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ ApplyRecordTokenResult::~ApplyRecordTokenResult()
|
||||
|
||||
void ApplyRecordTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SecurityToken"].isNull())
|
||||
securityToken_ = value["SecurityToken"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ BatchDeleteLiveDomainConfigsResult::~BatchDeleteLiveDomainConfigsResult()
|
||||
|
||||
void BatchDeleteLiveDomainConfigsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ BatchSetLiveDomainConfigsResult::~BatchSetLiveDomainConfigsResult()
|
||||
|
||||
void BatchSetLiveDomainConfigsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ CompleteBoardRecordResult::~CompleteBoardRecordResult()
|
||||
|
||||
void CompleteBoardRecordResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["OssPath"].isNull())
|
||||
ossPath_ = value["OssPath"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ CompleteBoardResult::~CompleteBoardResult()
|
||||
|
||||
void CompleteBoardResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ CopyCasterResult::~CopyCasterResult()
|
||||
|
||||
void CopyCasterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ CopyCasterSceneConfigResult::~CopyCasterSceneConfigResult()
|
||||
|
||||
void CopyCasterSceneConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateBoardResult::~CreateBoardResult()
|
||||
|
||||
void CreateBoardResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BoardId"].isNull())
|
||||
boardId_ = value["BoardId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateCasterResult::~CreateCasterResult()
|
||||
|
||||
void CreateCasterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateLiveStreamRecordIndexFilesResult::~CreateLiveStreamRecordIndexFilesResult(
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto recordInfoNode = value["RecordInfo"];
|
||||
if(!recordInfoNode["RecordId"].isNull())
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateRoomResult::~CreateRoomResult()
|
||||
|
||||
void CreateRoomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AppId"].isNull())
|
||||
appId_ = value["AppId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteBoardResult::~DeleteBoardResult()
|
||||
|
||||
void DeleteBoardResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCasterComponentResult::~DeleteCasterComponentResult()
|
||||
|
||||
void DeleteCasterComponentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCasterEpisodeGroupResult::~DeleteCasterEpisodeGroupResult()
|
||||
|
||||
void DeleteCasterEpisodeGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCasterEpisodeResult::~DeleteCasterEpisodeResult()
|
||||
|
||||
void DeleteCasterEpisodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCasterLayoutResult::~DeleteCasterLayoutResult()
|
||||
|
||||
void DeleteCasterLayoutResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCasterProgramResult::~DeleteCasterProgramResult()
|
||||
|
||||
void DeleteCasterProgramResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCasterResult::~DeleteCasterResult()
|
||||
|
||||
void DeleteCasterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCasterSceneConfigResult::~DeleteCasterSceneConfigResult()
|
||||
|
||||
void DeleteCasterSceneConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCasterVideoResourceResult::~DeleteCasterVideoResourceResult()
|
||||
|
||||
void DeleteCasterVideoResourceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveAppRecordConfigResult::~DeleteLiveAppRecordConfigResult()
|
||||
|
||||
void DeleteLiveAppRecordConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveAppSnapshotConfigResult::~DeleteLiveAppSnapshotConfigResult()
|
||||
|
||||
void DeleteLiveAppSnapshotConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveDetectNotifyConfigResult::~DeleteLiveDetectNotifyConfigResult()
|
||||
|
||||
void DeleteLiveDetectNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveDomainMappingResult::~DeleteLiveDomainMappingResult()
|
||||
|
||||
void DeleteLiveDomainMappingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveDomainResult::~DeleteLiveDomainResult()
|
||||
|
||||
void DeleteLiveDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveLazyPullStreamInfoConfigResult::~DeleteLiveLazyPullStreamInfoConfigRes
|
||||
|
||||
void DeleteLiveLazyPullStreamInfoConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLivePullStreamInfoConfigResult::~DeleteLivePullStreamInfoConfigResult()
|
||||
|
||||
void DeleteLivePullStreamInfoConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveRecordNotifyConfigResult::~DeleteLiveRecordNotifyConfigResult()
|
||||
|
||||
void DeleteLiveRecordNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,6 +25,94 @@ DeleteLiveRecordVodConfigRequest::DeleteLiveRecordVodConfigRequest() :
|
||||
DeleteLiveRecordVodConfigRequest::~DeleteLiveRecordVodConfigRequest()
|
||||
{}
|
||||
|
||||
long DeleteLiveRecordVodConfigRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteLiveRecordVodConfigRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getEagleEyeRpcId()const
|
||||
{
|
||||
return eagleEyeRpcId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId)
|
||||
{
|
||||
eagleEyeRpcId_ = eagleEyeRpcId;
|
||||
setCoreParameter("EagleEyeRpcId", eagleEyeRpcId);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getEagleEyeTraceId()const
|
||||
{
|
||||
return eagleEyeTraceId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId)
|
||||
{
|
||||
eagleEyeTraceId_ = eagleEyeTraceId;
|
||||
setCoreParameter("EagleEyeTraceId", eagleEyeTraceId);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
@@ -47,26 +135,48 @@ void DeleteLiveRecordVodConfigRequest::setSecurityToken(const std::string& secur
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getDomainName()const
|
||||
std::string DeleteLiveRecordVodConfigRequest::getRegionId()const
|
||||
{
|
||||
return domainName_;
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string& domainName)
|
||||
void DeleteLiveRecordVodConfigRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long DeleteLiveRecordVodConfigRequest::getOwnerId()const
|
||||
std::string DeleteLiveRecordVodConfigRequest::getRequestContent()const
|
||||
{
|
||||
return ownerId_;
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId)
|
||||
void DeleteLiveRecordVodConfigRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getStreamName()const
|
||||
@@ -80,14 +190,146 @@ void DeleteLiveRecordVodConfigRequest::setStreamName(const std::string& streamNa
|
||||
setCoreParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getAccessKeyId()const
|
||||
long DeleteLiveRecordVodConfigRequest::getCallerUid()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void DeleteLiveRecordVodConfigRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteLiveRecordVodConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DeleteLiveRecordVodConfigRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteLiveRecordVodConfigRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteLiveRecordVodConfigRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getEagleEyeUserData()const
|
||||
{
|
||||
return eagleEyeUserData_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setEagleEyeUserData(const std::string& eagleEyeUserData)
|
||||
{
|
||||
eagleEyeUserData_ = eagleEyeUserData;
|
||||
setCoreParameter("EagleEyeUserData", eagleEyeUserData);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveRecordVodConfigResult::~DeleteLiveRecordVodConfigResult()
|
||||
|
||||
void DeleteLiveRecordVodConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveSnapshotDetectPornConfigResult::~DeleteLiveSnapshotDetectPornConfigRes
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveStreamTranscodeResult::~DeleteLiveStreamTranscodeResult()
|
||||
|
||||
void DeleteLiveStreamTranscodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteLiveStreamsNotifyUrlConfigResult::~DeleteLiveStreamsNotifyUrlConfigResult(
|
||||
|
||||
void DeleteLiveStreamsNotifyUrlConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteRoomResult::~DeleteRoomResult()
|
||||
|
||||
void DeleteRoomResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeBoardEventsResult::~DescribeBoardEventsResult()
|
||||
|
||||
void DescribeBoardEventsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEvents = value["Events"]["Event"];
|
||||
for (auto value : allEvents)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeBoardSnapshotResult::~DescribeBoardSnapshotResult()
|
||||
|
||||
void DescribeBoardSnapshotResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto snapshotNode = value["Snapshot"];
|
||||
auto boardNode = snapshotNode["Board"];
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeBoardsResult::~DescribeBoardsResult()
|
||||
|
||||
void DescribeBoardsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBoards = value["Boards"]["Event"];
|
||||
for (auto value : allBoards)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCasterChannelsResult::~DescribeCasterChannelsResult()
|
||||
|
||||
void DescribeCasterChannelsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allChannels = value["Channels"]["Channel"];
|
||||
for (auto value : allChannels)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCasterComponentsResult::~DescribeCasterComponentsResult()
|
||||
|
||||
void DescribeCasterComponentsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allComponents = value["Components"]["Component"];
|
||||
for (auto value : allComponents)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCasterConfigResult::~DescribeCasterConfigResult()
|
||||
|
||||
void DescribeCasterConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto transcodeConfigNode = value["TranscodeConfig"];
|
||||
if(!transcodeConfigNode["CasterTemplate"].isNull())
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCasterLayoutsResult::~DescribeCasterLayoutsResult()
|
||||
|
||||
void DescribeCasterLayoutsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLayouts = value["Layouts"]["Layout"];
|
||||
for (auto value : allLayouts)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCasterProgramResult::~DescribeCasterProgramResult()
|
||||
|
||||
void DescribeCasterProgramResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEpisodes = value["Episodes"]["Episode"];
|
||||
for (auto value : allEpisodes)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCasterRtcInfoResult::~DescribeCasterRtcInfoResult()
|
||||
|
||||
void DescribeCasterRtcInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCasterSceneAudioResult::~DescribeCasterSceneAudioResult()
|
||||
|
||||
void DescribeCasterSceneAudioResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAudioLayers = value["AudioLayers"]["AudioLayer"];
|
||||
for (auto value : allAudioLayers)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCasterScenesResult::~DescribeCasterScenesResult()
|
||||
|
||||
void DescribeCasterScenesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSceneList = value["SceneList"]["Scene"];
|
||||
for (auto value : allSceneList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCasterStreamUrlResult::~DescribeCasterStreamUrlResult()
|
||||
|
||||
void DescribeCasterStreamUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCasterStreams = value["CasterStreams"]["CasterStream"];
|
||||
for (auto value : allCasterStreams)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCasterVideoResourcesResult::~DescribeCasterVideoResourcesResult()
|
||||
|
||||
void DescribeCasterVideoResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allVideoResources = value["VideoResources"]["VideoResource"];
|
||||
for (auto value : allVideoResources)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCastersResult::~DescribeCastersResult()
|
||||
|
||||
void DescribeCastersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCasterList = value["CasterList"]["Caster"];
|
||||
for (auto value : allCasterList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeForbidPushStreamRoomListResult::~DescribeForbidPushStreamRoomListResult(
|
||||
|
||||
void DescribeForbidPushStreamRoomListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRoomList = value["RoomList"]["Room"];
|
||||
for (auto value : allRoomList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeHlsLiveStreamRealTimeBpsDataResult::~DescribeHlsLiveStreamRealTimeBpsDat
|
||||
|
||||
void DescribeHlsLiveStreamRealTimeBpsDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allUsageData = value["UsageData"]["UsageDataPerDomain"];
|
||||
for (auto value : allUsageData)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveCertificateDetailResult::~DescribeLiveCertificateDetailResult()
|
||||
|
||||
void DescribeLiveCertificateDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Cert"].isNull())
|
||||
cert_ = value["Cert"].asString();
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveCertificateListResult::~DescribeLiveCertificateListResult()
|
||||
|
||||
void DescribeLiveCertificateListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto certificateListModelNode = value["CertificateListModel"];
|
||||
if(!certificateListModelNode["Count"].isNull())
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDetectNotifyConfigResult::~DescribeLiveDetectNotifyConfigResult()
|
||||
|
||||
void DescribeLiveDetectNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto liveDetectNotifyConfigNode = value["LiveDetectNotifyConfig"];
|
||||
if(!liveDetectNotifyConfigNode["DomainName"].isNull())
|
||||
|
||||
357
live/src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc
Normal file
357
live/src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc
Normal file
@@ -0,0 +1,357 @@
|
||||
/*
|
||||
* 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/DescribeLiveDomainBpsDataByTimeStampRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataByTimeStampRequest;
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampRequest::DescribeLiveDomainBpsDataByTimeStampRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsDataByTimeStamp")
|
||||
{}
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampRequest::~DescribeLiveDomainBpsDataByTimeStampRequest()
|
||||
{}
|
||||
|
||||
long DescribeLiveDomainBpsDataByTimeStampRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getLocationNames()const
|
||||
{
|
||||
return locationNames_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setLocationNames(const std::string& locationNames)
|
||||
{
|
||||
locationNames_ = locationNames;
|
||||
setCoreParameter("LocationNames", locationNames);
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainBpsDataByTimeStampRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getEagleEyeRpcId()const
|
||||
{
|
||||
return eagleEyeRpcId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId)
|
||||
{
|
||||
eagleEyeRpcId_ = eagleEyeRpcId;
|
||||
setCoreParameter("EagleEyeRpcId", eagleEyeRpcId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getEagleEyeTraceId()const
|
||||
{
|
||||
return eagleEyeTraceId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId)
|
||||
{
|
||||
eagleEyeTraceId_ = eagleEyeTraceId;
|
||||
setCoreParameter("EagleEyeTraceId", eagleEyeTraceId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeLiveDomainBpsDataByTimeStampRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getIspNames()const
|
||||
{
|
||||
return ispNames_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setIspNames(const std::string& ispNames)
|
||||
{
|
||||
ispNames_ = ispNames;
|
||||
setCoreParameter("IspNames", ispNames);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setCoreParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeLiveDomainBpsDataByTimeStampRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainBpsDataByTimeStampRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainBpsDataByTimeStampRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainBpsDataByTimeStampRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getEagleEyeUserData()const
|
||||
{
|
||||
return eagleEyeUserData_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setEagleEyeUserData(const std::string& eagleEyeUserData)
|
||||
{
|
||||
eagleEyeUserData_ = eagleEyeUserData;
|
||||
setCoreParameter("EagleEyeUserData", eagleEyeUserData);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getTimePoint()const
|
||||
{
|
||||
return timePoint_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setTimePoint(const std::string& timePoint)
|
||||
{
|
||||
timePoint_ = timePoint;
|
||||
setCoreParameter("TimePoint", timePoint);
|
||||
}
|
||||
|
||||
81
live/src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc
Normal file
81
live/src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* 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/DescribeLiveDomainBpsDataByTimeStampResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampResult::DescribeLiveDomainBpsDataByTimeStampResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampResult::DescribeLiveDomainBpsDataByTimeStampResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampResult::~DescribeLiveDomainBpsDataByTimeStampResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBpsDataList = value["BpsDataList"]["BpsDataModel"];
|
||||
for (auto value : allBpsDataList)
|
||||
{
|
||||
BpsDataModel bpsDataListObject;
|
||||
if(!value["TimeStamp"].isNull())
|
||||
bpsDataListObject.timeStamp = value["TimeStamp"].asString();
|
||||
if(!value["LocationName"].isNull())
|
||||
bpsDataListObject.locationName = value["LocationName"].asString();
|
||||
if(!value["IspName"].isNull())
|
||||
bpsDataListObject.ispName = value["IspName"].asString();
|
||||
if(!value["Bps"].isNull())
|
||||
bpsDataListObject.bps = std::stol(value["Bps"].asString());
|
||||
bpsDataList_.push_back(bpsDataListObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["TimeStamp"].isNull())
|
||||
timeStamp_ = value["TimeStamp"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveDomainBpsDataByTimeStampResult::BpsDataModel> DescribeLiveDomainBpsDataByTimeStampResult::getBpsDataList()const
|
||||
{
|
||||
return bpsDataList_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampResult::getTimeStamp()const
|
||||
{
|
||||
return timeStamp_;
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainBpsDataResult::~DescribeLiveDomainBpsDataResult()
|
||||
|
||||
void DescribeLiveDomainBpsDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBpsDataPerInterval = value["BpsDataPerInterval"]["DataModule"];
|
||||
for (auto value : allBpsDataPerInterval)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainConfigsResult::~DescribeLiveDomainConfigsResult()
|
||||
|
||||
void DescribeLiveDomainConfigsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainConfigs = value["DomainConfigs"]["DomainConfig"];
|
||||
for (auto value : allDomainConfigs)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainDetailResult::~DescribeLiveDomainDetailResult()
|
||||
|
||||
void DescribeLiveDomainDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto domainDetailNode = value["DomainDetail"];
|
||||
if(!domainDetailNode["GmtCreated"].isNull())
|
||||
|
||||
@@ -0,0 +1,357 @@
|
||||
/*
|
||||
* 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/DescribeLiveDomainFrameRateAndBitRateDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeLiveDomainFrameRateAndBitRateDataRequest;
|
||||
|
||||
DescribeLiveDomainFrameRateAndBitRateDataRequest::DescribeLiveDomainFrameRateAndBitRateDataRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainFrameRateAndBitRateData")
|
||||
{}
|
||||
|
||||
DescribeLiveDomainFrameRateAndBitRateDataRequest::~DescribeLiveDomainFrameRateAndBitRateDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeLiveDomainFrameRateAndBitRateDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getCatalog()const
|
||||
{
|
||||
return catalog_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setCatalog(const std::string& catalog)
|
||||
{
|
||||
catalog_ = catalog;
|
||||
setCoreParameter("Catalog", catalog);
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainFrameRateAndBitRateDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getEagleEyeRpcId()const
|
||||
{
|
||||
return eagleEyeRpcId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId)
|
||||
{
|
||||
eagleEyeRpcId_ = eagleEyeRpcId;
|
||||
setCoreParameter("EagleEyeRpcId", eagleEyeRpcId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getQueryTime()const
|
||||
{
|
||||
return queryTime_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setQueryTime(const std::string& queryTime)
|
||||
{
|
||||
queryTime_ = queryTime;
|
||||
setCoreParameter("QueryTime", queryTime);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getEagleEyeTraceId()const
|
||||
{
|
||||
return eagleEyeTraceId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId)
|
||||
{
|
||||
eagleEyeTraceId_ = eagleEyeTraceId;
|
||||
setCoreParameter("EagleEyeTraceId", eagleEyeTraceId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getHost()const
|
||||
{
|
||||
return host_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setHost(const std::string& host)
|
||||
{
|
||||
host_ = host;
|
||||
setCoreParameter("Host", host);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeLiveDomainFrameRateAndBitRateDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeLiveDomainFrameRateAndBitRateDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainFrameRateAndBitRateDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainFrameRateAndBitRateDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainFrameRateAndBitRateDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getEagleEyeUserData()const
|
||||
{
|
||||
return eagleEyeUserData_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setEagleEyeUserData(const std::string& eagleEyeUserData)
|
||||
{
|
||||
eagleEyeUserData_ = eagleEyeUserData;
|
||||
setCoreParameter("EagleEyeUserData", eagleEyeUserData);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataRequest::setFields(const std::string& fields)
|
||||
{
|
||||
fields_ = fields;
|
||||
setCoreParameter("Fields", fields);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* 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/DescribeLiveDomainFrameRateAndBitRateDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeLiveDomainFrameRateAndBitRateDataResult::DescribeLiveDomainFrameRateAndBitRateDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveDomainFrameRateAndBitRateDataResult::DescribeLiveDomainFrameRateAndBitRateDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveDomainFrameRateAndBitRateDataResult::~DescribeLiveDomainFrameRateAndBitRateDataResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveDomainFrameRateAndBitRateDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allFrameRateAndBitRateInfos = value["FrameRateAndBitRateInfos"]["FrameRateAndBitRateInfo"];
|
||||
for (auto value : allFrameRateAndBitRateInfos)
|
||||
{
|
||||
FrameRateAndBitRateInfo frameRateAndBitRateInfosObject;
|
||||
if(!value["AudioFrameRate"].isNull())
|
||||
frameRateAndBitRateInfosObject.audioFrameRate = std::stof(value["AudioFrameRate"].asString());
|
||||
if(!value["BitRate"].isNull())
|
||||
frameRateAndBitRateInfosObject.bitRate = std::stof(value["BitRate"].asString());
|
||||
if(!value["VideoFrameRate"].isNull())
|
||||
frameRateAndBitRateInfosObject.videoFrameRate = std::stof(value["VideoFrameRate"].asString());
|
||||
if(!value["StreamUrl"].isNull())
|
||||
frameRateAndBitRateInfosObject.streamUrl = value["StreamUrl"].asString();
|
||||
frameRateAndBitRateInfos_.push_back(frameRateAndBitRateInfosObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveDomainFrameRateAndBitRateDataResult::FrameRateAndBitRateInfo> DescribeLiveDomainFrameRateAndBitRateDataResult::getFrameRateAndBitRateInfos()const
|
||||
{
|
||||
return frameRateAndBitRateInfos_;
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainMappingResult::~DescribeLiveDomainMappingResult()
|
||||
|
||||
void DescribeLiveDomainMappingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveDomainModels = value["LiveDomainModels"]["LiveDomainModel"];
|
||||
for (auto value : allLiveDomainModels)
|
||||
|
||||
324
live/src/model/DescribeLiveDomainOnlineUserNumRequest.cc
Normal file
324
live/src/model/DescribeLiveDomainOnlineUserNumRequest.cc
Normal file
@@ -0,0 +1,324 @@
|
||||
/*
|
||||
* 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/DescribeLiveDomainOnlineUserNumRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeLiveDomainOnlineUserNumRequest;
|
||||
|
||||
DescribeLiveDomainOnlineUserNumRequest::DescribeLiveDomainOnlineUserNumRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainOnlineUserNum")
|
||||
{}
|
||||
|
||||
DescribeLiveDomainOnlineUserNumRequest::~DescribeLiveDomainOnlineUserNumRequest()
|
||||
{}
|
||||
|
||||
long DescribeLiveDomainOnlineUserNumRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainOnlineUserNumRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getEagleEyeRpcId()const
|
||||
{
|
||||
return eagleEyeRpcId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId)
|
||||
{
|
||||
eagleEyeRpcId_ = eagleEyeRpcId;
|
||||
setCoreParameter("EagleEyeRpcId", eagleEyeRpcId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getQueryTime()const
|
||||
{
|
||||
return queryTime_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setQueryTime(const std::string& queryTime)
|
||||
{
|
||||
queryTime_ = queryTime;
|
||||
setCoreParameter("QueryTime", queryTime);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getEagleEyeTraceId()const
|
||||
{
|
||||
return eagleEyeTraceId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId)
|
||||
{
|
||||
eagleEyeTraceId_ = eagleEyeTraceId;
|
||||
setCoreParameter("EagleEyeTraceId", eagleEyeTraceId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeLiveDomainOnlineUserNumRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeLiveDomainOnlineUserNumRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainOnlineUserNumRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainOnlineUserNumRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeLiveDomainOnlineUserNumRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainOnlineUserNumRequest::getEagleEyeUserData()const
|
||||
{
|
||||
return eagleEyeUserData_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumRequest::setEagleEyeUserData(const std::string& eagleEyeUserData)
|
||||
{
|
||||
eagleEyeUserData_ = eagleEyeUserData;
|
||||
setCoreParameter("EagleEyeUserData", eagleEyeUserData);
|
||||
}
|
||||
|
||||
85
live/src/model/DescribeLiveDomainOnlineUserNumResult.cc
Normal file
85
live/src/model/DescribeLiveDomainOnlineUserNumResult.cc
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* 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/DescribeLiveDomainOnlineUserNumResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeLiveDomainOnlineUserNumResult::DescribeLiveDomainOnlineUserNumResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveDomainOnlineUserNumResult::DescribeLiveDomainOnlineUserNumResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveDomainOnlineUserNumResult::~DescribeLiveDomainOnlineUserNumResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveDomainOnlineUserNumResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allOnlineUserInfo = value["OnlineUserInfo"]["LiveStreamOnlineUserNumInfo"];
|
||||
for (auto value : allOnlineUserInfo)
|
||||
{
|
||||
LiveStreamOnlineUserNumInfo onlineUserInfoObject;
|
||||
if(!value["StreamName"].isNull())
|
||||
onlineUserInfoObject.streamName = value["StreamName"].asString();
|
||||
auto allInfos = value["Infos"]["Info"];
|
||||
for (auto value : allInfos)
|
||||
{
|
||||
LiveStreamOnlineUserNumInfo::Info infosObject;
|
||||
if(!value["TranscodeTemplate"].isNull())
|
||||
infosObject.transcodeTemplate = value["TranscodeTemplate"].asString();
|
||||
if(!value["UserNumber"].isNull())
|
||||
infosObject.userNumber = std::stol(value["UserNumber"].asString());
|
||||
onlineUserInfoObject.infos.push_back(infosObject);
|
||||
}
|
||||
onlineUserInfo_.push_back(onlineUserInfoObject);
|
||||
}
|
||||
if(!value["StreamCount"].isNull())
|
||||
streamCount_ = std::stoi(value["StreamCount"].asString());
|
||||
if(!value["UserCount"].isNull())
|
||||
userCount_ = std::stoi(value["UserCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeLiveDomainOnlineUserNumResult::getStreamCount()const
|
||||
{
|
||||
return streamCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveDomainOnlineUserNumResult::LiveStreamOnlineUserNumInfo> DescribeLiveDomainOnlineUserNumResult::getOnlineUserInfo()const
|
||||
{
|
||||
return onlineUserInfo_;
|
||||
}
|
||||
|
||||
int DescribeLiveDomainOnlineUserNumResult::getUserCount()const
|
||||
{
|
||||
return userCount_;
|
||||
}
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainRealTimeBpsDataResult::~DescribeLiveDomainRealTimeBpsDataResul
|
||||
|
||||
void DescribeLiveDomainRealTimeBpsDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRealTimeBpsDataPerInterval = value["RealTimeBpsDataPerInterval"]["DataModule"];
|
||||
for (auto value : allRealTimeBpsDataPerInterval)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainRealTimeHttpCodeDataResult::~DescribeLiveDomainRealTimeHttpCod
|
||||
|
||||
void DescribeLiveDomainRealTimeHttpCodeDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRealTimeHttpCodeData = value["RealTimeHttpCodeData"]["UsageData"];
|
||||
for (auto value : allRealTimeHttpCodeData)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainRealTimeTrafficDataResult::~DescribeLiveDomainRealTimeTrafficD
|
||||
|
||||
void DescribeLiveDomainRealTimeTrafficDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRealTimeTrafficDataPerInterval = value["RealTimeTrafficDataPerInterval"]["DataModule"];
|
||||
for (auto value : allRealTimeTrafficDataPerInterval)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainRecordDataResult::~DescribeLiveDomainRecordDataResult()
|
||||
|
||||
void DescribeLiveDomainRecordDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRecordDataInfos = value["RecordDataInfos"]["RecordDataInfo"];
|
||||
for (auto value : allRecordDataInfos)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainSnapshotDataResult::~DescribeLiveDomainSnapshotDataResult()
|
||||
|
||||
void DescribeLiveDomainSnapshotDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSnapshotDataInfos = value["SnapshotDataInfos"]["SnapshotDataInfo"];
|
||||
for (auto value : allSnapshotDataInfos)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainTrafficDataResult::~DescribeLiveDomainTrafficDataResult()
|
||||
|
||||
void DescribeLiveDomainTrafficDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTrafficDataPerInterval = value["TrafficDataPerInterval"]["DataModule"];
|
||||
for (auto value : allTrafficDataPerInterval)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveDomainTranscodeDataResult::~DescribeLiveDomainTranscodeDataResult()
|
||||
|
||||
void DescribeLiveDomainTranscodeDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTranscodeDataInfos = value["TranscodeDataInfos"]["TranscodeDataInfo"];
|
||||
for (auto value : allTranscodeDataInfos)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveLazyPullStreamConfigResult::~DescribeLiveLazyPullStreamConfigResult(
|
||||
|
||||
void DescribeLiveLazyPullStreamConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveLazyPullConfigList = value["LiveLazyPullConfigList"]["LiveLazyPullConfig"];
|
||||
for (auto value : allLiveLazyPullConfigList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLivePullStreamConfigResult::~DescribeLivePullStreamConfigResult()
|
||||
|
||||
void DescribeLivePullStreamConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveAppRecordList = value["LiveAppRecordList"]["LiveAppRecord"];
|
||||
for (auto value : allLiveAppRecordList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveRecordConfigResult::~DescribeLiveRecordConfigResult()
|
||||
|
||||
void DescribeLiveRecordConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveAppRecordList = value["LiveAppRecordList"]["LiveAppRecord"];
|
||||
for (auto value : allLiveAppRecordList)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveRecordNotifyConfigResult::~DescribeLiveRecordNotifyConfigResult()
|
||||
|
||||
void DescribeLiveRecordNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto liveRecordNotifyConfigNode = value["LiveRecordNotifyConfig"];
|
||||
if(!liveRecordNotifyConfigNode["DomainName"].isNull())
|
||||
|
||||
@@ -25,48 +25,37 @@ DescribeLiveRecordVodConfigsRequest::DescribeLiveRecordVodConfigsRequest() :
|
||||
DescribeLiveRecordVodConfigsRequest::~DescribeLiveRecordVodConfigsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getAppName()const
|
||||
long DescribeLiveRecordVodConfigsRequest::getCallerParentId()const
|
||||
{
|
||||
return appName_;
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setAppName(const std::string& appName)
|
||||
void DescribeLiveRecordVodConfigsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
appName_ = appName;
|
||||
setCoreParameter("AppName", appName);
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getDomainName()const
|
||||
bool DescribeLiveRecordVodConfigsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return domainName_;
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setDomainName(const std::string& domainName)
|
||||
void DescribeLiveRecordVodConfigsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
long DescribeLiveRecordVodConfigsRequest::getPageSize()const
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return pageSize_;
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setPageSize(long pageSize)
|
||||
void DescribeLiveRecordVodConfigsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeLiveRecordVodConfigsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
long DescribeLiveRecordVodConfigsRequest::getPageNum()const
|
||||
@@ -80,6 +69,138 @@ void DescribeLiveRecordVodConfigsRequest::setPageNum(long pageNum)
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getEagleEyeRpcId()const
|
||||
{
|
||||
return eagleEyeRpcId_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setEagleEyeRpcId(const std::string& eagleEyeRpcId)
|
||||
{
|
||||
eagleEyeRpcId_ = eagleEyeRpcId;
|
||||
setCoreParameter("EagleEyeRpcId", eagleEyeRpcId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getEagleEyeTraceId()const
|
||||
{
|
||||
return eagleEyeTraceId_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setEagleEyeTraceId(const std::string& eagleEyeTraceId)
|
||||
{
|
||||
eagleEyeTraceId_ = eagleEyeTraceId;
|
||||
setCoreParameter("EagleEyeTraceId", eagleEyeTraceId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setCoreParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribeLiveRecordVodConfigsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
@@ -91,3 +212,146 @@ void DescribeLiveRecordVodConfigsRequest::setStreamName(const std::string& strea
|
||||
setCoreParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
long DescribeLiveRecordVodConfigsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeLiveRecordVodConfigsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeLiveRecordVodConfigsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeLiveRecordVodConfigsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeLiveRecordVodConfigsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveRecordVodConfigsRequest::getEagleEyeUserData()const
|
||||
{
|
||||
return eagleEyeUserData_;
|
||||
}
|
||||
|
||||
void DescribeLiveRecordVodConfigsRequest::setEagleEyeUserData(const std::string& eagleEyeUserData)
|
||||
{
|
||||
eagleEyeUserData_ = eagleEyeUserData;
|
||||
setCoreParameter("EagleEyeUserData", eagleEyeUserData);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveRecordVodConfigsResult::~DescribeLiveRecordVodConfigsResult()
|
||||
|
||||
void DescribeLiveRecordVodConfigsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveRecordVodConfigs = value["LiveRecordVodConfigs"]["LiveRecordVodConfig"];
|
||||
for (auto value : allLiveRecordVodConfigs)
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeLiveSnapshotConfigResult::~DescribeLiveSnapshotConfigResult()
|
||||
|
||||
void DescribeLiveSnapshotConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveStreamSnapshotConfigList = value["LiveStreamSnapshotConfigList"]["LiveStreamSnapshotConfig"];
|
||||
for (auto value : allLiveStreamSnapshotConfigList)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user