Generate SDK by new Generator
This commit is contained in:
@@ -58,17 +58,6 @@ void ActivateMediaWorkflowRequest::setOwnerAccount(const std::string& ownerAccou
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string ActivateMediaWorkflowRequest::getMediaWorkflowId()const
|
||||
{
|
||||
return mediaWorkflowId_;
|
||||
}
|
||||
|
||||
void ActivateMediaWorkflowRequest::setMediaWorkflowId(const std::string& mediaWorkflowId)
|
||||
{
|
||||
mediaWorkflowId_ = mediaWorkflowId;
|
||||
setCoreParameter("MediaWorkflowId", mediaWorkflowId);
|
||||
}
|
||||
|
||||
long ActivateMediaWorkflowRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,3 +80,14 @@ void ActivateMediaWorkflowRequest::setAccessKeyId(const std::string& accessKeyId
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ActivateMediaWorkflowRequest::getMediaWorkflowId()const
|
||||
{
|
||||
return mediaWorkflowId_;
|
||||
}
|
||||
|
||||
void ActivateMediaWorkflowRequest::setMediaWorkflowId(const std::string& mediaWorkflowId)
|
||||
{
|
||||
mediaWorkflowId_ = mediaWorkflowId;
|
||||
setCoreParameter("MediaWorkflowId", mediaWorkflowId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ActivateMediaWorkflowResult::~ActivateMediaWorkflowResult()
|
||||
|
||||
void ActivateMediaWorkflowResult::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 mediaWorkflowNode = value["MediaWorkflow"];
|
||||
if(!mediaWorkflowNode["MediaWorkflowId"].isNull())
|
||||
|
||||
@@ -36,6 +36,17 @@ void AddAsrPipelineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddAsrPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddAsrPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddAsrPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +69,6 @@ void AddAsrPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddAsrPipelineRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddAsrPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddAsrPipelineRequest::getNotifyConfig()const
|
||||
{
|
||||
return notifyConfig_;
|
||||
@@ -102,14 +102,14 @@ void AddAsrPipelineRequest::setPriority(int priority)
|
||||
setCoreParameter("Priority", std::to_string(priority));
|
||||
}
|
||||
|
||||
std::string AddAsrPipelineRequest::getAccessKeyId()const
|
||||
std::string AddAsrPipelineRequest::getName()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddAsrPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void AddAsrPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddAsrPipelineResult::~AddAsrPipelineResult()
|
||||
|
||||
void AddAsrPipelineResult::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 pipelineNode = value["Pipeline"];
|
||||
if(!pipelineNode["Id"].isNull())
|
||||
|
||||
@@ -36,39 +36,6 @@ void AddCategoryRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddCategoryRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddCategoryRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AddCategoryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long AddCategoryRequest::getParentId()const
|
||||
{
|
||||
return parentId_;
|
||||
@@ -102,3 +69,36 @@ 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::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AddCategoryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(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())
|
||||
|
||||
@@ -36,6 +36,17 @@ void AddCensorPipelineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddCensorPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddCensorPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddCensorPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +69,6 @@ void AddCensorPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddCensorPipelineRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddCensorPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddCensorPipelineRequest::getNotifyConfig()const
|
||||
{
|
||||
return notifyConfig_;
|
||||
@@ -102,14 +102,14 @@ void AddCensorPipelineRequest::setPriority(int priority)
|
||||
setCoreParameter("Priority", std::to_string(priority));
|
||||
}
|
||||
|
||||
std::string AddCensorPipelineRequest::getAccessKeyId()const
|
||||
std::string AddCensorPipelineRequest::getName()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddCensorPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void AddCensorPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddCensorPipelineResult::~AddCensorPipelineResult()
|
||||
|
||||
void AddCensorPipelineResult::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 pipelineNode = value["Pipeline"];
|
||||
if(!pipelineNode["Id"].isNull())
|
||||
|
||||
@@ -47,6 +47,17 @@ void AddCoverPipelineRequest::setRole(const std::string& role)
|
||||
setCoreParameter("Role", role);
|
||||
}
|
||||
|
||||
std::string AddCoverPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddCoverPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddCoverPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -69,17 +80,6 @@ void AddCoverPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddCoverPipelineRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddCoverPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddCoverPipelineRequest::getNotifyConfig()const
|
||||
{
|
||||
return notifyConfig_;
|
||||
@@ -113,14 +113,14 @@ void AddCoverPipelineRequest::setPriority(const std::string& priority)
|
||||
setCoreParameter("Priority", priority);
|
||||
}
|
||||
|
||||
std::string AddCoverPipelineRequest::getAccessKeyId()const
|
||||
std::string AddCoverPipelineRequest::getName()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddCoverPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void AddCoverPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddCoverPipelineResult::~AddCoverPipelineResult()
|
||||
|
||||
void AddCoverPipelineResult::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 pipelineNode = value["Pipeline"];
|
||||
if(!pipelineNode["Id"].isNull())
|
||||
|
||||
@@ -47,28 +47,6 @@ void AddMCTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getContraband()const
|
||||
{
|
||||
return contraband_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setContraband(const std::string& contraband)
|
||||
{
|
||||
contraband_ = contraband;
|
||||
setCoreParameter("Contraband", contraband);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getAd()const
|
||||
{
|
||||
return ad_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setAd(const std::string& ad)
|
||||
{
|
||||
ad_ = ad;
|
||||
setCoreParameter("Ad", ad);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getAbuse()const
|
||||
{
|
||||
return abuse_;
|
||||
@@ -80,17 +58,6 @@ void AddMCTemplateRequest::setAbuse(const std::string& abuse)
|
||||
setCoreParameter("Abuse", abuse);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getQrcode()const
|
||||
{
|
||||
return qrcode_;
|
||||
@@ -102,28 +69,6 @@ void AddMCTemplateRequest::setQrcode(const std::string& qrcode)
|
||||
setCoreParameter("Qrcode", qrcode);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AddMCTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -157,17 +102,6 @@ void AddMCTemplateRequest::setTerrorism(const std::string& terrorism)
|
||||
setCoreParameter("Terrorism", terrorism);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getLogo()const
|
||||
{
|
||||
return logo_;
|
||||
@@ -179,17 +113,6 @@ void AddMCTemplateRequest::setLogo(const std::string& logo)
|
||||
setCoreParameter("Logo", logo);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getSpam()const
|
||||
{
|
||||
return spam_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setSpam(const std::string& spam)
|
||||
{
|
||||
spam_ = spam;
|
||||
setCoreParameter("Spam", spam);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getLive()const
|
||||
{
|
||||
return live_;
|
||||
@@ -201,3 +124,80 @@ void AddMCTemplateRequest::setLive(const std::string& live)
|
||||
setCoreParameter("Live", live);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getContraband()const
|
||||
{
|
||||
return contraband_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setContraband(const std::string& contraband)
|
||||
{
|
||||
contraband_ = contraband;
|
||||
setCoreParameter("Contraband", contraband);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getAd()const
|
||||
{
|
||||
return ad_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setAd(const std::string& ad)
|
||||
{
|
||||
ad_ = ad;
|
||||
setCoreParameter("Ad", ad);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AddMCTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddMCTemplateRequest::getSpam()const
|
||||
{
|
||||
return spam_;
|
||||
}
|
||||
|
||||
void AddMCTemplateRequest::setSpam(const std::string& spam)
|
||||
{
|
||||
spam_ = spam;
|
||||
setCoreParameter("Spam", spam);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddMCTemplateResult::~AddMCTemplateResult()
|
||||
|
||||
void AddMCTemplateResult::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 _templateNode = value["Template"];
|
||||
if(!_templateNode["TemplateId"].isNull())
|
||||
|
||||
@@ -36,28 +36,6 @@ void AddMediaRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
@@ -69,28 +47,6 @@ void AddMediaRequest::setDescription(const std::string& description)
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getOverrideParams()const
|
||||
{
|
||||
return overrideParams_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setOverrideParams(const std::string& overrideParams)
|
||||
{
|
||||
overrideParams_ = overrideParams;
|
||||
setCoreParameter("OverrideParams", overrideParams);
|
||||
}
|
||||
|
||||
long AddMediaRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
@@ -124,17 +80,6 @@ void AddMediaRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setCoreParameter("Tags", tags);
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getCoverURL()const
|
||||
{
|
||||
return coverURL_;
|
||||
@@ -157,17 +102,6 @@ void AddMediaRequest::setCateId(long cateId)
|
||||
setCoreParameter("CateId", std::to_string(cateId));
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getFileURL()const
|
||||
{
|
||||
return fileURL_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setFileURL(const std::string& fileURL)
|
||||
{
|
||||
fileURL_ = fileURL;
|
||||
setCoreParameter("FileURL", fileURL);
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getMediaWorkflowId()const
|
||||
{
|
||||
return mediaWorkflowId_;
|
||||
@@ -190,3 +124,69 @@ void AddMediaRequest::setMediaWorkflowUserData(const std::string& mediaWorkflowU
|
||||
setCoreParameter("MediaWorkflowUserData", mediaWorkflowUserData);
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getOverrideParams()const
|
||||
{
|
||||
return overrideParams_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setOverrideParams(const std::string& overrideParams)
|
||||
{
|
||||
overrideParams_ = overrideParams;
|
||||
setCoreParameter("OverrideParams", overrideParams);
|
||||
}
|
||||
|
||||
long AddMediaRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setCoreParameter("Tags", tags);
|
||||
}
|
||||
|
||||
std::string AddMediaRequest::getFileURL()const
|
||||
{
|
||||
return fileURL_;
|
||||
}
|
||||
|
||||
void AddMediaRequest::setFileURL(const std::string& fileURL)
|
||||
{
|
||||
fileURL_ = fileURL;
|
||||
setCoreParameter("FileURL", fileURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddMediaResult::~AddMediaResult()
|
||||
|
||||
void AddMediaResult::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 mediaNode = value["Media"];
|
||||
if(!mediaNode["MediaId"].isNull())
|
||||
|
||||
@@ -36,6 +36,28 @@ void AddMediaTagRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddMediaTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddMediaTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddMediaTagRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void AddMediaTagRequest::setTag(const std::string& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
setCoreParameter("Tag", tag);
|
||||
}
|
||||
|
||||
std::string AddMediaTagRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +80,6 @@ void AddMediaTagRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddMediaTagRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void AddMediaTagRequest::setTag(const std::string& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
setCoreParameter("Tag", tag);
|
||||
}
|
||||
|
||||
long AddMediaTagRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,14 +102,3 @@ void AddMediaTagRequest::setMediaId(const std::string& mediaId)
|
||||
setCoreParameter("MediaId", mediaId);
|
||||
}
|
||||
|
||||
std::string AddMediaTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddMediaTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddMediaTagResult::~AddMediaTagResult()
|
||||
|
||||
void AddMediaTagResult::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,17 @@ void AddMediaWorkflowRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddMediaWorkflowRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddMediaWorkflowRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddMediaWorkflowRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -69,17 +80,6 @@ void AddMediaWorkflowRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddMediaWorkflowRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddMediaWorkflowRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
long AddMediaWorkflowRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,17 +91,6 @@ void AddMediaWorkflowRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddMediaWorkflowRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddMediaWorkflowRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddMediaWorkflowRequest::getTriggerMode()const
|
||||
{
|
||||
return triggerMode_;
|
||||
@@ -113,3 +102,14 @@ void AddMediaWorkflowRequest::setTriggerMode(const std::string& triggerMode)
|
||||
setCoreParameter("TriggerMode", triggerMode);
|
||||
}
|
||||
|
||||
std::string AddMediaWorkflowRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddMediaWorkflowRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddMediaWorkflowResult::~AddMediaWorkflowResult()
|
||||
|
||||
void AddMediaWorkflowResult::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 mediaWorkflowNode = value["MediaWorkflow"];
|
||||
if(!mediaWorkflowNode["MediaWorkflowId"].isNull())
|
||||
|
||||
@@ -47,6 +47,28 @@ void AddPipelineRequest::setRole(const std::string& role)
|
||||
setCoreParameter("Role", role);
|
||||
}
|
||||
|
||||
std::string AddPipelineRequest::getSpeed()const
|
||||
{
|
||||
return speed_;
|
||||
}
|
||||
|
||||
void AddPipelineRequest::setSpeed(const std::string& speed)
|
||||
{
|
||||
speed_ = speed;
|
||||
setCoreParameter("Speed", speed);
|
||||
}
|
||||
|
||||
std::string AddPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -69,17 +91,6 @@ void AddPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddPipelineRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddPipelineRequest::getNotifyConfig()const
|
||||
{
|
||||
return notifyConfig_;
|
||||
@@ -102,6 +113,17 @@ void AddPipelineRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddPipelineRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
long AddPipelineRequest::getSpeedLevel()const
|
||||
{
|
||||
return speedLevel_;
|
||||
@@ -113,25 +135,3 @@ void AddPipelineRequest::setSpeedLevel(long speedLevel)
|
||||
setCoreParameter("SpeedLevel", std::to_string(speedLevel));
|
||||
}
|
||||
|
||||
std::string AddPipelineRequest::getSpeed()const
|
||||
{
|
||||
return speed_;
|
||||
}
|
||||
|
||||
void AddPipelineRequest::setSpeed(const std::string& speed)
|
||||
{
|
||||
speed_ = speed;
|
||||
setCoreParameter("Speed", speed);
|
||||
}
|
||||
|
||||
std::string AddPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddPipelineResult::~AddPipelineResult()
|
||||
|
||||
void AddPipelineResult::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 pipelineNode = value["Pipeline"];
|
||||
if(!pipelineNode["Id"].isNull())
|
||||
|
||||
@@ -36,6 +36,17 @@ void AddPornPipelineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddPornPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddPornPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddPornPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +69,6 @@ void AddPornPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddPornPipelineRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddPornPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddPornPipelineRequest::getNotifyConfig()const
|
||||
{
|
||||
return notifyConfig_;
|
||||
@@ -102,14 +102,14 @@ void AddPornPipelineRequest::setPriority(int priority)
|
||||
setCoreParameter("Priority", std::to_string(priority));
|
||||
}
|
||||
|
||||
std::string AddPornPipelineRequest::getAccessKeyId()const
|
||||
std::string AddPornPipelineRequest::getName()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddPornPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void AddPornPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddPornPipelineResult::~AddPornPipelineResult()
|
||||
|
||||
void AddPornPipelineResult::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 pipelineNode = value["Pipeline"];
|
||||
if(!pipelineNode["Id"].isNull())
|
||||
|
||||
@@ -47,6 +47,50 @@ void AddTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getVideo()const
|
||||
{
|
||||
return video_;
|
||||
}
|
||||
|
||||
void AddTemplateRequest::setVideo(const std::string& video)
|
||||
{
|
||||
video_ = video;
|
||||
setCoreParameter("Video", video);
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getTransConfig()const
|
||||
{
|
||||
return transConfig_;
|
||||
}
|
||||
|
||||
void AddTemplateRequest::setTransConfig(const std::string& transConfig)
|
||||
{
|
||||
transConfig_ = transConfig;
|
||||
setCoreParameter("TransConfig", transConfig);
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getAudio()const
|
||||
{
|
||||
return audio_;
|
||||
}
|
||||
|
||||
void AddTemplateRequest::setAudio(const std::string& audio)
|
||||
{
|
||||
audio_ = audio;
|
||||
setCoreParameter("Audio", audio);
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -69,28 +113,6 @@ void AddTemplateRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getTransConfig()const
|
||||
{
|
||||
return transConfig_;
|
||||
}
|
||||
|
||||
void AddTemplateRequest::setTransConfig(const std::string& transConfig)
|
||||
{
|
||||
transConfig_ = transConfig;
|
||||
setCoreParameter("TransConfig", transConfig);
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getMuxConfig()const
|
||||
{
|
||||
return muxConfig_;
|
||||
@@ -102,28 +124,6 @@ void AddTemplateRequest::setMuxConfig(const std::string& muxConfig)
|
||||
setCoreParameter("MuxConfig", muxConfig);
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getVideo()const
|
||||
{
|
||||
return video_;
|
||||
}
|
||||
|
||||
void AddTemplateRequest::setVideo(const std::string& video)
|
||||
{
|
||||
video_ = video;
|
||||
setCoreParameter("Video", video);
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getAudio()const
|
||||
{
|
||||
return audio_;
|
||||
}
|
||||
|
||||
void AddTemplateRequest::setAudio(const std::string& audio)
|
||||
{
|
||||
audio_ = audio;
|
||||
setCoreParameter("Audio", audio);
|
||||
}
|
||||
|
||||
long AddTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -135,14 +135,14 @@ void AddTemplateRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddTemplateRequest::getAccessKeyId()const
|
||||
std::string AddTemplateRequest::getName()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void AddTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddTemplateResult::~AddTemplateResult()
|
||||
|
||||
void AddTemplateResult::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 _templateNode = value["Template"];
|
||||
if(!_templateNode["Id"].isNull())
|
||||
|
||||
@@ -36,6 +36,17 @@ void AddTerrorismPipelineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddTerrorismPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddTerrorismPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddTerrorismPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +69,6 @@ void AddTerrorismPipelineRequest::setOwnerAccount(const std::string& ownerAccoun
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddTerrorismPipelineRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddTerrorismPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddTerrorismPipelineRequest::getNotifyConfig()const
|
||||
{
|
||||
return notifyConfig_;
|
||||
@@ -102,14 +102,14 @@ void AddTerrorismPipelineRequest::setPriority(int priority)
|
||||
setCoreParameter("Priority", std::to_string(priority));
|
||||
}
|
||||
|
||||
std::string AddTerrorismPipelineRequest::getAccessKeyId()const
|
||||
std::string AddTerrorismPipelineRequest::getName()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddTerrorismPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void AddTerrorismPipelineRequest::setName(const std::string& name)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddTerrorismPipelineResult::~AddTerrorismPipelineResult()
|
||||
|
||||
void AddTerrorismPipelineResult::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 pipelineNode = value["Pipeline"];
|
||||
if(!pipelineNode["Id"].isNull())
|
||||
|
||||
@@ -36,6 +36,17 @@ void AddWaterMarkTemplateRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddWaterMarkTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddWaterMarkTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddWaterMarkTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +69,6 @@ void AddWaterMarkTemplateRequest::setOwnerAccount(const std::string& ownerAccoun
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AddWaterMarkTemplateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddWaterMarkTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
long AddWaterMarkTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -80,6 +80,17 @@ void AddWaterMarkTemplateRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddWaterMarkTemplateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddWaterMarkTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddWaterMarkTemplateRequest::getConfig()const
|
||||
{
|
||||
return config_;
|
||||
@@ -91,14 +102,3 @@ void AddWaterMarkTemplateRequest::setConfig(const std::string& config)
|
||||
setCoreParameter("Config", config);
|
||||
}
|
||||
|
||||
std::string AddWaterMarkTemplateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddWaterMarkTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ AddWaterMarkTemplateResult::~AddWaterMarkTemplateResult()
|
||||
|
||||
void AddWaterMarkTemplateResult::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 waterMarkTemplateNode = value["WaterMarkTemplate"];
|
||||
if(!waterMarkTemplateNode["Id"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ BindInputBucketRequest::BindInputBucketRequest() :
|
||||
BindInputBucketRequest::~BindInputBucketRequest()
|
||||
{}
|
||||
|
||||
std::string BindInputBucketRequest::getBucket()const
|
||||
{
|
||||
return bucket_;
|
||||
}
|
||||
|
||||
void BindInputBucketRequest::setBucket(const std::string& bucket)
|
||||
{
|
||||
bucket_ = bucket;
|
||||
setCoreParameter("Bucket", bucket);
|
||||
}
|
||||
|
||||
long BindInputBucketRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,6 +36,17 @@ void BindInputBucketRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string BindInputBucketRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void BindInputBucketRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindInputBucketRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +58,6 @@ void BindInputBucketRequest::setResourceOwnerAccount(const std::string& resource
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string BindInputBucketRequest::getRoleArn()const
|
||||
{
|
||||
return roleArn_;
|
||||
}
|
||||
|
||||
void BindInputBucketRequest::setRoleArn(const std::string& roleArn)
|
||||
{
|
||||
roleArn_ = roleArn;
|
||||
setCoreParameter("RoleArn", roleArn);
|
||||
}
|
||||
|
||||
std::string BindInputBucketRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,14 +80,25 @@ void BindInputBucketRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindInputBucketRequest::getAccessKeyId()const
|
||||
std::string BindInputBucketRequest::getBucket()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return bucket_;
|
||||
}
|
||||
|
||||
void BindInputBucketRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void BindInputBucketRequest::setBucket(const std::string& bucket)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
bucket_ = bucket;
|
||||
setCoreParameter("Bucket", bucket);
|
||||
}
|
||||
|
||||
std::string BindInputBucketRequest::getRoleArn()const
|
||||
{
|
||||
return roleArn_;
|
||||
}
|
||||
|
||||
void BindInputBucketRequest::setRoleArn(const std::string& roleArn)
|
||||
{
|
||||
roleArn_ = roleArn;
|
||||
setCoreParameter("RoleArn", roleArn);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ BindInputBucketResult::~BindInputBucketResult()
|
||||
|
||||
void BindInputBucketResult::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 @@ BindOutputBucketRequest::BindOutputBucketRequest() :
|
||||
BindOutputBucketRequest::~BindOutputBucketRequest()
|
||||
{}
|
||||
|
||||
std::string BindOutputBucketRequest::getBucket()const
|
||||
{
|
||||
return bucket_;
|
||||
}
|
||||
|
||||
void BindOutputBucketRequest::setBucket(const std::string& bucket)
|
||||
{
|
||||
bucket_ = bucket;
|
||||
setCoreParameter("Bucket", bucket);
|
||||
}
|
||||
|
||||
long BindOutputBucketRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -47,6 +36,17 @@ void BindOutputBucketRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string BindOutputBucketRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void BindOutputBucketRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindOutputBucketRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +58,6 @@ void BindOutputBucketRequest::setResourceOwnerAccount(const std::string& resourc
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string BindOutputBucketRequest::getRoleArn()const
|
||||
{
|
||||
return roleArn_;
|
||||
}
|
||||
|
||||
void BindOutputBucketRequest::setRoleArn(const std::string& roleArn)
|
||||
{
|
||||
roleArn_ = roleArn;
|
||||
setCoreParameter("RoleArn", roleArn);
|
||||
}
|
||||
|
||||
std::string BindOutputBucketRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,14 +80,25 @@ void BindOutputBucketRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindOutputBucketRequest::getAccessKeyId()const
|
||||
std::string BindOutputBucketRequest::getBucket()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return bucket_;
|
||||
}
|
||||
|
||||
void BindOutputBucketRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void BindOutputBucketRequest::setBucket(const std::string& bucket)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
bucket_ = bucket;
|
||||
setCoreParameter("Bucket", bucket);
|
||||
}
|
||||
|
||||
std::string BindOutputBucketRequest::getRoleArn()const
|
||||
{
|
||||
return roleArn_;
|
||||
}
|
||||
|
||||
void BindOutputBucketRequest::setRoleArn(const std::string& roleArn)
|
||||
{
|
||||
roleArn_ = roleArn;
|
||||
setCoreParameter("RoleArn", roleArn);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ BindOutputBucketResult::~BindOutputBucketResult()
|
||||
|
||||
void BindOutputBucketResult::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 @@ CancelJobRequest::CancelJobRequest() :
|
||||
CancelJobRequest::~CancelJobRequest()
|
||||
{}
|
||||
|
||||
std::string CancelJobRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void CancelJobRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setCoreParameter("JobId", jobId);
|
||||
}
|
||||
|
||||
long CancelJobRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -91,3 +80,14 @@ void CancelJobRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CancelJobRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void CancelJobRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setCoreParameter("JobId", jobId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CancelJobResult::~CancelJobResult()
|
||||
|
||||
void CancelJobResult::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["JobId"].isNull())
|
||||
jobId_ = value["JobId"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ CategoryTreeResult::~CategoryTreeResult()
|
||||
|
||||
void CategoryTreeResult::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["CategoryTree"].isNull())
|
||||
categoryTree_ = value["CategoryTree"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ CheckResourceResult::~CheckResourceResult()
|
||||
|
||||
void CheckResourceResult::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["Interrupt"].isNull())
|
||||
interrupt_ = value["Interrupt"].asString() == "true";
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateMcuTemplateResult::~CreateMcuTemplateResult()
|
||||
|
||||
void CreateMcuTemplateResult::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,6 +36,17 @@ void CreateSessionRequest::setResourceOwnerId(const std::string& resourceOwnerId
|
||||
setCoreParameter("ResourceOwnerId", resourceOwnerId);
|
||||
}
|
||||
|
||||
std::string CreateSessionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateSessionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int CreateSessionRequest::getSessionTime()const
|
||||
{
|
||||
return sessionTime_;
|
||||
@@ -47,6 +58,17 @@ void CreateSessionRequest::setSessionTime(int sessionTime)
|
||||
setCoreParameter("SessionTime", std::to_string(sessionTime));
|
||||
}
|
||||
|
||||
std::string CreateSessionRequest::getEndUserId()const
|
||||
{
|
||||
return endUserId_;
|
||||
}
|
||||
|
||||
void CreateSessionRequest::setEndUserId(const std::string& endUserId)
|
||||
{
|
||||
endUserId_ = endUserId;
|
||||
setCoreParameter("EndUserId", endUserId);
|
||||
}
|
||||
|
||||
std::string CreateSessionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -69,17 +91,6 @@ void CreateSessionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateSessionRequest::getEndUserId()const
|
||||
{
|
||||
return endUserId_;
|
||||
}
|
||||
|
||||
void CreateSessionRequest::setEndUserId(const std::string& endUserId)
|
||||
{
|
||||
endUserId_ = endUserId;
|
||||
setCoreParameter("EndUserId", endUserId);
|
||||
}
|
||||
|
||||
std::string CreateSessionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -102,14 +113,3 @@ void CreateSessionRequest::setMediaId(const std::string& mediaId)
|
||||
setCoreParameter("MediaId", mediaId);
|
||||
}
|
||||
|
||||
std::string CreateSessionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateSessionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ CreateSessionResult::~CreateSessionResult()
|
||||
|
||||
void CreateSessionResult::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["SessionId"].isNull())
|
||||
sessionId_ = value["SessionId"].asString();
|
||||
|
||||
@@ -58,17 +58,6 @@ void DeactivateMediaWorkflowRequest::setOwnerAccount(const std::string& ownerAcc
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeactivateMediaWorkflowRequest::getMediaWorkflowId()const
|
||||
{
|
||||
return mediaWorkflowId_;
|
||||
}
|
||||
|
||||
void DeactivateMediaWorkflowRequest::setMediaWorkflowId(const std::string& mediaWorkflowId)
|
||||
{
|
||||
mediaWorkflowId_ = mediaWorkflowId;
|
||||
setCoreParameter("MediaWorkflowId", mediaWorkflowId);
|
||||
}
|
||||
|
||||
long DeactivateMediaWorkflowRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,3 +80,14 @@ void DeactivateMediaWorkflowRequest::setAccessKeyId(const std::string& accessKey
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeactivateMediaWorkflowRequest::getMediaWorkflowId()const
|
||||
{
|
||||
return mediaWorkflowId_;
|
||||
}
|
||||
|
||||
void DeactivateMediaWorkflowRequest::setMediaWorkflowId(const std::string& mediaWorkflowId)
|
||||
{
|
||||
mediaWorkflowId_ = mediaWorkflowId;
|
||||
setCoreParameter("MediaWorkflowId", mediaWorkflowId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeactivateMediaWorkflowResult::~DeactivateMediaWorkflowResult()
|
||||
|
||||
void DeactivateMediaWorkflowResult::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 mediaWorkflowNode = value["MediaWorkflow"];
|
||||
if(!mediaWorkflowNode["MediaWorkflowId"].isNull())
|
||||
|
||||
@@ -25,6 +25,28 @@ DecryptKeyRequest::DecryptKeyRequest() :
|
||||
DecryptKeyRequest::~DecryptKeyRequest()
|
||||
{}
|
||||
|
||||
std::string DecryptKeyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DecryptKeyRequest::setResourceOwnerId(const std::string& resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", resourceOwnerId);
|
||||
}
|
||||
|
||||
std::string DecryptKeyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DecryptKeyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DecryptKeyRequest::getRand()const
|
||||
{
|
||||
return rand_;
|
||||
@@ -36,15 +58,15 @@ void DecryptKeyRequest::setRand(const std::string& rand)
|
||||
setCoreParameter("Rand", rand);
|
||||
}
|
||||
|
||||
std::string DecryptKeyRequest::getResourceOwnerId()const
|
||||
std::string DecryptKeyRequest::getCiphertextBlob()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
return ciphertextBlob_;
|
||||
}
|
||||
|
||||
void DecryptKeyRequest::setResourceOwnerId(const std::string& resourceOwnerId)
|
||||
void DecryptKeyRequest::setCiphertextBlob(const std::string& ciphertextBlob)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", resourceOwnerId);
|
||||
ciphertextBlob_ = ciphertextBlob;
|
||||
setCoreParameter("CiphertextBlob", ciphertextBlob);
|
||||
}
|
||||
|
||||
std::string DecryptKeyRequest::getResourceOwnerAccount()const
|
||||
@@ -80,25 +102,3 @@ void DecryptKeyRequest::setOwnerId(const std::string& ownerId)
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
std::string DecryptKeyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DecryptKeyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DecryptKeyRequest::getCiphertextBlob()const
|
||||
{
|
||||
return ciphertextBlob_;
|
||||
}
|
||||
|
||||
void DecryptKeyRequest::setCiphertextBlob(const std::string& ciphertextBlob)
|
||||
{
|
||||
ciphertextBlob_ = ciphertextBlob;
|
||||
setCoreParameter("CiphertextBlob", ciphertextBlob);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DecryptKeyResult::~DecryptKeyResult()
|
||||
|
||||
void DecryptKeyResult::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["Plaintext"].isNull())
|
||||
plaintext_ = value["Plaintext"].asString();
|
||||
|
||||
@@ -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::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,3 +80,14 @@ void DeleteCategoryRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
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 @@ DeleteMCTemplateResult::~DeleteMCTemplateResult()
|
||||
|
||||
void DeleteMCTemplateResult::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();
|
||||
|
||||
@@ -58,17 +58,6 @@ void DeleteMcuJobRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteMcuJobRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void DeleteMcuJobRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setCoreParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
long DeleteMcuJobRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,3 +80,14 @@ void DeleteMcuJobRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteMcuJobRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void DeleteMcuJobRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setCoreParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteMcuJobResult::~DeleteMcuJobResult()
|
||||
|
||||
void DeleteMcuJobResult::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 allNonExistJobIds = value["NonExistJobIds"]["String"];
|
||||
for (const auto &item : allNonExistJobIds)
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteMcuTemplateResult::~DeleteMcuTemplateResult()
|
||||
|
||||
void DeleteMcuTemplateResult::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();
|
||||
|
||||
@@ -58,17 +58,6 @@ void DeleteMediaRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteMediaRequest::getMediaIds()const
|
||||
{
|
||||
return mediaIds_;
|
||||
}
|
||||
|
||||
void DeleteMediaRequest::setMediaIds(const std::string& mediaIds)
|
||||
{
|
||||
mediaIds_ = mediaIds;
|
||||
setCoreParameter("MediaIds", mediaIds);
|
||||
}
|
||||
|
||||
long DeleteMediaRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,3 +80,14 @@ void DeleteMediaRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteMediaRequest::getMediaIds()const
|
||||
{
|
||||
return mediaIds_;
|
||||
}
|
||||
|
||||
void DeleteMediaRequest::setMediaIds(const std::string& mediaIds)
|
||||
{
|
||||
mediaIds_ = mediaIds;
|
||||
setCoreParameter("MediaIds", mediaIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteMediaResult::~DeleteMediaResult()
|
||||
|
||||
void DeleteMediaResult::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 DeleteMediaTagRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteMediaTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteMediaTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteMediaTagRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DeleteMediaTagRequest::setTag(const std::string& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
setCoreParameter("Tag", tag);
|
||||
}
|
||||
|
||||
std::string DeleteMediaTagRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -58,17 +80,6 @@ void DeleteMediaTagRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteMediaTagRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DeleteMediaTagRequest::setTag(const std::string& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
setCoreParameter("Tag", tag);
|
||||
}
|
||||
|
||||
long DeleteMediaTagRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,14 +102,3 @@ void DeleteMediaTagRequest::setMediaId(const std::string& mediaId)
|
||||
setCoreParameter("MediaId", mediaId);
|
||||
}
|
||||
|
||||
std::string DeleteMediaTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteMediaTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteMediaTagResult::~DeleteMediaTagResult()
|
||||
|
||||
void DeleteMediaTagResult::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());
|
||||
|
||||
}
|
||||
|
||||
@@ -58,17 +58,6 @@ void DeleteMediaWorkflowRequest::setOwnerAccount(const std::string& ownerAccount
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteMediaWorkflowRequest::getMediaWorkflowId()const
|
||||
{
|
||||
return mediaWorkflowId_;
|
||||
}
|
||||
|
||||
void DeleteMediaWorkflowRequest::setMediaWorkflowId(const std::string& mediaWorkflowId)
|
||||
{
|
||||
mediaWorkflowId_ = mediaWorkflowId;
|
||||
setCoreParameter("MediaWorkflowId", mediaWorkflowId);
|
||||
}
|
||||
|
||||
long DeleteMediaWorkflowRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,3 +80,14 @@ void DeleteMediaWorkflowRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteMediaWorkflowRequest::getMediaWorkflowId()const
|
||||
{
|
||||
return mediaWorkflowId_;
|
||||
}
|
||||
|
||||
void DeleteMediaWorkflowRequest::setMediaWorkflowId(const std::string& mediaWorkflowId)
|
||||
{
|
||||
mediaWorkflowId_ = mediaWorkflowId;
|
||||
setCoreParameter("MediaWorkflowId", mediaWorkflowId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteMediaWorkflowResult::~DeleteMediaWorkflowResult()
|
||||
|
||||
void DeleteMediaWorkflowResult::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 mediaWorkflowNode = value["MediaWorkflow"];
|
||||
if(!mediaWorkflowNode["MediaWorkflowId"].isNull())
|
||||
|
||||
@@ -35,13 +35,9 @@ DeletePipelineResult::~DeletePipelineResult()
|
||||
|
||||
void DeletePipelineResult::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["PipelineId"].isNull())
|
||||
pipelineId_ = value["PipelineId"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteTemplateResult::~DeleteTemplateResult()
|
||||
|
||||
void DeleteTemplateResult::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();
|
||||
|
||||
@@ -35,13 +35,9 @@ DeleteWaterMarkTemplateResult::~DeleteWaterMarkTemplateResult()
|
||||
|
||||
void DeleteWaterMarkTemplateResult::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["WaterMarkTemplateId"].isNull())
|
||||
waterMarkTemplateId_ = value["WaterMarkTemplateId"].asString();
|
||||
|
||||
@@ -25,17 +25,6 @@ DescribeMtsUserResourcePackageRequest::DescribeMtsUserResourcePackageRequest() :
|
||||
DescribeMtsUserResourcePackageRequest::~DescribeMtsUserResourcePackageRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeMtsUserResourcePackageRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeMtsUserResourcePackageRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
long DescribeMtsUserResourcePackageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -47,3 +36,14 @@ void DescribeMtsUserResourcePackageRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeMtsUserResourcePackageRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeMtsUserResourcePackageRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ DescribeMtsUserResourcePackageResult::~DescribeMtsUserResourcePackageResult()
|
||||
|
||||
void DescribeMtsUserResourcePackageResult::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 allResourcePackageInfos = value["ResourcePackageInfos"]["ResourcePackageInfo"];
|
||||
for (auto value : allResourcePackageInfos)
|
||||
|
||||
@@ -47,6 +47,28 @@ void GetLicenseRequest::setData(const std::string& data)
|
||||
setCoreParameter("Data", data);
|
||||
}
|
||||
|
||||
std::string GetLicenseRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void GetLicenseRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string GetLicenseRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetLicenseRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetLicenseRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -69,17 +91,6 @@ void GetLicenseRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string GetLicenseRequest::getHeader()const
|
||||
{
|
||||
return header_;
|
||||
}
|
||||
|
||||
void GetLicenseRequest::setHeader(const std::string& header)
|
||||
{
|
||||
header_ = header;
|
||||
setCoreParameter("Header", header);
|
||||
}
|
||||
|
||||
std::string GetLicenseRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -102,15 +113,15 @@ void GetLicenseRequest::setMediaId(const std::string& mediaId)
|
||||
setCoreParameter("MediaId", mediaId);
|
||||
}
|
||||
|
||||
std::string GetLicenseRequest::getType()const
|
||||
std::string GetLicenseRequest::getHeader()const
|
||||
{
|
||||
return type_;
|
||||
return header_;
|
||||
}
|
||||
|
||||
void GetLicenseRequest::setType(const std::string& type)
|
||||
void GetLicenseRequest::setHeader(const std::string& header)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
header_ = header;
|
||||
setCoreParameter("Header", header);
|
||||
}
|
||||
|
||||
std::string GetLicenseRequest::getLicenseUrl()const
|
||||
@@ -124,14 +135,3 @@ void GetLicenseRequest::setLicenseUrl(const std::string& licenseUrl)
|
||||
setCoreParameter("LicenseUrl", licenseUrl);
|
||||
}
|
||||
|
||||
std::string GetLicenseRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetLicenseRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ GetLicenseResult::~GetLicenseResult()
|
||||
|
||||
void GetLicenseResult::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["License"].isNull())
|
||||
license_ = value["License"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ GetPackageResult::~GetPackageResult()
|
||||
|
||||
void GetPackageResult::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["CertPackage"].isNull())
|
||||
certPackage_ = value["CertPackage"].asString();
|
||||
|
||||
@@ -35,13 +35,9 @@ ListAllCategoryResult::~ListAllCategoryResult()
|
||||
|
||||
void ListAllCategoryResult::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 allCategoryList = value["CategoryList"]["Category"];
|
||||
for (auto value : allCategoryList)
|
||||
|
||||
@@ -36,17 +36,6 @@ void ListAllMediaBucketRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListAllMediaBucketRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListAllMediaBucketRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListAllMediaBucketRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
@@ -58,6 +47,28 @@ void ListAllMediaBucketRequest::setNextPageToken(const std::string& nextPageToke
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string ListAllMediaBucketRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListAllMediaBucketRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListAllMediaBucketRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListAllMediaBucketRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListAllMediaBucketRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,14 +102,3 @@ void ListAllMediaBucketRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ListAllMediaBucketRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListAllMediaBucketRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ListAllMediaBucketResult::~ListAllMediaBucketResult()
|
||||
|
||||
void ListAllMediaBucketResult::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 allMediaBucketList = value["MediaBucketList"]["MediaBucket"];
|
||||
for (auto value : allMediaBucketList)
|
||||
|
||||
@@ -36,26 +36,26 @@ void ListAsrPipelineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListAsrPipelineRequest::getResourceOwnerAccount()const
|
||||
long ListAsrPipelineRequest::getPageNumber()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListAsrPipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
void ListAsrPipelineRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListAsrPipelineRequest::getOwnerAccount()const
|
||||
std::string ListAsrPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListAsrPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void ListAsrPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long ListAsrPipelineRequest::getPageSize()const
|
||||
@@ -80,6 +80,28 @@ void ListAsrPipelineRequest::setState(const std::string& state)
|
||||
setCoreParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListAsrPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListAsrPipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListAsrPipelineRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ListAsrPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ListAsrPipelineRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,25 +113,3 @@ void ListAsrPipelineRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long ListAsrPipelineRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListAsrPipelineRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListAsrPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListAsrPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ListAsrPipelineResult::~ListAsrPipelineResult()
|
||||
|
||||
void ListAsrPipelineResult::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 allPipelineList = value["PipelineList"]["Pipeline"];
|
||||
for (auto value : allPipelineList)
|
||||
|
||||
@@ -36,26 +36,26 @@ void ListCensorPipelineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListCensorPipelineRequest::getResourceOwnerAccount()const
|
||||
long ListCensorPipelineRequest::getPageNumber()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCensorPipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
void ListCensorPipelineRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListCensorPipelineRequest::getOwnerAccount()const
|
||||
std::string ListCensorPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListCensorPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void ListCensorPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long ListCensorPipelineRequest::getPageSize()const
|
||||
@@ -80,6 +80,28 @@ void ListCensorPipelineRequest::setState(const std::string& state)
|
||||
setCoreParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListCensorPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListCensorPipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListCensorPipelineRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ListCensorPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ListCensorPipelineRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,25 +113,3 @@ void ListCensorPipelineRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long ListCensorPipelineRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCensorPipelineRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListCensorPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListCensorPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ListCensorPipelineResult::~ListCensorPipelineResult()
|
||||
|
||||
void ListCensorPipelineResult::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 allPipelineList = value["PipelineList"]["Pipeline"];
|
||||
for (auto value : allPipelineList)
|
||||
|
||||
@@ -36,26 +36,26 @@ void ListCoverPipelineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListCoverPipelineRequest::getResourceOwnerAccount()const
|
||||
long ListCoverPipelineRequest::getPageNumber()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCoverPipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
void ListCoverPipelineRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListCoverPipelineRequest::getOwnerAccount()const
|
||||
std::string ListCoverPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListCoverPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void ListCoverPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long ListCoverPipelineRequest::getPageSize()const
|
||||
@@ -80,6 +80,28 @@ void ListCoverPipelineRequest::setState(const std::string& state)
|
||||
setCoreParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListCoverPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListCoverPipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListCoverPipelineRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ListCoverPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ListCoverPipelineRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,25 +113,3 @@ void ListCoverPipelineRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long ListCoverPipelineRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCoverPipelineRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListCoverPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListCoverPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ListCoverPipelineResult::~ListCoverPipelineResult()
|
||||
|
||||
void ListCoverPipelineResult::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 allPipelineList = value["PipelineList"]["Pipeline"];
|
||||
for (auto value : allPipelineList)
|
||||
|
||||
@@ -36,17 +36,6 @@ void ListJobRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
@@ -69,6 +58,50 @@ void ListJobRequest::setStartOfJobCreatedTimeRange(const std::string& startOfJob
|
||||
setCoreParameter("StartOfJobCreatedTimeRange", startOfJobCreatedTimeRange);
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListJobRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
void ListJobRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getEndOfJobCreatedTimeRange()const
|
||||
{
|
||||
return endOfJobCreatedTimeRange_;
|
||||
}
|
||||
|
||||
void ListJobRequest::setEndOfJobCreatedTimeRange(const std::string& endOfJobCreatedTimeRange)
|
||||
{
|
||||
endOfJobCreatedTimeRange_ = endOfJobCreatedTimeRange;
|
||||
setCoreParameter("EndOfJobCreatedTimeRange", endOfJobCreatedTimeRange);
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,17 +124,6 @@ void ListJobRequest::setMaximumPageSize(long maximumPageSize)
|
||||
setCoreParameter("MaximumPageSize", std::to_string(maximumPageSize));
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
void ListJobRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
}
|
||||
|
||||
long ListJobRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -113,28 +135,6 @@ void ListJobRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListJobRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getEndOfJobCreatedTimeRange()const
|
||||
{
|
||||
return endOfJobCreatedTimeRange_;
|
||||
}
|
||||
|
||||
void ListJobRequest::setEndOfJobCreatedTimeRange(const std::string& endOfJobCreatedTimeRange)
|
||||
{
|
||||
endOfJobCreatedTimeRange_ = endOfJobCreatedTimeRange;
|
||||
setCoreParameter("EndOfJobCreatedTimeRange", endOfJobCreatedTimeRange);
|
||||
}
|
||||
|
||||
std::string ListJobRequest::getPipelineId()const
|
||||
{
|
||||
return pipelineId_;
|
||||
|
||||
@@ -35,13 +35,9 @@ ListJobResult::~ListJobResult()
|
||||
|
||||
void ListJobResult::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 allJobList = value["JobList"]["Job"];
|
||||
for (auto value : allJobList)
|
||||
|
||||
@@ -36,17 +36,6 @@ void ListMediaRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListMediaRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListMediaRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListMediaRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
@@ -58,6 +47,39 @@ void ListMediaRequest::setNextPageToken(const std::string& nextPageToken)
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string ListMediaRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListMediaRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListMediaRequest::getFrom()const
|
||||
{
|
||||
return from_;
|
||||
}
|
||||
|
||||
void ListMediaRequest::setFrom(const std::string& from)
|
||||
{
|
||||
from_ = from;
|
||||
setCoreParameter("From", from);
|
||||
}
|
||||
|
||||
std::string ListMediaRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListMediaRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListMediaRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -80,15 +102,15 @@ void ListMediaRequest::setMaximumPageSize(long maximumPageSize)
|
||||
setCoreParameter("MaximumPageSize", std::to_string(maximumPageSize));
|
||||
}
|
||||
|
||||
std::string ListMediaRequest::getFrom()const
|
||||
long ListMediaRequest::getOwnerId()const
|
||||
{
|
||||
return from_;
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ListMediaRequest::setFrom(const std::string& from)
|
||||
void ListMediaRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
from_ = from;
|
||||
setCoreParameter("From", from);
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ListMediaRequest::getTo()const
|
||||
@@ -102,25 +124,3 @@ void ListMediaRequest::setTo(const std::string& to)
|
||||
setCoreParameter("To", to);
|
||||
}
|
||||
|
||||
long ListMediaRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ListMediaRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ListMediaRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListMediaRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ListMediaResult::~ListMediaResult()
|
||||
|
||||
void ListMediaResult::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 allMediaList = value["MediaList"]["Media"];
|
||||
for (auto value : allMediaList)
|
||||
|
||||
@@ -36,28 +36,6 @@ void ListMediaWorkflowExecutionsRequest::setResourceOwnerId(long resourceOwnerId
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListMediaWorkflowExecutionsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListMediaWorkflowExecutionsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListMediaWorkflowExecutionsRequest::getInputFileURL()const
|
||||
{
|
||||
return inputFileURL_;
|
||||
}
|
||||
|
||||
void ListMediaWorkflowExecutionsRequest::setInputFileURL(const std::string& inputFileURL)
|
||||
{
|
||||
inputFileURL_ = inputFileURL;
|
||||
setCoreParameter("InputFileURL", inputFileURL);
|
||||
}
|
||||
|
||||
std::string ListMediaWorkflowExecutionsRequest::getNextPageToken()const
|
||||
{
|
||||
return nextPageToken_;
|
||||
@@ -69,6 +47,39 @@ void ListMediaWorkflowExecutionsRequest::setNextPageToken(const std::string& nex
|
||||
setCoreParameter("NextPageToken", nextPageToken);
|
||||
}
|
||||
|
||||
std::string ListMediaWorkflowExecutionsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListMediaWorkflowExecutionsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListMediaWorkflowExecutionsRequest::getMediaWorkflowId()const
|
||||
{
|
||||
return mediaWorkflowId_;
|
||||
}
|
||||
|
||||
void ListMediaWorkflowExecutionsRequest::setMediaWorkflowId(const std::string& mediaWorkflowId)
|
||||
{
|
||||
mediaWorkflowId_ = mediaWorkflowId;
|
||||
setCoreParameter("MediaWorkflowId", mediaWorkflowId);
|
||||
}
|
||||
|
||||
std::string ListMediaWorkflowExecutionsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListMediaWorkflowExecutionsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListMediaWorkflowExecutionsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,17 +102,6 @@ void ListMediaWorkflowExecutionsRequest::setMaximumPageSize(long maximumPageSize
|
||||
setCoreParameter("MaximumPageSize", std::to_string(maximumPageSize));
|
||||
}
|
||||
|
||||
std::string ListMediaWorkflowExecutionsRequest::getMediaWorkflowId()const
|
||||
{
|
||||
return mediaWorkflowId_;
|
||||
}
|
||||
|
||||
void ListMediaWorkflowExecutionsRequest::setMediaWorkflowId(const std::string& mediaWorkflowId)
|
||||
{
|
||||
mediaWorkflowId_ = mediaWorkflowId;
|
||||
setCoreParameter("MediaWorkflowId", mediaWorkflowId);
|
||||
}
|
||||
|
||||
long ListMediaWorkflowExecutionsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -124,14 +124,14 @@ void ListMediaWorkflowExecutionsRequest::setMediaWorkflowName(const std::string&
|
||||
setCoreParameter("MediaWorkflowName", mediaWorkflowName);
|
||||
}
|
||||
|
||||
std::string ListMediaWorkflowExecutionsRequest::getAccessKeyId()const
|
||||
std::string ListMediaWorkflowExecutionsRequest::getInputFileURL()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
return inputFileURL_;
|
||||
}
|
||||
|
||||
void ListMediaWorkflowExecutionsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
void ListMediaWorkflowExecutionsRequest::setInputFileURL(const std::string& inputFileURL)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
inputFileURL_ = inputFileURL;
|
||||
setCoreParameter("InputFileURL", inputFileURL);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ListMediaWorkflowExecutionsResult::~ListMediaWorkflowExecutionsResult()
|
||||
|
||||
void ListMediaWorkflowExecutionsResult::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 allMediaWorkflowExecutionList = value["MediaWorkflowExecutionList"]["MediaWorkflowExecution"];
|
||||
for (auto value : allMediaWorkflowExecutionList)
|
||||
|
||||
@@ -36,26 +36,26 @@ void ListPornPipelineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListPornPipelineRequest::getResourceOwnerAccount()const
|
||||
long ListPornPipelineRequest::getPageNumber()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListPornPipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
void ListPornPipelineRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListPornPipelineRequest::getOwnerAccount()const
|
||||
std::string ListPornPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListPornPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void ListPornPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long ListPornPipelineRequest::getPageSize()const
|
||||
@@ -80,6 +80,28 @@ void ListPornPipelineRequest::setState(const std::string& state)
|
||||
setCoreParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListPornPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListPornPipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListPornPipelineRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ListPornPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ListPornPipelineRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,25 +113,3 @@ void ListPornPipelineRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long ListPornPipelineRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListPornPipelineRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListPornPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListPornPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ListPornPipelineResult::~ListPornPipelineResult()
|
||||
|
||||
void ListPornPipelineResult::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 allPipelineList = value["PipelineList"]["Pipeline"];
|
||||
for (auto value : allPipelineList)
|
||||
|
||||
@@ -36,26 +36,26 @@ void ListTerrorismPipelineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListTerrorismPipelineRequest::getResourceOwnerAccount()const
|
||||
long ListTerrorismPipelineRequest::getPageNumber()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListTerrorismPipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
void ListTerrorismPipelineRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListTerrorismPipelineRequest::getOwnerAccount()const
|
||||
std::string ListTerrorismPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListTerrorismPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
void ListTerrorismPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long ListTerrorismPipelineRequest::getPageSize()const
|
||||
@@ -80,6 +80,28 @@ void ListTerrorismPipelineRequest::setState(const std::string& state)
|
||||
setCoreParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListTerrorismPipelineRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListTerrorismPipelineRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListTerrorismPipelineRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ListTerrorismPipelineRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ListTerrorismPipelineRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -91,25 +113,3 @@ void ListTerrorismPipelineRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long ListTerrorismPipelineRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListTerrorismPipelineRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListTerrorismPipelineRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListTerrorismPipelineRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ ListTerrorismPipelineResult::~ListTerrorismPipelineResult()
|
||||
|
||||
void ListTerrorismPipelineResult::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 allPipelineList = value["PipelineList"]["Pipeline"];
|
||||
for (auto value : allPipelineList)
|
||||
|
||||
@@ -47,6 +47,28 @@ void LogicalDeleteResourceRequest::setHid(long hid)
|
||||
setCoreParameter("Hid", std::to_string(hid));
|
||||
}
|
||||
|
||||
std::string LogicalDeleteResourceRequest::getInvoker()const
|
||||
{
|
||||
return invoker_;
|
||||
}
|
||||
|
||||
void LogicalDeleteResourceRequest::setInvoker(const std::string& invoker)
|
||||
{
|
||||
invoker_ = invoker;
|
||||
setCoreParameter("Invoker", invoker);
|
||||
}
|
||||
|
||||
std::string LogicalDeleteResourceRequest::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
void LogicalDeleteResourceRequest::setMessage(const std::string& message)
|
||||
{
|
||||
message_ = message;
|
||||
setCoreParameter("Message", message);
|
||||
}
|
||||
|
||||
bool LogicalDeleteResourceRequest::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
@@ -91,17 +113,6 @@ void LogicalDeleteResourceRequest::setPk(const std::string& pk)
|
||||
setCoreParameter("Pk", pk);
|
||||
}
|
||||
|
||||
std::string LogicalDeleteResourceRequest::getInvoker()const
|
||||
{
|
||||
return invoker_;
|
||||
}
|
||||
|
||||
void LogicalDeleteResourceRequest::setInvoker(const std::string& invoker)
|
||||
{
|
||||
invoker_ = invoker;
|
||||
setCoreParameter("Invoker", invoker);
|
||||
}
|
||||
|
||||
std::string LogicalDeleteResourceRequest::getBid()const
|
||||
{
|
||||
return bid_;
|
||||
@@ -113,17 +124,6 @@ void LogicalDeleteResourceRequest::setBid(const std::string& bid)
|
||||
setCoreParameter("Bid", bid);
|
||||
}
|
||||
|
||||
std::string LogicalDeleteResourceRequest::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
void LogicalDeleteResourceRequest::setMessage(const std::string& message)
|
||||
{
|
||||
message_ = message;
|
||||
setCoreParameter("Message", message);
|
||||
}
|
||||
|
||||
std::string LogicalDeleteResourceRequest::getTaskExtraData()const
|
||||
{
|
||||
return taskExtraData_;
|
||||
|
||||
@@ -35,13 +35,9 @@ LogicalDeleteResourceResult::~LogicalDeleteResourceResult()
|
||||
|
||||
void LogicalDeleteResourceResult::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["Interrupt"].isNull())
|
||||
interrupt_ = value["Interrupt"].asString() == "true";
|
||||
|
||||
@@ -47,6 +47,28 @@ void PhysicalDeleteResourceRequest::setHid(long hid)
|
||||
setCoreParameter("Hid", std::to_string(hid));
|
||||
}
|
||||
|
||||
std::string PhysicalDeleteResourceRequest::getInvoker()const
|
||||
{
|
||||
return invoker_;
|
||||
}
|
||||
|
||||
void PhysicalDeleteResourceRequest::setInvoker(const std::string& invoker)
|
||||
{
|
||||
invoker_ = invoker;
|
||||
setCoreParameter("Invoker", invoker);
|
||||
}
|
||||
|
||||
std::string PhysicalDeleteResourceRequest::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
void PhysicalDeleteResourceRequest::setMessage(const std::string& message)
|
||||
{
|
||||
message_ = message;
|
||||
setCoreParameter("Message", message);
|
||||
}
|
||||
|
||||
bool PhysicalDeleteResourceRequest::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
@@ -91,17 +113,6 @@ void PhysicalDeleteResourceRequest::setPk(const std::string& pk)
|
||||
setCoreParameter("Pk", pk);
|
||||
}
|
||||
|
||||
std::string PhysicalDeleteResourceRequest::getInvoker()const
|
||||
{
|
||||
return invoker_;
|
||||
}
|
||||
|
||||
void PhysicalDeleteResourceRequest::setInvoker(const std::string& invoker)
|
||||
{
|
||||
invoker_ = invoker;
|
||||
setCoreParameter("Invoker", invoker);
|
||||
}
|
||||
|
||||
std::string PhysicalDeleteResourceRequest::getBid()const
|
||||
{
|
||||
return bid_;
|
||||
@@ -113,17 +124,6 @@ void PhysicalDeleteResourceRequest::setBid(const std::string& bid)
|
||||
setCoreParameter("Bid", bid);
|
||||
}
|
||||
|
||||
std::string PhysicalDeleteResourceRequest::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
void PhysicalDeleteResourceRequest::setMessage(const std::string& message)
|
||||
{
|
||||
message_ = message;
|
||||
setCoreParameter("Message", message);
|
||||
}
|
||||
|
||||
std::string PhysicalDeleteResourceRequest::getTaskExtraData()const
|
||||
{
|
||||
return taskExtraData_;
|
||||
|
||||
@@ -35,13 +35,9 @@ PhysicalDeleteResourceResult::~PhysicalDeleteResourceResult()
|
||||
|
||||
void PhysicalDeleteResourceResult::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["Interrupt"].isNull())
|
||||
interrupt_ = value["Interrupt"].asString() == "true";
|
||||
|
||||
@@ -25,17 +25,6 @@ PlayInfoRequest::PlayInfoRequest() :
|
||||
PlayInfoRequest::~PlayInfoRequest()
|
||||
{}
|
||||
|
||||
std::string PlayInfoRequest::getPlayDomain()const
|
||||
{
|
||||
return playDomain_;
|
||||
}
|
||||
|
||||
void PlayInfoRequest::setPlayDomain(const std::string& playDomain)
|
||||
{
|
||||
playDomain_ = playDomain;
|
||||
setCoreParameter("PlayDomain", playDomain);
|
||||
}
|
||||
|
||||
std::string PlayInfoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
@@ -58,6 +47,50 @@ void PlayInfoRequest::setFormats(const std::string& formats)
|
||||
setCoreParameter("Formats", formats);
|
||||
}
|
||||
|
||||
std::string PlayInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void PlayInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string PlayInfoRequest::getRand()const
|
||||
{
|
||||
return rand_;
|
||||
}
|
||||
|
||||
void PlayInfoRequest::setRand(const std::string& rand)
|
||||
{
|
||||
rand_ = rand;
|
||||
setCoreParameter("Rand", rand);
|
||||
}
|
||||
|
||||
long PlayInfoRequest::getAuthTimeout()const
|
||||
{
|
||||
return authTimeout_;
|
||||
}
|
||||
|
||||
void PlayInfoRequest::setAuthTimeout(long authTimeout)
|
||||
{
|
||||
authTimeout_ = authTimeout;
|
||||
setCoreParameter("AuthTimeout", std::to_string(authTimeout));
|
||||
}
|
||||
|
||||
std::string PlayInfoRequest::getPlayDomain()const
|
||||
{
|
||||
return playDomain_;
|
||||
}
|
||||
|
||||
void PlayInfoRequest::setPlayDomain(const std::string& playDomain)
|
||||
{
|
||||
playDomain_ = playDomain;
|
||||
setCoreParameter("PlayDomain", playDomain);
|
||||
}
|
||||
|
||||
std::string PlayInfoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -124,39 +157,6 @@ void PlayInfoRequest::setMediaId(const std::string& mediaId)
|
||||
setCoreParameter("MediaId", mediaId);
|
||||
}
|
||||
|
||||
std::string PlayInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void PlayInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string PlayInfoRequest::getRand()const
|
||||
{
|
||||
return rand_;
|
||||
}
|
||||
|
||||
void PlayInfoRequest::setRand(const std::string& rand)
|
||||
{
|
||||
rand_ = rand;
|
||||
setCoreParameter("Rand", rand);
|
||||
}
|
||||
|
||||
long PlayInfoRequest::getAuthTimeout()const
|
||||
{
|
||||
return authTimeout_;
|
||||
}
|
||||
|
||||
void PlayInfoRequest::setAuthTimeout(long authTimeout)
|
||||
{
|
||||
authTimeout_ = authTimeout;
|
||||
setCoreParameter("AuthTimeout", std::to_string(authTimeout));
|
||||
}
|
||||
|
||||
std::string PlayInfoRequest::getAuthInfo()const
|
||||
{
|
||||
return authInfo_;
|
||||
|
||||
@@ -35,13 +35,9 @@ PlayInfoResult::~PlayInfoResult()
|
||||
|
||||
void PlayInfoResult::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 allPlayInfoList = value["PlayInfoList"]["PlayInfo"];
|
||||
for (auto value : allPlayInfoList)
|
||||
|
||||
@@ -35,13 +35,9 @@ PlayerAuthResult::~PlayerAuthResult()
|
||||
|
||||
void PlayerAuthResult::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 allSwitchList = value["SwitchList"]["Switch"];
|
||||
for (auto value : allSwitchList)
|
||||
|
||||
@@ -69,17 +69,6 @@ void QueryAnalysisJobListRequest::setOwnerId(long ownerId)
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryAnalysisJobListRequest::getAnalysisJobIds()const
|
||||
{
|
||||
return analysisJobIds_;
|
||||
}
|
||||
|
||||
void QueryAnalysisJobListRequest::setAnalysisJobIds(const std::string& analysisJobIds)
|
||||
{
|
||||
analysisJobIds_ = analysisJobIds;
|
||||
setCoreParameter("AnalysisJobIds", analysisJobIds);
|
||||
}
|
||||
|
||||
std::string QueryAnalysisJobListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -91,3 +80,14 @@ void QueryAnalysisJobListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryAnalysisJobListRequest::getAnalysisJobIds()const
|
||||
{
|
||||
return analysisJobIds_;
|
||||
}
|
||||
|
||||
void QueryAnalysisJobListRequest::setAnalysisJobIds(const std::string& analysisJobIds)
|
||||
{
|
||||
analysisJobIds_ = analysisJobIds;
|
||||
setCoreParameter("AnalysisJobIds", analysisJobIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryAnalysisJobListResult::~QueryAnalysisJobListResult()
|
||||
|
||||
void QueryAnalysisJobListResult::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 allAnalysisJobList = value["AnalysisJobList"]["AnalysisJob"];
|
||||
for (auto value : allAnalysisJobList)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryAnnotationJobListResult::~QueryAnnotationJobListResult()
|
||||
|
||||
void QueryAnnotationJobListResult::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 allAnnotationJobList = value["AnnotationJobList"]["AnnotationJob"];
|
||||
for (auto value : allAnnotationJobList)
|
||||
|
||||
@@ -47,17 +47,6 @@ void QueryAsrJobListRequest::setResourceOwnerAccount(const std::string& resource
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryAsrJobListRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void QueryAsrJobListRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setCoreParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
std::string QueryAsrJobListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,3 +80,14 @@ void QueryAsrJobListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryAsrJobListRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void QueryAsrJobListRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setCoreParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryAsrJobListResult::~QueryAsrJobListResult()
|
||||
|
||||
void QueryAsrJobListResult::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 allJobList = value["JobList"]["Job"];
|
||||
for (auto value : allJobList)
|
||||
|
||||
@@ -47,17 +47,6 @@ void QueryAsrPipelineListRequest::setResourceOwnerAccount(const std::string& res
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryAsrPipelineListRequest::getPipelineIds()const
|
||||
{
|
||||
return pipelineIds_;
|
||||
}
|
||||
|
||||
void QueryAsrPipelineListRequest::setPipelineIds(const std::string& pipelineIds)
|
||||
{
|
||||
pipelineIds_ = pipelineIds;
|
||||
setCoreParameter("PipelineIds", pipelineIds);
|
||||
}
|
||||
|
||||
std::string QueryAsrPipelineListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,3 +80,14 @@ void QueryAsrPipelineListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryAsrPipelineListRequest::getPipelineIds()const
|
||||
{
|
||||
return pipelineIds_;
|
||||
}
|
||||
|
||||
void QueryAsrPipelineListRequest::setPipelineIds(const std::string& pipelineIds)
|
||||
{
|
||||
pipelineIds_ = pipelineIds;
|
||||
setCoreParameter("PipelineIds", pipelineIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryAsrPipelineListResult::~QueryAsrPipelineListResult()
|
||||
|
||||
void QueryAsrPipelineListResult::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 allPipelineList = value["PipelineList"]["Pipeline"];
|
||||
for (auto value : allPipelineList)
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryAuthConfigResult::~QueryAuthConfigResult()
|
||||
|
||||
void QueryAuthConfigResult::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["Key1"].isNull())
|
||||
key1_ = value["Key1"].asString();
|
||||
|
||||
@@ -47,17 +47,6 @@ void QueryCensorJobListRequest::setResourceOwnerAccount(const std::string& resou
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryCensorJobListRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void QueryCensorJobListRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setCoreParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
std::string QueryCensorJobListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,3 +80,14 @@ void QueryCensorJobListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryCensorJobListRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void QueryCensorJobListRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setCoreParameter("JobIds", jobIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,13 +35,9 @@ QueryCensorJobListResult::~QueryCensorJobListResult()
|
||||
|
||||
void QueryCensorJobListResult::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 allCensorJobList = value["CensorJobList"]["CensorJob"];
|
||||
for (auto value : allCensorJobList)
|
||||
|
||||
@@ -47,17 +47,6 @@ void QueryCensorPipelineListRequest::setResourceOwnerAccount(const std::string&
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string QueryCensorPipelineListRequest::getPipelineIds()const
|
||||
{
|
||||
return pipelineIds_;
|
||||
}
|
||||
|
||||
void QueryCensorPipelineListRequest::setPipelineIds(const std::string& pipelineIds)
|
||||
{
|
||||
pipelineIds_ = pipelineIds;
|
||||
setCoreParameter("PipelineIds", pipelineIds);
|
||||
}
|
||||
|
||||
std::string QueryCensorPipelineListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
@@ -91,3 +80,14 @@ void QueryCensorPipelineListRequest::setAccessKeyId(const std::string& accessKey
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryCensorPipelineListRequest::getPipelineIds()const
|
||||
{
|
||||
return pipelineIds_;
|
||||
}
|
||||
|
||||
void QueryCensorPipelineListRequest::setPipelineIds(const std::string& pipelineIds)
|
||||
{
|
||||
pipelineIds_ = pipelineIds;
|
||||
setCoreParameter("PipelineIds", pipelineIds);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user