Generate SDK by new Generator
This commit is contained in:
8136
vod/src/VodClient.cc
8136
vod/src/VodClient.cc
File diff suppressed because it is too large
Load Diff
@@ -36,17 +36,6 @@ void AddAITemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddAITemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddAITemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddAITemplateRequest::getTemplateConfig()const
|
||||
{
|
||||
return templateConfig_;
|
||||
@@ -80,6 +69,17 @@ void AddAITemplateRequest::setTemplateName(const std::string& templateName)
|
||||
setCoreParameter("TemplateName", templateName);
|
||||
}
|
||||
|
||||
std::string AddAITemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddAITemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddAITemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ AddAITemplateResult::~AddAITemplateResult()
|
||||
|
||||
void AddAITemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TemplateId"].isNull())
|
||||
templateId_ = value["TemplateId"].asString();
|
||||
|
||||
@@ -36,28 +36,6 @@ void AddCategoryRequest::setResourceOwnerId(const std::string& resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", resourceOwnerId);
|
||||
}
|
||||
|
||||
std::string AddCategoryRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddCategoryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string AddCategoryRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
@@ -91,3 +69,25 @@ void AddCategoryRequest::setCateName(const std::string& cateName)
|
||||
setCoreParameter("CateName", cateName);
|
||||
}
|
||||
|
||||
std::string AddCategoryRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddCategoryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddCategoryResult::~AddCategoryResult()
|
||||
|
||||
void AddCategoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto categoryNode = value["Category"];
|
||||
if(!categoryNode["CateId"].isNull())
|
||||
|
||||
@@ -25,28 +25,6 @@ AddEditingProjectRequest::AddEditingProjectRequest() :
|
||||
AddEditingProjectRequest::~AddEditingProjectRequest()
|
||||
{}
|
||||
|
||||
std::string AddEditingProjectRequest::getCoverURL()const
|
||||
{
|
||||
return coverURL_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setCoverURL(const std::string& coverURL)
|
||||
{
|
||||
coverURL_ = coverURL;
|
||||
setCoreParameter("CoverURL", coverURL);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getDivision()const
|
||||
{
|
||||
return division_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setDivision(const std::string& division)
|
||||
{
|
||||
division_ = division;
|
||||
setCoreParameter("Division", division);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -58,28 +36,6 @@ void AddEditingProjectRequest::setResourceOwnerId(const std::string& resourceOwn
|
||||
setCoreParameter("ResourceOwnerId", resourceOwnerId);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -91,28 +47,6 @@ void AddEditingProjectRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getTimeline()const
|
||||
{
|
||||
return timeline_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setTimeline(const std::string& timeline)
|
||||
{
|
||||
timeline_ = timeline;
|
||||
setCoreParameter("Timeline", timeline);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
@@ -135,3 +69,69 @@ void AddEditingProjectRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getCoverURL()const
|
||||
{
|
||||
return coverURL_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setCoverURL(const std::string& coverURL)
|
||||
{
|
||||
coverURL_ = coverURL;
|
||||
setCoreParameter("CoverURL", coverURL);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getDivision()const
|
||||
{
|
||||
return division_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setDivision(const std::string& division)
|
||||
{
|
||||
division_ = division;
|
||||
setCoreParameter("Division", division);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getTimeline()const
|
||||
{
|
||||
return timeline_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setTimeline(const std::string& timeline)
|
||||
{
|
||||
timeline_ = timeline;
|
||||
setCoreParameter("Timeline", timeline);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddEditingProjectResult::~AddEditingProjectResult()
|
||||
|
||||
void AddEditingProjectResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto projectNode = value["Project"];
|
||||
if(!projectNode["ProjectId"].isNull())
|
||||
|
||||
@@ -47,6 +47,17 @@ void AddTranscodeTemplateGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,6 +69,28 @@ void AddTranscodeTemplateGroupRequest::setResourceOwnerAccount(const std::string
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddTranscodeTemplateGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId()const
|
||||
{
|
||||
return transcodeTemplateGroupId_;
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId)
|
||||
{
|
||||
transcodeTemplateGroupId_ = transcodeTemplateGroupId;
|
||||
setCoreParameter("TranscodeTemplateGroupId", transcodeTemplateGroupId);
|
||||
}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
@@ -80,36 +113,3 @@ void AddTranscodeTemplateGroupRequest::setName(const std::string& name)
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
long AddTranscodeTemplateGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId()const
|
||||
{
|
||||
return transcodeTemplateGroupId_;
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId)
|
||||
{
|
||||
transcodeTemplateGroupId_ = transcodeTemplateGroupId;
|
||||
setCoreParameter("TranscodeTemplateGroupId", transcodeTemplateGroupId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddTranscodeTemplateGroupResult::~AddTranscodeTemplateGroupResult()
|
||||
|
||||
void AddTranscodeTemplateGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TranscodeTemplateGroupId"].isNull())
|
||||
transcodeTemplateGroupId_ = value["TranscodeTemplateGroupId"].asString();
|
||||
|
||||
@@ -47,17 +47,6 @@ void AddVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddVodDomainRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddVodDomainRequest::getScope()const
|
||||
{
|
||||
return scope_;
|
||||
@@ -69,6 +58,17 @@ void AddVodDomainRequest::setScope(const std::string& scope)
|
||||
setCoreParameter("Scope", scope);
|
||||
}
|
||||
|
||||
std::string AddVodDomainRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddVodDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
|
||||
@@ -35,13 +35,9 @@ AddVodDomainResult::~AddVodDomainResult()
|
||||
|
||||
void AddVodDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,15 +36,15 @@ void AddVodTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddVodTemplateRequest::getResourceOwnerAccount()const
|
||||
std::string AddVodTemplateRequest::getSubTemplateType()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
return subTemplateType_;
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
void AddVodTemplateRequest::setSubTemplateType(const std::string& subTemplateType)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
subTemplateType_ = subTemplateType;
|
||||
setCoreParameter("SubTemplateType", subTemplateType);
|
||||
}
|
||||
|
||||
std::string AddVodTemplateRequest::getTemplateConfig()const
|
||||
@@ -69,6 +69,28 @@ void AddVodTemplateRequest::setTemplateType(const std::string& templateType)
|
||||
setCoreParameter("TemplateType", templateType);
|
||||
}
|
||||
|
||||
std::string AddVodTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddVodTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddVodTemplateRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
@@ -91,25 +113,3 @@ void AddVodTemplateRequest::setName(const std::string& name)
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
long AddVodTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddVodTemplateRequest::getSubTemplateType()const
|
||||
{
|
||||
return subTemplateType_;
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setSubTemplateType(const std::string& subTemplateType)
|
||||
{
|
||||
subTemplateType_ = subTemplateType;
|
||||
setCoreParameter("SubTemplateType", subTemplateType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddVodTemplateResult::~AddVodTemplateResult()
|
||||
|
||||
void AddVodTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["VodTemplateId"].isNull())
|
||||
vodTemplateId_ = value["VodTemplateId"].asString();
|
||||
|
||||
@@ -36,6 +36,28 @@ void AddWatermarkRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -47,6 +69,28 @@ void AddWatermarkRequest::setResourceOwnerAccount(const std::string& resourceOwn
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddWatermarkRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getWatermarkConfig()const
|
||||
{
|
||||
return watermarkConfig_;
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setWatermarkConfig(const std::string& watermarkConfig)
|
||||
{
|
||||
watermarkConfig_ = watermarkConfig;
|
||||
setCoreParameter("WatermarkConfig", watermarkConfig);
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
@@ -80,47 +124,3 @@ void AddWatermarkRequest::setFileUrl(const std::string& fileUrl)
|
||||
setCoreParameter("FileUrl", fileUrl);
|
||||
}
|
||||
|
||||
long AddWatermarkRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getWatermarkConfig()const
|
||||
{
|
||||
return watermarkConfig_;
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setWatermarkConfig(const std::string& watermarkConfig)
|
||||
{
|
||||
watermarkConfig_ = watermarkConfig;
|
||||
setCoreParameter("WatermarkConfig", watermarkConfig);
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddWatermarkResult::~AddWatermarkResult()
|
||||
|
||||
void AddWatermarkResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto watermarkInfoNode = value["WatermarkInfo"];
|
||||
if(!watermarkInfoNode["CreationTime"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ AttachAppPolicyToIdentityRequest::AttachAppPolicyToIdentityRequest() :
|
||||
AttachAppPolicyToIdentityRequest::~AttachAppPolicyToIdentityRequest()
|
||||
{}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getIdentityName()const
|
||||
{
|
||||
return identityName_;
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setIdentityName(const std::string& identityName)
|
||||
{
|
||||
identityName_ = identityName;
|
||||
setCoreParameter("IdentityName", identityName);
|
||||
}
|
||||
|
||||
long AttachAppPolicyToIdentityRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,39 +36,6 @@ void AttachAppPolicyToIdentityRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getIdentityType()const
|
||||
{
|
||||
return identityType_;
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setIdentityType(const std::string& identityType)
|
||||
{
|
||||
identityType_ = identityType;
|
||||
setCoreParameter("IdentityType", identityType);
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getPolicyNames()const
|
||||
{
|
||||
return policyNames_;
|
||||
@@ -102,6 +58,39 @@ void AttachAppPolicyToIdentityRequest::setResourceRealOwnerId(const std::string&
|
||||
setCoreParameter("ResourceRealOwnerId", resourceRealOwnerId);
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getIdentityName()const
|
||||
{
|
||||
return identityName_;
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setIdentityName(const std::string& identityName)
|
||||
{
|
||||
identityName_ = identityName;
|
||||
setCoreParameter("IdentityName", identityName);
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getIdentityType()const
|
||||
{
|
||||
return identityType_;
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setIdentityType(const std::string& identityType)
|
||||
{
|
||||
identityType_ = identityType;
|
||||
setCoreParameter("IdentityType", identityType);
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AttachAppPolicyToIdentityRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -113,3 +102,14 @@ void AttachAppPolicyToIdentityRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AttachAppPolicyToIdentityResult::~AttachAppPolicyToIdentityResult()
|
||||
|
||||
void AttachAppPolicyToIdentityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNonExistPolicyNames = value["NonExistPolicyNames"]["PolicyName"];
|
||||
for (const auto &item : allNonExistPolicyNames)
|
||||
|
||||
@@ -36,17 +36,6 @@ void BatchSetVodDomainConfigsRequest::setFunctions(const std::string& functions)
|
||||
setCoreParameter("Functions", functions);
|
||||
}
|
||||
|
||||
std::string BatchSetVodDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchSetVodDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string BatchSetVodDomainConfigsRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
@@ -80,3 +69,14 @@ void BatchSetVodDomainConfigsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BatchSetVodDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchSetVodDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ BatchSetVodDomainConfigsResult::~BatchSetVodDomainConfigsResult()
|
||||
|
||||
void BatchSetVodDomainConfigsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ BatchStartVodDomainRequest::BatchStartVodDomainRequest() :
|
||||
BatchStartVodDomainRequest::~BatchStartVodDomainRequest()
|
||||
{}
|
||||
|
||||
std::string BatchStartVodDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchStartVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string BatchStartVodDomainRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
@@ -58,3 +47,14 @@ void BatchStartVodDomainRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BatchStartVodDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchStartVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ BatchStartVodDomainResult::~BatchStartVodDomainResult()
|
||||
|
||||
void BatchStartVodDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ BatchStopVodDomainRequest::BatchStopVodDomainRequest() :
|
||||
BatchStopVodDomainRequest::~BatchStopVodDomainRequest()
|
||||
{}
|
||||
|
||||
std::string BatchStopVodDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchStopVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string BatchStopVodDomainRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
@@ -58,3 +47,14 @@ void BatchStopVodDomainRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BatchStopVodDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchStopVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ BatchStopVodDomainResult::~BatchStopVodDomainResult()
|
||||
|
||||
void BatchStopVodDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,28 +36,6 @@ void CreateAppInfoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateAppInfoRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setCoreParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string CreateAppInfoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateAppInfoRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -80,17 +58,6 @@ void CreateAppInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
setCoreParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
long CreateAppInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateAppInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -102,3 +69,36 @@ void CreateAppInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateAppInfoRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setCoreParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string CreateAppInfoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CreateAppInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateAppInfoResult::~CreateAppInfoResult()
|
||||
|
||||
void CreateAppInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AppId"].isNull())
|
||||
appId_ = value["AppId"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateAuditResult::~CreateAuditResult()
|
||||
|
||||
void CreateAuditResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,28 +36,6 @@ void CreateUploadAttachedMediaRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getCateIds()const
|
||||
{
|
||||
return cateIds_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setCateIds(const std::string& cateIds)
|
||||
{
|
||||
cateIds_ = cateIds;
|
||||
setCoreParameter("CateIds", cateIds);
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getIcon()const
|
||||
{
|
||||
return icon_;
|
||||
@@ -91,17 +69,6 @@ void CreateUploadAttachedMediaRequest::setFileSize(const std::string& fileSize)
|
||||
setCoreParameter("FileSize", fileSize);
|
||||
}
|
||||
|
||||
long CreateUploadAttachedMediaRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
@@ -135,17 +102,6 @@ void CreateUploadAttachedMediaRequest::setBusinessType(const std::string& busine
|
||||
setCoreParameter("BusinessType", businessType);
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setCoreParameter("Tags", tags);
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getStorageLocation()const
|
||||
{
|
||||
return storageLocation_;
|
||||
@@ -168,6 +124,61 @@ void CreateUploadAttachedMediaRequest::setUserData(const std::string& userData)
|
||||
setCoreParameter("UserData", userData);
|
||||
}
|
||||
|
||||
long CreateUploadAttachedMediaRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setCoreParameter("CateId", std::to_string(cateId));
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getCateIds()const
|
||||
{
|
||||
return cateIds_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setCateIds(const std::string& cateIds)
|
||||
{
|
||||
cateIds_ = cateIds;
|
||||
setCoreParameter("CateIds", cateIds);
|
||||
}
|
||||
|
||||
long CreateUploadAttachedMediaRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setCoreParameter("Tags", tags);
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getMediaExt()const
|
||||
{
|
||||
return mediaExt_;
|
||||
@@ -190,17 +201,6 @@ void CreateUploadAttachedMediaRequest::setFileName(const std::string& fileName)
|
||||
setCoreParameter("FileName", fileName);
|
||||
}
|
||||
|
||||
long CreateUploadAttachedMediaRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setCoreParameter("CateId", std::to_string(cateId));
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateUploadAttachedMediaResult::~CreateUploadAttachedMediaResult()
|
||||
|
||||
void CreateUploadAttachedMediaResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["MediaId"].isNull())
|
||||
mediaId_ = value["MediaId"].asString();
|
||||
|
||||
@@ -36,6 +36,72 @@ void CreateUploadImageRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setCoreParameter("Title", title);
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getStorageLocation()const
|
||||
{
|
||||
return storageLocation_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setStorageLocation(const std::string& storageLocation)
|
||||
{
|
||||
storageLocation_ = storageLocation;
|
||||
setCoreParameter("StorageLocation", storageLocation);
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getUserData()const
|
||||
{
|
||||
return userData_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setUserData(const std::string& userData)
|
||||
{
|
||||
userData_ = userData;
|
||||
setCoreParameter("UserData", userData);
|
||||
}
|
||||
|
||||
long CreateUploadImageRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setCoreParameter("CateId", std::to_string(cateId));
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getImageType()const
|
||||
{
|
||||
return imageType_;
|
||||
@@ -69,17 +135,6 @@ void CreateUploadImageRequest::setImageExt(const std::string& imageExt)
|
||||
setCoreParameter("ImageExt", imageExt);
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateUploadImageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,28 +146,6 @@ void CreateUploadImageRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setCoreParameter("Title", title);
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
@@ -124,28 +157,6 @@ void CreateUploadImageRequest::setTags(const std::string& tags)
|
||||
setCoreParameter("Tags", tags);
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getStorageLocation()const
|
||||
{
|
||||
return storageLocation_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setStorageLocation(const std::string& storageLocation)
|
||||
{
|
||||
storageLocation_ = storageLocation;
|
||||
setCoreParameter("StorageLocation", storageLocation);
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getUserData()const
|
||||
{
|
||||
return userData_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setUserData(const std::string& userData)
|
||||
{
|
||||
userData_ = userData;
|
||||
setCoreParameter("UserData", userData);
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getOriginalFileName()const
|
||||
{
|
||||
return originalFileName_;
|
||||
@@ -157,17 +168,6 @@ void CreateUploadImageRequest::setOriginalFileName(const std::string& originalFi
|
||||
setCoreParameter("OriginalFileName", originalFileName);
|
||||
}
|
||||
|
||||
long CreateUploadImageRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setCoreParameter("CateId", std::to_string(cateId));
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateUploadImageResult::~CreateUploadImageResult()
|
||||
|
||||
void CreateUploadImageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ImageId"].isNull())
|
||||
imageId_ = value["ImageId"].asString();
|
||||
|
||||
@@ -36,17 +36,6 @@ void CreateUploadVideoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTranscodeMode()const
|
||||
{
|
||||
return transcodeMode_;
|
||||
@@ -58,17 +47,6 @@ void CreateUploadVideoRequest::setTranscodeMode(const std::string& transcodeMode
|
||||
setCoreParameter("TranscodeMode", transcodeMode);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getIP()const
|
||||
{
|
||||
return iP_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setIP(const std::string& iP)
|
||||
{
|
||||
iP_ = iP;
|
||||
setCoreParameter("IP", iP);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -91,17 +69,6 @@ void CreateUploadVideoRequest::setFileSize(long fileSize)
|
||||
setCoreParameter("FileSize", std::to_string(fileSize));
|
||||
}
|
||||
|
||||
long CreateUploadVideoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
@@ -113,17 +80,6 @@ void CreateUploadVideoRequest::setTitle(const std::string& title)
|
||||
setCoreParameter("Title", title);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setCoreParameter("Tags", tags);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getStorageLocation()const
|
||||
{
|
||||
return storageLocation_;
|
||||
@@ -157,28 +113,6 @@ void CreateUploadVideoRequest::setUserData(const std::string& userData)
|
||||
setCoreParameter("UserData", userData);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getFileName()const
|
||||
{
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setFileName(const std::string& fileName)
|
||||
{
|
||||
fileName_ = fileName;
|
||||
setCoreParameter("FileName", fileName);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTemplateGroupId()const
|
||||
{
|
||||
return templateGroupId_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setTemplateGroupId(const std::string& templateGroupId)
|
||||
{
|
||||
templateGroupId_ = templateGroupId;
|
||||
setCoreParameter("TemplateGroupId", templateGroupId);
|
||||
}
|
||||
|
||||
long CreateUploadVideoRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
@@ -190,17 +124,6 @@ void CreateUploadVideoRequest::setCateId(long cateId)
|
||||
setCoreParameter("CateId", std::to_string(cateId));
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getWorkflowId()const
|
||||
{
|
||||
return workflowId_;
|
||||
@@ -223,3 +146,80 @@ void CreateUploadVideoRequest::setCustomMediaInfo(const std::string& customMedia
|
||||
setCoreParameter("CustomMediaInfo", customMediaInfo);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getIP()const
|
||||
{
|
||||
return iP_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setIP(const std::string& iP)
|
||||
{
|
||||
iP_ = iP;
|
||||
setCoreParameter("IP", iP);
|
||||
}
|
||||
|
||||
long CreateUploadVideoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setCoreParameter("Tags", tags);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getFileName()const
|
||||
{
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setFileName(const std::string& fileName)
|
||||
{
|
||||
fileName_ = fileName;
|
||||
setCoreParameter("FileName", fileName);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTemplateGroupId()const
|
||||
{
|
||||
return templateGroupId_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setTemplateGroupId(const std::string& templateGroupId)
|
||||
{
|
||||
templateGroupId_ = templateGroupId;
|
||||
setCoreParameter("TemplateGroupId", templateGroupId);
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateUploadVideoResult::~CreateUploadVideoResult()
|
||||
|
||||
void CreateUploadVideoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["VideoId"].isNull())
|
||||
videoId_ = value["VideoId"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteAITemplateResult::~DeleteAITemplateResult()
|
||||
|
||||
void DeleteAITemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TemplateId"].isNull())
|
||||
templateId_ = value["TemplateId"].asString();
|
||||
|
||||
@@ -47,17 +47,6 @@ void DeleteAppInfoRequest::setResourceOwnerAccount(const std::string& resourceOw
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteAppInfoRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteAppInfoRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
long DeleteAppInfoRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
@@ -91,3 +80,14 @@ void DeleteAppInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteAppInfoRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteAppInfoRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteAppInfoResult::~DeleteAppInfoResult()
|
||||
|
||||
void DeleteAppInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -47,17 +47,6 @@ void DeleteAttachedMediaRequest::setResourceOwnerAccount(const std::string& reso
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteAttachedMediaRequest::getMediaIds()const
|
||||
{
|
||||
return mediaIds_;
|
||||
}
|
||||
|
||||
void DeleteAttachedMediaRequest::setMediaIds(const std::string& mediaIds)
|
||||
{
|
||||
mediaIds_ = mediaIds;
|
||||
setCoreParameter("MediaIds", mediaIds);
|
||||
}
|
||||
|
||||
long DeleteAttachedMediaRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -80,3 +69,14 @@ void DeleteAttachedMediaRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteAttachedMediaRequest::getMediaIds()const
|
||||
{
|
||||
return mediaIds_;
|
||||
}
|
||||
|
||||
void DeleteAttachedMediaRequest::setMediaIds(const std::string& mediaIds)
|
||||
{
|
||||
mediaIds_ = mediaIds;
|
||||
setCoreParameter("MediaIds", mediaIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteAttachedMediaResult::~DeleteAttachedMediaResult()
|
||||
|
||||
void DeleteAttachedMediaResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNonExistMediaIds = value["NonExistMediaIds"]["MeidaId"];
|
||||
for (const auto &item : allNonExistMediaIds)
|
||||
|
||||
@@ -47,17 +47,6 @@ void DeleteCategoryRequest::setResourceOwnerAccount(const std::string& resourceO
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DeleteCategoryRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
void DeleteCategoryRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setCoreParameter("CateId", std::to_string(cateId));
|
||||
}
|
||||
|
||||
std::string DeleteCategoryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -69,3 +58,14 @@ void DeleteCategoryRequest::setOwnerId(const std::string& ownerId)
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
long DeleteCategoryRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
void DeleteCategoryRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setCoreParameter("CateId", std::to_string(cateId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteCategoryResult::~DeleteCategoryResult()
|
||||
|
||||
void DeleteCategoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteEditingProjectResult::~DeleteEditingProjectResult()
|
||||
|
||||
void DeleteEditingProjectResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,6 +36,28 @@ void DeleteImageRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getImageURLs()const
|
||||
{
|
||||
return imageURLs_;
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setImageURLs(const std::string& imageURLs)
|
||||
{
|
||||
imageURLs_ = imageURLs;
|
||||
setCoreParameter("ImageURLs", imageURLs);
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getImageType()const
|
||||
{
|
||||
return imageType_;
|
||||
@@ -58,17 +80,6 @@ void DeleteImageRequest::setResourceOwnerAccount(const std::string& resourceOwne
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getImageURLs()const
|
||||
{
|
||||
return imageURLs_;
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setImageURLs(const std::string& imageURLs)
|
||||
{
|
||||
imageURLs_ = imageURLs;
|
||||
setCoreParameter("ImageURLs", imageURLs);
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getVideoId()const
|
||||
{
|
||||
return videoId_;
|
||||
@@ -113,14 +124,3 @@ void DeleteImageRequest::setImageIds(const std::string& imageIds)
|
||||
setCoreParameter("ImageIds", imageIds);
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteImageResult::~DeleteImageResult()
|
||||
|
||||
void DeleteImageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,6 +36,28 @@ void DeleteMessageCallbackRequest::setResourceOwnerId(const std::string& resourc
|
||||
setCoreParameter("ResourceOwnerId", resourceOwnerId);
|
||||
}
|
||||
|
||||
long DeleteMessageCallbackRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteMessageCallbackRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setCoreParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteMessageCallbackRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteMessageCallbackRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteMessageCallbackRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,28 +80,6 @@ void DeleteMessageCallbackRequest::setOwnerAccount(const std::string& ownerAccou
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteMessageCallbackRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteMessageCallbackRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
long DeleteMessageCallbackRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteMessageCallbackRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setCoreParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteMessageCallbackRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,14 +91,14 @@ void DeleteMessageCallbackRequest::setOwnerId(const std::string& ownerId)
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string DeleteMessageCallbackRequest::getAccessKeyId()const
|
||||
std::string DeleteMessageCallbackRequest::getAppId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteMessageCallbackRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void DeleteMessageCallbackRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteMessageCallbackResult::~DeleteMessageCallbackResult()
|
||||
|
||||
void DeleteMessageCallbackResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -47,17 +47,6 @@ void DeleteMezzaninesRequest::setResourceOwnerAccount(const std::string& resourc
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
bool DeleteMezzaninesRequest::getForce()const
|
||||
{
|
||||
return force_;
|
||||
}
|
||||
|
||||
void DeleteMezzaninesRequest::setForce(bool force)
|
||||
{
|
||||
force_ = force;
|
||||
setCoreParameter("Force", force ? "true" : "false");
|
||||
}
|
||||
|
||||
long DeleteMezzaninesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -69,6 +58,17 @@ void DeleteMezzaninesRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool DeleteMezzaninesRequest::getForce()const
|
||||
{
|
||||
return force_;
|
||||
}
|
||||
|
||||
void DeleteMezzaninesRequest::setForce(bool force)
|
||||
{
|
||||
force_ = force;
|
||||
setCoreParameter("Force", force ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteMezzaninesRequest::getVideoIds()const
|
||||
{
|
||||
return videoIds_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteMezzaninesResult::~DeleteMezzaninesResult()
|
||||
|
||||
void DeleteMezzaninesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNonExistVideoIds = value["NonExistVideoIds"]["VideoId"];
|
||||
for (const auto &item : allNonExistVideoIds)
|
||||
|
||||
@@ -36,6 +36,28 @@ void DeleteMultipartUploadRequest::setResourceOwnerId(const std::string& resourc
|
||||
setCoreParameter("ResourceOwnerId", resourceOwnerId);
|
||||
}
|
||||
|
||||
long DeleteMultipartUploadRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteMultipartUploadRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setCoreParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteMultipartUploadRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteMultipartUploadRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteMultipartUploadRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +80,6 @@ void DeleteMultipartUploadRequest::setOwnerAccount(const std::string& ownerAccou
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteMultipartUploadRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteMultipartUploadRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setCoreParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteMultipartUploadRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -102,14 +113,3 @@ void DeleteMultipartUploadRequest::setMediaType(const std::string& mediaType)
|
||||
setCoreParameter("MediaType", mediaType);
|
||||
}
|
||||
|
||||
std::string DeleteMultipartUploadRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteMultipartUploadRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteMultipartUploadResult::~DeleteMultipartUploadResult()
|
||||
|
||||
void DeleteMultipartUploadResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -47,17 +47,6 @@ void DeleteStreamRequest::setResourceOwnerAccount(const std::string& resourceOwn
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteStreamRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void DeleteStreamRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setCoreParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
std::string DeleteStreamRequest::getVideoId()const
|
||||
{
|
||||
return videoId_;
|
||||
@@ -80,3 +69,14 @@ void DeleteStreamRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteStreamRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void DeleteStreamRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setCoreParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteStreamResult::~DeleteStreamResult()
|
||||
|
||||
void DeleteStreamResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,17 +36,6 @@ void DeleteTranscodeTemplateGroupRequest::setResourceOwnerId(long resourceOwnerI
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getTranscodeTemplateIds()const
|
||||
{
|
||||
return transcodeTemplateIds_;
|
||||
@@ -58,17 +47,6 @@ void DeleteTranscodeTemplateGroupRequest::setTranscodeTemplateIds(const std::str
|
||||
setCoreParameter("TranscodeTemplateIds", transcodeTemplateIds);
|
||||
}
|
||||
|
||||
long DeleteTranscodeTemplateGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -80,17 +58,6 @@ void DeleteTranscodeTemplateGroupRequest::setAccessKeyId(const std::string& acce
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId()const
|
||||
{
|
||||
return transcodeTemplateGroupId_;
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId)
|
||||
{
|
||||
transcodeTemplateGroupId_ = transcodeTemplateGroupId;
|
||||
setCoreParameter("TranscodeTemplateGroupId", transcodeTemplateGroupId);
|
||||
}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getForceDelGroup()const
|
||||
{
|
||||
return forceDelGroup_;
|
||||
@@ -102,3 +69,36 @@ void DeleteTranscodeTemplateGroupRequest::setForceDelGroup(const std::string& fo
|
||||
setCoreParameter("ForceDelGroup", forceDelGroup);
|
||||
}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DeleteTranscodeTemplateGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId()const
|
||||
{
|
||||
return transcodeTemplateGroupId_;
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId)
|
||||
{
|
||||
transcodeTemplateGroupId_ = transcodeTemplateGroupId;
|
||||
setCoreParameter("TranscodeTemplateGroupId", transcodeTemplateGroupId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteTranscodeTemplateGroupResult::~DeleteTranscodeTemplateGroupResult()
|
||||
|
||||
void DeleteTranscodeTemplateGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNonExistTranscodeTemplateIds = value["NonExistTranscodeTemplateIds"]["TranscodeTemplateId"];
|
||||
for (const auto &item : allNonExistTranscodeTemplateIds)
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteVideoResult::~DeleteVideoResult()
|
||||
|
||||
void DeleteVideoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNonExistVideoIds = value["NonExistVideoIds"]["VideoId"];
|
||||
for (const auto &item : allNonExistVideoIds)
|
||||
|
||||
@@ -25,17 +25,6 @@ DeleteVodDomainRequest::DeleteVodDomainRequest() :
|
||||
DeleteVodDomainRequest::~DeleteVodDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteVodDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteVodDomainRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -69,3 +58,14 @@ void DeleteVodDomainRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteVodDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteVodDomainResult::~DeleteVodDomainResult()
|
||||
|
||||
void DeleteVodDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,28 +25,6 @@ DeleteVodSpecificConfigRequest::DeleteVodSpecificConfigRequest() :
|
||||
DeleteVodSpecificConfigRequest::~DeleteVodSpecificConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteVodSpecificConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteVodSpecificConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteVodSpecificConfigRequest::getConfigId()const
|
||||
{
|
||||
return configId_;
|
||||
}
|
||||
|
||||
void DeleteVodSpecificConfigRequest::setConfigId(const std::string& configId)
|
||||
{
|
||||
configId_ = configId;
|
||||
setCoreParameter("ConfigId", configId);
|
||||
}
|
||||
|
||||
std::string DeleteVodSpecificConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -69,3 +47,25 @@ void DeleteVodSpecificConfigRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteVodSpecificConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteVodSpecificConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteVodSpecificConfigRequest::getConfigId()const
|
||||
{
|
||||
return configId_;
|
||||
}
|
||||
|
||||
void DeleteVodSpecificConfigRequest::setConfigId(const std::string& configId)
|
||||
{
|
||||
configId_ = configId;
|
||||
setCoreParameter("ConfigId", configId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteVodSpecificConfigResult::~DeleteVodSpecificConfigResult()
|
||||
|
||||
void DeleteVodSpecificConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -47,17 +47,6 @@ void DeleteVodTemplateRequest::setResourceOwnerAccount(const std::string& resour
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteVodTemplateRequest::getVodTemplateId()const
|
||||
{
|
||||
return vodTemplateId_;
|
||||
}
|
||||
|
||||
void DeleteVodTemplateRequest::setVodTemplateId(const std::string& vodTemplateId)
|
||||
{
|
||||
vodTemplateId_ = vodTemplateId;
|
||||
setCoreParameter("VodTemplateId", vodTemplateId);
|
||||
}
|
||||
|
||||
long DeleteVodTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -69,3 +58,14 @@ void DeleteVodTemplateRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteVodTemplateRequest::getVodTemplateId()const
|
||||
{
|
||||
return vodTemplateId_;
|
||||
}
|
||||
|
||||
void DeleteVodTemplateRequest::setVodTemplateId(const std::string& vodTemplateId)
|
||||
{
|
||||
vodTemplateId_ = vodTemplateId;
|
||||
setCoreParameter("VodTemplateId", vodTemplateId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteVodTemplateResult::~DeleteVodTemplateResult()
|
||||
|
||||
void DeleteVodTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["VodTemplateId"].isNull())
|
||||
vodTemplateId_ = value["VodTemplateId"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ DeleteWatermarkRequest::DeleteWatermarkRequest() :
|
||||
DeleteWatermarkRequest::~DeleteWatermarkRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteWatermarkRequest::getWatermarkId()const
|
||||
{
|
||||
return watermarkId_;
|
||||
}
|
||||
|
||||
void DeleteWatermarkRequest::setWatermarkId(const std::string& watermarkId)
|
||||
{
|
||||
watermarkId_ = watermarkId;
|
||||
setCoreParameter("WatermarkId", watermarkId);
|
||||
}
|
||||
|
||||
long DeleteWatermarkRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -80,3 +69,14 @@ void DeleteWatermarkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteWatermarkRequest::getWatermarkId()const
|
||||
{
|
||||
return watermarkId_;
|
||||
}
|
||||
|
||||
void DeleteWatermarkRequest::setWatermarkId(const std::string& watermarkId)
|
||||
{
|
||||
watermarkId_ = watermarkId;
|
||||
setCoreParameter("WatermarkId", watermarkId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteWatermarkResult::~DeleteWatermarkResult()
|
||||
|
||||
void DeleteWatermarkResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -25,116 +25,6 @@ DescribePlayTopVideosRequest::DescribePlayTopVideosRequest() :
|
||||
DescribePlayTopVideosRequest::~DescribePlayTopVideosRequest()
|
||||
{}
|
||||
|
||||
long DescribePlayTopVideosRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribePlayTopVideosRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribePlayTopVideosRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::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 DescribePlayTopVideosRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::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 DescribePlayTopVideosRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribePlayTopVideosRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -146,72 +36,6 @@ void DescribePlayTopVideosRequest::setPageSize(long pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribePlayTopVideosRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribePlayTopVideosRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -223,50 +47,6 @@ void DescribePlayTopVideosRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribePlayTopVideosRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::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 DescribePlayTopVideosRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribePlayTopVideosRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getBizDate()const
|
||||
{
|
||||
return bizDate_;
|
||||
@@ -278,28 +58,6 @@ void DescribePlayTopVideosRequest::setBizDate(const std::string& bizDate)
|
||||
setCoreParameter("BizDate", bizDate);
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getVideoType()const
|
||||
{
|
||||
return videoType_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setVideoType(const std::string& videoType)
|
||||
{
|
||||
videoType_ = videoType;
|
||||
setCoreParameter("VideoType", videoType);
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
long DescribePlayTopVideosRequest::getPageNo()const
|
||||
{
|
||||
return pageNo_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribePlayTopVideosResult::~DescribePlayTopVideosResult()
|
||||
|
||||
void DescribePlayTopVideosResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTopPlayVideos = value["TopPlayVideos"]["TopPlayVideoStatis"];
|
||||
for (auto value : allTopPlayVideos)
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribePlayUserAvgRequest::DescribePlayUserAvgRequest() :
|
||||
DescribePlayUserAvgRequest::~DescribePlayUserAvgRequest()
|
||||
{}
|
||||
|
||||
long DescribePlayUserAvgRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribePlayUserAvgRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribePlayUserAvgRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::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 DescribePlayUserAvgRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -69,138 +36,6 @@ void DescribePlayUserAvgRequest::setStartTime(const std::string& startTime)
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::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 DescribePlayUserAvgRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribePlayUserAvgRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
@@ -212,17 +47,6 @@ void DescribePlayUserAvgRequest::setEndTime(const std::string& endTime)
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribePlayUserAvgRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -234,80 +58,3 @@ void DescribePlayUserAvgRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribePlayUserAvgRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::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 DescribePlayUserAvgRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribePlayUserAvgRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getVideoType()const
|
||||
{
|
||||
return videoType_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setVideoType(const std::string& videoType)
|
||||
{
|
||||
videoType_ = videoType;
|
||||
setCoreParameter("VideoType", videoType);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribePlayUserAvgResult::~DescribePlayUserAvgResult()
|
||||
|
||||
void DescribePlayUserAvgResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allUserPlayStatisAvgs = value["UserPlayStatisAvgs"]["UserPlayStatisAvg"];
|
||||
for (auto value : allUserPlayStatisAvgs)
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribePlayUserTotalRequest::DescribePlayUserTotalRequest() :
|
||||
DescribePlayUserTotalRequest::~DescribePlayUserTotalRequest()
|
||||
{}
|
||||
|
||||
long DescribePlayUserTotalRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribePlayUserTotalRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribePlayUserTotalRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::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 DescribePlayUserTotalRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -69,138 +36,6 @@ void DescribePlayUserTotalRequest::setStartTime(const std::string& startTime)
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::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 DescribePlayUserTotalRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribePlayUserTotalRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
@@ -212,17 +47,6 @@ void DescribePlayUserTotalRequest::setEndTime(const std::string& endTime)
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribePlayUserTotalRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -234,80 +58,3 @@ void DescribePlayUserTotalRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribePlayUserTotalRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::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 DescribePlayUserTotalRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribePlayUserTotalRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getVideoType()const
|
||||
{
|
||||
return videoType_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setVideoType(const std::string& videoType)
|
||||
{
|
||||
videoType_ = videoType;
|
||||
setCoreParameter("VideoType", videoType);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribePlayUserTotalResult::~DescribePlayUserTotalResult()
|
||||
|
||||
void DescribePlayUserTotalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allUserPlayStatisTotals = value["UserPlayStatisTotals"]["UserPlayStatisTotal"];
|
||||
for (auto value : allUserPlayStatisTotals)
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribePlayVideoStatisRequest::DescribePlayVideoStatisRequest() :
|
||||
DescribePlayVideoStatisRequest::~DescribePlayVideoStatisRequest()
|
||||
{}
|
||||
|
||||
long DescribePlayVideoStatisRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribePlayVideoStatisRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribePlayVideoStatisRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::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 DescribePlayVideoStatisRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -69,138 +36,6 @@ void DescribePlayVideoStatisRequest::setStartTime(const std::string& startTime)
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::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 DescribePlayVideoStatisRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribePlayVideoStatisRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
@@ -223,17 +58,6 @@ void DescribePlayVideoStatisRequest::setVideoId(const std::string& videoId)
|
||||
setCoreParameter("VideoId", videoId);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribePlayVideoStatisRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,80 +69,3 @@ void DescribePlayVideoStatisRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribePlayVideoStatisRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::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 DescribePlayVideoStatisRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribePlayVideoStatisRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getVideoType()const
|
||||
{
|
||||
return videoType_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setVideoType(const std::string& videoType)
|
||||
{
|
||||
videoType_ = videoType;
|
||||
setCoreParameter("VideoType", videoType);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribePlayVideoStatisResult::~DescribePlayVideoStatisResult()
|
||||
|
||||
void DescribePlayVideoStatisResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allVideoPlayStatisDetails = value["VideoPlayStatisDetails"]["VideoPlayStatisDetail"];
|
||||
for (auto value : allVideoPlayStatisDetails)
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribeVodAIDataRequest::DescribeVodAIDataRequest() :
|
||||
DescribeVodAIDataRequest::~DescribeVodAIDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeVodAIDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeVodAIDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeVodAIDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::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 DescribeVodAIDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -69,138 +36,6 @@ void DescribeVodAIDataRequest::setStartTime(const std::string& startTime)
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::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 DescribeVodAIDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeVodAIDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getAIType()const
|
||||
{
|
||||
return aIType_;
|
||||
@@ -223,17 +58,6 @@ void DescribeVodAIDataRequest::setEndTime(const std::string& endTime)
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeVodAIDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -245,72 +69,6 @@ void DescribeVodAIDataRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeVodAIDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::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 DescribeVodAIDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeVodAIDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodAIDataResult::~DescribeVodAIDataResult()
|
||||
|
||||
void DescribeVodAIDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAIData = value["AIData"]["AIDataItem"];
|
||||
for (auto value : allAIData)
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeVodCertificateListRequest::DescribeVodCertificateListRequest() :
|
||||
DescribeVodCertificateListRequest::~DescribeVodCertificateListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodCertificateListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodCertificateListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodCertificateListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -58,3 +47,14 @@ void DescribeVodCertificateListRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodCertificateListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodCertificateListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodCertificateListResult::~DescribeVodCertificateListResult()
|
||||
|
||||
void DescribeVodCertificateListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto certificateListModelNode = value["CertificateListModel"];
|
||||
if(!certificateListModelNode["Count"].isNull())
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribeVodDomainBpsDataRequest::DescribeVodDomainBpsDataRequest() :
|
||||
DescribeVodDomainBpsDataRequest::~DescribeVodDomainBpsDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeVodDomainBpsDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeVodDomainBpsDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeVodDomainBpsDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::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 DescribeVodDomainBpsDataRequest::getLocationNameEn()const
|
||||
{
|
||||
return locationNameEn_;
|
||||
@@ -91,138 +58,6 @@ void DescribeVodDomainBpsDataRequest::setIspNameEn(const std::string& ispNameEn)
|
||||
setCoreParameter("IspNameEn", ispNameEn);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::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 DescribeVodDomainBpsDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeVodDomainBpsDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -245,17 +80,6 @@ void DescribeVodDomainBpsDataRequest::setEndTime(const std::string& endTime)
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeVodDomainBpsDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -267,61 +91,6 @@ void DescribeVodDomainBpsDataRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeVodDomainBpsDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::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 DescribeVodDomainBpsDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeVodDomainBpsDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
@@ -333,14 +102,3 @@ void DescribeVodDomainBpsDataRequest::setInterval(const std::string& interval)
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setFields(const std::string& fields)
|
||||
{
|
||||
fields_ = fields;
|
||||
setCoreParameter("Fields", fields);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodDomainBpsDataResult::~DescribeVodDomainBpsDataResult()
|
||||
|
||||
void DescribeVodDomainBpsDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBpsDataPerInterval = value["BpsDataPerInterval"]["DataModule"];
|
||||
for (auto value : allBpsDataPerInterval)
|
||||
|
||||
@@ -25,171 +25,6 @@ DescribeVodDomainCertificateInfoRequest::DescribeVodDomainCertificateInfoRequest
|
||||
DescribeVodDomainCertificateInfoRequest::~DescribeVodDomainCertificateInfoRequest()
|
||||
{}
|
||||
|
||||
long DescribeVodDomainCertificateInfoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeVodDomainCertificateInfoRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeVodDomainCertificateInfoRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::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 DescribeVodDomainCertificateInfoRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::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 DescribeVodDomainCertificateInfoRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeVodDomainCertificateInfoRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -201,17 +36,6 @@ void DescribeVodDomainCertificateInfoRequest::setDomainName(const std::string& d
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeVodDomainCertificateInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -223,69 +47,3 @@ void DescribeVodDomainCertificateInfoRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeVodDomainCertificateInfoRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::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 DescribeVodDomainCertificateInfoRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeVodDomainCertificateInfoRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodDomainCertificateInfoResult::~DescribeVodDomainCertificateInfoResult(
|
||||
|
||||
void DescribeVodDomainCertificateInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCertInfos = value["CertInfos"]["CertInfo"];
|
||||
for (auto value : allCertInfos)
|
||||
|
||||
@@ -36,17 +36,6 @@ void DescribeVodDomainConfigsRequest::setFunctionNames(const std::string& functi
|
||||
setCoreParameter("FunctionNames", functionNames);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainConfigsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -69,3 +58,14 @@ void DescribeVodDomainConfigsRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodDomainConfigsResult::~DescribeVodDomainConfigsResult()
|
||||
|
||||
void DescribeVodDomainConfigsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainConfigs = value["DomainConfigs"]["DomainConfig"];
|
||||
for (auto value : allDomainConfigs)
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeVodDomainDetailRequest::DescribeVodDomainDetailRequest() :
|
||||
DescribeVodDomainDetailRequest::~DescribeVodDomainDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodDomainDetailRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainDetailRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainDetailRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -58,3 +47,14 @@ void DescribeVodDomainDetailRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainDetailRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainDetailRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodDomainDetailResult::~DescribeVodDomainDetailResult()
|
||||
|
||||
void DescribeVodDomainDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto domainDetailNode = value["DomainDetail"];
|
||||
if(!domainDetailNode["GmtCreated"].isNull())
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribeVodDomainLogRequest::DescribeVodDomainLogRequest() :
|
||||
DescribeVodDomainLogRequest::~DescribeVodDomainLogRequest()
|
||||
{}
|
||||
|
||||
long DescribeVodDomainLogRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeVodDomainLogRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeVodDomainLogRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::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 DescribeVodDomainLogRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -69,39 +36,6 @@ void DescribeVodDomainLogRequest::setStartTime(const std::string& startTime)
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::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 DescribeVodDomainLogRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
long DescribeVodDomainLogRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -113,50 +47,6 @@ void DescribeVodDomainLogRequest::setPageNumber(long pageNumber)
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribeVodDomainLogRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
@@ -168,61 +58,6 @@ void DescribeVodDomainLogRequest::setPageSize(long pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeVodDomainLogRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -245,17 +80,6 @@ void DescribeVodDomainLogRequest::setEndTime(const std::string& endTime)
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeVodDomainLogRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -267,58 +91,3 @@ void DescribeVodDomainLogRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeVodDomainLogRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::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 DescribeVodDomainLogRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeVodDomainLogRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodDomainLogResult::~DescribeVodDomainLogResult()
|
||||
|
||||
void DescribeVodDomainLogResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainLogDetails = value["DomainLogDetails"]["DomainLogDetail"];
|
||||
for (auto value : allDomainLogDetails)
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribeVodDomainTrafficDataRequest::DescribeVodDomainTrafficDataRequest() :
|
||||
DescribeVodDomainTrafficDataRequest::~DescribeVodDomainTrafficDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeVodDomainTrafficDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeVodDomainTrafficDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeVodDomainTrafficDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::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 DescribeVodDomainTrafficDataRequest::getLocationNameEn()const
|
||||
{
|
||||
return locationNameEn_;
|
||||
@@ -91,138 +58,6 @@ void DescribeVodDomainTrafficDataRequest::setIspNameEn(const std::string& ispNam
|
||||
setCoreParameter("IspNameEn", ispNameEn);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::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 DescribeVodDomainTrafficDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeVodDomainTrafficDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -245,17 +80,6 @@ void DescribeVodDomainTrafficDataRequest::setEndTime(const std::string& endTime)
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeVodDomainTrafficDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -267,61 +91,6 @@ void DescribeVodDomainTrafficDataRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeVodDomainTrafficDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::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 DescribeVodDomainTrafficDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeVodDomainTrafficDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
@@ -333,14 +102,3 @@ void DescribeVodDomainTrafficDataRequest::setInterval(const std::string& interva
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setFields(const std::string& fields)
|
||||
{
|
||||
fields_ = fields;
|
||||
setCoreParameter("Fields", fields);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodDomainTrafficDataResult::~DescribeVodDomainTrafficDataResult()
|
||||
|
||||
void DescribeVodDomainTrafficDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTrafficDataPerInterval = value["TrafficDataPerInterval"]["DataModule"];
|
||||
for (auto value : allTrafficDataPerInterval)
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribeVodDomainUsageDataRequest::DescribeVodDomainUsageDataRequest() :
|
||||
DescribeVodDomainUsageDataRequest::~DescribeVodDomainUsageDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeVodDomainUsageDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeVodDomainUsageDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeVodDomainUsageDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::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 DescribeVodDomainUsageDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -69,17 +36,6 @@ void DescribeVodDomainUsageDataRequest::setStartTime(const std::string& startTim
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::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 DescribeVodDomainUsageDataRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
@@ -91,105 +47,6 @@ void DescribeVodDomainUsageDataRequest::setType(const std::string& type)
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeVodDomainUsageDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getArea()const
|
||||
{
|
||||
return area_;
|
||||
@@ -201,39 +58,6 @@ void DescribeVodDomainUsageDataRequest::setArea(const std::string& area)
|
||||
setCoreParameter("Area", area);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setCoreParameter("Product", product);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -256,17 +80,6 @@ void DescribeVodDomainUsageDataRequest::setEndTime(const std::string& endTime)
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeVodDomainUsageDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -278,61 +91,6 @@ void DescribeVodDomainUsageDataRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeVodDomainUsageDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::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 DescribeVodDomainUsageDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeVodDomainUsageDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getField()const
|
||||
{
|
||||
return field_;
|
||||
@@ -344,14 +102,3 @@ void DescribeVodDomainUsageDataRequest::setField(const std::string& field)
|
||||
setCoreParameter("Field", field);
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodDomainUsageDataResult::~DescribeVodDomainUsageDataResult()
|
||||
|
||||
void DescribeVodDomainUsageDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allUsageDataPerInterval = value["UsageDataPerInterval"]["DataModule"];
|
||||
for (auto value : allUsageDataPerInterval)
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeVodRefreshQuotaRequest::DescribeVodRefreshQuotaRequest() :
|
||||
DescribeVodRefreshQuotaRequest::~DescribeVodRefreshQuotaRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodRefreshQuotaRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodRefreshQuotaRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
long DescribeVodRefreshQuotaRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -47,3 +36,14 @@ void DescribeVodRefreshQuotaRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshQuotaRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodRefreshQuotaRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodRefreshQuotaResult::~DescribeVodRefreshQuotaResult()
|
||||
|
||||
void DescribeVodRefreshQuotaResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["UrlQuota"].isNull())
|
||||
urlQuota_ = value["UrlQuota"].asString();
|
||||
|
||||
@@ -36,28 +36,6 @@ void DescribeVodRefreshTasksRequest::setObjectPath(const std::string& objectPath
|
||||
setCoreParameter("ObjectPath", objectPath);
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -69,17 +47,6 @@ void DescribeVodRefreshTasksRequest::setStartTime(const std::string& startTime)
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long DescribeVodRefreshTasksRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
int DescribeVodRefreshTasksRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -146,6 +113,39 @@ void DescribeVodRefreshTasksRequest::setTaskId(const std::string& taskId)
|
||||
setCoreParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeVodRefreshTasksRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodRefreshTasksResult::~DescribeVodRefreshTasksResult()
|
||||
|
||||
void DescribeVodRefreshTasksResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTasks = value["Tasks"]["Task"];
|
||||
for (auto value : allTasks)
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribeVodStorageDataRequest::DescribeVodStorageDataRequest() :
|
||||
DescribeVodStorageDataRequest::~DescribeVodStorageDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeVodStorageDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeVodStorageDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeVodStorageDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::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 DescribeVodStorageDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -80,39 +47,6 @@ void DescribeVodStorageDataRequest::setStorage(const std::string& storage)
|
||||
setCoreParameter("Storage", storage);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::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 DescribeVodStorageDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getStorageType()const
|
||||
{
|
||||
return storageType_;
|
||||
@@ -124,105 +58,6 @@ void DescribeVodStorageDataRequest::setStorageType(const std::string& storageTyp
|
||||
setCoreParameter("StorageType", storageType);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeVodStorageDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
@@ -234,17 +69,6 @@ void DescribeVodStorageDataRequest::setEndTime(const std::string& endTime)
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeVodStorageDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -256,72 +80,6 @@ void DescribeVodStorageDataRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeVodStorageDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::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 DescribeVodStorageDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeVodStorageDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodStorageDataResult::~DescribeVodStorageDataResult()
|
||||
|
||||
void DescribeVodStorageDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStorageData = value["StorageData"]["StorageDataItem"];
|
||||
for (auto value : allStorageData)
|
||||
|
||||
@@ -25,39 +25,6 @@ DescribeVodTranscodeDataRequest::DescribeVodTranscodeDataRequest() :
|
||||
DescribeVodTranscodeDataRequest::~DescribeVodTranscodeDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeVodTranscodeDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeVodTranscodeDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeVodTranscodeDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::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 DescribeVodTranscodeDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -80,138 +47,6 @@ void DescribeVodTranscodeDataRequest::setStorage(const std::string& storage)
|
||||
setCoreParameter("Storage", storage);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::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 DescribeVodTranscodeDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeVodTranscodeDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
@@ -234,17 +69,6 @@ void DescribeVodTranscodeDataRequest::setSpecification(const std::string& specif
|
||||
setCoreParameter("Specification", specification);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeVodTranscodeDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -256,72 +80,6 @@ void DescribeVodTranscodeDataRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeVodTranscodeDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::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 DescribeVodTranscodeDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeVodTranscodeDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodTranscodeDataResult::~DescribeVodTranscodeDataResult()
|
||||
|
||||
void DescribeVodTranscodeDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTranscodeData = value["TranscodeData"]["TranscodeDataItem"];
|
||||
for (auto value : allTranscodeData)
|
||||
|
||||
@@ -25,15 +25,15 @@ DescribeVodUserDomainsRequest::DescribeVodUserDomainsRequest() :
|
||||
DescribeVodUserDomainsRequest::~DescribeVodUserDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getFuncFilter()const
|
||||
int DescribeVodUserDomainsRequest::getPageNumber()const
|
||||
{
|
||||
return funcFilter_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setFuncFilter(const std::string& funcFilter)
|
||||
void DescribeVodUserDomainsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
funcFilter_ = funcFilter;
|
||||
setCoreParameter("FuncFilter", funcFilter);
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
bool DescribeVodUserDomainsRequest::getCheckDomainShow()const
|
||||
@@ -80,6 +80,17 @@ void DescribeVodUserDomainsRequest::setPageSize(int pageSize)
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getFuncFilter()const
|
||||
{
|
||||
return funcFilter_;
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setFuncFilter(const std::string& funcFilter)
|
||||
{
|
||||
funcFilter_ = funcFilter;
|
||||
setCoreParameter("FuncFilter", funcFilter);
|
||||
}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -113,17 +124,6 @@ void DescribeVodUserDomainsRequest::setFuncId(const std::string& funcId)
|
||||
setCoreParameter("FuncId", funcId);
|
||||
}
|
||||
|
||||
int DescribeVodUserDomainsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getDomainStatus()const
|
||||
{
|
||||
return domainStatus_;
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeVodUserDomainsResult::~DescribeVodUserDomainsResult()
|
||||
|
||||
void DescribeVodUserDomainsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomains = value["Domains"]["PageData"];
|
||||
for (auto value : allDomains)
|
||||
|
||||
@@ -25,17 +25,6 @@ DetachAppPolicyFromIdentityRequest::DetachAppPolicyFromIdentityRequest() :
|
||||
DetachAppPolicyFromIdentityRequest::~DetachAppPolicyFromIdentityRequest()
|
||||
{}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getIdentityName()const
|
||||
{
|
||||
return identityName_;
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setIdentityName(const std::string& identityName)
|
||||
{
|
||||
identityName_ = identityName;
|
||||
setCoreParameter("IdentityName", identityName);
|
||||
}
|
||||
|
||||
long DetachAppPolicyFromIdentityRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,6 +36,28 @@ void DetachAppPolicyFromIdentityRequest::setResourceOwnerId(long resourceOwnerId
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getPolicyNames()const
|
||||
{
|
||||
return policyNames_;
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setPolicyNames(const std::string& policyNames)
|
||||
{
|
||||
policyNames_ = policyNames;
|
||||
setCoreParameter("PolicyNames", policyNames);
|
||||
}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getIdentityName()const
|
||||
{
|
||||
return identityName_;
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setIdentityName(const std::string& identityName)
|
||||
{
|
||||
identityName_ = identityName;
|
||||
setCoreParameter("IdentityName", identityName);
|
||||
}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getIdentityType()const
|
||||
{
|
||||
return identityType_;
|
||||
@@ -69,28 +80,6 @@ void DetachAppPolicyFromIdentityRequest::setResourceOwnerAccount(const std::stri
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getPolicyNames()const
|
||||
{
|
||||
return policyNames_;
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setPolicyNames(const std::string& policyNames)
|
||||
{
|
||||
policyNames_ = policyNames;
|
||||
setCoreParameter("PolicyNames", policyNames);
|
||||
}
|
||||
|
||||
long DetachAppPolicyFromIdentityRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -102,3 +91,14 @@ void DetachAppPolicyFromIdentityRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DetachAppPolicyFromIdentityResult::~DetachAppPolicyFromIdentityResult()
|
||||
|
||||
void DetachAppPolicyFromIdentityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNonExistPolicyNames = value["NonExistPolicyNames"]["PolicyName"];
|
||||
for (const auto &item : allNonExistPolicyNames)
|
||||
|
||||
@@ -25,17 +25,6 @@ GetAIMediaAuditJobRequest::GetAIMediaAuditJobRequest() :
|
||||
GetAIMediaAuditJobRequest::~GetAIMediaAuditJobRequest()
|
||||
{}
|
||||
|
||||
std::string GetAIMediaAuditJobRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void GetAIMediaAuditJobRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setCoreParameter("JobId", jobId);
|
||||
}
|
||||
|
||||
long GetAIMediaAuditJobRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -80,3 +69,14 @@ void GetAIMediaAuditJobRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetAIMediaAuditJobRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void GetAIMediaAuditJobRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setCoreParameter("JobId", jobId);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user