Set multiple apis to public.
This commit is contained in:
@@ -2643,6 +2643,42 @@ VodClient::GetMediaDNAResultOutcomeCallable VodClient::getMediaDNAResultCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VodClient::GetMediaRefreshJobsOutcome VodClient::getMediaRefreshJobs(const GetMediaRefreshJobsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMediaRefreshJobsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMediaRefreshJobsOutcome(GetMediaRefreshJobsResult(outcome.result()));
|
||||
else
|
||||
return GetMediaRefreshJobsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VodClient::getMediaRefreshJobsAsync(const GetMediaRefreshJobsRequest& request, const GetMediaRefreshJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMediaRefreshJobs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VodClient::GetMediaRefreshJobsOutcomeCallable VodClient::getMediaRefreshJobsCallable(const GetMediaRefreshJobsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMediaRefreshJobsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMediaRefreshJobs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VodClient::GetMessageCallbackOutcome VodClient::getMessageCallback(const GetMessageCallbackRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3723,6 +3759,42 @@ VodClient::ProduceEditingProjectVideoOutcomeCallable VodClient::produceEditingPr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VodClient::RefreshMediaPlayUrlsOutcome VodClient::refreshMediaPlayUrls(const RefreshMediaPlayUrlsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RefreshMediaPlayUrlsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RefreshMediaPlayUrlsOutcome(RefreshMediaPlayUrlsResult(outcome.result()));
|
||||
else
|
||||
return RefreshMediaPlayUrlsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void VodClient::refreshMediaPlayUrlsAsync(const RefreshMediaPlayUrlsRequest& request, const RefreshMediaPlayUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, refreshMediaPlayUrls(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
VodClient::RefreshMediaPlayUrlsOutcomeCallable VodClient::refreshMediaPlayUrlsCallable(const RefreshMediaPlayUrlsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RefreshMediaPlayUrlsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->refreshMediaPlayUrls(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
VodClient::RefreshUploadVideoOutcome VodClient::refreshUploadVideo(const RefreshUploadVideoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddAITemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddAITemplateRequest;
|
||||
|
||||
AddAITemplateRequest::AddAITemplateRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "AddAITemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddAITemplateRequest::~AddAITemplateRequest()
|
||||
{}
|
||||
|
||||
std::string AddAITemplateRequest::getTemplateConfig()const
|
||||
{
|
||||
return templateConfig_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddAITemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddAITemplateRequest;
|
||||
|
||||
AddAITemplateRequest::AddAITemplateRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "AddAITemplate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddAITemplateRequest::setTemplateConfig(const std::string& templateConfig)
|
||||
{
|
||||
templateConfig_ = templateConfig;
|
||||
setParameter("TemplateConfig", templateConfig);
|
||||
AddAITemplateRequest::~AddAITemplateRequest() {}
|
||||
|
||||
std::string AddAITemplateRequest::getTemplateConfig() const {
|
||||
return templateConfig_;
|
||||
}
|
||||
|
||||
std::string AddAITemplateRequest::getTemplateType()const
|
||||
{
|
||||
return templateType_;
|
||||
void AddAITemplateRequest::setTemplateConfig(const std::string &templateConfig) {
|
||||
templateConfig_ = templateConfig;
|
||||
setParameter(std::string("TemplateConfig"), templateConfig);
|
||||
}
|
||||
|
||||
void AddAITemplateRequest::setTemplateType(const std::string& templateType)
|
||||
{
|
||||
templateType_ = templateType;
|
||||
setParameter("TemplateType", templateType);
|
||||
std::string AddAITemplateRequest::getTemplateType() const {
|
||||
return templateType_;
|
||||
}
|
||||
|
||||
std::string AddAITemplateRequest::getTemplateName()const
|
||||
{
|
||||
return templateName_;
|
||||
void AddAITemplateRequest::setTemplateType(const std::string &templateType) {
|
||||
templateType_ = templateType;
|
||||
setParameter(std::string("TemplateType"), templateType);
|
||||
}
|
||||
|
||||
void AddAITemplateRequest::setTemplateName(const std::string& templateName)
|
||||
{
|
||||
templateName_ = templateName;
|
||||
setParameter("TemplateName", templateName);
|
||||
std::string AddAITemplateRequest::getTemplateName() const {
|
||||
return templateName_;
|
||||
}
|
||||
|
||||
void AddAITemplateRequest::setTemplateName(const std::string &templateName) {
|
||||
templateName_ = templateName;
|
||||
setParameter(std::string("TemplateName"), templateName);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddCategoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddCategoryRequest;
|
||||
|
||||
AddCategoryRequest::AddCategoryRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "AddCategory")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCategoryRequest::~AddCategoryRequest()
|
||||
{}
|
||||
|
||||
std::string AddCategoryRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddCategoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddCategoryRequest;
|
||||
|
||||
AddCategoryRequest::AddCategoryRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "AddCategory") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
AddCategoryRequest::~AddCategoryRequest() {}
|
||||
|
||||
std::string AddCategoryRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
long AddCategoryRequest::getParentId()const
|
||||
{
|
||||
return parentId_;
|
||||
void AddCategoryRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setParentId(long parentId)
|
||||
{
|
||||
parentId_ = parentId;
|
||||
setParameter("ParentId", std::to_string(parentId));
|
||||
long AddCategoryRequest::getParentId() const {
|
||||
return parentId_;
|
||||
}
|
||||
|
||||
std::string AddCategoryRequest::getCateName()const
|
||||
{
|
||||
return cateName_;
|
||||
void AddCategoryRequest::setParentId(long parentId) {
|
||||
parentId_ = parentId;
|
||||
setParameter(std::string("ParentId"), std::to_string(parentId));
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setCateName(const std::string& cateName)
|
||||
{
|
||||
cateName_ = cateName;
|
||||
setParameter("CateName", cateName);
|
||||
std::string AddCategoryRequest::getCateName() const {
|
||||
return cateName_;
|
||||
}
|
||||
|
||||
void AddCategoryRequest::setCateName(const std::string &cateName) {
|
||||
cateName_ = cateName;
|
||||
setParameter(std::string("CateName"), cateName);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,16 +40,16 @@ void AddCategoryResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto categoryNode = value["Category"];
|
||||
if(!categoryNode["CateId"].isNull())
|
||||
category_.cateId = std::stol(categoryNode["CateId"].asString());
|
||||
if(!categoryNode["CateName"].isNull())
|
||||
category_.cateName = categoryNode["CateName"].asString();
|
||||
if(!categoryNode["ParentId"].isNull())
|
||||
category_.parentId = std::stol(categoryNode["ParentId"].asString());
|
||||
if(!categoryNode["Level"].isNull())
|
||||
category_.level = std::stol(categoryNode["Level"].asString());
|
||||
if(!categoryNode["Type"].isNull())
|
||||
category_.type = categoryNode["Type"].asString();
|
||||
if(!categoryNode["ParentId"].isNull())
|
||||
category_.parentId = std::stol(categoryNode["ParentId"].asString());
|
||||
if(!categoryNode["CateName"].isNull())
|
||||
category_.cateName = categoryNode["CateName"].asString();
|
||||
if(!categoryNode["CateId"].isNull())
|
||||
category_.cateId = std::stol(categoryNode["CateId"].asString());
|
||||
if(!categoryNode["Level"].isNull())
|
||||
category_.level = std::stol(categoryNode["Level"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,161 +1,135 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddEditingProjectRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddEditingProjectRequest;
|
||||
|
||||
AddEditingProjectRequest::AddEditingProjectRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "AddEditingProject")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddEditingProjectRequest::~AddEditingProjectRequest()
|
||||
{}
|
||||
|
||||
std::string AddEditingProjectRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddEditingProjectRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddEditingProjectRequest;
|
||||
|
||||
AddEditingProjectRequest::AddEditingProjectRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "AddEditingProject") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setResourceOwnerId(const std::string& resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", resourceOwnerId);
|
||||
AddEditingProjectRequest::~AddEditingProjectRequest() {}
|
||||
|
||||
std::string AddEditingProjectRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
void AddEditingProjectRequest::setResourceOwnerId(const std::string &resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
std::string AddEditingProjectRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
void AddEditingProjectRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setParameter("Title", title);
|
||||
std::string AddEditingProjectRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void AddEditingProjectRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string AddEditingProjectRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getCoverURL()const
|
||||
{
|
||||
return coverURL_;
|
||||
void AddEditingProjectRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setCoverURL(const std::string& coverURL)
|
||||
{
|
||||
coverURL_ = coverURL;
|
||||
setParameter("CoverURL", coverURL);
|
||||
std::string AddEditingProjectRequest::getCoverURL() const {
|
||||
return coverURL_;
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getDivision()const
|
||||
{
|
||||
return division_;
|
||||
void AddEditingProjectRequest::setCoverURL(const std::string &coverURL) {
|
||||
coverURL_ = coverURL;
|
||||
setParameter(std::string("CoverURL"), coverURL);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setDivision(const std::string& division)
|
||||
{
|
||||
division_ = division;
|
||||
setParameter("Division", division);
|
||||
std::string AddEditingProjectRequest::getDivision() const {
|
||||
return division_;
|
||||
}
|
||||
|
||||
float AddEditingProjectRequest::getDuration()const
|
||||
{
|
||||
return duration_;
|
||||
void AddEditingProjectRequest::setDivision(const std::string &division) {
|
||||
division_ = division;
|
||||
setParameter(std::string("Division"), division);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setDuration(float duration)
|
||||
{
|
||||
duration_ = duration;
|
||||
setParameter("Duration", std::to_string(duration));
|
||||
float AddEditingProjectRequest::getDuration() const {
|
||||
return duration_;
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getFEExtend()const
|
||||
{
|
||||
return fEExtend_;
|
||||
void AddEditingProjectRequest::setDuration(float duration) {
|
||||
duration_ = duration;
|
||||
setParameter(std::string("Duration"), std::to_string(duration));
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setFEExtend(const std::string& fEExtend)
|
||||
{
|
||||
fEExtend_ = fEExtend;
|
||||
setParameter("FEExtend", fEExtend);
|
||||
std::string AddEditingProjectRequest::getFEExtend() const {
|
||||
return fEExtend_;
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void AddEditingProjectRequest::setFEExtend(const std::string &fEExtend) {
|
||||
fEExtend_ = fEExtend;
|
||||
setParameter(std::string("FEExtend"), fEExtend);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string AddEditingProjectRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void AddEditingProjectRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string AddEditingProjectRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddEditingProjectRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string AddEditingProjectRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddEditingProjectRequest::getTimeline()const
|
||||
{
|
||||
return timeline_;
|
||||
void AddEditingProjectRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setTimeline(const std::string& timeline)
|
||||
{
|
||||
timeline_ = timeline;
|
||||
setParameter("Timeline", timeline);
|
||||
std::string AddEditingProjectRequest::getTimeline() const {
|
||||
return timeline_;
|
||||
}
|
||||
|
||||
void AddEditingProjectRequest::setTimeline(const std::string &timeline) {
|
||||
timeline_ = timeline;
|
||||
setParameter(std::string("Timeline"), timeline);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,16 +40,16 @@ void AddEditingProjectResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto projectNode = value["Project"];
|
||||
if(!projectNode["ProjectId"].isNull())
|
||||
project_.projectId = projectNode["ProjectId"].asString();
|
||||
if(!projectNode["CreationTime"].isNull())
|
||||
project_.creationTime = projectNode["CreationTime"].asString();
|
||||
if(!projectNode["ModifiedTime"].isNull())
|
||||
project_.modifiedTime = projectNode["ModifiedTime"].asString();
|
||||
if(!projectNode["Status"].isNull())
|
||||
project_.status = projectNode["Status"].asString();
|
||||
if(!projectNode["ModifiedTime"].isNull())
|
||||
project_.modifiedTime = projectNode["ModifiedTime"].asString();
|
||||
if(!projectNode["Description"].isNull())
|
||||
project_.description = projectNode["Description"].asString();
|
||||
if(!projectNode["ProjectId"].isNull())
|
||||
project_.projectId = projectNode["ProjectId"].asString();
|
||||
if(!projectNode["Title"].isNull())
|
||||
project_.title = projectNode["Title"].asString();
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddTranscodeTemplateGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddTranscodeTemplateGroupRequest;
|
||||
|
||||
AddTranscodeTemplateGroupRequest::AddTranscodeTemplateGroupRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "AddTranscodeTemplateGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddTranscodeTemplateGroupRequest::~AddTranscodeTemplateGroupRequest()
|
||||
{}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getTranscodeTemplateList()const
|
||||
{
|
||||
return transcodeTemplateList_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddTranscodeTemplateGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddTranscodeTemplateGroupRequest;
|
||||
|
||||
AddTranscodeTemplateGroupRequest::AddTranscodeTemplateGroupRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "AddTranscodeTemplateGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setTranscodeTemplateList(const std::string& transcodeTemplateList)
|
||||
{
|
||||
transcodeTemplateList_ = transcodeTemplateList;
|
||||
setParameter("TranscodeTemplateList", transcodeTemplateList);
|
||||
AddTranscodeTemplateGroupRequest::~AddTranscodeTemplateGroupRequest() {}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getTranscodeTemplateList() const {
|
||||
return transcodeTemplateList_;
|
||||
}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void AddTranscodeTemplateGroupRequest::setTranscodeTemplateList(const std::string &transcodeTemplateList) {
|
||||
transcodeTemplateList_ = transcodeTemplateList;
|
||||
setParameter(std::string("TranscodeTemplateList"), transcodeTemplateList);
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string AddTranscodeTemplateGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId()const
|
||||
{
|
||||
return transcodeTemplateGroupId_;
|
||||
void AddTranscodeTemplateGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId)
|
||||
{
|
||||
transcodeTemplateGroupId_ = transcodeTemplateGroupId;
|
||||
setParameter("TranscodeTemplateGroupId", transcodeTemplateGroupId);
|
||||
std::string AddTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId() const {
|
||||
return transcodeTemplateGroupId_;
|
||||
}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void AddTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string &transcodeTemplateGroupId) {
|
||||
transcodeTemplateGroupId_ = transcodeTemplateGroupId;
|
||||
setParameter(std::string("TranscodeTemplateGroupId"), transcodeTemplateGroupId);
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string AddTranscodeTemplateGroupRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
std::string AddTranscodeTemplateGroupRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void AddTranscodeTemplateGroupRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string AddTranscodeTemplateGroupRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddTranscodeTemplateGroupRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddVodDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddVodDomainRequest;
|
||||
|
||||
AddVodDomainRequest::AddVodDomainRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "AddVodDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddVodDomainRequest::~AddVodDomainRequest()
|
||||
{}
|
||||
|
||||
std::string AddVodDomainRequest::getSources()const
|
||||
{
|
||||
return sources_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddVodDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddVodDomainRequest;
|
||||
|
||||
AddVodDomainRequest::AddVodDomainRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "AddVodDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setSources(const std::string& sources)
|
||||
{
|
||||
sources_ = sources;
|
||||
setParameter("Sources", sources);
|
||||
AddVodDomainRequest::~AddVodDomainRequest() {}
|
||||
|
||||
std::string AddVodDomainRequest::getSources() const {
|
||||
return sources_;
|
||||
}
|
||||
|
||||
std::string AddVodDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void AddVodDomainRequest::setSources(const std::string &sources) {
|
||||
sources_ = sources;
|
||||
setParameter(std::string("Sources"), sources);
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string AddVodDomainRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string AddVodDomainRequest::getScope()const
|
||||
{
|
||||
return scope_;
|
||||
void AddVodDomainRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setScope(const std::string& scope)
|
||||
{
|
||||
scope_ = scope;
|
||||
setParameter("Scope", scope);
|
||||
std::string AddVodDomainRequest::getScope() const {
|
||||
return scope_;
|
||||
}
|
||||
|
||||
std::string AddVodDomainRequest::getTopLevelDomain()const
|
||||
{
|
||||
return topLevelDomain_;
|
||||
void AddVodDomainRequest::setScope(const std::string &scope) {
|
||||
scope_ = scope;
|
||||
setParameter(std::string("Scope"), scope);
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setTopLevelDomain(const std::string& topLevelDomain)
|
||||
{
|
||||
topLevelDomain_ = topLevelDomain;
|
||||
setParameter("TopLevelDomain", topLevelDomain);
|
||||
std::string AddVodDomainRequest::getTopLevelDomain() const {
|
||||
return topLevelDomain_;
|
||||
}
|
||||
|
||||
std::string AddVodDomainRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void AddVodDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) {
|
||||
topLevelDomain_ = topLevelDomain;
|
||||
setParameter(std::string("TopLevelDomain"), topLevelDomain);
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string AddVodDomainRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string AddVodDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddVodDomainRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddVodDomainRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddVodDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddVodDomainRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddVodDomainRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddVodDomainRequest::getCheckUrl()const
|
||||
{
|
||||
return checkUrl_;
|
||||
void AddVodDomainRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setCheckUrl(const std::string& checkUrl)
|
||||
{
|
||||
checkUrl_ = checkUrl;
|
||||
setParameter("CheckUrl", checkUrl);
|
||||
std::string AddVodDomainRequest::getCheckUrl() const {
|
||||
return checkUrl_;
|
||||
}
|
||||
|
||||
void AddVodDomainRequest::setCheckUrl(const std::string &checkUrl) {
|
||||
checkUrl_ = checkUrl;
|
||||
setParameter(std::string("CheckUrl"), checkUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddVodTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddVodTemplateRequest;
|
||||
|
||||
AddVodTemplateRequest::AddVodTemplateRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "AddVodTemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddVodTemplateRequest::~AddVodTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string AddVodTemplateRequest::getSubTemplateType()const
|
||||
{
|
||||
return subTemplateType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddVodTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddVodTemplateRequest;
|
||||
|
||||
AddVodTemplateRequest::AddVodTemplateRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "AddVodTemplate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setSubTemplateType(const std::string& subTemplateType)
|
||||
{
|
||||
subTemplateType_ = subTemplateType;
|
||||
setParameter("SubTemplateType", subTemplateType);
|
||||
AddVodTemplateRequest::~AddVodTemplateRequest() {}
|
||||
|
||||
std::string AddVodTemplateRequest::getSubTemplateType() const {
|
||||
return subTemplateType_;
|
||||
}
|
||||
|
||||
std::string AddVodTemplateRequest::getTemplateConfig()const
|
||||
{
|
||||
return templateConfig_;
|
||||
void AddVodTemplateRequest::setSubTemplateType(const std::string &subTemplateType) {
|
||||
subTemplateType_ = subTemplateType;
|
||||
setParameter(std::string("SubTemplateType"), subTemplateType);
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setTemplateConfig(const std::string& templateConfig)
|
||||
{
|
||||
templateConfig_ = templateConfig;
|
||||
setParameter("TemplateConfig", templateConfig);
|
||||
std::string AddVodTemplateRequest::getTemplateConfig() const {
|
||||
return templateConfig_;
|
||||
}
|
||||
|
||||
std::string AddVodTemplateRequest::getTemplateType()const
|
||||
{
|
||||
return templateType_;
|
||||
void AddVodTemplateRequest::setTemplateConfig(const std::string &templateConfig) {
|
||||
templateConfig_ = templateConfig;
|
||||
setParameter(std::string("TemplateConfig"), templateConfig);
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setTemplateType(const std::string& templateType)
|
||||
{
|
||||
templateType_ = templateType;
|
||||
setParameter("TemplateType", templateType);
|
||||
std::string AddVodTemplateRequest::getTemplateType() const {
|
||||
return templateType_;
|
||||
}
|
||||
|
||||
std::string AddVodTemplateRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void AddVodTemplateRequest::setTemplateType(const std::string &templateType) {
|
||||
templateType_ = templateType;
|
||||
setParameter(std::string("TemplateType"), templateType);
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string AddVodTemplateRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
std::string AddVodTemplateRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void AddVodTemplateRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string AddVodTemplateRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddVodTemplateRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddWatermarkRequest;
|
||||
|
||||
AddWatermarkRequest::AddWatermarkRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "AddWatermark")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddWatermarkRequest::~AddWatermarkRequest()
|
||||
{}
|
||||
|
||||
std::string AddWatermarkRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AddWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AddWatermarkRequest;
|
||||
|
||||
AddWatermarkRequest::AddWatermarkRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "AddWatermark") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
AddWatermarkRequest::~AddWatermarkRequest() {}
|
||||
|
||||
std::string AddWatermarkRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void AddWatermarkRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string AddWatermarkRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getWatermarkConfig()const
|
||||
{
|
||||
return watermarkConfig_;
|
||||
void AddWatermarkRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setWatermarkConfig(const std::string& watermarkConfig)
|
||||
{
|
||||
watermarkConfig_ = watermarkConfig;
|
||||
setParameter("WatermarkConfig", watermarkConfig);
|
||||
std::string AddWatermarkRequest::getWatermarkConfig() const {
|
||||
return watermarkConfig_;
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void AddWatermarkRequest::setWatermarkConfig(const std::string &watermarkConfig) {
|
||||
watermarkConfig_ = watermarkConfig;
|
||||
setParameter(std::string("WatermarkConfig"), watermarkConfig);
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string AddWatermarkRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void AddWatermarkRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string AddWatermarkRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string AddWatermarkRequest::getFileUrl()const
|
||||
{
|
||||
return fileUrl_;
|
||||
void AddWatermarkRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setFileUrl(const std::string& fileUrl)
|
||||
{
|
||||
fileUrl_ = fileUrl;
|
||||
setParameter("FileUrl", fileUrl);
|
||||
std::string AddWatermarkRequest::getFileUrl() const {
|
||||
return fileUrl_;
|
||||
}
|
||||
|
||||
void AddWatermarkRequest::setFileUrl(const std::string &fileUrl) {
|
||||
fileUrl_ = fileUrl;
|
||||
setParameter(std::string("FileUrl"), fileUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -46,14 +46,14 @@ void AddWatermarkResult::parse(const std::string &payload)
|
||||
watermarkInfo_.type = watermarkInfoNode["Type"].asString();
|
||||
if(!watermarkInfoNode["IsDefault"].isNull())
|
||||
watermarkInfo_.isDefault = watermarkInfoNode["IsDefault"].asString();
|
||||
if(!watermarkInfoNode["WatermarkId"].isNull())
|
||||
watermarkInfo_.watermarkId = watermarkInfoNode["WatermarkId"].asString();
|
||||
if(!watermarkInfoNode["Name"].isNull())
|
||||
watermarkInfo_.name = watermarkInfoNode["Name"].asString();
|
||||
if(!watermarkInfoNode["FileUrl"].isNull())
|
||||
watermarkInfo_.fileUrl = watermarkInfoNode["FileUrl"].asString();
|
||||
if(!watermarkInfoNode["WatermarkConfig"].isNull())
|
||||
watermarkInfo_.watermarkConfig = watermarkInfoNode["WatermarkConfig"].asString();
|
||||
if(!watermarkInfoNode["Name"].isNull())
|
||||
watermarkInfo_.name = watermarkInfoNode["Name"].asString();
|
||||
if(!watermarkInfoNode["WatermarkId"].isNull())
|
||||
watermarkInfo_.watermarkId = watermarkInfoNode["WatermarkId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AttachAppPolicyToIdentityRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AttachAppPolicyToIdentityRequest;
|
||||
|
||||
AttachAppPolicyToIdentityRequest::AttachAppPolicyToIdentityRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "AttachAppPolicyToIdentity")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AttachAppPolicyToIdentityRequest::~AttachAppPolicyToIdentityRequest()
|
||||
{}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getPolicyNames()const
|
||||
{
|
||||
return policyNames_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/AttachAppPolicyToIdentityRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::AttachAppPolicyToIdentityRequest;
|
||||
|
||||
AttachAppPolicyToIdentityRequest::AttachAppPolicyToIdentityRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "AttachAppPolicyToIdentity") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setPolicyNames(const std::string& policyNames)
|
||||
{
|
||||
policyNames_ = policyNames;
|
||||
setParameter("PolicyNames", policyNames);
|
||||
AttachAppPolicyToIdentityRequest::~AttachAppPolicyToIdentityRequest() {}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getPolicyNames() const {
|
||||
return policyNames_;
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
void AttachAppPolicyToIdentityRequest::setPolicyNames(const std::string &policyNames) {
|
||||
policyNames_ = policyNames;
|
||||
setParameter(std::string("PolicyNames"), policyNames);
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setResourceRealOwnerId(const std::string& resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter("ResourceRealOwnerId", resourceRealOwnerId);
|
||||
std::string AttachAppPolicyToIdentityRequest::getResourceRealOwnerId() const {
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getIdentityName()const
|
||||
{
|
||||
return identityName_;
|
||||
void AttachAppPolicyToIdentityRequest::setResourceRealOwnerId(const std::string &resourceRealOwnerId) {
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter(std::string("ResourceRealOwnerId"), resourceRealOwnerId);
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setIdentityName(const std::string& identityName)
|
||||
{
|
||||
identityName_ = identityName;
|
||||
setParameter("IdentityName", identityName);
|
||||
std::string AttachAppPolicyToIdentityRequest::getIdentityName() const {
|
||||
return identityName_;
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getIdentityType()const
|
||||
{
|
||||
return identityType_;
|
||||
void AttachAppPolicyToIdentityRequest::setIdentityName(const std::string &identityName) {
|
||||
identityName_ = identityName;
|
||||
setParameter(std::string("IdentityName"), identityName);
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setIdentityType(const std::string& identityType)
|
||||
{
|
||||
identityType_ = identityType;
|
||||
setParameter("IdentityType", identityType);
|
||||
std::string AttachAppPolicyToIdentityRequest::getIdentityType() const {
|
||||
return identityType_;
|
||||
}
|
||||
|
||||
std::string AttachAppPolicyToIdentityRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void AttachAppPolicyToIdentityRequest::setIdentityType(const std::string &identityType) {
|
||||
identityType_ = identityType;
|
||||
setParameter(std::string("IdentityType"), identityType);
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string AttachAppPolicyToIdentityRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void AttachAppPolicyToIdentityRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/BatchSetVodDomainConfigsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::BatchSetVodDomainConfigsRequest;
|
||||
|
||||
BatchSetVodDomainConfigsRequest::BatchSetVodDomainConfigsRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "BatchSetVodDomainConfigs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchSetVodDomainConfigsRequest::~BatchSetVodDomainConfigsRequest()
|
||||
{}
|
||||
|
||||
std::string BatchSetVodDomainConfigsRequest::getFunctions()const
|
||||
{
|
||||
return functions_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/BatchSetVodDomainConfigsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::BatchSetVodDomainConfigsRequest;
|
||||
|
||||
BatchSetVodDomainConfigsRequest::BatchSetVodDomainConfigsRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "BatchSetVodDomainConfigs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void BatchSetVodDomainConfigsRequest::setFunctions(const std::string& functions)
|
||||
{
|
||||
functions_ = functions;
|
||||
setParameter("Functions", functions);
|
||||
BatchSetVodDomainConfigsRequest::~BatchSetVodDomainConfigsRequest() {}
|
||||
|
||||
std::string BatchSetVodDomainConfigsRequest::getFunctions() const {
|
||||
return functions_;
|
||||
}
|
||||
|
||||
std::string BatchSetVodDomainConfigsRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
void BatchSetVodDomainConfigsRequest::setFunctions(const std::string &functions) {
|
||||
functions_ = functions;
|
||||
setParameter(std::string("Functions"), functions);
|
||||
}
|
||||
|
||||
void BatchSetVodDomainConfigsRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setParameter("DomainNames", domainNames);
|
||||
std::string BatchSetVodDomainConfigsRequest::getDomainNames() const {
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
std::string BatchSetVodDomainConfigsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void BatchSetVodDomainConfigsRequest::setDomainNames(const std::string &domainNames) {
|
||||
domainNames_ = domainNames;
|
||||
setParameter(std::string("DomainNames"), domainNames);
|
||||
}
|
||||
|
||||
void BatchSetVodDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string BatchSetVodDomainConfigsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long BatchSetVodDomainConfigsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void BatchSetVodDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void BatchSetVodDomainConfigsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long BatchSetVodDomainConfigsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string BatchSetVodDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void BatchSetVodDomainConfigsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void BatchSetVodDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string BatchSetVodDomainConfigsRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchSetVodDomainConfigsRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/BatchStartVodDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::BatchStartVodDomainRequest;
|
||||
|
||||
BatchStartVodDomainRequest::BatchStartVodDomainRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "BatchStartVodDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchStartVodDomainRequest::~BatchStartVodDomainRequest()
|
||||
{}
|
||||
|
||||
std::string BatchStartVodDomainRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/BatchStartVodDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::BatchStartVodDomainRequest;
|
||||
|
||||
BatchStartVodDomainRequest::BatchStartVodDomainRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "BatchStartVodDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void BatchStartVodDomainRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setParameter("DomainNames", domainNames);
|
||||
BatchStartVodDomainRequest::~BatchStartVodDomainRequest() {}
|
||||
|
||||
std::string BatchStartVodDomainRequest::getDomainNames() const {
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
long BatchStartVodDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void BatchStartVodDomainRequest::setDomainNames(const std::string &domainNames) {
|
||||
domainNames_ = domainNames;
|
||||
setParameter(std::string("DomainNames"), domainNames);
|
||||
}
|
||||
|
||||
void BatchStartVodDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long BatchStartVodDomainRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string BatchStartVodDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void BatchStartVodDomainRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void BatchStartVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string BatchStartVodDomainRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchStartVodDomainRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/BatchStopVodDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::BatchStopVodDomainRequest;
|
||||
|
||||
BatchStopVodDomainRequest::BatchStopVodDomainRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "BatchStopVodDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchStopVodDomainRequest::~BatchStopVodDomainRequest()
|
||||
{}
|
||||
|
||||
std::string BatchStopVodDomainRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/BatchStopVodDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::BatchStopVodDomainRequest;
|
||||
|
||||
BatchStopVodDomainRequest::BatchStopVodDomainRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "BatchStopVodDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void BatchStopVodDomainRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setParameter("DomainNames", domainNames);
|
||||
BatchStopVodDomainRequest::~BatchStopVodDomainRequest() {}
|
||||
|
||||
std::string BatchStopVodDomainRequest::getDomainNames() const {
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
long BatchStopVodDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void BatchStopVodDomainRequest::setDomainNames(const std::string &domainNames) {
|
||||
domainNames_ = domainNames;
|
||||
setParameter(std::string("DomainNames"), domainNames);
|
||||
}
|
||||
|
||||
void BatchStopVodDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long BatchStopVodDomainRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string BatchStopVodDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void BatchStopVodDomainRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void BatchStopVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string BatchStopVodDomainRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchStopVodDomainRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CancelUrlUploadJobsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CancelUrlUploadJobsRequest;
|
||||
|
||||
CancelUrlUploadJobsRequest::CancelUrlUploadJobsRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "CancelUrlUploadJobs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelUrlUploadJobsRequest::~CancelUrlUploadJobsRequest()
|
||||
{}
|
||||
|
||||
std::string CancelUrlUploadJobsRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CancelUrlUploadJobsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CancelUrlUploadJobsRequest;
|
||||
|
||||
CancelUrlUploadJobsRequest::CancelUrlUploadJobsRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "CancelUrlUploadJobs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CancelUrlUploadJobsRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
CancelUrlUploadJobsRequest::~CancelUrlUploadJobsRequest() {}
|
||||
|
||||
std::string CancelUrlUploadJobsRequest::getJobIds() const {
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
std::string CancelUrlUploadJobsRequest::getUploadUrls()const
|
||||
{
|
||||
return uploadUrls_;
|
||||
void CancelUrlUploadJobsRequest::setJobIds(const std::string &jobIds) {
|
||||
jobIds_ = jobIds;
|
||||
setParameter(std::string("JobIds"), jobIds);
|
||||
}
|
||||
|
||||
void CancelUrlUploadJobsRequest::setUploadUrls(const std::string& uploadUrls)
|
||||
{
|
||||
uploadUrls_ = uploadUrls;
|
||||
setParameter("UploadUrls", uploadUrls);
|
||||
std::string CancelUrlUploadJobsRequest::getUploadUrls() const {
|
||||
return uploadUrls_;
|
||||
}
|
||||
|
||||
void CancelUrlUploadJobsRequest::setUploadUrls(const std::string &uploadUrls) {
|
||||
uploadUrls_ = uploadUrls;
|
||||
setParameter(std::string("UploadUrls"), uploadUrls);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CreateAppInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CreateAppInfoRequest;
|
||||
|
||||
CreateAppInfoRequest::CreateAppInfoRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "CreateAppInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateAppInfoRequest::~CreateAppInfoRequest()
|
||||
{}
|
||||
|
||||
std::string CreateAppInfoRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CreateAppInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CreateAppInfoRequest;
|
||||
|
||||
CreateAppInfoRequest::CreateAppInfoRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "CreateAppInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
CreateAppInfoRequest::~CreateAppInfoRequest() {}
|
||||
|
||||
std::string CreateAppInfoRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
long CreateAppInfoRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
void CreateAppInfoRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
long CreateAppInfoRequest::getResourceRealOwnerId() const {
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
std::string CreateAppInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CreateAppInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId) {
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CreateAppInfoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateAppInfoRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void CreateAppInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string CreateAppInfoRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void CreateAppInfoRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CreateAuditRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CreateAuditRequest;
|
||||
|
||||
CreateAuditRequest::CreateAuditRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "CreateAudit")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateAuditRequest::~CreateAuditRequest()
|
||||
{}
|
||||
|
||||
std::string CreateAuditRequest::getAuditContent()const
|
||||
{
|
||||
return auditContent_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CreateAuditRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CreateAuditRequest;
|
||||
|
||||
CreateAuditRequest::CreateAuditRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "CreateAudit") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateAuditRequest::setAuditContent(const std::string& auditContent)
|
||||
{
|
||||
auditContent_ = auditContent;
|
||||
setParameter("AuditContent", auditContent);
|
||||
CreateAuditRequest::~CreateAuditRequest() {}
|
||||
|
||||
std::string CreateAuditRequest::getAuditContent() const {
|
||||
return auditContent_;
|
||||
}
|
||||
|
||||
void CreateAuditRequest::setAuditContent(const std::string &auditContent) {
|
||||
auditContent_ = auditContent;
|
||||
setParameter(std::string("AuditContent"), auditContent);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,183 +1,153 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CreateUploadAttachedMediaRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CreateUploadAttachedMediaRequest;
|
||||
|
||||
CreateUploadAttachedMediaRequest::CreateUploadAttachedMediaRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "CreateUploadAttachedMedia")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateUploadAttachedMediaRequest::~CreateUploadAttachedMediaRequest()
|
||||
{}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getIcon()const
|
||||
{
|
||||
return icon_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CreateUploadAttachedMediaRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CreateUploadAttachedMediaRequest;
|
||||
|
||||
CreateUploadAttachedMediaRequest::CreateUploadAttachedMediaRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "CreateUploadAttachedMedia") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setIcon(const std::string& icon)
|
||||
{
|
||||
icon_ = icon;
|
||||
setParameter("Icon", icon);
|
||||
CreateUploadAttachedMediaRequest::~CreateUploadAttachedMediaRequest() {}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getIcon() const {
|
||||
return icon_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
void CreateUploadAttachedMediaRequest::setIcon(const std::string &icon) {
|
||||
icon_ = icon;
|
||||
setParameter(std::string("Icon"), icon);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
std::string CreateUploadAttachedMediaRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getFileSize()const
|
||||
{
|
||||
return fileSize_;
|
||||
void CreateUploadAttachedMediaRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setFileSize(const std::string& fileSize)
|
||||
{
|
||||
fileSize_ = fileSize;
|
||||
setParameter("FileSize", fileSize);
|
||||
std::string CreateUploadAttachedMediaRequest::getFileSize() const {
|
||||
return fileSize_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
void CreateUploadAttachedMediaRequest::setFileSize(const std::string &fileSize) {
|
||||
fileSize_ = fileSize;
|
||||
setParameter(std::string("FileSize"), fileSize);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setParameter("Title", title);
|
||||
std::string CreateUploadAttachedMediaRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CreateUploadAttachedMediaRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CreateUploadAttachedMediaRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getBusinessType()const
|
||||
{
|
||||
return businessType_;
|
||||
void CreateUploadAttachedMediaRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setBusinessType(const std::string& businessType)
|
||||
{
|
||||
businessType_ = businessType;
|
||||
setParameter("BusinessType", businessType);
|
||||
std::string CreateUploadAttachedMediaRequest::getBusinessType() const {
|
||||
return businessType_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getStorageLocation()const
|
||||
{
|
||||
return storageLocation_;
|
||||
void CreateUploadAttachedMediaRequest::setBusinessType(const std::string &businessType) {
|
||||
businessType_ = businessType;
|
||||
setParameter(std::string("BusinessType"), businessType);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setStorageLocation(const std::string& storageLocation)
|
||||
{
|
||||
storageLocation_ = storageLocation;
|
||||
setParameter("StorageLocation", storageLocation);
|
||||
std::string CreateUploadAttachedMediaRequest::getStorageLocation() const {
|
||||
return storageLocation_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getUserData()const
|
||||
{
|
||||
return userData_;
|
||||
void CreateUploadAttachedMediaRequest::setStorageLocation(const std::string &storageLocation) {
|
||||
storageLocation_ = storageLocation;
|
||||
setParameter(std::string("StorageLocation"), storageLocation);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setUserData(const std::string& userData)
|
||||
{
|
||||
userData_ = userData;
|
||||
setParameter("UserData", userData);
|
||||
std::string CreateUploadAttachedMediaRequest::getUserData() const {
|
||||
return userData_;
|
||||
}
|
||||
|
||||
long CreateUploadAttachedMediaRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
void CreateUploadAttachedMediaRequest::setUserData(const std::string &userData) {
|
||||
userData_ = userData;
|
||||
setParameter(std::string("UserData"), userData);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setParameter("CateId", std::to_string(cateId));
|
||||
long CreateUploadAttachedMediaRequest::getCateId() const {
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getCateIds()const
|
||||
{
|
||||
return cateIds_;
|
||||
void CreateUploadAttachedMediaRequest::setCateId(long cateId) {
|
||||
cateId_ = cateId;
|
||||
setParameter(std::string("CateId"), std::to_string(cateId));
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setCateIds(const std::string& cateIds)
|
||||
{
|
||||
cateIds_ = cateIds;
|
||||
setParameter("CateIds", cateIds);
|
||||
std::string CreateUploadAttachedMediaRequest::getCateIds() const {
|
||||
return cateIds_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
void CreateUploadAttachedMediaRequest::setCateIds(const std::string &cateIds) {
|
||||
cateIds_ = cateIds;
|
||||
setParameter(std::string("CateIds"), cateIds);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setParameter("Tags", tags);
|
||||
std::string CreateUploadAttachedMediaRequest::getTags() const {
|
||||
return tags_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getMediaExt()const
|
||||
{
|
||||
return mediaExt_;
|
||||
void CreateUploadAttachedMediaRequest::setTags(const std::string &tags) {
|
||||
tags_ = tags;
|
||||
setParameter(std::string("Tags"), tags);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setMediaExt(const std::string& mediaExt)
|
||||
{
|
||||
mediaExt_ = mediaExt;
|
||||
setParameter("MediaExt", mediaExt);
|
||||
std::string CreateUploadAttachedMediaRequest::getMediaExt() const {
|
||||
return mediaExt_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getFileName()const
|
||||
{
|
||||
return fileName_;
|
||||
void CreateUploadAttachedMediaRequest::setMediaExt(const std::string &mediaExt) {
|
||||
mediaExt_ = mediaExt;
|
||||
setParameter(std::string("MediaExt"), mediaExt);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setFileName(const std::string& fileName)
|
||||
{
|
||||
fileName_ = fileName;
|
||||
setParameter("FileName", fileName);
|
||||
std::string CreateUploadAttachedMediaRequest::getFileName() const {
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
std::string CreateUploadAttachedMediaRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void CreateUploadAttachedMediaRequest::setFileName(const std::string &fileName) {
|
||||
fileName_ = fileName;
|
||||
setParameter(std::string("FileName"), fileName);
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string CreateUploadAttachedMediaRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateUploadAttachedMediaRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,16 +39,16 @@ void CreateUploadAttachedMediaResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["FileURL"].isNull())
|
||||
fileURL_ = value["FileURL"].asString();
|
||||
if(!value["UploadAddress"].isNull())
|
||||
uploadAddress_ = value["UploadAddress"].asString();
|
||||
if(!value["MediaId"].isNull())
|
||||
mediaId_ = value["MediaId"].asString();
|
||||
if(!value["MediaURL"].isNull())
|
||||
mediaURL_ = value["MediaURL"].asString();
|
||||
if(!value["UploadAddress"].isNull())
|
||||
uploadAddress_ = value["UploadAddress"].asString();
|
||||
if(!value["UploadAuth"].isNull())
|
||||
uploadAuth_ = value["UploadAuth"].asString();
|
||||
if(!value["FileURL"].isNull())
|
||||
fileURL_ = value["FileURL"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,150 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CreateUploadImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CreateUploadImageRequest;
|
||||
|
||||
CreateUploadImageRequest::CreateUploadImageRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "CreateUploadImage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateUploadImageRequest::~CreateUploadImageRequest()
|
||||
{}
|
||||
|
||||
std::string CreateUploadImageRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CreateUploadImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CreateUploadImageRequest;
|
||||
|
||||
CreateUploadImageRequest::CreateUploadImageRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "CreateUploadImage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
CreateUploadImageRequest::~CreateUploadImageRequest() {}
|
||||
|
||||
std::string CreateUploadImageRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
void CreateUploadImageRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setParameter("Title", title);
|
||||
std::string CreateUploadImageRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CreateUploadImageRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CreateUploadImageRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getStorageLocation()const
|
||||
{
|
||||
return storageLocation_;
|
||||
void CreateUploadImageRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setStorageLocation(const std::string& storageLocation)
|
||||
{
|
||||
storageLocation_ = storageLocation;
|
||||
setParameter("StorageLocation", storageLocation);
|
||||
std::string CreateUploadImageRequest::getStorageLocation() const {
|
||||
return storageLocation_;
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getUserData()const
|
||||
{
|
||||
return userData_;
|
||||
void CreateUploadImageRequest::setStorageLocation(const std::string &storageLocation) {
|
||||
storageLocation_ = storageLocation;
|
||||
setParameter(std::string("StorageLocation"), storageLocation);
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setUserData(const std::string& userData)
|
||||
{
|
||||
userData_ = userData;
|
||||
setParameter("UserData", userData);
|
||||
std::string CreateUploadImageRequest::getUserData() const {
|
||||
return userData_;
|
||||
}
|
||||
|
||||
long CreateUploadImageRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
void CreateUploadImageRequest::setUserData(const std::string &userData) {
|
||||
userData_ = userData;
|
||||
setParameter(std::string("UserData"), userData);
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setParameter("CateId", std::to_string(cateId));
|
||||
long CreateUploadImageRequest::getCateId() const {
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getImageType()const
|
||||
{
|
||||
return imageType_;
|
||||
void CreateUploadImageRequest::setCateId(long cateId) {
|
||||
cateId_ = cateId;
|
||||
setParameter(std::string("CateId"), std::to_string(cateId));
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setImageType(const std::string& imageType)
|
||||
{
|
||||
imageType_ = imageType;
|
||||
setParameter("ImageType", imageType);
|
||||
std::string CreateUploadImageRequest::getImageType() const {
|
||||
return imageType_;
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getImageExt()const
|
||||
{
|
||||
return imageExt_;
|
||||
void CreateUploadImageRequest::setImageType(const std::string &imageType) {
|
||||
imageType_ = imageType;
|
||||
setParameter(std::string("ImageType"), imageType);
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setImageExt(const std::string& imageExt)
|
||||
{
|
||||
imageExt_ = imageExt;
|
||||
setParameter("ImageExt", imageExt);
|
||||
std::string CreateUploadImageRequest::getImageExt() const {
|
||||
return imageExt_;
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
void CreateUploadImageRequest::setImageExt(const std::string &imageExt) {
|
||||
imageExt_ = imageExt;
|
||||
setParameter(std::string("ImageExt"), imageExt);
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setParameter("Tags", tags);
|
||||
std::string CreateUploadImageRequest::getTags() const {
|
||||
return tags_;
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getOriginalFileName()const
|
||||
{
|
||||
return originalFileName_;
|
||||
void CreateUploadImageRequest::setTags(const std::string &tags) {
|
||||
tags_ = tags;
|
||||
setParameter(std::string("Tags"), tags);
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setOriginalFileName(const std::string& originalFileName)
|
||||
{
|
||||
originalFileName_ = originalFileName;
|
||||
setParameter("OriginalFileName", originalFileName);
|
||||
std::string CreateUploadImageRequest::getOriginalFileName() const {
|
||||
return originalFileName_;
|
||||
}
|
||||
|
||||
std::string CreateUploadImageRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void CreateUploadImageRequest::setOriginalFileName(const std::string &originalFileName) {
|
||||
originalFileName_ = originalFileName;
|
||||
setParameter(std::string("OriginalFileName"), originalFileName);
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string CreateUploadImageRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateUploadImageRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,16 +39,16 @@ void CreateUploadImageResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ImageId"].isNull())
|
||||
imageId_ = value["ImageId"].asString();
|
||||
if(!value["ImageURL"].isNull())
|
||||
imageURL_ = value["ImageURL"].asString();
|
||||
if(!value["UploadAddress"].isNull())
|
||||
uploadAddress_ = value["UploadAddress"].asString();
|
||||
if(!value["UploadAuth"].isNull())
|
||||
uploadAuth_ = value["UploadAuth"].asString();
|
||||
if(!value["FileURL"].isNull())
|
||||
fileURL_ = value["FileURL"].asString();
|
||||
if(!value["UploadAddress"].isNull())
|
||||
uploadAddress_ = value["UploadAddress"].asString();
|
||||
if(!value["ImageURL"].isNull())
|
||||
imageURL_ = value["ImageURL"].asString();
|
||||
if(!value["ImageId"].isNull())
|
||||
imageId_ = value["ImageId"].asString();
|
||||
if(!value["UploadAuth"].isNull())
|
||||
uploadAuth_ = value["UploadAuth"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,194 +1,162 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CreateUploadVideoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CreateUploadVideoRequest;
|
||||
|
||||
CreateUploadVideoRequest::CreateUploadVideoRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "CreateUploadVideo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateUploadVideoRequest::~CreateUploadVideoRequest()
|
||||
{}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTranscodeMode()const
|
||||
{
|
||||
return transcodeMode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/CreateUploadVideoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::CreateUploadVideoRequest;
|
||||
|
||||
CreateUploadVideoRequest::CreateUploadVideoRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "CreateUploadVideo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setTranscodeMode(const std::string& transcodeMode)
|
||||
{
|
||||
transcodeMode_ = transcodeMode;
|
||||
setParameter("TranscodeMode", transcodeMode);
|
||||
CreateUploadVideoRequest::~CreateUploadVideoRequest() {}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTranscodeMode() const {
|
||||
return transcodeMode_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
void CreateUploadVideoRequest::setTranscodeMode(const std::string &transcodeMode) {
|
||||
transcodeMode_ = transcodeMode;
|
||||
setParameter(std::string("TranscodeMode"), transcodeMode);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
std::string CreateUploadVideoRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
long CreateUploadVideoRequest::getFileSize()const
|
||||
{
|
||||
return fileSize_;
|
||||
void CreateUploadVideoRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setFileSize(long fileSize)
|
||||
{
|
||||
fileSize_ = fileSize;
|
||||
setParameter("FileSize", std::to_string(fileSize));
|
||||
long CreateUploadVideoRequest::getFileSize() const {
|
||||
return fileSize_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
void CreateUploadVideoRequest::setFileSize(long fileSize) {
|
||||
fileSize_ = fileSize;
|
||||
setParameter(std::string("FileSize"), std::to_string(fileSize));
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setParameter("Title", title);
|
||||
std::string CreateUploadVideoRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getStorageLocation()const
|
||||
{
|
||||
return storageLocation_;
|
||||
void CreateUploadVideoRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setStorageLocation(const std::string& storageLocation)
|
||||
{
|
||||
storageLocation_ = storageLocation;
|
||||
setParameter("StorageLocation", storageLocation);
|
||||
std::string CreateUploadVideoRequest::getStorageLocation() const {
|
||||
return storageLocation_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getCoverURL()const
|
||||
{
|
||||
return coverURL_;
|
||||
void CreateUploadVideoRequest::setStorageLocation(const std::string &storageLocation) {
|
||||
storageLocation_ = storageLocation;
|
||||
setParameter(std::string("StorageLocation"), storageLocation);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setCoverURL(const std::string& coverURL)
|
||||
{
|
||||
coverURL_ = coverURL;
|
||||
setParameter("CoverURL", coverURL);
|
||||
std::string CreateUploadVideoRequest::getCoverURL() const {
|
||||
return coverURL_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getUserData()const
|
||||
{
|
||||
return userData_;
|
||||
void CreateUploadVideoRequest::setCoverURL(const std::string &coverURL) {
|
||||
coverURL_ = coverURL;
|
||||
setParameter(std::string("CoverURL"), coverURL);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setUserData(const std::string& userData)
|
||||
{
|
||||
userData_ = userData;
|
||||
setParameter("UserData", userData);
|
||||
std::string CreateUploadVideoRequest::getUserData() const {
|
||||
return userData_;
|
||||
}
|
||||
|
||||
long CreateUploadVideoRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
void CreateUploadVideoRequest::setUserData(const std::string &userData) {
|
||||
userData_ = userData;
|
||||
setParameter(std::string("UserData"), userData);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setParameter("CateId", std::to_string(cateId));
|
||||
long CreateUploadVideoRequest::getCateId() const {
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getWorkflowId()const
|
||||
{
|
||||
return workflowId_;
|
||||
void CreateUploadVideoRequest::setCateId(long cateId) {
|
||||
cateId_ = cateId;
|
||||
setParameter(std::string("CateId"), std::to_string(cateId));
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setWorkflowId(const std::string& workflowId)
|
||||
{
|
||||
workflowId_ = workflowId;
|
||||
setParameter("WorkflowId", workflowId);
|
||||
std::string CreateUploadVideoRequest::getWorkflowId() const {
|
||||
return workflowId_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getCustomMediaInfo()const
|
||||
{
|
||||
return customMediaInfo_;
|
||||
void CreateUploadVideoRequest::setWorkflowId(const std::string &workflowId) {
|
||||
workflowId_ = workflowId;
|
||||
setParameter(std::string("WorkflowId"), workflowId);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setCustomMediaInfo(const std::string& customMediaInfo)
|
||||
{
|
||||
customMediaInfo_ = customMediaInfo;
|
||||
setParameter("CustomMediaInfo", customMediaInfo);
|
||||
std::string CreateUploadVideoRequest::getCustomMediaInfo() const {
|
||||
return customMediaInfo_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getIP()const
|
||||
{
|
||||
return iP_;
|
||||
void CreateUploadVideoRequest::setCustomMediaInfo(const std::string &customMediaInfo) {
|
||||
customMediaInfo_ = customMediaInfo;
|
||||
setParameter(std::string("CustomMediaInfo"), customMediaInfo);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setIP(const std::string& iP)
|
||||
{
|
||||
iP_ = iP;
|
||||
setParameter("IP", iP);
|
||||
std::string CreateUploadVideoRequest::getIP() const {
|
||||
return iP_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
void CreateUploadVideoRequest::setIP(const std::string &iP) {
|
||||
iP_ = iP;
|
||||
setParameter(std::string("IP"), iP);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setTags(const std::string& tags)
|
||||
{
|
||||
tags_ = tags;
|
||||
setParameter("Tags", tags);
|
||||
std::string CreateUploadVideoRequest::getTags() const {
|
||||
return tags_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getFileName()const
|
||||
{
|
||||
return fileName_;
|
||||
void CreateUploadVideoRequest::setTags(const std::string &tags) {
|
||||
tags_ = tags;
|
||||
setParameter(std::string("Tags"), tags);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setFileName(const std::string& fileName)
|
||||
{
|
||||
fileName_ = fileName;
|
||||
setParameter("FileName", fileName);
|
||||
std::string CreateUploadVideoRequest::getFileName() const {
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getTemplateGroupId()const
|
||||
{
|
||||
return templateGroupId_;
|
||||
void CreateUploadVideoRequest::setFileName(const std::string &fileName) {
|
||||
fileName_ = fileName;
|
||||
setParameter(std::string("FileName"), fileName);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setTemplateGroupId(const std::string& templateGroupId)
|
||||
{
|
||||
templateGroupId_ = templateGroupId;
|
||||
setParameter("TemplateGroupId", templateGroupId);
|
||||
std::string CreateUploadVideoRequest::getTemplateGroupId() const {
|
||||
return templateGroupId_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void CreateUploadVideoRequest::setTemplateGroupId(const std::string &templateGroupId) {
|
||||
templateGroupId_ = templateGroupId;
|
||||
setParameter(std::string("TemplateGroupId"), templateGroupId);
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string CreateUploadVideoRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateUploadVideoRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,25 +39,25 @@ void CreateUploadVideoResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["VideoId"].isNull())
|
||||
videoId_ = value["VideoId"].asString();
|
||||
if(!value["UploadAddress"].isNull())
|
||||
uploadAddress_ = value["UploadAddress"].asString();
|
||||
if(!value["VideoId"].isNull())
|
||||
videoId_ = value["VideoId"].asString();
|
||||
if(!value["UploadAuth"].isNull())
|
||||
uploadAuth_ = value["UploadAuth"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoResult::getVideoId()const
|
||||
{
|
||||
return videoId_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoResult::getUploadAddress()const
|
||||
{
|
||||
return uploadAddress_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoResult::getVideoId()const
|
||||
{
|
||||
return videoId_;
|
||||
}
|
||||
|
||||
std::string CreateUploadVideoResult::getUploadAuth()const
|
||||
{
|
||||
return uploadAuth_;
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteAIImageInfosRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteAIImageInfosRequest;
|
||||
|
||||
DeleteAIImageInfosRequest::DeleteAIImageInfosRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteAIImageInfos")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteAIImageInfosRequest::~DeleteAIImageInfosRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteAIImageInfosRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteAIImageInfosRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteAIImageInfosRequest;
|
||||
|
||||
DeleteAIImageInfosRequest::DeleteAIImageInfosRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteAIImageInfos") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteAIImageInfosRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
DeleteAIImageInfosRequest::~DeleteAIImageInfosRequest() {}
|
||||
|
||||
std::string DeleteAIImageInfosRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteAIImageInfosRequest::getAIImageInfoIds()const
|
||||
{
|
||||
return aIImageInfoIds_;
|
||||
void DeleteAIImageInfosRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteAIImageInfosRequest::setAIImageInfoIds(const std::string& aIImageInfoIds)
|
||||
{
|
||||
aIImageInfoIds_ = aIImageInfoIds;
|
||||
setParameter("AIImageInfoIds", aIImageInfoIds);
|
||||
std::string DeleteAIImageInfosRequest::getAIImageInfoIds() const {
|
||||
return aIImageInfoIds_;
|
||||
}
|
||||
|
||||
void DeleteAIImageInfosRequest::setAIImageInfoIds(const std::string &aIImageInfoIds) {
|
||||
aIImageInfoIds_ = aIImageInfoIds;
|
||||
setParameter(std::string("AIImageInfoIds"), aIImageInfoIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteAITemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteAITemplateRequest;
|
||||
|
||||
DeleteAITemplateRequest::DeleteAITemplateRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteAITemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteAITemplateRequest::~DeleteAITemplateRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteAITemplateRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteAITemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteAITemplateRequest;
|
||||
|
||||
DeleteAITemplateRequest::DeleteAITemplateRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteAITemplate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteAITemplateRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", templateId);
|
||||
DeleteAITemplateRequest::~DeleteAITemplateRequest() {}
|
||||
|
||||
std::string DeleteAITemplateRequest::getTemplateId() const {
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void DeleteAITemplateRequest::setTemplateId(const std::string &templateId) {
|
||||
templateId_ = templateId;
|
||||
setParameter(std::string("TemplateId"), templateId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteAppInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteAppInfoRequest;
|
||||
|
||||
DeleteAppInfoRequest::DeleteAppInfoRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteAppInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteAppInfoRequest::~DeleteAppInfoRequest()
|
||||
{}
|
||||
|
||||
long DeleteAppInfoRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteAppInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteAppInfoRequest;
|
||||
|
||||
DeleteAppInfoRequest::DeleteAppInfoRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteAppInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteAppInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
DeleteAppInfoRequest::~DeleteAppInfoRequest() {}
|
||||
|
||||
long DeleteAppInfoRequest::getResourceRealOwnerId() const {
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
std::string DeleteAppInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DeleteAppInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId) {
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
void DeleteAppInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DeleteAppInfoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteAppInfoRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void DeleteAppInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteAppInfoRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string DeleteAppInfoRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteAppInfoRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteAttachedMediaRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteAttachedMediaRequest;
|
||||
|
||||
DeleteAttachedMediaRequest::DeleteAttachedMediaRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteAttachedMedia")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteAttachedMediaRequest::~DeleteAttachedMediaRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteAttachedMediaRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteAttachedMediaRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteAttachedMediaRequest;
|
||||
|
||||
DeleteAttachedMediaRequest::DeleteAttachedMediaRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteAttachedMedia") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteAttachedMediaRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
DeleteAttachedMediaRequest::~DeleteAttachedMediaRequest() {}
|
||||
|
||||
std::string DeleteAttachedMediaRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteAttachedMediaRequest::getMediaIds()const
|
||||
{
|
||||
return mediaIds_;
|
||||
void DeleteAttachedMediaRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteAttachedMediaRequest::setMediaIds(const std::string& mediaIds)
|
||||
{
|
||||
mediaIds_ = mediaIds;
|
||||
setParameter("MediaIds", mediaIds);
|
||||
std::string DeleteAttachedMediaRequest::getMediaIds() const {
|
||||
return mediaIds_;
|
||||
}
|
||||
|
||||
void DeleteAttachedMediaRequest::setMediaIds(const std::string &mediaIds) {
|
||||
mediaIds_ = mediaIds;
|
||||
setParameter(std::string("MediaIds"), mediaIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteCategoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteCategoryRequest;
|
||||
|
||||
DeleteCategoryRequest::DeleteCategoryRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteCategory")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCategoryRequest::~DeleteCategoryRequest()
|
||||
{}
|
||||
|
||||
long DeleteCategoryRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteCategoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteCategoryRequest;
|
||||
|
||||
DeleteCategoryRequest::DeleteCategoryRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteCategory") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCategoryRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setParameter("CateId", std::to_string(cateId));
|
||||
DeleteCategoryRequest::~DeleteCategoryRequest() {}
|
||||
|
||||
long DeleteCategoryRequest::getCateId() const {
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
void DeleteCategoryRequest::setCateId(long cateId) {
|
||||
cateId_ = cateId;
|
||||
setParameter(std::string("CateId"), std::to_string(cateId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteDynamicImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteDynamicImageRequest;
|
||||
|
||||
DeleteDynamicImageRequest::DeleteDynamicImageRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteDynamicImage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDynamicImageRequest::~DeleteDynamicImageRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDynamicImageRequest::getVideoId()const
|
||||
{
|
||||
return videoId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteDynamicImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteDynamicImageRequest;
|
||||
|
||||
DeleteDynamicImageRequest::DeleteDynamicImageRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteDynamicImage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteDynamicImageRequest::setVideoId(const std::string& videoId)
|
||||
{
|
||||
videoId_ = videoId;
|
||||
setParameter("VideoId", videoId);
|
||||
DeleteDynamicImageRequest::~DeleteDynamicImageRequest() {}
|
||||
|
||||
std::string DeleteDynamicImageRequest::getVideoId() const {
|
||||
return videoId_;
|
||||
}
|
||||
|
||||
std::string DeleteDynamicImageRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DeleteDynamicImageRequest::setVideoId(const std::string &videoId) {
|
||||
videoId_ = videoId;
|
||||
setParameter(std::string("VideoId"), videoId);
|
||||
}
|
||||
|
||||
void DeleteDynamicImageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DeleteDynamicImageRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDynamicImageRequest::getDynamicImageIds()const
|
||||
{
|
||||
return dynamicImageIds_;
|
||||
void DeleteDynamicImageRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteDynamicImageRequest::setDynamicImageIds(const std::string& dynamicImageIds)
|
||||
{
|
||||
dynamicImageIds_ = dynamicImageIds;
|
||||
setParameter("DynamicImageIds", dynamicImageIds);
|
||||
std::string DeleteDynamicImageRequest::getDynamicImageIds() const {
|
||||
return dynamicImageIds_;
|
||||
}
|
||||
|
||||
void DeleteDynamicImageRequest::setDynamicImageIds(const std::string &dynamicImageIds) {
|
||||
dynamicImageIds_ = dynamicImageIds;
|
||||
setParameter(std::string("DynamicImageIds"), dynamicImageIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteEditingProjectRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteEditingProjectRequest;
|
||||
|
||||
DeleteEditingProjectRequest::DeleteEditingProjectRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteEditingProject")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteEditingProjectRequest::~DeleteEditingProjectRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteEditingProjectRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteEditingProjectRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteEditingProjectRequest;
|
||||
|
||||
DeleteEditingProjectRequest::DeleteEditingProjectRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteEditingProject") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteEditingProjectRequest::setResourceOwnerId(const std::string& resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", resourceOwnerId);
|
||||
DeleteEditingProjectRequest::~DeleteEditingProjectRequest() {}
|
||||
|
||||
std::string DeleteEditingProjectRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string DeleteEditingProjectRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteEditingProjectRequest::setResourceOwnerId(const std::string &resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
|
||||
}
|
||||
|
||||
void DeleteEditingProjectRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string DeleteEditingProjectRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteEditingProjectRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void DeleteEditingProjectRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteEditingProjectRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string DeleteEditingProjectRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteEditingProjectRequest::getProjectIds()const
|
||||
{
|
||||
return projectIds_;
|
||||
void DeleteEditingProjectRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteEditingProjectRequest::setProjectIds(const std::string& projectIds)
|
||||
{
|
||||
projectIds_ = projectIds;
|
||||
setParameter("ProjectIds", projectIds);
|
||||
std::string DeleteEditingProjectRequest::getProjectIds() const {
|
||||
return projectIds_;
|
||||
}
|
||||
|
||||
std::string DeleteEditingProjectRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteEditingProjectRequest::setProjectIds(const std::string &projectIds) {
|
||||
projectIds_ = projectIds;
|
||||
setParameter(std::string("ProjectIds"), projectIds);
|
||||
}
|
||||
|
||||
void DeleteEditingProjectRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DeleteEditingProjectRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteEditingProjectRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DeleteEditingProjectRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DeleteEditingProjectRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DeleteEditingProjectRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteEditingProjectRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteImageRequest;
|
||||
|
||||
DeleteImageRequest::DeleteImageRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteImage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteImageRequest::~DeleteImageRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteImageRequest::getImageURLs()const
|
||||
{
|
||||
return imageURLs_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteImageRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteImageRequest;
|
||||
|
||||
DeleteImageRequest::DeleteImageRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteImage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setImageURLs(const std::string& imageURLs)
|
||||
{
|
||||
imageURLs_ = imageURLs;
|
||||
setParameter("ImageURLs", imageURLs);
|
||||
DeleteImageRequest::~DeleteImageRequest() {}
|
||||
|
||||
std::string DeleteImageRequest::getImageURLs() const {
|
||||
return imageURLs_;
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DeleteImageRequest::setImageURLs(const std::string &imageURLs) {
|
||||
imageURLs_ = imageURLs;
|
||||
setParameter(std::string("ImageURLs"), imageURLs);
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DeleteImageRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getImageType()const
|
||||
{
|
||||
return imageType_;
|
||||
void DeleteImageRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setImageType(const std::string& imageType)
|
||||
{
|
||||
imageType_ = imageType;
|
||||
setParameter("ImageType", imageType);
|
||||
std::string DeleteImageRequest::getImageType() const {
|
||||
return imageType_;
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getVideoId()const
|
||||
{
|
||||
return videoId_;
|
||||
void DeleteImageRequest::setImageType(const std::string &imageType) {
|
||||
imageType_ = imageType;
|
||||
setParameter(std::string("ImageType"), imageType);
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setVideoId(const std::string& videoId)
|
||||
{
|
||||
videoId_ = videoId;
|
||||
setParameter("VideoId", videoId);
|
||||
std::string DeleteImageRequest::getVideoId() const {
|
||||
return videoId_;
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getDeleteImageType()const
|
||||
{
|
||||
return deleteImageType_;
|
||||
void DeleteImageRequest::setVideoId(const std::string &videoId) {
|
||||
videoId_ = videoId;
|
||||
setParameter(std::string("VideoId"), videoId);
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setDeleteImageType(const std::string& deleteImageType)
|
||||
{
|
||||
deleteImageType_ = deleteImageType;
|
||||
setParameter("DeleteImageType", deleteImageType);
|
||||
std::string DeleteImageRequest::getDeleteImageType() const {
|
||||
return deleteImageType_;
|
||||
}
|
||||
|
||||
std::string DeleteImageRequest::getImageIds()const
|
||||
{
|
||||
return imageIds_;
|
||||
void DeleteImageRequest::setDeleteImageType(const std::string &deleteImageType) {
|
||||
deleteImageType_ = deleteImageType;
|
||||
setParameter(std::string("DeleteImageType"), deleteImageType);
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setImageIds(const std::string& imageIds)
|
||||
{
|
||||
imageIds_ = imageIds;
|
||||
setParameter("ImageIds", imageIds);
|
||||
std::string DeleteImageRequest::getImageIds() const {
|
||||
return imageIds_;
|
||||
}
|
||||
|
||||
void DeleteImageRequest::setImageIds(const std::string &imageIds) {
|
||||
imageIds_ = imageIds;
|
||||
setParameter(std::string("ImageIds"), imageIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteMessageCallbackRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteMessageCallbackRequest;
|
||||
|
||||
DeleteMessageCallbackRequest::DeleteMessageCallbackRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteMessageCallback")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMessageCallbackRequest::~DeleteMessageCallbackRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteMessageCallbackRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteMessageCallbackRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteMessageCallbackRequest;
|
||||
|
||||
DeleteMessageCallbackRequest::DeleteMessageCallbackRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteMessageCallback") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteMessageCallbackRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
DeleteMessageCallbackRequest::~DeleteMessageCallbackRequest() {}
|
||||
|
||||
std::string DeleteMessageCallbackRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long DeleteMessageCallbackRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
void DeleteMessageCallbackRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteMessageCallbackRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
long DeleteMessageCallbackRequest::getResourceRealOwnerId() const {
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
std::string DeleteMessageCallbackRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DeleteMessageCallbackRequest::setResourceRealOwnerId(long resourceRealOwnerId) {
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
void DeleteMessageCallbackRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DeleteMessageCallbackRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteMessageCallbackRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void DeleteMessageCallbackRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteMessageCallbackRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string DeleteMessageCallbackRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteMessageCallbackRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteMezzaninesRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteMezzaninesRequest;
|
||||
|
||||
DeleteMezzaninesRequest::DeleteMezzaninesRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteMezzanines")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMezzaninesRequest::~DeleteMezzaninesRequest()
|
||||
{}
|
||||
|
||||
bool DeleteMezzaninesRequest::getForce()const
|
||||
{
|
||||
return force_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteMezzaninesRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteMezzaninesRequest;
|
||||
|
||||
DeleteMezzaninesRequest::DeleteMezzaninesRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteMezzanines") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteMezzaninesRequest::setForce(bool force)
|
||||
{
|
||||
force_ = force;
|
||||
setParameter("Force", force ? "true" : "false");
|
||||
DeleteMezzaninesRequest::~DeleteMezzaninesRequest() {}
|
||||
|
||||
bool DeleteMezzaninesRequest::getForce() const {
|
||||
return force_;
|
||||
}
|
||||
|
||||
std::string DeleteMezzaninesRequest::getVideoIds()const
|
||||
{
|
||||
return videoIds_;
|
||||
void DeleteMezzaninesRequest::setForce(bool force) {
|
||||
force_ = force;
|
||||
setParameter(std::string("Force"), force ? "true" : "false");
|
||||
}
|
||||
|
||||
void DeleteMezzaninesRequest::setVideoIds(const std::string& videoIds)
|
||||
{
|
||||
videoIds_ = videoIds;
|
||||
setParameter("VideoIds", videoIds);
|
||||
std::string DeleteMezzaninesRequest::getVideoIds() const {
|
||||
return videoIds_;
|
||||
}
|
||||
|
||||
void DeleteMezzaninesRequest::setVideoIds(const std::string &videoIds) {
|
||||
videoIds_ = videoIds;
|
||||
setParameter(std::string("VideoIds"), videoIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteMezzaninesResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNonExistVideoIds = value["NonExistVideoIds"]["VideoId"];
|
||||
for (const auto &item : allNonExistVideoIds)
|
||||
nonExistVideoIds_.push_back(item.asString());
|
||||
auto allUnRemoveableVideoIds = value["UnRemoveableVideoIds"]["VideoId"];
|
||||
for (const auto &item : allUnRemoveableVideoIds)
|
||||
unRemoveableVideoIds_.push_back(item.asString());
|
||||
auto allNonExistVideoIds = value["NonExistVideoIds"]["VideoId"];
|
||||
for (const auto &item : allNonExistVideoIds)
|
||||
nonExistVideoIds_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteMultipartUploadRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteMultipartUploadRequest;
|
||||
|
||||
DeleteMultipartUploadRequest::DeleteMultipartUploadRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteMultipartUpload")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMultipartUploadRequest::~DeleteMultipartUploadRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteMultipartUploadRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteMultipartUploadRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteMultipartUploadRequest;
|
||||
|
||||
DeleteMultipartUploadRequest::DeleteMultipartUploadRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteMultipartUpload") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteMultipartUploadRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
DeleteMultipartUploadRequest::~DeleteMultipartUploadRequest() {}
|
||||
|
||||
std::string DeleteMultipartUploadRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long DeleteMultipartUploadRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
void DeleteMultipartUploadRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteMultipartUploadRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
long DeleteMultipartUploadRequest::getResourceRealOwnerId() const {
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
std::string DeleteMultipartUploadRequest::getMediaId()const
|
||||
{
|
||||
return mediaId_;
|
||||
void DeleteMultipartUploadRequest::setResourceRealOwnerId(long resourceRealOwnerId) {
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
void DeleteMultipartUploadRequest::setMediaId(const std::string& mediaId)
|
||||
{
|
||||
mediaId_ = mediaId;
|
||||
setParameter("MediaId", mediaId);
|
||||
std::string DeleteMultipartUploadRequest::getMediaId() const {
|
||||
return mediaId_;
|
||||
}
|
||||
|
||||
std::string DeleteMultipartUploadRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DeleteMultipartUploadRequest::setMediaId(const std::string &mediaId) {
|
||||
mediaId_ = mediaId;
|
||||
setParameter(std::string("MediaId"), mediaId);
|
||||
}
|
||||
|
||||
void DeleteMultipartUploadRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DeleteMultipartUploadRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteMultipartUploadRequest::getMediaType()const
|
||||
{
|
||||
return mediaType_;
|
||||
void DeleteMultipartUploadRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteMultipartUploadRequest::setMediaType(const std::string& mediaType)
|
||||
{
|
||||
mediaType_ = mediaType;
|
||||
setParameter("MediaType", mediaType);
|
||||
std::string DeleteMultipartUploadRequest::getMediaType() const {
|
||||
return mediaType_;
|
||||
}
|
||||
|
||||
void DeleteMultipartUploadRequest::setMediaType(const std::string &mediaType) {
|
||||
mediaType_ = mediaType;
|
||||
setParameter(std::string("MediaType"), mediaType);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteStreamRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteStreamRequest;
|
||||
|
||||
DeleteStreamRequest::DeleteStreamRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteStream")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteStreamRequest::~DeleteStreamRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteStreamRequest::getVideoId()const
|
||||
{
|
||||
return videoId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteStreamRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteStreamRequest;
|
||||
|
||||
DeleteStreamRequest::DeleteStreamRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteStream") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteStreamRequest::setVideoId(const std::string& videoId)
|
||||
{
|
||||
videoId_ = videoId;
|
||||
setParameter("VideoId", videoId);
|
||||
DeleteStreamRequest::~DeleteStreamRequest() {}
|
||||
|
||||
std::string DeleteStreamRequest::getVideoId() const {
|
||||
return videoId_;
|
||||
}
|
||||
|
||||
std::string DeleteStreamRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
void DeleteStreamRequest::setVideoId(const std::string &videoId) {
|
||||
videoId_ = videoId;
|
||||
setParameter(std::string("VideoId"), videoId);
|
||||
}
|
||||
|
||||
void DeleteStreamRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
std::string DeleteStreamRequest::getJobIds() const {
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void DeleteStreamRequest::setJobIds(const std::string &jobIds) {
|
||||
jobIds_ = jobIds;
|
||||
setParameter(std::string("JobIds"), jobIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteTranscodeTemplateGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteTranscodeTemplateGroupRequest;
|
||||
|
||||
DeleteTranscodeTemplateGroupRequest::DeleteTranscodeTemplateGroupRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteTranscodeTemplateGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteTranscodeTemplateGroupRequest::~DeleteTranscodeTemplateGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getTranscodeTemplateIds()const
|
||||
{
|
||||
return transcodeTemplateIds_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteTranscodeTemplateGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteTranscodeTemplateGroupRequest;
|
||||
|
||||
DeleteTranscodeTemplateGroupRequest::DeleteTranscodeTemplateGroupRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteTranscodeTemplateGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setTranscodeTemplateIds(const std::string& transcodeTemplateIds)
|
||||
{
|
||||
transcodeTemplateIds_ = transcodeTemplateIds;
|
||||
setParameter("TranscodeTemplateIds", transcodeTemplateIds);
|
||||
DeleteTranscodeTemplateGroupRequest::~DeleteTranscodeTemplateGroupRequest() {}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getTranscodeTemplateIds() const {
|
||||
return transcodeTemplateIds_;
|
||||
}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void DeleteTranscodeTemplateGroupRequest::setTranscodeTemplateIds(const std::string &transcodeTemplateIds) {
|
||||
transcodeTemplateIds_ = transcodeTemplateIds;
|
||||
setParameter(std::string("TranscodeTemplateIds"), transcodeTemplateIds);
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId()const
|
||||
{
|
||||
return transcodeTemplateGroupId_;
|
||||
void DeleteTranscodeTemplateGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId)
|
||||
{
|
||||
transcodeTemplateGroupId_ = transcodeTemplateGroupId;
|
||||
setParameter("TranscodeTemplateGroupId", transcodeTemplateGroupId);
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId() const {
|
||||
return transcodeTemplateGroupId_;
|
||||
}
|
||||
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getForceDelGroup()const
|
||||
{
|
||||
return forceDelGroup_;
|
||||
void DeleteTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string &transcodeTemplateGroupId) {
|
||||
transcodeTemplateGroupId_ = transcodeTemplateGroupId;
|
||||
setParameter(std::string("TranscodeTemplateGroupId"), transcodeTemplateGroupId);
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setForceDelGroup(const std::string& forceDelGroup)
|
||||
{
|
||||
forceDelGroup_ = forceDelGroup;
|
||||
setParameter("ForceDelGroup", forceDelGroup);
|
||||
std::string DeleteTranscodeTemplateGroupRequest::getForceDelGroup() const {
|
||||
return forceDelGroup_;
|
||||
}
|
||||
|
||||
void DeleteTranscodeTemplateGroupRequest::setForceDelGroup(const std::string &forceDelGroup) {
|
||||
forceDelGroup_ = forceDelGroup;
|
||||
setParameter(std::string("ForceDelGroup"), forceDelGroup);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteVideoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteVideoRequest;
|
||||
|
||||
DeleteVideoRequest::DeleteVideoRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteVideo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteVideoRequest::~DeleteVideoRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteVideoRequest::getVideoIds()const
|
||||
{
|
||||
return videoIds_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteVideoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteVideoRequest;
|
||||
|
||||
DeleteVideoRequest::DeleteVideoRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteVideo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteVideoRequest::setVideoIds(const std::string& videoIds)
|
||||
{
|
||||
videoIds_ = videoIds;
|
||||
setParameter("VideoIds", videoIds);
|
||||
DeleteVideoRequest::~DeleteVideoRequest() {}
|
||||
|
||||
std::string DeleteVideoRequest::getVideoIds() const {
|
||||
return videoIds_;
|
||||
}
|
||||
|
||||
void DeleteVideoRequest::setVideoIds(const std::string &videoIds) {
|
||||
videoIds_ = videoIds;
|
||||
setParameter(std::string("VideoIds"), videoIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteVideoResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNonExistVideoIds = value["NonExistVideoIds"]["VideoId"];
|
||||
for (const auto &item : allNonExistVideoIds)
|
||||
nonExistVideoIds_.push_back(item.asString());
|
||||
auto allForbiddenVideoIds = value["ForbiddenVideoIds"]["VideoId"];
|
||||
for (const auto &item : allForbiddenVideoIds)
|
||||
forbiddenVideoIds_.push_back(item.asString());
|
||||
auto allNonExistVideoIds = value["NonExistVideoIds"]["VideoId"];
|
||||
for (const auto &item : allNonExistVideoIds)
|
||||
nonExistVideoIds_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteVodDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteVodDomainRequest;
|
||||
|
||||
DeleteVodDomainRequest::DeleteVodDomainRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteVodDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteVodDomainRequest::~DeleteVodDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteVodDomainRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteVodDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteVodDomainRequest;
|
||||
|
||||
DeleteVodDomainRequest::DeleteVodDomainRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteVodDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteVodDomainRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
DeleteVodDomainRequest::~DeleteVodDomainRequest() {}
|
||||
|
||||
std::string DeleteVodDomainRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteVodDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteVodDomainRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteVodDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteVodDomainRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteVodDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteVodDomainRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteVodDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteVodDomainRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteVodDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DeleteVodDomainRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteVodDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DeleteVodDomainRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteVodDomainRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteVodSpecificConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteVodSpecificConfigRequest;
|
||||
|
||||
DeleteVodSpecificConfigRequest::DeleteVodSpecificConfigRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteVodSpecificConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteVodSpecificConfigRequest::~DeleteVodSpecificConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteVodSpecificConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteVodSpecificConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteVodSpecificConfigRequest;
|
||||
|
||||
DeleteVodSpecificConfigRequest::DeleteVodSpecificConfigRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteVodSpecificConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteVodSpecificConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DeleteVodSpecificConfigRequest::~DeleteVodSpecificConfigRequest() {}
|
||||
|
||||
std::string DeleteVodSpecificConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteVodSpecificConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteVodSpecificConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteVodSpecificConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteVodSpecificConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteVodSpecificConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DeleteVodSpecificConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteVodSpecificConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DeleteVodSpecificConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DeleteVodSpecificConfigRequest::getConfigId()const
|
||||
{
|
||||
return configId_;
|
||||
void DeleteVodSpecificConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DeleteVodSpecificConfigRequest::setConfigId(const std::string& configId)
|
||||
{
|
||||
configId_ = configId;
|
||||
setParameter("ConfigId", configId);
|
||||
std::string DeleteVodSpecificConfigRequest::getConfigId() const {
|
||||
return configId_;
|
||||
}
|
||||
|
||||
void DeleteVodSpecificConfigRequest::setConfigId(const std::string &configId) {
|
||||
configId_ = configId;
|
||||
setParameter(std::string("ConfigId"), configId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteVodTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteVodTemplateRequest;
|
||||
|
||||
DeleteVodTemplateRequest::DeleteVodTemplateRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteVodTemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteVodTemplateRequest::~DeleteVodTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteVodTemplateRequest::getVodTemplateId()const
|
||||
{
|
||||
return vodTemplateId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteVodTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteVodTemplateRequest;
|
||||
|
||||
DeleteVodTemplateRequest::DeleteVodTemplateRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteVodTemplate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteVodTemplateRequest::setVodTemplateId(const std::string& vodTemplateId)
|
||||
{
|
||||
vodTemplateId_ = vodTemplateId;
|
||||
setParameter("VodTemplateId", vodTemplateId);
|
||||
DeleteVodTemplateRequest::~DeleteVodTemplateRequest() {}
|
||||
|
||||
std::string DeleteVodTemplateRequest::getVodTemplateId() const {
|
||||
return vodTemplateId_;
|
||||
}
|
||||
|
||||
void DeleteVodTemplateRequest::setVodTemplateId(const std::string &vodTemplateId) {
|
||||
vodTemplateId_ = vodTemplateId;
|
||||
setParameter(std::string("VodTemplateId"), vodTemplateId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteWatermarkRequest;
|
||||
|
||||
DeleteWatermarkRequest::DeleteWatermarkRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DeleteWatermark")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteWatermarkRequest::~DeleteWatermarkRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteWatermarkRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DeleteWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DeleteWatermarkRequest;
|
||||
|
||||
DeleteWatermarkRequest::DeleteWatermarkRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DeleteWatermark") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteWatermarkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
DeleteWatermarkRequest::~DeleteWatermarkRequest() {}
|
||||
|
||||
std::string DeleteWatermarkRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteWatermarkRequest::getWatermarkId()const
|
||||
{
|
||||
return watermarkId_;
|
||||
void DeleteWatermarkRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteWatermarkRequest::setWatermarkId(const std::string& watermarkId)
|
||||
{
|
||||
watermarkId_ = watermarkId;
|
||||
setParameter("WatermarkId", watermarkId);
|
||||
std::string DeleteWatermarkRequest::getWatermarkId() const {
|
||||
return watermarkId_;
|
||||
}
|
||||
|
||||
void DeleteWatermarkRequest::setWatermarkId(const std::string &watermarkId) {
|
||||
watermarkId_ = watermarkId;
|
||||
setParameter(std::string("WatermarkId"), watermarkId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribePlayTopVideosRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribePlayTopVideosRequest;
|
||||
|
||||
DescribePlayTopVideosRequest::DescribePlayTopVideosRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribePlayTopVideos")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePlayTopVideosRequest::~DescribePlayTopVideosRequest()
|
||||
{}
|
||||
|
||||
long DescribePlayTopVideosRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribePlayTopVideosRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribePlayTopVideosRequest;
|
||||
|
||||
DescribePlayTopVideosRequest::DescribePlayTopVideosRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribePlayTopVideos") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
DescribePlayTopVideosRequest::~DescribePlayTopVideosRequest() {}
|
||||
|
||||
long DescribePlayTopVideosRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribePlayTopVideosRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribePlayTopVideosRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribePlayTopVideosRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribePlayTopVideosRequest::getBizDate()const
|
||||
{
|
||||
return bizDate_;
|
||||
void DescribePlayTopVideosRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setBizDate(const std::string& bizDate)
|
||||
{
|
||||
bizDate_ = bizDate;
|
||||
setParameter("BizDate", bizDate);
|
||||
std::string DescribePlayTopVideosRequest::getBizDate() const {
|
||||
return bizDate_;
|
||||
}
|
||||
|
||||
long DescribePlayTopVideosRequest::getPageNo()const
|
||||
{
|
||||
return pageNo_;
|
||||
void DescribePlayTopVideosRequest::setBizDate(const std::string &bizDate) {
|
||||
bizDate_ = bizDate;
|
||||
setParameter(std::string("BizDate"), bizDate);
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setPageNo(long pageNo)
|
||||
{
|
||||
pageNo_ = pageNo;
|
||||
setParameter("PageNo", std::to_string(pageNo));
|
||||
long DescribePlayTopVideosRequest::getPageNo() const {
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
void DescribePlayTopVideosRequest::setPageNo(long pageNo) {
|
||||
pageNo_ = pageNo;
|
||||
setParameter(std::string("PageNo"), std::to_string(pageNo));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,16 +43,16 @@ void DescribePlayTopVideosResult::parse(const std::string &payload)
|
||||
for (auto valueTopPlayVideosTopPlayVideoStatis : allTopPlayVideosNode)
|
||||
{
|
||||
TopPlayVideoStatis topPlayVideosObject;
|
||||
if(!valueTopPlayVideosTopPlayVideoStatis["PlayDuration"].isNull())
|
||||
topPlayVideosObject.playDuration = valueTopPlayVideosTopPlayVideoStatis["PlayDuration"].asString();
|
||||
if(!valueTopPlayVideosTopPlayVideoStatis["VV"].isNull())
|
||||
topPlayVideosObject.vV = valueTopPlayVideosTopPlayVideoStatis["VV"].asString();
|
||||
if(!valueTopPlayVideosTopPlayVideoStatis["UV"].isNull())
|
||||
topPlayVideosObject.uV = valueTopPlayVideosTopPlayVideoStatis["UV"].asString();
|
||||
if(!valueTopPlayVideosTopPlayVideoStatis["VideoId"].isNull())
|
||||
topPlayVideosObject.videoId = valueTopPlayVideosTopPlayVideoStatis["VideoId"].asString();
|
||||
if(!valueTopPlayVideosTopPlayVideoStatis["Title"].isNull())
|
||||
topPlayVideosObject.title = valueTopPlayVideosTopPlayVideoStatis["Title"].asString();
|
||||
if(!valueTopPlayVideosTopPlayVideoStatis["VV"].isNull())
|
||||
topPlayVideosObject.vV = valueTopPlayVideosTopPlayVideoStatis["VV"].asString();
|
||||
if(!valueTopPlayVideosTopPlayVideoStatis["PlayDuration"].isNull())
|
||||
topPlayVideosObject.playDuration = valueTopPlayVideosTopPlayVideoStatis["PlayDuration"].asString();
|
||||
if(!valueTopPlayVideosTopPlayVideoStatis["VideoId"].isNull())
|
||||
topPlayVideosObject.videoId = valueTopPlayVideosTopPlayVideoStatis["VideoId"].asString();
|
||||
if(!valueTopPlayVideosTopPlayVideoStatis["UV"].isNull())
|
||||
topPlayVideosObject.uV = valueTopPlayVideosTopPlayVideoStatis["UV"].asString();
|
||||
topPlayVideos_.push_back(topPlayVideosObject);
|
||||
}
|
||||
if(!value["PageNo"].isNull())
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribePlayUserAvgRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribePlayUserAvgRequest;
|
||||
|
||||
DescribePlayUserAvgRequest::DescribePlayUserAvgRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribePlayUserAvg")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePlayUserAvgRequest::~DescribePlayUserAvgRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribePlayUserAvgRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribePlayUserAvgRequest;
|
||||
|
||||
DescribePlayUserAvgRequest::DescribePlayUserAvgRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribePlayUserAvg") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
DescribePlayUserAvgRequest::~DescribePlayUserAvgRequest() {}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribePlayUserAvgRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribePlayUserAvgRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribePlayUserAvgRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribePlayUserAvgRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribePlayUserAvgRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribePlayUserAvgRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserAvgRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribePlayUserTotalRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribePlayUserTotalRequest;
|
||||
|
||||
DescribePlayUserTotalRequest::DescribePlayUserTotalRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribePlayUserTotal")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePlayUserTotalRequest::~DescribePlayUserTotalRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribePlayUserTotalRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribePlayUserTotalRequest;
|
||||
|
||||
DescribePlayUserTotalRequest::DescribePlayUserTotalRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribePlayUserTotal") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
DescribePlayUserTotalRequest::~DescribePlayUserTotalRequest() {}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribePlayUserTotalRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribePlayUserTotalRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribePlayUserTotalRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribePlayUserTotalRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribePlayUserTotalRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribePlayUserTotalRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribePlayUserTotalRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -50,23 +50,23 @@ void DescribePlayUserTotalResult::parse(const std::string &payload)
|
||||
if(!valueUserPlayStatisTotalsUserPlayStatisTotal["PlayRange"].isNull())
|
||||
userPlayStatisTotalsObject.playRange = valueUserPlayStatisTotalsUserPlayStatisTotal["PlayRange"].asString();
|
||||
auto vVNode = value["VV"];
|
||||
if(!vVNode["Android"].isNull())
|
||||
userPlayStatisTotalsObject.vV.android = vVNode["Android"].asString();
|
||||
if(!vVNode["iOS"].isNull())
|
||||
userPlayStatisTotalsObject.vV.iOS = vVNode["iOS"].asString();
|
||||
if(!vVNode["Flash"].isNull())
|
||||
userPlayStatisTotalsObject.vV.flash = vVNode["Flash"].asString();
|
||||
if(!vVNode["iOS"].isNull())
|
||||
userPlayStatisTotalsObject.vV.iOS = vVNode["iOS"].asString();
|
||||
if(!vVNode["HTML5"].isNull())
|
||||
userPlayStatisTotalsObject.vV.hTML5 = vVNode["HTML5"].asString();
|
||||
if(!vVNode["Android"].isNull())
|
||||
userPlayStatisTotalsObject.vV.android = vVNode["Android"].asString();
|
||||
auto uVNode = value["UV"];
|
||||
if(!uVNode["Android"].isNull())
|
||||
userPlayStatisTotalsObject.uV.android = uVNode["Android"].asString();
|
||||
if(!uVNode["iOS"].isNull())
|
||||
userPlayStatisTotalsObject.uV.iOS = uVNode["iOS"].asString();
|
||||
if(!uVNode["Flash"].isNull())
|
||||
userPlayStatisTotalsObject.uV.flash = uVNode["Flash"].asString();
|
||||
if(!uVNode["iOS"].isNull())
|
||||
userPlayStatisTotalsObject.uV.iOS = uVNode["iOS"].asString();
|
||||
if(!uVNode["HTML5"].isNull())
|
||||
userPlayStatisTotalsObject.uV.hTML5 = uVNode["HTML5"].asString();
|
||||
if(!uVNode["Android"].isNull())
|
||||
userPlayStatisTotalsObject.uV.android = uVNode["Android"].asString();
|
||||
userPlayStatisTotals_.push_back(userPlayStatisTotalsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribePlayVideoStatisRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribePlayVideoStatisRequest;
|
||||
|
||||
DescribePlayVideoStatisRequest::DescribePlayVideoStatisRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribePlayVideoStatis")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePlayVideoStatisRequest::~DescribePlayVideoStatisRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribePlayVideoStatisRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribePlayVideoStatisRequest;
|
||||
|
||||
DescribePlayVideoStatisRequest::DescribePlayVideoStatisRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribePlayVideoStatis") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
DescribePlayVideoStatisRequest::~DescribePlayVideoStatisRequest() {}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribePlayVideoStatisRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribePlayVideoStatisRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribePlayVideoStatisRequest::getVideoId()const
|
||||
{
|
||||
return videoId_;
|
||||
void DescribePlayVideoStatisRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setVideoId(const std::string& videoId)
|
||||
{
|
||||
videoId_ = videoId;
|
||||
setParameter("VideoId", videoId);
|
||||
std::string DescribePlayVideoStatisRequest::getVideoId() const {
|
||||
return videoId_;
|
||||
}
|
||||
|
||||
long DescribePlayVideoStatisRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribePlayVideoStatisRequest::setVideoId(const std::string &videoId) {
|
||||
videoId_ = videoId;
|
||||
setParameter(std::string("VideoId"), videoId);
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribePlayVideoStatisRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribePlayVideoStatisRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,18 +43,18 @@ void DescribePlayVideoStatisResult::parse(const std::string &payload)
|
||||
for (auto valueVideoPlayStatisDetailsVideoPlayStatisDetail : allVideoPlayStatisDetailsNode)
|
||||
{
|
||||
VideoPlayStatisDetail videoPlayStatisDetailsObject;
|
||||
if(!valueVideoPlayStatisDetailsVideoPlayStatisDetail["Date"].isNull())
|
||||
videoPlayStatisDetailsObject.date = valueVideoPlayStatisDetailsVideoPlayStatisDetail["Date"].asString();
|
||||
if(!valueVideoPlayStatisDetailsVideoPlayStatisDetail["PlayDuration"].isNull())
|
||||
videoPlayStatisDetailsObject.playDuration = valueVideoPlayStatisDetailsVideoPlayStatisDetail["PlayDuration"].asString();
|
||||
if(!valueVideoPlayStatisDetailsVideoPlayStatisDetail["Date"].isNull())
|
||||
videoPlayStatisDetailsObject.date = valueVideoPlayStatisDetailsVideoPlayStatisDetail["Date"].asString();
|
||||
if(!valueVideoPlayStatisDetailsVideoPlayStatisDetail["VV"].isNull())
|
||||
videoPlayStatisDetailsObject.vV = valueVideoPlayStatisDetailsVideoPlayStatisDetail["VV"].asString();
|
||||
if(!valueVideoPlayStatisDetailsVideoPlayStatisDetail["Title"].isNull())
|
||||
videoPlayStatisDetailsObject.title = valueVideoPlayStatisDetailsVideoPlayStatisDetail["Title"].asString();
|
||||
if(!valueVideoPlayStatisDetailsVideoPlayStatisDetail["UV"].isNull())
|
||||
videoPlayStatisDetailsObject.uV = valueVideoPlayStatisDetailsVideoPlayStatisDetail["UV"].asString();
|
||||
if(!valueVideoPlayStatisDetailsVideoPlayStatisDetail["PlayRange"].isNull())
|
||||
videoPlayStatisDetailsObject.playRange = valueVideoPlayStatisDetailsVideoPlayStatisDetail["PlayRange"].asString();
|
||||
if(!valueVideoPlayStatisDetailsVideoPlayStatisDetail["Title"].isNull())
|
||||
videoPlayStatisDetailsObject.title = valueVideoPlayStatisDetailsVideoPlayStatisDetail["Title"].asString();
|
||||
videoPlayStatisDetails_.push_back(videoPlayStatisDetailsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodAIDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodAIDataRequest;
|
||||
|
||||
DescribeVodAIDataRequest::DescribeVodAIDataRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodAIData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodAIDataRequest::~DescribeVodAIDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodAIDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodAIDataRequest;
|
||||
|
||||
DescribeVodAIDataRequest::DescribeVodAIDataRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodAIData") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
DescribeVodAIDataRequest::~DescribeVodAIDataRequest() {}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getAIType()const
|
||||
{
|
||||
return aIType_;
|
||||
void DescribeVodAIDataRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setAIType(const std::string& aIType)
|
||||
{
|
||||
aIType_ = aIType;
|
||||
setParameter("AIType", aIType);
|
||||
std::string DescribeVodAIDataRequest::getAIType() const {
|
||||
return aIType_;
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribeVodAIDataRequest::setAIType(const std::string &aIType) {
|
||||
aIType_ = aIType;
|
||||
setParameter(std::string("AIType"), aIType);
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribeVodAIDataRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeVodAIDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodAIDataRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodAIDataRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodAIDataRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void DescribeVodAIDataRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
std::string DescribeVodAIDataRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
void DescribeVodAIDataRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodCertificateListRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodCertificateListRequest;
|
||||
|
||||
DescribeVodCertificateListRequest::DescribeVodCertificateListRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodCertificateList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodCertificateListRequest::~DescribeVodCertificateListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodCertificateListRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodCertificateListRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodCertificateListRequest;
|
||||
|
||||
DescribeVodCertificateListRequest::DescribeVodCertificateListRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodCertificateList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodCertificateListRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeVodCertificateListRequest::~DescribeVodCertificateListRequest() {}
|
||||
|
||||
std::string DescribeVodCertificateListRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DescribeVodCertificateListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodCertificateListRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodCertificateListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodCertificateListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodCertificateListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DescribeVodCertificateListRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodCertificateListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DescribeVodCertificateListRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodCertificateListRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -46,18 +46,18 @@ void DescribeVodCertificateListResult::parse(const std::string &payload)
|
||||
for (auto certificateListModelNodeCertListCert : allCertListNode)
|
||||
{
|
||||
CertificateListModel::Cert certObject;
|
||||
if(!certificateListModelNodeCertListCert["CertName"].isNull())
|
||||
certObject.certName = certificateListModelNodeCertListCert["CertName"].asString();
|
||||
if(!certificateListModelNodeCertListCert["CertId"].isNull())
|
||||
certObject.certId = std::stol(certificateListModelNodeCertListCert["CertId"].asString());
|
||||
if(!certificateListModelNodeCertListCert["Fingerprint"].isNull())
|
||||
certObject.fingerprint = certificateListModelNodeCertListCert["Fingerprint"].asString();
|
||||
if(!certificateListModelNodeCertListCert["Common"].isNull())
|
||||
certObject.common = certificateListModelNodeCertListCert["Common"].asString();
|
||||
if(!certificateListModelNodeCertListCert["Issuer"].isNull())
|
||||
certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString();
|
||||
if(!certificateListModelNodeCertListCert["LastTime"].isNull())
|
||||
certObject.lastTime = std::stol(certificateListModelNodeCertListCert["LastTime"].asString());
|
||||
if(!certificateListModelNodeCertListCert["Fingerprint"].isNull())
|
||||
certObject.fingerprint = certificateListModelNodeCertListCert["Fingerprint"].asString();
|
||||
if(!certificateListModelNodeCertListCert["CertName"].isNull())
|
||||
certObject.certName = certificateListModelNodeCertListCert["CertName"].asString();
|
||||
if(!certificateListModelNodeCertListCert["Issuer"].isNull())
|
||||
certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString();
|
||||
if(!certificateListModelNodeCertListCert["CertId"].isNull())
|
||||
certObject.certId = std::stol(certificateListModelNodeCertListCert["CertId"].asString());
|
||||
if(!certificateListModelNodeCertListCert["Common"].isNull())
|
||||
certObject.common = certificateListModelNodeCertListCert["Common"].asString();
|
||||
certificateListModel_.certList.push_back(certObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainBpsDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainBpsDataRequest;
|
||||
|
||||
DescribeVodDomainBpsDataRequest::DescribeVodDomainBpsDataRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainBpsData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodDomainBpsDataRequest::~DescribeVodDomainBpsDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getLocationNameEn()const
|
||||
{
|
||||
return locationNameEn_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainBpsDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainBpsDataRequest;
|
||||
|
||||
DescribeVodDomainBpsDataRequest::DescribeVodDomainBpsDataRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainBpsData") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setLocationNameEn(const std::string& locationNameEn)
|
||||
{
|
||||
locationNameEn_ = locationNameEn;
|
||||
setParameter("LocationNameEn", locationNameEn);
|
||||
DescribeVodDomainBpsDataRequest::~DescribeVodDomainBpsDataRequest() {}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getLocationNameEn() const {
|
||||
return locationNameEn_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void DescribeVodDomainBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) {
|
||||
locationNameEn_ = locationNameEn;
|
||||
setParameter(std::string("LocationNameEn"), locationNameEn);
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string DescribeVodDomainBpsDataRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getIspNameEn()const
|
||||
{
|
||||
return ispNameEn_;
|
||||
void DescribeVodDomainBpsDataRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setIspNameEn(const std::string& ispNameEn)
|
||||
{
|
||||
ispNameEn_ = ispNameEn;
|
||||
setParameter("IspNameEn", ispNameEn);
|
||||
std::string DescribeVodDomainBpsDataRequest::getIspNameEn() const {
|
||||
return ispNameEn_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DescribeVodDomainBpsDataRequest::setIspNameEn(const std::string &ispNameEn) {
|
||||
ispNameEn_ = ispNameEn;
|
||||
setParameter(std::string("IspNameEn"), ispNameEn);
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DescribeVodDomainBpsDataRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribeVodDomainBpsDataRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribeVodDomainBpsDataRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeVodDomainBpsDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodDomainBpsDataRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodDomainBpsDataRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainBpsDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
void DescribeVodDomainBpsDataRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", interval);
|
||||
std::string DescribeVodDomainBpsDataRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainBpsDataRequest::setInterval(const std::string &interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), interval);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,32 +43,32 @@ void DescribeVodDomainBpsDataResult::parse(const std::string &payload)
|
||||
for (auto valueBpsDataPerIntervalDataModule : allBpsDataPerIntervalNode)
|
||||
{
|
||||
DataModule bpsDataPerIntervalObject;
|
||||
if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull())
|
||||
bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString();
|
||||
if(!valueBpsDataPerIntervalDataModule["HttpsDomesticValue"].isNull())
|
||||
bpsDataPerIntervalObject.httpsDomesticValue = valueBpsDataPerIntervalDataModule["HttpsDomesticValue"].asString();
|
||||
if(!valueBpsDataPerIntervalDataModule["Value"].isNull())
|
||||
bpsDataPerIntervalObject.value = valueBpsDataPerIntervalDataModule["Value"].asString();
|
||||
if(!valueBpsDataPerIntervalDataModule["DomesticValue"].isNull())
|
||||
bpsDataPerIntervalObject.domesticValue = valueBpsDataPerIntervalDataModule["DomesticValue"].asString();
|
||||
if(!valueBpsDataPerIntervalDataModule["OverseasValue"].isNull())
|
||||
bpsDataPerIntervalObject.overseasValue = valueBpsDataPerIntervalDataModule["OverseasValue"].asString();
|
||||
if(!valueBpsDataPerIntervalDataModule["HttpsValue"].isNull())
|
||||
bpsDataPerIntervalObject.httpsValue = valueBpsDataPerIntervalDataModule["HttpsValue"].asString();
|
||||
if(!valueBpsDataPerIntervalDataModule["HttpsDomesticValue"].isNull())
|
||||
bpsDataPerIntervalObject.httpsDomesticValue = valueBpsDataPerIntervalDataModule["HttpsDomesticValue"].asString();
|
||||
if(!valueBpsDataPerIntervalDataModule["HttpsOverseasValue"].isNull())
|
||||
bpsDataPerIntervalObject.httpsOverseasValue = valueBpsDataPerIntervalDataModule["HttpsOverseasValue"].asString();
|
||||
if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull())
|
||||
bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString();
|
||||
if(!valueBpsDataPerIntervalDataModule["DomesticValue"].isNull())
|
||||
bpsDataPerIntervalObject.domesticValue = valueBpsDataPerIntervalDataModule["DomesticValue"].asString();
|
||||
bpsDataPerInterval_.push_back(bpsDataPerIntervalObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["LocationNameEn"].isNull())
|
||||
locationNameEn_ = value["LocationNameEn"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["IspNameEn"].isNull())
|
||||
ispNameEn_ = value["IspNameEn"].asString();
|
||||
if(!value["LocationNameEn"].isNull())
|
||||
locationNameEn_ = value["LocationNameEn"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainCertificateInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainCertificateInfoRequest;
|
||||
|
||||
DescribeVodDomainCertificateInfoRequest::DescribeVodDomainCertificateInfoRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainCertificateInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodDomainCertificateInfoRequest::~DescribeVodDomainCertificateInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainCertificateInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainCertificateInfoRequest;
|
||||
|
||||
DescribeVodDomainCertificateInfoRequest::DescribeVodDomainCertificateInfoRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainCertificateInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeVodDomainCertificateInfoRequest::~DescribeVodDomainCertificateInfoRequest() {}
|
||||
|
||||
std::string DescribeVodDomainCertificateInfoRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DescribeVodDomainCertificateInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodDomainCertificateInfoRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodDomainCertificateInfoRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainCertificateInfoRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,24 +43,24 @@ void DescribeVodDomainCertificateInfoResult::parse(const std::string &payload)
|
||||
for (auto valueCertInfosCertInfo : allCertInfosNode)
|
||||
{
|
||||
CertInfo certInfosObject;
|
||||
if(!valueCertInfosCertInfo["DomainName"].isNull())
|
||||
certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString();
|
||||
if(!valueCertInfosCertInfo["CertName"].isNull())
|
||||
certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString();
|
||||
if(!valueCertInfosCertInfo["CertDomainName"].isNull())
|
||||
certInfosObject.certDomainName = valueCertInfosCertInfo["CertDomainName"].asString();
|
||||
if(!valueCertInfosCertInfo["CertExpireTime"].isNull())
|
||||
certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString();
|
||||
if(!valueCertInfosCertInfo["Status"].isNull())
|
||||
certInfosObject.status = valueCertInfosCertInfo["Status"].asString();
|
||||
if(!valueCertInfosCertInfo["CertLife"].isNull())
|
||||
certInfosObject.certLife = valueCertInfosCertInfo["CertLife"].asString();
|
||||
if(!valueCertInfosCertInfo["CertOrg"].isNull())
|
||||
certInfosObject.certOrg = valueCertInfosCertInfo["CertOrg"].asString();
|
||||
if(!valueCertInfosCertInfo["CertExpireTime"].isNull())
|
||||
certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString();
|
||||
if(!valueCertInfosCertInfo["CertType"].isNull())
|
||||
certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString();
|
||||
if(!valueCertInfosCertInfo["ServerCertificateStatus"].isNull())
|
||||
certInfosObject.serverCertificateStatus = valueCertInfosCertInfo["ServerCertificateStatus"].asString();
|
||||
if(!valueCertInfosCertInfo["Status"].isNull())
|
||||
certInfosObject.status = valueCertInfosCertInfo["Status"].asString();
|
||||
if(!valueCertInfosCertInfo["CertDomainName"].isNull())
|
||||
certInfosObject.certDomainName = valueCertInfosCertInfo["CertDomainName"].asString();
|
||||
if(!valueCertInfosCertInfo["CertName"].isNull())
|
||||
certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString();
|
||||
if(!valueCertInfosCertInfo["CertOrg"].isNull())
|
||||
certInfosObject.certOrg = valueCertInfosCertInfo["CertOrg"].asString();
|
||||
if(!valueCertInfosCertInfo["DomainName"].isNull())
|
||||
certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString();
|
||||
certInfos_.push_back(certInfosObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainConfigsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainConfigsRequest;
|
||||
|
||||
DescribeVodDomainConfigsRequest::DescribeVodDomainConfigsRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainConfigs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodDomainConfigsRequest::~DescribeVodDomainConfigsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodDomainConfigsRequest::getFunctionNames()const
|
||||
{
|
||||
return functionNames_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainConfigsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainConfigsRequest;
|
||||
|
||||
DescribeVodDomainConfigsRequest::DescribeVodDomainConfigsRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainConfigs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodDomainConfigsRequest::setFunctionNames(const std::string& functionNames)
|
||||
{
|
||||
functionNames_ = functionNames;
|
||||
setParameter("FunctionNames", functionNames);
|
||||
DescribeVodDomainConfigsRequest::~DescribeVodDomainConfigsRequest() {}
|
||||
|
||||
std::string DescribeVodDomainConfigsRequest::getFunctionNames() const {
|
||||
return functionNames_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainConfigsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DescribeVodDomainConfigsRequest::setFunctionNames(const std::string &functionNames) {
|
||||
functionNames_ = functionNames;
|
||||
setParameter(std::string("FunctionNames"), functionNames);
|
||||
}
|
||||
|
||||
void DescribeVodDomainConfigsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DescribeVodDomainConfigsRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DescribeVodDomainConfigsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodDomainConfigsRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodDomainConfigsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodDomainConfigsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DescribeVodDomainConfigsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DescribeVodDomainConfigsRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainConfigsRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,12 +43,12 @@ void DescribeVodDomainConfigsResult::parse(const std::string &payload)
|
||||
for (auto valueDomainConfigsDomainConfig : allDomainConfigsNode)
|
||||
{
|
||||
DomainConfig domainConfigsObject;
|
||||
if(!valueDomainConfigsDomainConfig["FunctionName"].isNull())
|
||||
domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString();
|
||||
if(!valueDomainConfigsDomainConfig["ConfigId"].isNull())
|
||||
domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString();
|
||||
if(!valueDomainConfigsDomainConfig["Status"].isNull())
|
||||
domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString();
|
||||
if(!valueDomainConfigsDomainConfig["ConfigId"].isNull())
|
||||
domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString();
|
||||
if(!valueDomainConfigsDomainConfig["FunctionName"].isNull())
|
||||
domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString();
|
||||
auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"];
|
||||
for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode)
|
||||
{
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainDetailRequest;
|
||||
|
||||
DescribeVodDomainDetailRequest::DescribeVodDomainDetailRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodDomainDetailRequest::~DescribeVodDomainDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodDomainDetailRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainDetailRequest;
|
||||
|
||||
DescribeVodDomainDetailRequest::DescribeVodDomainDetailRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainDetail") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodDomainDetailRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeVodDomainDetailRequest::~DescribeVodDomainDetailRequest() {}
|
||||
|
||||
std::string DescribeVodDomainDetailRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DescribeVodDomainDetailRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodDomainDetailRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodDomainDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodDomainDetailRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainDetailRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DescribeVodDomainDetailRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodDomainDetailRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DescribeVodDomainDetailRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainDetailRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,40 +42,40 @@ void DescribeVodDomainDetailResult::parse(const std::string &payload)
|
||||
auto domainDetailNode = value["DomainDetail"];
|
||||
if(!domainDetailNode["GmtCreated"].isNull())
|
||||
domainDetail_.gmtCreated = domainDetailNode["GmtCreated"].asString();
|
||||
if(!domainDetailNode["GmtModified"].isNull())
|
||||
domainDetail_.gmtModified = domainDetailNode["GmtModified"].asString();
|
||||
if(!domainDetailNode["DomainStatus"].isNull())
|
||||
domainDetail_.domainStatus = domainDetailNode["DomainStatus"].asString();
|
||||
if(!domainDetailNode["Cname"].isNull())
|
||||
domainDetail_.cname = domainDetailNode["Cname"].asString();
|
||||
if(!domainDetailNode["DomainName"].isNull())
|
||||
domainDetail_.domainName = domainDetailNode["DomainName"].asString();
|
||||
if(!domainDetailNode["Weight"].isNull())
|
||||
domainDetail_.weight = domainDetailNode["Weight"].asString();
|
||||
if(!domainDetailNode["SSLPub"].isNull())
|
||||
domainDetail_.sSLPub = domainDetailNode["SSLPub"].asString();
|
||||
if(!domainDetailNode["Description"].isNull())
|
||||
domainDetail_.description = domainDetailNode["Description"].asString();
|
||||
if(!domainDetailNode["SSLProtocol"].isNull())
|
||||
domainDetail_.sSLProtocol = domainDetailNode["SSLProtocol"].asString();
|
||||
if(!domainDetailNode["SSLPub"].isNull())
|
||||
domainDetail_.sSLPub = domainDetailNode["SSLPub"].asString();
|
||||
if(!domainDetailNode["Scope"].isNull())
|
||||
domainDetail_.scope = domainDetailNode["Scope"].asString();
|
||||
if(!domainDetailNode["CertName"].isNull())
|
||||
domainDetail_.certName = domainDetailNode["CertName"].asString();
|
||||
if(!domainDetailNode["Weight"].isNull())
|
||||
domainDetail_.weight = domainDetailNode["Weight"].asString();
|
||||
if(!domainDetailNode["Scope"].isNull())
|
||||
domainDetail_.scope = domainDetailNode["Scope"].asString();
|
||||
if(!domainDetailNode["Cname"].isNull())
|
||||
domainDetail_.cname = domainDetailNode["Cname"].asString();
|
||||
if(!domainDetailNode["DomainStatus"].isNull())
|
||||
domainDetail_.domainStatus = domainDetailNode["DomainStatus"].asString();
|
||||
if(!domainDetailNode["GmtModified"].isNull())
|
||||
domainDetail_.gmtModified = domainDetailNode["GmtModified"].asString();
|
||||
if(!domainDetailNode["DomainName"].isNull())
|
||||
domainDetail_.domainName = domainDetailNode["DomainName"].asString();
|
||||
auto allSourcesNode = domainDetailNode["Sources"]["Source"];
|
||||
for (auto domainDetailNodeSourcesSource : allSourcesNode)
|
||||
{
|
||||
DomainDetail::Source sourceObject;
|
||||
if(!domainDetailNodeSourcesSource["Content"].isNull())
|
||||
sourceObject.content = domainDetailNodeSourcesSource["Content"].asString();
|
||||
if(!domainDetailNodeSourcesSource["Type"].isNull())
|
||||
sourceObject.type = domainDetailNodeSourcesSource["Type"].asString();
|
||||
if(!domainDetailNodeSourcesSource["Port"].isNull())
|
||||
sourceObject.port = std::stoi(domainDetailNodeSourcesSource["Port"].asString());
|
||||
if(!domainDetailNodeSourcesSource["Enabled"].isNull())
|
||||
sourceObject.enabled = domainDetailNodeSourcesSource["Enabled"].asString();
|
||||
if(!domainDetailNodeSourcesSource["Priority"].isNull())
|
||||
sourceObject.priority = domainDetailNodeSourcesSource["Priority"].asString();
|
||||
if(!domainDetailNodeSourcesSource["Port"].isNull())
|
||||
sourceObject.port = std::stoi(domainDetailNodeSourcesSource["Port"].asString());
|
||||
if(!domainDetailNodeSourcesSource["Content"].isNull())
|
||||
sourceObject.content = domainDetailNodeSourcesSource["Content"].asString();
|
||||
if(!domainDetailNodeSourcesSource["Enabled"].isNull())
|
||||
sourceObject.enabled = domainDetailNodeSourcesSource["Enabled"].asString();
|
||||
domainDetail_.sources.push_back(sourceObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainLogRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainLogRequest;
|
||||
|
||||
DescribeVodDomainLogRequest::DescribeVodDomainLogRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainLog")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodDomainLogRequest::~DescribeVodDomainLogRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainLogRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainLogRequest;
|
||||
|
||||
DescribeVodDomainLogRequest::DescribeVodDomainLogRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainLog") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
DescribeVodDomainLogRequest::~DescribeVodDomainLogRequest() {}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
long DescribeVodDomainLogRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void DescribeVodDomainLogRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
long DescribeVodDomainLogRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
long DescribeVodDomainLogRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeVodDomainLogRequest::setPageNumber(long pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
long DescribeVodDomainLogRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DescribeVodDomainLogRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DescribeVodDomainLogRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainLogRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribeVodDomainLogRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribeVodDomainLogRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeVodDomainLogRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodDomainLogRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodDomainLogRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainLogRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,24 +43,24 @@ void DescribeVodDomainLogResult::parse(const std::string &payload)
|
||||
for (auto valueDomainLogDetailsDomainLogDetail : allDomainLogDetailsNode)
|
||||
{
|
||||
DomainLogDetail domainLogDetailsObject;
|
||||
if(!valueDomainLogDetailsDomainLogDetail["DomainName"].isNull())
|
||||
domainLogDetailsObject.domainName = valueDomainLogDetailsDomainLogDetail["DomainName"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetail["LogCount"].isNull())
|
||||
domainLogDetailsObject.logCount = std::stol(valueDomainLogDetailsDomainLogDetail["LogCount"].asString());
|
||||
if(!valueDomainLogDetailsDomainLogDetail["DomainName"].isNull())
|
||||
domainLogDetailsObject.domainName = valueDomainLogDetailsDomainLogDetail["DomainName"].asString();
|
||||
auto allLogInfosNode = valueDomainLogDetailsDomainLogDetail["LogInfos"]["LogInfoDetail"];
|
||||
for (auto valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail : allLogInfosNode)
|
||||
{
|
||||
DomainLogDetail::LogInfoDetail logInfosObject;
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].isNull())
|
||||
logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull())
|
||||
logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].isNull())
|
||||
logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].isNull())
|
||||
logInfosObject.logSize = std::stol(valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].asString());
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].isNull())
|
||||
logInfosObject.startTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].isNull())
|
||||
logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].isNull())
|
||||
logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull())
|
||||
logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].asString();
|
||||
domainLogDetailsObject.logInfos.push_back(logInfosObject);
|
||||
}
|
||||
auto pageInfosNode = value["PageInfos"];
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainTrafficDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainTrafficDataRequest;
|
||||
|
||||
DescribeVodDomainTrafficDataRequest::DescribeVodDomainTrafficDataRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainTrafficData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodDomainTrafficDataRequest::~DescribeVodDomainTrafficDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getLocationNameEn()const
|
||||
{
|
||||
return locationNameEn_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainTrafficDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainTrafficDataRequest;
|
||||
|
||||
DescribeVodDomainTrafficDataRequest::DescribeVodDomainTrafficDataRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainTrafficData") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn)
|
||||
{
|
||||
locationNameEn_ = locationNameEn;
|
||||
setParameter("LocationNameEn", locationNameEn);
|
||||
DescribeVodDomainTrafficDataRequest::~DescribeVodDomainTrafficDataRequest() {}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getLocationNameEn() const {
|
||||
return locationNameEn_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void DescribeVodDomainTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) {
|
||||
locationNameEn_ = locationNameEn;
|
||||
setParameter(std::string("LocationNameEn"), locationNameEn);
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string DescribeVodDomainTrafficDataRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getIspNameEn()const
|
||||
{
|
||||
return ispNameEn_;
|
||||
void DescribeVodDomainTrafficDataRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setIspNameEn(const std::string& ispNameEn)
|
||||
{
|
||||
ispNameEn_ = ispNameEn;
|
||||
setParameter("IspNameEn", ispNameEn);
|
||||
std::string DescribeVodDomainTrafficDataRequest::getIspNameEn() const {
|
||||
return ispNameEn_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DescribeVodDomainTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) {
|
||||
ispNameEn_ = ispNameEn;
|
||||
setParameter(std::string("IspNameEn"), ispNameEn);
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DescribeVodDomainTrafficDataRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribeVodDomainTrafficDataRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribeVodDomainTrafficDataRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeVodDomainTrafficDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodDomainTrafficDataRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodDomainTrafficDataRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
void DescribeVodDomainTrafficDataRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", interval);
|
||||
std::string DescribeVodDomainTrafficDataRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainTrafficDataRequest::setInterval(const std::string &interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), interval);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,28 +43,30 @@ void DescribeVodDomainTrafficDataResult::parse(const std::string &payload)
|
||||
for (auto valueTrafficDataPerIntervalDataModule : allTrafficDataPerIntervalNode)
|
||||
{
|
||||
DataModule trafficDataPerIntervalObject;
|
||||
if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull())
|
||||
trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString();
|
||||
if(!valueTrafficDataPerIntervalDataModule["HttpsDomesticValue"].isNull())
|
||||
trafficDataPerIntervalObject.httpsDomesticValue = valueTrafficDataPerIntervalDataModule["HttpsDomesticValue"].asString();
|
||||
if(!valueTrafficDataPerIntervalDataModule["Value"].isNull())
|
||||
trafficDataPerIntervalObject.value = valueTrafficDataPerIntervalDataModule["Value"].asString();
|
||||
if(!valueTrafficDataPerIntervalDataModule["DomesticValue"].isNull())
|
||||
trafficDataPerIntervalObject.domesticValue = valueTrafficDataPerIntervalDataModule["DomesticValue"].asString();
|
||||
if(!valueTrafficDataPerIntervalDataModule["OverseasValue"].isNull())
|
||||
trafficDataPerIntervalObject.overseasValue = valueTrafficDataPerIntervalDataModule["OverseasValue"].asString();
|
||||
if(!valueTrafficDataPerIntervalDataModule["HttpsValue"].isNull())
|
||||
trafficDataPerIntervalObject.httpsValue = valueTrafficDataPerIntervalDataModule["HttpsValue"].asString();
|
||||
if(!valueTrafficDataPerIntervalDataModule["HttpsDomesticValue"].isNull())
|
||||
trafficDataPerIntervalObject.httpsDomesticValue = valueTrafficDataPerIntervalDataModule["HttpsDomesticValue"].asString();
|
||||
if(!valueTrafficDataPerIntervalDataModule["HttpsOverseasValue"].isNull())
|
||||
trafficDataPerIntervalObject.httpsOverseasValue = valueTrafficDataPerIntervalDataModule["HttpsOverseasValue"].asString();
|
||||
if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull())
|
||||
trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString();
|
||||
if(!valueTrafficDataPerIntervalDataModule["DomesticValue"].isNull())
|
||||
trafficDataPerIntervalObject.domesticValue = valueTrafficDataPerIntervalDataModule["DomesticValue"].asString();
|
||||
trafficDataPerInterval_.push_back(trafficDataPerIntervalObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["TotalTraffic"].isNull())
|
||||
totalTraffic_ = value["TotalTraffic"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
|
||||
@@ -95,3 +97,8 @@ std::string DescribeVodDomainTrafficDataResult::getDataInterval()const
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainTrafficDataResult::getTotalTraffic()const
|
||||
{
|
||||
return totalTraffic_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainUsageDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainUsageDataRequest;
|
||||
|
||||
DescribeVodDomainUsageDataRequest::DescribeVodDomainUsageDataRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainUsageData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodDomainUsageDataRequest::~DescribeVodDomainUsageDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodDomainUsageDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodDomainUsageDataRequest;
|
||||
|
||||
DescribeVodDomainUsageDataRequest::DescribeVodDomainUsageDataRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodDomainUsageData") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
DescribeVodDomainUsageDataRequest::~DescribeVodDomainUsageDataRequest() {}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void DescribeVodDomainUsageDataRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
std::string DescribeVodDomainUsageDataRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getArea()const
|
||||
{
|
||||
return area_;
|
||||
void DescribeVodDomainUsageDataRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setArea(const std::string& area)
|
||||
{
|
||||
area_ = area;
|
||||
setParameter("Area", area);
|
||||
std::string DescribeVodDomainUsageDataRequest::getArea() const {
|
||||
return area_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DescribeVodDomainUsageDataRequest::setArea(const std::string &area) {
|
||||
area_ = area;
|
||||
setParameter(std::string("Area"), area);
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DescribeVodDomainUsageDataRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribeVodDomainUsageDataRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribeVodDomainUsageDataRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeVodDomainUsageDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodDomainUsageDataRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodDomainUsageDataRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodDomainUsageDataRequest::getField()const
|
||||
{
|
||||
return field_;
|
||||
void DescribeVodDomainUsageDataRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setField(const std::string& field)
|
||||
{
|
||||
field_ = field;
|
||||
setParameter("Field", field);
|
||||
std::string DescribeVodDomainUsageDataRequest::getField() const {
|
||||
return field_;
|
||||
}
|
||||
|
||||
void DescribeVodDomainUsageDataRequest::setField(const std::string &field) {
|
||||
field_ = field;
|
||||
setParameter(std::string("Field"), field);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,22 +43,22 @@ void DescribeVodDomainUsageDataResult::parse(const std::string &payload)
|
||||
for (auto valueUsageDataPerIntervalDataModule : allUsageDataPerIntervalNode)
|
||||
{
|
||||
DataModule usageDataPerIntervalObject;
|
||||
if(!valueUsageDataPerIntervalDataModule["TimeStamp"].isNull())
|
||||
usageDataPerIntervalObject.timeStamp = valueUsageDataPerIntervalDataModule["TimeStamp"].asString();
|
||||
if(!valueUsageDataPerIntervalDataModule["Value"].isNull())
|
||||
usageDataPerIntervalObject.value = valueUsageDataPerIntervalDataModule["Value"].asString();
|
||||
if(!valueUsageDataPerIntervalDataModule["TimeStamp"].isNull())
|
||||
usageDataPerIntervalObject.timeStamp = valueUsageDataPerIntervalDataModule["TimeStamp"].asString();
|
||||
usageDataPerInterval_.push_back(usageDataPerIntervalObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
type_ = value["Type"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["Area"].isNull())
|
||||
area_ = value["Area"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodRefreshQuotaRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodRefreshQuotaRequest;
|
||||
|
||||
DescribeVodRefreshQuotaRequest::DescribeVodRefreshQuotaRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodRefreshQuota")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodRefreshQuotaRequest::~DescribeVodRefreshQuotaRequest()
|
||||
{}
|
||||
|
||||
long DescribeVodRefreshQuotaRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodRefreshQuotaRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodRefreshQuotaRequest;
|
||||
|
||||
DescribeVodRefreshQuotaRequest::DescribeVodRefreshQuotaRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodRefreshQuota") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodRefreshQuotaRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
DescribeVodRefreshQuotaRequest::~DescribeVodRefreshQuotaRequest() {}
|
||||
|
||||
long DescribeVodRefreshQuotaRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshQuotaRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DescribeVodRefreshQuotaRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodRefreshQuotaRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DescribeVodRefreshQuotaRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeVodRefreshQuotaRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,22 +39,22 @@ void DescribeVodRefreshQuotaResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["UrlQuota"].isNull())
|
||||
urlQuota_ = value["UrlQuota"].asString();
|
||||
if(!value["DirQuota"].isNull())
|
||||
dirQuota_ = value["DirQuota"].asString();
|
||||
if(!value["UrlRemain"].isNull())
|
||||
urlRemain_ = value["UrlRemain"].asString();
|
||||
if(!value["DirRemain"].isNull())
|
||||
dirRemain_ = value["DirRemain"].asString();
|
||||
if(!value["PreloadQuota"].isNull())
|
||||
preloadQuota_ = value["PreloadQuota"].asString();
|
||||
if(!value["BlockQuota"].isNull())
|
||||
blockQuota_ = value["BlockQuota"].asString();
|
||||
if(!value["PreloadRemain"].isNull())
|
||||
preloadRemain_ = value["PreloadRemain"].asString();
|
||||
if(!value["blockRemain"].isNull())
|
||||
blockRemain_ = value["blockRemain"].asString();
|
||||
if(!value["DirRemain"].isNull())
|
||||
dirRemain_ = value["DirRemain"].asString();
|
||||
if(!value["UrlRemain"].isNull())
|
||||
urlRemain_ = value["UrlRemain"].asString();
|
||||
if(!value["DirQuota"].isNull())
|
||||
dirQuota_ = value["DirQuota"].asString();
|
||||
if(!value["UrlQuota"].isNull())
|
||||
urlQuota_ = value["UrlQuota"].asString();
|
||||
if(!value["PreloadQuota"].isNull())
|
||||
preloadQuota_ = value["PreloadQuota"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -73,16 +73,16 @@ std::string DescribeVodRefreshQuotaResult::getBlockRemain()const
|
||||
return blockRemain_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshQuotaResult::getDirRemain()const
|
||||
{
|
||||
return dirRemain_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshQuotaResult::getBlockQuota()const
|
||||
{
|
||||
return blockQuota_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshQuotaResult::getDirRemain()const
|
||||
{
|
||||
return dirRemain_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshQuotaResult::getUrlQuota()const
|
||||
{
|
||||
return urlQuota_;
|
||||
|
||||
@@ -1,150 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodRefreshTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodRefreshTasksRequest;
|
||||
|
||||
DescribeVodRefreshTasksRequest::DescribeVodRefreshTasksRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodRefreshTasks")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodRefreshTasksRequest::~DescribeVodRefreshTasksRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getObjectPath()const
|
||||
{
|
||||
return objectPath_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodRefreshTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodRefreshTasksRequest;
|
||||
|
||||
DescribeVodRefreshTasksRequest::DescribeVodRefreshTasksRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodRefreshTasks") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setObjectPath(const std::string& objectPath)
|
||||
{
|
||||
objectPath_ = objectPath;
|
||||
setParameter("ObjectPath", objectPath);
|
||||
DescribeVodRefreshTasksRequest::~DescribeVodRefreshTasksRequest() {}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getObjectPath() const {
|
||||
return objectPath_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void DescribeVodRefreshTasksRequest::setObjectPath(const std::string &objectPath) {
|
||||
objectPath_ = objectPath;
|
||||
setParameter(std::string("ObjectPath"), objectPath);
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string DescribeVodRefreshTasksRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
int DescribeVodRefreshTasksRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void DescribeVodRefreshTasksRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
int DescribeVodRefreshTasksRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DescribeVodRefreshTasksRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DescribeVodRefreshTasksRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
int DescribeVodRefreshTasksRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeVodRefreshTasksRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeVodRefreshTasksRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getObjectType()const
|
||||
{
|
||||
return objectType_;
|
||||
void DescribeVodRefreshTasksRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setObjectType(const std::string& objectType)
|
||||
{
|
||||
objectType_ = objectType;
|
||||
setParameter("ObjectType", objectType);
|
||||
std::string DescribeVodRefreshTasksRequest::getObjectType() const {
|
||||
return objectType_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
void DescribeVodRefreshTasksRequest::setObjectType(const std::string &objectType) {
|
||||
objectType_ = objectType;
|
||||
setParameter(std::string("ObjectType"), objectType);
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
std::string DescribeVodRefreshTasksRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DescribeVodRefreshTasksRequest::setTaskId(const std::string &taskId) {
|
||||
taskId_ = taskId;
|
||||
setParameter(std::string("TaskId"), taskId);
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DescribeVodRefreshTasksRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribeVodRefreshTasksRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribeVodRefreshTasksRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeVodRefreshTasksRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodRefreshTasksRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodRefreshTasksRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodRefreshTasksRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
void DescribeVodRefreshTasksRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
std::string DescribeVodRefreshTasksRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeVodRefreshTasksRequest::setStatus(const std::string &status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), status);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,20 +43,20 @@ void DescribeVodRefreshTasksResult::parse(const std::string &payload)
|
||||
for (auto valueTasksTask : allTasksNode)
|
||||
{
|
||||
Task tasksObject;
|
||||
if(!valueTasksTask["TaskId"].isNull())
|
||||
tasksObject.taskId = valueTasksTask["TaskId"].asString();
|
||||
if(!valueTasksTask["ObjectPath"].isNull())
|
||||
tasksObject.objectPath = valueTasksTask["ObjectPath"].asString();
|
||||
if(!valueTasksTask["Process"].isNull())
|
||||
tasksObject.process = valueTasksTask["Process"].asString();
|
||||
if(!valueTasksTask["Status"].isNull())
|
||||
tasksObject.status = valueTasksTask["Status"].asString();
|
||||
if(!valueTasksTask["CreationTime"].isNull())
|
||||
tasksObject.creationTime = valueTasksTask["CreationTime"].asString();
|
||||
if(!valueTasksTask["Description"].isNull())
|
||||
tasksObject.description = valueTasksTask["Description"].asString();
|
||||
if(!valueTasksTask["ObjectType"].isNull())
|
||||
tasksObject.objectType = valueTasksTask["ObjectType"].asString();
|
||||
if(!valueTasksTask["Process"].isNull())
|
||||
tasksObject.process = valueTasksTask["Process"].asString();
|
||||
if(!valueTasksTask["Description"].isNull())
|
||||
tasksObject.description = valueTasksTask["Description"].asString();
|
||||
if(!valueTasksTask["ObjectPath"].isNull())
|
||||
tasksObject.objectPath = valueTasksTask["ObjectPath"].asString();
|
||||
if(!valueTasksTask["TaskId"].isNull())
|
||||
tasksObject.taskId = valueTasksTask["TaskId"].asString();
|
||||
tasks_.push_back(tasksObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodStorageDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodStorageDataRequest;
|
||||
|
||||
DescribeVodStorageDataRequest::DescribeVodStorageDataRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodStorageData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodStorageDataRequest::~DescribeVodStorageDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodStorageDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodStorageDataRequest;
|
||||
|
||||
DescribeVodStorageDataRequest::DescribeVodStorageDataRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodStorageData") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
DescribeVodStorageDataRequest::~DescribeVodStorageDataRequest() {}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getStorage()const
|
||||
{
|
||||
return storage_;
|
||||
void DescribeVodStorageDataRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setStorage(const std::string& storage)
|
||||
{
|
||||
storage_ = storage;
|
||||
setParameter("Storage", storage);
|
||||
std::string DescribeVodStorageDataRequest::getStorage() const {
|
||||
return storage_;
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getStorageType()const
|
||||
{
|
||||
return storageType_;
|
||||
void DescribeVodStorageDataRequest::setStorage(const std::string &storage) {
|
||||
storage_ = storage;
|
||||
setParameter(std::string("Storage"), storage);
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setStorageType(const std::string& storageType)
|
||||
{
|
||||
storageType_ = storageType;
|
||||
setParameter("StorageType", storageType);
|
||||
std::string DescribeVodStorageDataRequest::getStorageType() const {
|
||||
return storageType_;
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribeVodStorageDataRequest::setStorageType(const std::string &storageType) {
|
||||
storageType_ = storageType;
|
||||
setParameter(std::string("StorageType"), storageType);
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribeVodStorageDataRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeVodStorageDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodStorageDataRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodStorageDataRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
void DescribeVodStorageDataRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", interval);
|
||||
std::string DescribeVodStorageDataRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
std::string DescribeVodStorageDataRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void DescribeVodStorageDataRequest::setInterval(const std::string &interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), interval);
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
std::string DescribeVodStorageDataRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
void DescribeVodStorageDataRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodTranscodeDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodTranscodeDataRequest;
|
||||
|
||||
DescribeVodTranscodeDataRequest::DescribeVodTranscodeDataRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodTranscodeData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodTranscodeDataRequest::~DescribeVodTranscodeDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodTranscodeDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodTranscodeDataRequest;
|
||||
|
||||
DescribeVodTranscodeDataRequest::DescribeVodTranscodeDataRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodTranscodeData") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
DescribeVodTranscodeDataRequest::~DescribeVodTranscodeDataRequest() {}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getStorage()const
|
||||
{
|
||||
return storage_;
|
||||
void DescribeVodTranscodeDataRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setStorage(const std::string& storage)
|
||||
{
|
||||
storage_ = storage;
|
||||
setParameter("Storage", storage);
|
||||
std::string DescribeVodTranscodeDataRequest::getStorage() const {
|
||||
return storage_;
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void DescribeVodTranscodeDataRequest::setStorage(const std::string &storage) {
|
||||
storage_ = storage;
|
||||
setParameter(std::string("Storage"), storage);
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string DescribeVodTranscodeDataRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getSpecification()const
|
||||
{
|
||||
return specification_;
|
||||
void DescribeVodTranscodeDataRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setSpecification(const std::string& specification)
|
||||
{
|
||||
specification_ = specification;
|
||||
setParameter("Specification", specification);
|
||||
std::string DescribeVodTranscodeDataRequest::getSpecification() const {
|
||||
return specification_;
|
||||
}
|
||||
|
||||
long DescribeVodTranscodeDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodTranscodeDataRequest::setSpecification(const std::string &specification) {
|
||||
specification_ = specification;
|
||||
setParameter(std::string("Specification"), specification);
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodTranscodeDataRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
void DescribeVodTranscodeDataRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", interval);
|
||||
std::string DescribeVodTranscodeDataRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
std::string DescribeVodTranscodeDataRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void DescribeVodTranscodeDataRequest::setInterval(const std::string &interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), interval);
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
std::string DescribeVodTranscodeDataRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
void DescribeVodTranscodeDataRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,166 +1,140 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodUserDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodUserDomainsRequest;
|
||||
|
||||
DescribeVodUserDomainsRequest::DescribeVodUserDomainsRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodUserDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodUserDomainsRequest::~DescribeVodUserDomainsRequest()
|
||||
{}
|
||||
|
||||
int DescribeVodUserDomainsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodUserDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodUserDomainsRequest;
|
||||
|
||||
DescribeVodUserDomainsRequest::DescribeVodUserDomainsRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodUserDomains") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
DescribeVodUserDomainsRequest::~DescribeVodUserDomainsRequest() {}
|
||||
|
||||
int DescribeVodUserDomainsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
bool DescribeVodUserDomainsRequest::getCheckDomainShow()const
|
||||
{
|
||||
return checkDomainShow_;
|
||||
void DescribeVodUserDomainsRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setCheckDomainShow(bool checkDomainShow)
|
||||
{
|
||||
checkDomainShow_ = checkDomainShow;
|
||||
setParameter("CheckDomainShow", checkDomainShow ? "true" : "false");
|
||||
bool DescribeVodUserDomainsRequest::getCheckDomainShow() const {
|
||||
return checkDomainShow_;
|
||||
}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DescribeVodUserDomainsRequest::setCheckDomainShow(bool checkDomainShow) {
|
||||
checkDomainShow_ = checkDomainShow;
|
||||
setParameter(std::string("CheckDomainShow"), checkDomainShow ? "true" : "false");
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DescribeVodUserDomainsRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getCdnType()const
|
||||
{
|
||||
return cdnType_;
|
||||
void DescribeVodUserDomainsRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setCdnType(const std::string& cdnType)
|
||||
{
|
||||
cdnType_ = cdnType;
|
||||
setParameter("CdnType", cdnType);
|
||||
std::string DescribeVodUserDomainsRequest::getCdnType() const {
|
||||
return cdnType_;
|
||||
}
|
||||
|
||||
int DescribeVodUserDomainsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeVodUserDomainsRequest::setCdnType(const std::string &cdnType) {
|
||||
cdnType_ = cdnType;
|
||||
setParameter(std::string("CdnType"), cdnType);
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeVodUserDomainsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::vector<DescribeVodUserDomainsRequest::Tag> DescribeVodUserDomainsRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
void DescribeVodUserDomainsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
std::vector<DescribeVodUserDomainsRequest::Tag> DescribeVodUserDomainsRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getFuncFilter()const
|
||||
{
|
||||
return funcFilter_;
|
||||
void DescribeVodUserDomainsRequest::setTag(const std::vector<DescribeVodUserDomainsRequest::Tag> &tag) {
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setFuncFilter(const std::string& funcFilter)
|
||||
{
|
||||
funcFilter_ = funcFilter;
|
||||
setParameter("FuncFilter", funcFilter);
|
||||
std::string DescribeVodUserDomainsRequest::getFuncFilter() const {
|
||||
return funcFilter_;
|
||||
}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DescribeVodUserDomainsRequest::setFuncFilter(const std::string &funcFilter) {
|
||||
funcFilter_ = funcFilter;
|
||||
setParameter(std::string("FuncFilter"), funcFilter);
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DescribeVodUserDomainsRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DescribeVodUserDomainsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodUserDomainsRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodUserDomainsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getFuncId()const
|
||||
{
|
||||
return funcId_;
|
||||
void DescribeVodUserDomainsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setFuncId(const std::string& funcId)
|
||||
{
|
||||
funcId_ = funcId;
|
||||
setParameter("FuncId", funcId);
|
||||
std::string DescribeVodUserDomainsRequest::getFuncId() const {
|
||||
return funcId_;
|
||||
}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getDomainStatus()const
|
||||
{
|
||||
return domainStatus_;
|
||||
void DescribeVodUserDomainsRequest::setFuncId(const std::string &funcId) {
|
||||
funcId_ = funcId;
|
||||
setParameter(std::string("FuncId"), funcId);
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setDomainStatus(const std::string& domainStatus)
|
||||
{
|
||||
domainStatus_ = domainStatus;
|
||||
setParameter("DomainStatus", domainStatus);
|
||||
std::string DescribeVodUserDomainsRequest::getDomainStatus() const {
|
||||
return domainStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeVodUserDomainsRequest::getDomainSearchType()const
|
||||
{
|
||||
return domainSearchType_;
|
||||
void DescribeVodUserDomainsRequest::setDomainStatus(const std::string &domainStatus) {
|
||||
domainStatus_ = domainStatus;
|
||||
setParameter(std::string("DomainStatus"), domainStatus);
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setDomainSearchType(const std::string& domainSearchType)
|
||||
{
|
||||
domainSearchType_ = domainSearchType;
|
||||
setParameter("DomainSearchType", domainSearchType);
|
||||
std::string DescribeVodUserDomainsRequest::getDomainSearchType() const {
|
||||
return domainSearchType_;
|
||||
}
|
||||
|
||||
void DescribeVodUserDomainsRequest::setDomainSearchType(const std::string &domainSearchType) {
|
||||
domainSearchType_ = domainSearchType;
|
||||
setParameter(std::string("DomainSearchType"), domainSearchType);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,34 +43,34 @@ void DescribeVodUserDomainsResult::parse(const std::string &payload)
|
||||
for (auto valueDomainsPageData : allDomainsNode)
|
||||
{
|
||||
PageData domainsObject;
|
||||
if(!valueDomainsPageData["DomainName"].isNull())
|
||||
domainsObject.domainName = valueDomainsPageData["DomainName"].asString();
|
||||
if(!valueDomainsPageData["GmtCreated"].isNull())
|
||||
domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString();
|
||||
if(!valueDomainsPageData["SslProtocol"].isNull())
|
||||
domainsObject.sslProtocol = valueDomainsPageData["SslProtocol"].asString();
|
||||
if(!valueDomainsPageData["Description"].isNull())
|
||||
domainsObject.description = valueDomainsPageData["Description"].asString();
|
||||
if(!valueDomainsPageData["Sandbox"].isNull())
|
||||
domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString();
|
||||
if(!valueDomainsPageData["Cname"].isNull())
|
||||
domainsObject.cname = valueDomainsPageData["Cname"].asString();
|
||||
if(!valueDomainsPageData["DomainStatus"].isNull())
|
||||
domainsObject.domainStatus = valueDomainsPageData["DomainStatus"].asString();
|
||||
if(!valueDomainsPageData["GmtCreated"].isNull())
|
||||
domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString();
|
||||
if(!valueDomainsPageData["GmtModified"].isNull())
|
||||
domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString();
|
||||
if(!valueDomainsPageData["Description"].isNull())
|
||||
domainsObject.description = valueDomainsPageData["Description"].asString();
|
||||
if(!valueDomainsPageData["SslProtocol"].isNull())
|
||||
domainsObject.sslProtocol = valueDomainsPageData["SslProtocol"].asString();
|
||||
if(!valueDomainsPageData["Sandbox"].isNull())
|
||||
domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString();
|
||||
if(!valueDomainsPageData["DomainName"].isNull())
|
||||
domainsObject.domainName = valueDomainsPageData["DomainName"].asString();
|
||||
auto allSourcesNode = valueDomainsPageData["Sources"]["Source"];
|
||||
for (auto valueDomainsPageDataSourcesSource : allSourcesNode)
|
||||
{
|
||||
PageData::Source sourcesObject;
|
||||
if(!valueDomainsPageDataSourcesSource["Type"].isNull())
|
||||
sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Content"].isNull())
|
||||
sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Port"].isNull())
|
||||
sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString());
|
||||
if(!valueDomainsPageDataSourcesSource["Priority"].isNull())
|
||||
sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Port"].isNull())
|
||||
sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString());
|
||||
if(!valueDomainsPageDataSourcesSource["Content"].isNull())
|
||||
sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString();
|
||||
domainsObject.sources.push_back(sourcesObject);
|
||||
}
|
||||
domains_.push_back(domainsObject);
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodVerifyContentRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodVerifyContentRequest;
|
||||
|
||||
DescribeVodVerifyContentRequest::DescribeVodVerifyContentRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DescribeVodVerifyContent")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeVodVerifyContentRequest::~DescribeVodVerifyContentRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeVodVerifyContentRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DescribeVodVerifyContentRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DescribeVodVerifyContentRequest;
|
||||
|
||||
DescribeVodVerifyContentRequest::DescribeVodVerifyContentRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodVerifyContent") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeVodVerifyContentRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DescribeVodVerifyContentRequest::~DescribeVodVerifyContentRequest() {}
|
||||
|
||||
std::string DescribeVodVerifyContentRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DescribeVodVerifyContentRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeVodVerifyContentRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DescribeVodVerifyContentRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeVodVerifyContentRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeVodVerifyContentRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DetachAppPolicyFromIdentityRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DetachAppPolicyFromIdentityRequest;
|
||||
|
||||
DetachAppPolicyFromIdentityRequest::DetachAppPolicyFromIdentityRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "DetachAppPolicyFromIdentity")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetachAppPolicyFromIdentityRequest::~DetachAppPolicyFromIdentityRequest()
|
||||
{}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getIdentityType()const
|
||||
{
|
||||
return identityType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/DetachAppPolicyFromIdentityRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::DetachAppPolicyFromIdentityRequest;
|
||||
|
||||
DetachAppPolicyFromIdentityRequest::DetachAppPolicyFromIdentityRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "DetachAppPolicyFromIdentity") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setIdentityType(const std::string& identityType)
|
||||
{
|
||||
identityType_ = identityType;
|
||||
setParameter("IdentityType", identityType);
|
||||
DetachAppPolicyFromIdentityRequest::~DetachAppPolicyFromIdentityRequest() {}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getIdentityType() const {
|
||||
return identityType_;
|
||||
}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getPolicyNames()const
|
||||
{
|
||||
return policyNames_;
|
||||
void DetachAppPolicyFromIdentityRequest::setIdentityType(const std::string &identityType) {
|
||||
identityType_ = identityType;
|
||||
setParameter(std::string("IdentityType"), identityType);
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setPolicyNames(const std::string& policyNames)
|
||||
{
|
||||
policyNames_ = policyNames;
|
||||
setParameter("PolicyNames", policyNames);
|
||||
std::string DetachAppPolicyFromIdentityRequest::getPolicyNames() const {
|
||||
return policyNames_;
|
||||
}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getIdentityName()const
|
||||
{
|
||||
return identityName_;
|
||||
void DetachAppPolicyFromIdentityRequest::setPolicyNames(const std::string &policyNames) {
|
||||
policyNames_ = policyNames;
|
||||
setParameter(std::string("PolicyNames"), policyNames);
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setIdentityName(const std::string& identityName)
|
||||
{
|
||||
identityName_ = identityName;
|
||||
setParameter("IdentityName", identityName);
|
||||
std::string DetachAppPolicyFromIdentityRequest::getIdentityName() const {
|
||||
return identityName_;
|
||||
}
|
||||
|
||||
std::string DetachAppPolicyFromIdentityRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void DetachAppPolicyFromIdentityRequest::setIdentityName(const std::string &identityName) {
|
||||
identityName_ = identityName;
|
||||
setParameter(std::string("IdentityName"), identityName);
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string DetachAppPolicyFromIdentityRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DetachAppPolicyFromIdentityRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAIImageJobsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAIImageJobsRequest;
|
||||
|
||||
GetAIImageJobsRequest::GetAIImageJobsRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetAIImageJobs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAIImageJobsRequest::~GetAIImageJobsRequest()
|
||||
{}
|
||||
|
||||
std::string GetAIImageJobsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAIImageJobsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAIImageJobsRequest;
|
||||
|
||||
GetAIImageJobsRequest::GetAIImageJobsRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetAIImageJobs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetAIImageJobsRequest::setResourceOwnerId(const std::string& resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", resourceOwnerId);
|
||||
GetAIImageJobsRequest::~GetAIImageJobsRequest() {}
|
||||
|
||||
std::string GetAIImageJobsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string GetAIImageJobsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void GetAIImageJobsRequest::setResourceOwnerId(const std::string &resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
|
||||
}
|
||||
|
||||
void GetAIImageJobsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string GetAIImageJobsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string GetAIImageJobsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void GetAIImageJobsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void GetAIImageJobsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string GetAIImageJobsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string GetAIImageJobsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void GetAIImageJobsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void GetAIImageJobsRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string GetAIImageJobsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string GetAIImageJobsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetAIImageJobsRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void GetAIImageJobsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetAIImageJobsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetAIImageJobsRequest::getJobIds()const
|
||||
{
|
||||
return jobIds_;
|
||||
void GetAIImageJobsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetAIImageJobsRequest::setJobIds(const std::string& jobIds)
|
||||
{
|
||||
jobIds_ = jobIds;
|
||||
setParameter("JobIds", jobIds);
|
||||
std::string GetAIImageJobsRequest::getJobIds() const {
|
||||
return jobIds_;
|
||||
}
|
||||
|
||||
void GetAIImageJobsRequest::setJobIds(const std::string &jobIds) {
|
||||
jobIds_ = jobIds;
|
||||
setParameter(std::string("JobIds"), jobIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,26 +43,26 @@ void GetAIImageJobsResult::parse(const std::string &payload)
|
||||
for (auto valueAIImageJobListAIImageJob : allAIImageJobListNode)
|
||||
{
|
||||
AIImageJob aIImageJobListObject;
|
||||
if(!valueAIImageJobListAIImageJob["Status"].isNull())
|
||||
aIImageJobListObject.status = valueAIImageJobListAIImageJob["Status"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["CreationTime"].isNull())
|
||||
aIImageJobListObject.creationTime = valueAIImageJobListAIImageJob["CreationTime"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["JobId"].isNull())
|
||||
aIImageJobListObject.jobId = valueAIImageJobListAIImageJob["JobId"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["TemplateId"].isNull())
|
||||
aIImageJobListObject.templateId = valueAIImageJobListAIImageJob["TemplateId"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["VideoId"].isNull())
|
||||
aIImageJobListObject.videoId = valueAIImageJobListAIImageJob["VideoId"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["AIImageResult"].isNull())
|
||||
aIImageJobListObject.aIImageResult = valueAIImageJobListAIImageJob["AIImageResult"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["VideoId"].isNull())
|
||||
aIImageJobListObject.videoId = valueAIImageJobListAIImageJob["VideoId"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["JobId"].isNull())
|
||||
aIImageJobListObject.jobId = valueAIImageJobListAIImageJob["JobId"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["UserData"].isNull())
|
||||
aIImageJobListObject.userData = valueAIImageJobListAIImageJob["UserData"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["Code"].isNull())
|
||||
aIImageJobListObject.code = valueAIImageJobListAIImageJob["Code"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["Message"].isNull())
|
||||
aIImageJobListObject.message = valueAIImageJobListAIImageJob["Message"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["Status"].isNull())
|
||||
aIImageJobListObject.status = valueAIImageJobListAIImageJob["Status"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["TemplateConfig"].isNull())
|
||||
aIImageJobListObject.templateConfig = valueAIImageJobListAIImageJob["TemplateConfig"].asString();
|
||||
if(!valueAIImageJobListAIImageJob["TemplateId"].isNull())
|
||||
aIImageJobListObject.templateId = valueAIImageJobListAIImageJob["TemplateId"].asString();
|
||||
aIImageJobList_.push_back(aIImageJobListObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAIMediaAuditJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAIMediaAuditJobRequest;
|
||||
|
||||
GetAIMediaAuditJobRequest::GetAIMediaAuditJobRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetAIMediaAuditJob")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAIMediaAuditJobRequest::~GetAIMediaAuditJobRequest()
|
||||
{}
|
||||
|
||||
std::string GetAIMediaAuditJobRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAIMediaAuditJobRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAIMediaAuditJobRequest;
|
||||
|
||||
GetAIMediaAuditJobRequest::GetAIMediaAuditJobRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetAIMediaAuditJob") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetAIMediaAuditJobRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
GetAIMediaAuditJobRequest::~GetAIMediaAuditJobRequest() {}
|
||||
|
||||
std::string GetAIMediaAuditJobRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetAIMediaAuditJobRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
void GetAIMediaAuditJobRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetAIMediaAuditJobRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setParameter("JobId", jobId);
|
||||
std::string GetAIMediaAuditJobRequest::getJobId() const {
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void GetAIMediaAuditJobRequest::setJobId(const std::string &jobId) {
|
||||
jobId_ = jobId;
|
||||
setParameter(std::string("JobId"), jobId);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,22 +40,22 @@ void GetAIMediaAuditJobResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto mediaAuditJobNode = value["MediaAuditJob"];
|
||||
if(!mediaAuditJobNode["JobId"].isNull())
|
||||
mediaAuditJob_.jobId = mediaAuditJobNode["JobId"].asString();
|
||||
if(!mediaAuditJobNode["MediaId"].isNull())
|
||||
mediaAuditJob_.mediaId = mediaAuditJobNode["MediaId"].asString();
|
||||
if(!mediaAuditJobNode["CreationTime"].isNull())
|
||||
mediaAuditJob_.creationTime = mediaAuditJobNode["CreationTime"].asString();
|
||||
if(!mediaAuditJobNode["Type"].isNull())
|
||||
mediaAuditJob_.type = mediaAuditJobNode["Type"].asString();
|
||||
if(!mediaAuditJobNode["Status"].isNull())
|
||||
mediaAuditJob_.status = mediaAuditJobNode["Status"].asString();
|
||||
if(!mediaAuditJobNode["CompleteTime"].isNull())
|
||||
mediaAuditJob_.completeTime = mediaAuditJobNode["CompleteTime"].asString();
|
||||
if(!mediaAuditJobNode["JobId"].isNull())
|
||||
mediaAuditJob_.jobId = mediaAuditJobNode["JobId"].asString();
|
||||
if(!mediaAuditJobNode["Code"].isNull())
|
||||
mediaAuditJob_.code = mediaAuditJobNode["Code"].asString();
|
||||
if(!mediaAuditJobNode["Message"].isNull())
|
||||
mediaAuditJob_.message = mediaAuditJobNode["Message"].asString();
|
||||
if(!mediaAuditJobNode["CreationTime"].isNull())
|
||||
mediaAuditJob_.creationTime = mediaAuditJobNode["CreationTime"].asString();
|
||||
if(!mediaAuditJobNode["CompleteTime"].isNull())
|
||||
mediaAuditJob_.completeTime = mediaAuditJobNode["CompleteTime"].asString();
|
||||
if(!mediaAuditJobNode["MediaId"].isNull())
|
||||
mediaAuditJob_.mediaId = mediaAuditJobNode["MediaId"].asString();
|
||||
auto dataNode = mediaAuditJobNode["Data"];
|
||||
if(!dataNode["Suggestion"].isNull())
|
||||
mediaAuditJob_.data.suggestion = dataNode["Suggestion"].asString();
|
||||
@@ -67,24 +67,24 @@ void GetAIMediaAuditJobResult::parse(const std::string &payload)
|
||||
for (auto dataNodeImageResultImageResultItem : allImageResultNode)
|
||||
{
|
||||
MediaAuditJob::Data::ImageResultItem imageResultItemObject;
|
||||
if(!dataNodeImageResultImageResultItem["Suggestion"].isNull())
|
||||
imageResultItemObject.suggestion = dataNodeImageResultImageResultItem["Suggestion"].asString();
|
||||
if(!dataNodeImageResultImageResultItem["Label"].isNull())
|
||||
imageResultItemObject.label = dataNodeImageResultImageResultItem["Label"].asString();
|
||||
if(!dataNodeImageResultImageResultItem["Type"].isNull())
|
||||
imageResultItemObject.type = dataNodeImageResultImageResultItem["Type"].asString();
|
||||
if(!dataNodeImageResultImageResultItem["Url"].isNull())
|
||||
imageResultItemObject.url = dataNodeImageResultImageResultItem["Url"].asString();
|
||||
if(!dataNodeImageResultImageResultItem["Suggestion"].isNull())
|
||||
imageResultItemObject.suggestion = dataNodeImageResultImageResultItem["Suggestion"].asString();
|
||||
if(!dataNodeImageResultImageResultItem["Label"].isNull())
|
||||
imageResultItemObject.label = dataNodeImageResultImageResultItem["Label"].asString();
|
||||
auto allResultNode = dataNodeImageResultImageResultItem["Result"]["ResultItem"];
|
||||
for (auto dataNodeImageResultImageResultItemResultResultItem : allResultNode)
|
||||
{
|
||||
MediaAuditJob::Data::ImageResultItem::ResultItem resultObject;
|
||||
if(!dataNodeImageResultImageResultItemResultResultItem["Score"].isNull())
|
||||
resultObject.score = dataNodeImageResultImageResultItemResultResultItem["Score"].asString();
|
||||
if(!dataNodeImageResultImageResultItemResultResultItem["Suggestion"].isNull())
|
||||
resultObject.suggestion = dataNodeImageResultImageResultItemResultResultItem["Suggestion"].asString();
|
||||
if(!dataNodeImageResultImageResultItemResultResultItem["Label"].isNull())
|
||||
resultObject.label = dataNodeImageResultImageResultItemResultResultItem["Label"].asString();
|
||||
if(!dataNodeImageResultImageResultItemResultResultItem["Score"].isNull())
|
||||
resultObject.score = dataNodeImageResultImageResultItemResultResultItem["Score"].asString();
|
||||
if(!dataNodeImageResultImageResultItemResultResultItem["Scene"].isNull())
|
||||
resultObject.scene = dataNodeImageResultImageResultItemResultResultItem["Scene"].asString();
|
||||
imageResultItemObject.result.push_back(resultObject);
|
||||
@@ -95,48 +95,48 @@ void GetAIMediaAuditJobResult::parse(const std::string &payload)
|
||||
for (auto dataNodeTextResultTextResultItem : allTextResultNode)
|
||||
{
|
||||
MediaAuditJob::Data::TextResultItem textResultItemObject;
|
||||
if(!dataNodeTextResultTextResultItem["Suggestion"].isNull())
|
||||
textResultItemObject.suggestion = dataNodeTextResultTextResultItem["Suggestion"].asString();
|
||||
if(!dataNodeTextResultTextResultItem["Label"].isNull())
|
||||
textResultItemObject.label = dataNodeTextResultTextResultItem["Label"].asString();
|
||||
if(!dataNodeTextResultTextResultItem["Score"].isNull())
|
||||
textResultItemObject.score = dataNodeTextResultTextResultItem["Score"].asString();
|
||||
if(!dataNodeTextResultTextResultItem["Scene"].isNull())
|
||||
textResultItemObject.scene = dataNodeTextResultTextResultItem["Scene"].asString();
|
||||
if(!dataNodeTextResultTextResultItem["Type"].isNull())
|
||||
textResultItemObject.type = dataNodeTextResultTextResultItem["Type"].asString();
|
||||
if(!dataNodeTextResultTextResultItem["Suggestion"].isNull())
|
||||
textResultItemObject.suggestion = dataNodeTextResultTextResultItem["Suggestion"].asString();
|
||||
if(!dataNodeTextResultTextResultItem["Score"].isNull())
|
||||
textResultItemObject.score = dataNodeTextResultTextResultItem["Score"].asString();
|
||||
if(!dataNodeTextResultTextResultItem["Label"].isNull())
|
||||
textResultItemObject.label = dataNodeTextResultTextResultItem["Label"].asString();
|
||||
if(!dataNodeTextResultTextResultItem["Content"].isNull())
|
||||
textResultItemObject.content = dataNodeTextResultTextResultItem["Content"].asString();
|
||||
if(!dataNodeTextResultTextResultItem["Scene"].isNull())
|
||||
textResultItemObject.scene = dataNodeTextResultTextResultItem["Scene"].asString();
|
||||
mediaAuditJob_.data.textResult.push_back(textResultItemObject);
|
||||
}
|
||||
auto allAudioResultNode = dataNode["AudioResult"]["AudioResultItem"];
|
||||
for (auto dataNodeAudioResultAudioResultItem : allAudioResultNode)
|
||||
{
|
||||
MediaAuditJob::Data::AudioResultItem audioResultItemObject;
|
||||
if(!dataNodeAudioResultAudioResultItem["Score"].isNull())
|
||||
audioResultItemObject.score = dataNodeAudioResultAudioResultItem["Score"].asString();
|
||||
if(!dataNodeAudioResultAudioResultItem["Suggestion"].isNull())
|
||||
audioResultItemObject.suggestion = dataNodeAudioResultAudioResultItem["Suggestion"].asString();
|
||||
if(!dataNodeAudioResultAudioResultItem["Label"].isNull())
|
||||
audioResultItemObject.label = dataNodeAudioResultAudioResultItem["Label"].asString();
|
||||
if(!dataNodeAudioResultAudioResultItem["Scene"].isNull())
|
||||
audioResultItemObject.scene = dataNodeAudioResultAudioResultItem["Scene"].asString();
|
||||
if(!dataNodeAudioResultAudioResultItem["Score"].isNull())
|
||||
audioResultItemObject.score = dataNodeAudioResultAudioResultItem["Score"].asString();
|
||||
mediaAuditJob_.data.audioResult.push_back(audioResultItemObject);
|
||||
}
|
||||
auto videoResultNode = dataNode["VideoResult"];
|
||||
if(!videoResultNode["Suggestion"].isNull())
|
||||
mediaAuditJob_.data.videoResult.suggestion = videoResultNode["Suggestion"].asString();
|
||||
if(!videoResultNode["Label"].isNull())
|
||||
mediaAuditJob_.data.videoResult.label = videoResultNode["Label"].asString();
|
||||
if(!videoResultNode["Suggestion"].isNull())
|
||||
mediaAuditJob_.data.videoResult.suggestion = videoResultNode["Suggestion"].asString();
|
||||
auto terrorismResultNode = videoResultNode["TerrorismResult"];
|
||||
if(!terrorismResultNode["Suggestion"].isNull())
|
||||
mediaAuditJob_.data.videoResult.terrorismResult.suggestion = terrorismResultNode["Suggestion"].asString();
|
||||
if(!terrorismResultNode["AverageScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.terrorismResult.averageScore = terrorismResultNode["AverageScore"].asString();
|
||||
if(!terrorismResultNode["Label"].isNull())
|
||||
mediaAuditJob_.data.videoResult.terrorismResult.label = terrorismResultNode["Label"].asString();
|
||||
if(!terrorismResultNode["MaxScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.terrorismResult.maxScore = terrorismResultNode["MaxScore"].asString();
|
||||
if(!terrorismResultNode["AverageScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.terrorismResult.averageScore = terrorismResultNode["AverageScore"].asString();
|
||||
auto allCounterListNode = terrorismResultNode["CounterList"]["CounterListItem"];
|
||||
for (auto terrorismResultNodeCounterListCounterListItem : allCounterListNode)
|
||||
{
|
||||
@@ -151,25 +151,25 @@ void GetAIMediaAuditJobResult::parse(const std::string &payload)
|
||||
for (auto terrorismResultNodeTopListTopListItem : allTopListNode)
|
||||
{
|
||||
MediaAuditJob::Data::VideoResult::TerrorismResult::TopListItem topListItemObject;
|
||||
if(!terrorismResultNodeTopListTopListItem["Label"].isNull())
|
||||
topListItemObject.label = terrorismResultNodeTopListTopListItem["Label"].asString();
|
||||
if(!terrorismResultNodeTopListTopListItem["Url"].isNull())
|
||||
topListItemObject.url = terrorismResultNodeTopListTopListItem["Url"].asString();
|
||||
if(!terrorismResultNodeTopListTopListItem["Score"].isNull())
|
||||
topListItemObject.score = terrorismResultNodeTopListTopListItem["Score"].asString();
|
||||
if(!terrorismResultNodeTopListTopListItem["Timestamp"].isNull())
|
||||
topListItemObject.timestamp = terrorismResultNodeTopListTopListItem["Timestamp"].asString();
|
||||
if(!terrorismResultNodeTopListTopListItem["Url"].isNull())
|
||||
topListItemObject.url = terrorismResultNodeTopListTopListItem["Url"].asString();
|
||||
if(!terrorismResultNodeTopListTopListItem["Label"].isNull())
|
||||
topListItemObject.label = terrorismResultNodeTopListTopListItem["Label"].asString();
|
||||
mediaAuditJob_.data.videoResult.terrorismResult.topList.push_back(topListItemObject);
|
||||
}
|
||||
auto pornResultNode = videoResultNode["PornResult"];
|
||||
if(!pornResultNode["Suggestion"].isNull())
|
||||
mediaAuditJob_.data.videoResult.pornResult.suggestion = pornResultNode["Suggestion"].asString();
|
||||
if(!pornResultNode["AverageScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.pornResult.averageScore = pornResultNode["AverageScore"].asString();
|
||||
if(!pornResultNode["Label"].isNull())
|
||||
mediaAuditJob_.data.videoResult.pornResult.label = pornResultNode["Label"].asString();
|
||||
if(!pornResultNode["MaxScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.pornResult.maxScore = pornResultNode["MaxScore"].asString();
|
||||
if(!pornResultNode["AverageScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.pornResult.averageScore = pornResultNode["AverageScore"].asString();
|
||||
auto allCounterList1Node = pornResultNode["CounterList"]["CounterListItem"];
|
||||
for (auto pornResultNodeCounterListCounterListItem : allCounterList1Node)
|
||||
{
|
||||
@@ -184,25 +184,25 @@ void GetAIMediaAuditJobResult::parse(const std::string &payload)
|
||||
for (auto pornResultNodeTopListTopListItem : allTopList2Node)
|
||||
{
|
||||
MediaAuditJob::Data::VideoResult::PornResult::TopListItem4 topListItem4Object;
|
||||
if(!pornResultNodeTopListTopListItem["Label"].isNull())
|
||||
topListItem4Object.label = pornResultNodeTopListTopListItem["Label"].asString();
|
||||
if(!pornResultNodeTopListTopListItem["Url"].isNull())
|
||||
topListItem4Object.url = pornResultNodeTopListTopListItem["Url"].asString();
|
||||
if(!pornResultNodeTopListTopListItem["Score"].isNull())
|
||||
topListItem4Object.score = pornResultNodeTopListTopListItem["Score"].asString();
|
||||
if(!pornResultNodeTopListTopListItem["Timestamp"].isNull())
|
||||
topListItem4Object.timestamp = pornResultNodeTopListTopListItem["Timestamp"].asString();
|
||||
if(!pornResultNodeTopListTopListItem["Url"].isNull())
|
||||
topListItem4Object.url = pornResultNodeTopListTopListItem["Url"].asString();
|
||||
if(!pornResultNodeTopListTopListItem["Label"].isNull())
|
||||
topListItem4Object.label = pornResultNodeTopListTopListItem["Label"].asString();
|
||||
mediaAuditJob_.data.videoResult.pornResult.topList2.push_back(topListItem4Object);
|
||||
}
|
||||
auto adResultNode = videoResultNode["AdResult"];
|
||||
if(!adResultNode["Suggestion"].isNull())
|
||||
mediaAuditJob_.data.videoResult.adResult.suggestion = adResultNode["Suggestion"].asString();
|
||||
if(!adResultNode["AverageScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.adResult.averageScore = adResultNode["AverageScore"].asString();
|
||||
if(!adResultNode["Label"].isNull())
|
||||
mediaAuditJob_.data.videoResult.adResult.label = adResultNode["Label"].asString();
|
||||
if(!adResultNode["MaxScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.adResult.maxScore = adResultNode["MaxScore"].asString();
|
||||
if(!adResultNode["AverageScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.adResult.averageScore = adResultNode["AverageScore"].asString();
|
||||
auto allCounterList5Node = adResultNode["CounterList"]["CounterListItem"];
|
||||
for (auto adResultNodeCounterListCounterListItem : allCounterList5Node)
|
||||
{
|
||||
@@ -217,25 +217,25 @@ void GetAIMediaAuditJobResult::parse(const std::string &payload)
|
||||
for (auto adResultNodeTopListTopListItem : allTopList6Node)
|
||||
{
|
||||
MediaAuditJob::Data::VideoResult::AdResult::TopListItem8 topListItem8Object;
|
||||
if(!adResultNodeTopListTopListItem["Label"].isNull())
|
||||
topListItem8Object.label = adResultNodeTopListTopListItem["Label"].asString();
|
||||
if(!adResultNodeTopListTopListItem["Url"].isNull())
|
||||
topListItem8Object.url = adResultNodeTopListTopListItem["Url"].asString();
|
||||
if(!adResultNodeTopListTopListItem["Score"].isNull())
|
||||
topListItem8Object.score = adResultNodeTopListTopListItem["Score"].asString();
|
||||
if(!adResultNodeTopListTopListItem["Timestamp"].isNull())
|
||||
topListItem8Object.timestamp = adResultNodeTopListTopListItem["Timestamp"].asString();
|
||||
if(!adResultNodeTopListTopListItem["Url"].isNull())
|
||||
topListItem8Object.url = adResultNodeTopListTopListItem["Url"].asString();
|
||||
if(!adResultNodeTopListTopListItem["Label"].isNull())
|
||||
topListItem8Object.label = adResultNodeTopListTopListItem["Label"].asString();
|
||||
mediaAuditJob_.data.videoResult.adResult.topList6.push_back(topListItem8Object);
|
||||
}
|
||||
auto liveResultNode = videoResultNode["LiveResult"];
|
||||
if(!liveResultNode["Suggestion"].isNull())
|
||||
mediaAuditJob_.data.videoResult.liveResult.suggestion = liveResultNode["Suggestion"].asString();
|
||||
if(!liveResultNode["AverageScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.liveResult.averageScore = liveResultNode["AverageScore"].asString();
|
||||
if(!liveResultNode["Label"].isNull())
|
||||
mediaAuditJob_.data.videoResult.liveResult.label = liveResultNode["Label"].asString();
|
||||
if(!liveResultNode["MaxScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.liveResult.maxScore = liveResultNode["MaxScore"].asString();
|
||||
if(!liveResultNode["AverageScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.liveResult.averageScore = liveResultNode["AverageScore"].asString();
|
||||
auto allCounterList9Node = liveResultNode["CounterList"]["CounterListItem"];
|
||||
for (auto liveResultNodeCounterListCounterListItem : allCounterList9Node)
|
||||
{
|
||||
@@ -250,25 +250,25 @@ void GetAIMediaAuditJobResult::parse(const std::string &payload)
|
||||
for (auto liveResultNodeTopListTopListItem : allTopList10Node)
|
||||
{
|
||||
MediaAuditJob::Data::VideoResult::LiveResult::TopListItem12 topListItem12Object;
|
||||
if(!liveResultNodeTopListTopListItem["Label"].isNull())
|
||||
topListItem12Object.label = liveResultNodeTopListTopListItem["Label"].asString();
|
||||
if(!liveResultNodeTopListTopListItem["Url"].isNull())
|
||||
topListItem12Object.url = liveResultNodeTopListTopListItem["Url"].asString();
|
||||
if(!liveResultNodeTopListTopListItem["Score"].isNull())
|
||||
topListItem12Object.score = liveResultNodeTopListTopListItem["Score"].asString();
|
||||
if(!liveResultNodeTopListTopListItem["Timestamp"].isNull())
|
||||
topListItem12Object.timestamp = liveResultNodeTopListTopListItem["Timestamp"].asString();
|
||||
if(!liveResultNodeTopListTopListItem["Url"].isNull())
|
||||
topListItem12Object.url = liveResultNodeTopListTopListItem["Url"].asString();
|
||||
if(!liveResultNodeTopListTopListItem["Label"].isNull())
|
||||
topListItem12Object.label = liveResultNodeTopListTopListItem["Label"].asString();
|
||||
mediaAuditJob_.data.videoResult.liveResult.topList10.push_back(topListItem12Object);
|
||||
}
|
||||
auto logoResultNode = videoResultNode["LogoResult"];
|
||||
if(!logoResultNode["Suggestion"].isNull())
|
||||
mediaAuditJob_.data.videoResult.logoResult.suggestion = logoResultNode["Suggestion"].asString();
|
||||
if(!logoResultNode["AverageScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.logoResult.averageScore = logoResultNode["AverageScore"].asString();
|
||||
if(!logoResultNode["Label"].isNull())
|
||||
mediaAuditJob_.data.videoResult.logoResult.label = logoResultNode["Label"].asString();
|
||||
if(!logoResultNode["MaxScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.logoResult.maxScore = logoResultNode["MaxScore"].asString();
|
||||
if(!logoResultNode["AverageScore"].isNull())
|
||||
mediaAuditJob_.data.videoResult.logoResult.averageScore = logoResultNode["AverageScore"].asString();
|
||||
auto allCounterList13Node = logoResultNode["CounterList"]["CounterListItem"];
|
||||
for (auto logoResultNodeCounterListCounterListItem : allCounterList13Node)
|
||||
{
|
||||
@@ -283,14 +283,14 @@ void GetAIMediaAuditJobResult::parse(const std::string &payload)
|
||||
for (auto logoResultNodeTopListTopListItem : allTopList14Node)
|
||||
{
|
||||
MediaAuditJob::Data::VideoResult::LogoResult::TopListItem16 topListItem16Object;
|
||||
if(!logoResultNodeTopListTopListItem["Label"].isNull())
|
||||
topListItem16Object.label = logoResultNodeTopListTopListItem["Label"].asString();
|
||||
if(!logoResultNodeTopListTopListItem["Url"].isNull())
|
||||
topListItem16Object.url = logoResultNodeTopListTopListItem["Url"].asString();
|
||||
if(!logoResultNodeTopListTopListItem["Score"].isNull())
|
||||
topListItem16Object.score = logoResultNodeTopListTopListItem["Score"].asString();
|
||||
if(!logoResultNodeTopListTopListItem["Timestamp"].isNull())
|
||||
topListItem16Object.timestamp = logoResultNodeTopListTopListItem["Timestamp"].asString();
|
||||
if(!logoResultNodeTopListTopListItem["Url"].isNull())
|
||||
topListItem16Object.url = logoResultNodeTopListTopListItem["Url"].asString();
|
||||
if(!logoResultNodeTopListTopListItem["Label"].isNull())
|
||||
topListItem16Object.label = logoResultNodeTopListTopListItem["Label"].asString();
|
||||
mediaAuditJob_.data.videoResult.logoResult.topList14.push_back(topListItem16Object);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAITemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAITemplateRequest;
|
||||
|
||||
GetAITemplateRequest::GetAITemplateRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetAITemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAITemplateRequest::~GetAITemplateRequest()
|
||||
{}
|
||||
|
||||
std::string GetAITemplateRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAITemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAITemplateRequest;
|
||||
|
||||
GetAITemplateRequest::GetAITemplateRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetAITemplate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetAITemplateRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", templateId);
|
||||
GetAITemplateRequest::~GetAITemplateRequest() {}
|
||||
|
||||
std::string GetAITemplateRequest::getTemplateId() const {
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void GetAITemplateRequest::setTemplateId(const std::string &templateId) {
|
||||
templateId_ = templateId;
|
||||
setParameter(std::string("TemplateId"), templateId);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,20 +40,20 @@ void GetAITemplateResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto templateInfoNode = value["TemplateInfo"];
|
||||
if(!templateInfoNode["TemplateId"].isNull())
|
||||
templateInfo_.templateId = templateInfoNode["TemplateId"].asString();
|
||||
if(!templateInfoNode["TemplateType"].isNull())
|
||||
templateInfo_.templateType = templateInfoNode["TemplateType"].asString();
|
||||
if(!templateInfoNode["TemplateName"].isNull())
|
||||
templateInfo_.templateName = templateInfoNode["TemplateName"].asString();
|
||||
if(!templateInfoNode["TemplateConfig"].isNull())
|
||||
templateInfo_.templateConfig = templateInfoNode["TemplateConfig"].asString();
|
||||
if(!templateInfoNode["Source"].isNull())
|
||||
templateInfo_.source = templateInfoNode["Source"].asString();
|
||||
if(!templateInfoNode["IsDefault"].isNull())
|
||||
templateInfo_.isDefault = templateInfoNode["IsDefault"].asString();
|
||||
if(!templateInfoNode["CreationTime"].isNull())
|
||||
templateInfo_.creationTime = templateInfoNode["CreationTime"].asString();
|
||||
if(!templateInfoNode["IsDefault"].isNull())
|
||||
templateInfo_.isDefault = templateInfoNode["IsDefault"].asString();
|
||||
if(!templateInfoNode["TemplateType"].isNull())
|
||||
templateInfo_.templateType = templateInfoNode["TemplateType"].asString();
|
||||
if(!templateInfoNode["TemplateConfig"].isNull())
|
||||
templateInfo_.templateConfig = templateInfoNode["TemplateConfig"].asString();
|
||||
if(!templateInfoNode["TemplateName"].isNull())
|
||||
templateInfo_.templateName = templateInfoNode["TemplateName"].asString();
|
||||
if(!templateInfoNode["Source"].isNull())
|
||||
templateInfo_.source = templateInfoNode["Source"].asString();
|
||||
if(!templateInfoNode["TemplateId"].isNull())
|
||||
templateInfo_.templateId = templateInfoNode["TemplateId"].asString();
|
||||
if(!templateInfoNode["ModifyTime"].isNull())
|
||||
templateInfo_.modifyTime = templateInfoNode["ModifyTime"].asString();
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAIVideoTagResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAIVideoTagResultRequest;
|
||||
|
||||
GetAIVideoTagResultRequest::GetAIVideoTagResultRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetAIVideoTagResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAIVideoTagResultRequest::~GetAIVideoTagResultRequest()
|
||||
{}
|
||||
|
||||
std::string GetAIVideoTagResultRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAIVideoTagResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAIVideoTagResultRequest;
|
||||
|
||||
GetAIVideoTagResultRequest::GetAIVideoTagResultRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetAIVideoTagResult") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetAIVideoTagResultRequest::setResourceOwnerId(const std::string& resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", resourceOwnerId);
|
||||
GetAIVideoTagResultRequest::~GetAIVideoTagResultRequest() {}
|
||||
|
||||
std::string GetAIVideoTagResultRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string GetAIVideoTagResultRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void GetAIVideoTagResultRequest::setResourceOwnerId(const std::string &resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
|
||||
}
|
||||
|
||||
void GetAIVideoTagResultRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string GetAIVideoTagResultRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string GetAIVideoTagResultRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void GetAIVideoTagResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void GetAIVideoTagResultRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string GetAIVideoTagResultRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string GetAIVideoTagResultRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void GetAIVideoTagResultRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void GetAIVideoTagResultRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string GetAIVideoTagResultRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string GetAIVideoTagResultRequest::getMediaId()const
|
||||
{
|
||||
return mediaId_;
|
||||
void GetAIVideoTagResultRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void GetAIVideoTagResultRequest::setMediaId(const std::string& mediaId)
|
||||
{
|
||||
mediaId_ = mediaId;
|
||||
setParameter("MediaId", mediaId);
|
||||
std::string GetAIVideoTagResultRequest::getMediaId() const {
|
||||
return mediaId_;
|
||||
}
|
||||
|
||||
std::string GetAIVideoTagResultRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetAIVideoTagResultRequest::setMediaId(const std::string &mediaId) {
|
||||
mediaId_ = mediaId;
|
||||
setParameter(std::string("MediaId"), mediaId);
|
||||
}
|
||||
|
||||
void GetAIVideoTagResultRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetAIVideoTagResultRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetAIVideoTagResultRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAppInfosRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAppInfosRequest;
|
||||
|
||||
GetAppInfosRequest::GetAppInfosRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetAppInfos")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAppInfosRequest::~GetAppInfosRequest()
|
||||
{}
|
||||
|
||||
long GetAppInfosRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAppInfosRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAppInfosRequest;
|
||||
|
||||
GetAppInfosRequest::GetAppInfosRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetAppInfos") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetAppInfosRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
GetAppInfosRequest::~GetAppInfosRequest() {}
|
||||
|
||||
long GetAppInfosRequest::getResourceRealOwnerId() const {
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
std::string GetAppInfosRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetAppInfosRequest::setResourceRealOwnerId(long resourceRealOwnerId) {
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
void GetAppInfosRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetAppInfosRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetAppInfosRequest::getAppIds()const
|
||||
{
|
||||
return appIds_;
|
||||
void GetAppInfosRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetAppInfosRequest::setAppIds(const std::string& appIds)
|
||||
{
|
||||
appIds_ = appIds;
|
||||
setParameter("AppIds", appIds);
|
||||
std::string GetAppInfosRequest::getAppIds() const {
|
||||
return appIds_;
|
||||
}
|
||||
|
||||
void GetAppInfosRequest::setAppIds(const std::string &appIds) {
|
||||
appIds_ = appIds;
|
||||
setParameter(std::string("AppIds"), appIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,18 +43,18 @@ void GetAppInfosResult::parse(const std::string &payload)
|
||||
for (auto valueAppInfoListAppInfo : allAppInfoListNode)
|
||||
{
|
||||
AppInfo appInfoListObject;
|
||||
if(!valueAppInfoListAppInfo["AppId"].isNull())
|
||||
appInfoListObject.appId = valueAppInfoListAppInfo["AppId"].asString();
|
||||
if(!valueAppInfoListAppInfo["AppName"].isNull())
|
||||
appInfoListObject.appName = valueAppInfoListAppInfo["AppName"].asString();
|
||||
if(!valueAppInfoListAppInfo["Type"].isNull())
|
||||
appInfoListObject.type = valueAppInfoListAppInfo["Type"].asString();
|
||||
if(!valueAppInfoListAppInfo["Description"].isNull())
|
||||
appInfoListObject.description = valueAppInfoListAppInfo["Description"].asString();
|
||||
if(!valueAppInfoListAppInfo["Status"].isNull())
|
||||
appInfoListObject.status = valueAppInfoListAppInfo["Status"].asString();
|
||||
if(!valueAppInfoListAppInfo["CreationTime"].isNull())
|
||||
appInfoListObject.creationTime = valueAppInfoListAppInfo["CreationTime"].asString();
|
||||
if(!valueAppInfoListAppInfo["AppName"].isNull())
|
||||
appInfoListObject.appName = valueAppInfoListAppInfo["AppName"].asString();
|
||||
if(!valueAppInfoListAppInfo["Description"].isNull())
|
||||
appInfoListObject.description = valueAppInfoListAppInfo["Description"].asString();
|
||||
if(!valueAppInfoListAppInfo["AppId"].isNull())
|
||||
appInfoListObject.appId = valueAppInfoListAppInfo["AppId"].asString();
|
||||
if(!valueAppInfoListAppInfo["ModificationTime"].isNull())
|
||||
appInfoListObject.modificationTime = valueAppInfoListAppInfo["ModificationTime"].asString();
|
||||
appInfoList_.push_back(appInfoListObject);
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAttachedMediaInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAttachedMediaInfoRequest;
|
||||
|
||||
GetAttachedMediaInfoRequest::GetAttachedMediaInfoRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetAttachedMediaInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAttachedMediaInfoRequest::~GetAttachedMediaInfoRequest()
|
||||
{}
|
||||
|
||||
long GetAttachedMediaInfoRequest::getResourceRealOwnerId()const
|
||||
{
|
||||
return resourceRealOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAttachedMediaInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAttachedMediaInfoRequest;
|
||||
|
||||
GetAttachedMediaInfoRequest::GetAttachedMediaInfoRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetAttachedMediaInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetAttachedMediaInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId)
|
||||
{
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
|
||||
GetAttachedMediaInfoRequest::~GetAttachedMediaInfoRequest() {}
|
||||
|
||||
long GetAttachedMediaInfoRequest::getResourceRealOwnerId() const {
|
||||
return resourceRealOwnerId_;
|
||||
}
|
||||
|
||||
std::string GetAttachedMediaInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetAttachedMediaInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId) {
|
||||
resourceRealOwnerId_ = resourceRealOwnerId;
|
||||
setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId));
|
||||
}
|
||||
|
||||
void GetAttachedMediaInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetAttachedMediaInfoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetAttachedMediaInfoRequest::getOutputType()const
|
||||
{
|
||||
return outputType_;
|
||||
void GetAttachedMediaInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetAttachedMediaInfoRequest::setOutputType(const std::string& outputType)
|
||||
{
|
||||
outputType_ = outputType;
|
||||
setParameter("OutputType", outputType);
|
||||
std::string GetAttachedMediaInfoRequest::getOutputType() const {
|
||||
return outputType_;
|
||||
}
|
||||
|
||||
std::string GetAttachedMediaInfoRequest::getMediaIds()const
|
||||
{
|
||||
return mediaIds_;
|
||||
void GetAttachedMediaInfoRequest::setOutputType(const std::string &outputType) {
|
||||
outputType_ = outputType;
|
||||
setParameter(std::string("OutputType"), outputType);
|
||||
}
|
||||
|
||||
void GetAttachedMediaInfoRequest::setMediaIds(const std::string& mediaIds)
|
||||
{
|
||||
mediaIds_ = mediaIds;
|
||||
setParameter("MediaIds", mediaIds);
|
||||
std::string GetAttachedMediaInfoRequest::getMediaIds() const {
|
||||
return mediaIds_;
|
||||
}
|
||||
|
||||
long GetAttachedMediaInfoRequest::getAuthTimeout()const
|
||||
{
|
||||
return authTimeout_;
|
||||
void GetAttachedMediaInfoRequest::setMediaIds(const std::string &mediaIds) {
|
||||
mediaIds_ = mediaIds;
|
||||
setParameter(std::string("MediaIds"), mediaIds);
|
||||
}
|
||||
|
||||
void GetAttachedMediaInfoRequest::setAuthTimeout(long authTimeout)
|
||||
{
|
||||
authTimeout_ = authTimeout;
|
||||
setParameter("AuthTimeout", std::to_string(authTimeout));
|
||||
long GetAttachedMediaInfoRequest::getAuthTimeout() const {
|
||||
return authTimeout_;
|
||||
}
|
||||
|
||||
void GetAttachedMediaInfoRequest::setAuthTimeout(long authTimeout) {
|
||||
authTimeout_ = authTimeout;
|
||||
setParameter(std::string("AuthTimeout"), std::to_string(authTimeout));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,48 +43,48 @@ void GetAttachedMediaInfoResult::parse(const std::string &payload)
|
||||
for (auto valueAttachedMediaListAttachedMedia : allAttachedMediaListNode)
|
||||
{
|
||||
AttachedMedia attachedMediaListObject;
|
||||
if(!valueAttachedMediaListAttachedMedia["MediaId"].isNull())
|
||||
attachedMediaListObject.mediaId = valueAttachedMediaListAttachedMedia["MediaId"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["Title"].isNull())
|
||||
attachedMediaListObject.title = valueAttachedMediaListAttachedMedia["Title"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["Type"].isNull())
|
||||
attachedMediaListObject.type = valueAttachedMediaListAttachedMedia["Type"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["Tags"].isNull())
|
||||
attachedMediaListObject.tags = valueAttachedMediaListAttachedMedia["Tags"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["URL"].isNull())
|
||||
attachedMediaListObject.uRL = valueAttachedMediaListAttachedMedia["URL"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["Description"].isNull())
|
||||
attachedMediaListObject.description = valueAttachedMediaListAttachedMedia["Description"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["FileSize"].isNull())
|
||||
attachedMediaListObject.fileSize = std::stol(valueAttachedMediaListAttachedMedia["FileSize"].asString());
|
||||
if(!valueAttachedMediaListAttachedMedia["StorageLocation"].isNull())
|
||||
attachedMediaListObject.storageLocation = valueAttachedMediaListAttachedMedia["StorageLocation"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["CreationTime"].isNull())
|
||||
attachedMediaListObject.creationTime = valueAttachedMediaListAttachedMedia["CreationTime"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["ModificationTime"].isNull())
|
||||
attachedMediaListObject.modificationTime = valueAttachedMediaListAttachedMedia["ModificationTime"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["AppId"].isNull())
|
||||
attachedMediaListObject.appId = valueAttachedMediaListAttachedMedia["AppId"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["Status"].isNull())
|
||||
attachedMediaListObject.status = valueAttachedMediaListAttachedMedia["Status"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["OnlineStatus"].isNull())
|
||||
attachedMediaListObject.onlineStatus = valueAttachedMediaListAttachedMedia["OnlineStatus"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["Icon"].isNull())
|
||||
attachedMediaListObject.icon = valueAttachedMediaListAttachedMedia["Icon"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["Tags"].isNull())
|
||||
attachedMediaListObject.tags = valueAttachedMediaListAttachedMedia["Tags"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["ModificationTime"].isNull())
|
||||
attachedMediaListObject.modificationTime = valueAttachedMediaListAttachedMedia["ModificationTime"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["MediaId"].isNull())
|
||||
attachedMediaListObject.mediaId = valueAttachedMediaListAttachedMedia["MediaId"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["RegionId"].isNull())
|
||||
attachedMediaListObject.regionId = valueAttachedMediaListAttachedMedia["RegionId"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["Description"].isNull())
|
||||
attachedMediaListObject.description = valueAttachedMediaListAttachedMedia["Description"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["AppId"].isNull())
|
||||
attachedMediaListObject.appId = valueAttachedMediaListAttachedMedia["AppId"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["URL"].isNull())
|
||||
attachedMediaListObject.uRL = valueAttachedMediaListAttachedMedia["URL"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["Title"].isNull())
|
||||
attachedMediaListObject.title = valueAttachedMediaListAttachedMedia["Title"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["OnlineStatus"].isNull())
|
||||
attachedMediaListObject.onlineStatus = valueAttachedMediaListAttachedMedia["OnlineStatus"].asString();
|
||||
if(!valueAttachedMediaListAttachedMedia["FileSize"].isNull())
|
||||
attachedMediaListObject.fileSize = std::stol(valueAttachedMediaListAttachedMedia["FileSize"].asString());
|
||||
auto allCategoriesNode = valueAttachedMediaListAttachedMedia["Categories"]["Category"];
|
||||
for (auto valueAttachedMediaListAttachedMediaCategoriesCategory : allCategoriesNode)
|
||||
{
|
||||
AttachedMedia::Category categoriesObject;
|
||||
if(!valueAttachedMediaListAttachedMediaCategoriesCategory["CateId"].isNull())
|
||||
categoriesObject.cateId = std::stol(valueAttachedMediaListAttachedMediaCategoriesCategory["CateId"].asString());
|
||||
if(!valueAttachedMediaListAttachedMediaCategoriesCategory["CateName"].isNull())
|
||||
categoriesObject.cateName = valueAttachedMediaListAttachedMediaCategoriesCategory["CateName"].asString();
|
||||
if(!valueAttachedMediaListAttachedMediaCategoriesCategory["Level"].isNull())
|
||||
categoriesObject.level = std::stol(valueAttachedMediaListAttachedMediaCategoriesCategory["Level"].asString());
|
||||
if(!valueAttachedMediaListAttachedMediaCategoriesCategory["ParentId"].isNull())
|
||||
categoriesObject.parentId = std::stol(valueAttachedMediaListAttachedMediaCategoriesCategory["ParentId"].asString());
|
||||
if(!valueAttachedMediaListAttachedMediaCategoriesCategory["CateName"].isNull())
|
||||
categoriesObject.cateName = valueAttachedMediaListAttachedMediaCategoriesCategory["CateName"].asString();
|
||||
if(!valueAttachedMediaListAttachedMediaCategoriesCategory["CateId"].isNull())
|
||||
categoriesObject.cateId = std::stol(valueAttachedMediaListAttachedMediaCategoriesCategory["CateId"].asString());
|
||||
if(!valueAttachedMediaListAttachedMediaCategoriesCategory["Level"].isNull())
|
||||
categoriesObject.level = std::stol(valueAttachedMediaListAttachedMediaCategoriesCategory["Level"].asString());
|
||||
attachedMediaListObject.categories.push_back(categoriesObject);
|
||||
}
|
||||
attachedMediaList_.push_back(attachedMediaListObject);
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAuditHistoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAuditHistoryRequest;
|
||||
|
||||
GetAuditHistoryRequest::GetAuditHistoryRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetAuditHistory")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAuditHistoryRequest::~GetAuditHistoryRequest()
|
||||
{}
|
||||
|
||||
long GetAuditHistoryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetAuditHistoryRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetAuditHistoryRequest;
|
||||
|
||||
GetAuditHistoryRequest::GetAuditHistoryRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetAuditHistory") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetAuditHistoryRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
GetAuditHistoryRequest::~GetAuditHistoryRequest() {}
|
||||
|
||||
long GetAuditHistoryRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string GetAuditHistoryRequest::getVideoId()const
|
||||
{
|
||||
return videoId_;
|
||||
void GetAuditHistoryRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void GetAuditHistoryRequest::setVideoId(const std::string& videoId)
|
||||
{
|
||||
videoId_ = videoId;
|
||||
setParameter("VideoId", videoId);
|
||||
std::string GetAuditHistoryRequest::getVideoId() const {
|
||||
return videoId_;
|
||||
}
|
||||
|
||||
long GetAuditHistoryRequest::getPageNo()const
|
||||
{
|
||||
return pageNo_;
|
||||
void GetAuditHistoryRequest::setVideoId(const std::string &videoId) {
|
||||
videoId_ = videoId;
|
||||
setParameter(std::string("VideoId"), videoId);
|
||||
}
|
||||
|
||||
void GetAuditHistoryRequest::setPageNo(long pageNo)
|
||||
{
|
||||
pageNo_ = pageNo;
|
||||
setParameter("PageNo", std::to_string(pageNo));
|
||||
long GetAuditHistoryRequest::getPageNo() const {
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
std::string GetAuditHistoryRequest::getSortBy()const
|
||||
{
|
||||
return sortBy_;
|
||||
void GetAuditHistoryRequest::setPageNo(long pageNo) {
|
||||
pageNo_ = pageNo;
|
||||
setParameter(std::string("PageNo"), std::to_string(pageNo));
|
||||
}
|
||||
|
||||
void GetAuditHistoryRequest::setSortBy(const std::string& sortBy)
|
||||
{
|
||||
sortBy_ = sortBy;
|
||||
setParameter("SortBy", sortBy);
|
||||
std::string GetAuditHistoryRequest::getSortBy() const {
|
||||
return sortBy_;
|
||||
}
|
||||
|
||||
void GetAuditHistoryRequest::setSortBy(const std::string &sortBy) {
|
||||
sortBy_ = sortBy;
|
||||
setParameter(std::string("SortBy"), sortBy);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,14 +43,14 @@ void GetAuditHistoryResult::parse(const std::string &payload)
|
||||
for (auto valueHistoriesHistory : allHistoriesNode)
|
||||
{
|
||||
History historiesObject;
|
||||
if(!valueHistoriesHistory["CreationTime"].isNull())
|
||||
historiesObject.creationTime = valueHistoriesHistory["CreationTime"].asString();
|
||||
if(!valueHistoriesHistory["Status"].isNull())
|
||||
historiesObject.status = valueHistoriesHistory["Status"].asString();
|
||||
if(!valueHistoriesHistory["Reason"].isNull())
|
||||
historiesObject.reason = valueHistoriesHistory["Reason"].asString();
|
||||
if(!valueHistoriesHistory["CreationTime"].isNull())
|
||||
historiesObject.creationTime = valueHistoriesHistory["CreationTime"].asString();
|
||||
if(!valueHistoriesHistory["Comment"].isNull())
|
||||
historiesObject.comment = valueHistoriesHistory["Comment"].asString();
|
||||
if(!valueHistoriesHistory["Reason"].isNull())
|
||||
historiesObject.reason = valueHistoriesHistory["Reason"].asString();
|
||||
if(!valueHistoriesHistory["Auditor"].isNull())
|
||||
historiesObject.auditor = valueHistoriesHistory["Auditor"].asString();
|
||||
histories_.push_back(historiesObject);
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetCategoriesRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetCategoriesRequest;
|
||||
|
||||
GetCategoriesRequest::GetCategoriesRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetCategories")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetCategoriesRequest::~GetCategoriesRequest()
|
||||
{}
|
||||
|
||||
std::string GetCategoriesRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetCategoriesRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetCategoriesRequest;
|
||||
|
||||
GetCategoriesRequest::GetCategoriesRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetCategories") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetCategoriesRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
GetCategoriesRequest::~GetCategoriesRequest() {}
|
||||
|
||||
std::string GetCategoriesRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
long GetCategoriesRequest::getCateId()const
|
||||
{
|
||||
return cateId_;
|
||||
void GetCategoriesRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void GetCategoriesRequest::setCateId(long cateId)
|
||||
{
|
||||
cateId_ = cateId;
|
||||
setParameter("CateId", std::to_string(cateId));
|
||||
long GetCategoriesRequest::getCateId() const {
|
||||
return cateId_;
|
||||
}
|
||||
|
||||
long GetCategoriesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void GetCategoriesRequest::setCateId(long cateId) {
|
||||
cateId_ = cateId;
|
||||
setParameter(std::string("CateId"), std::to_string(cateId));
|
||||
}
|
||||
|
||||
void GetCategoriesRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
long GetCategoriesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long GetCategoriesRequest::getPageNo()const
|
||||
{
|
||||
return pageNo_;
|
||||
void GetCategoriesRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void GetCategoriesRequest::setPageNo(long pageNo)
|
||||
{
|
||||
pageNo_ = pageNo;
|
||||
setParameter("PageNo", std::to_string(pageNo));
|
||||
long GetCategoriesRequest::getPageNo() const {
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
std::string GetCategoriesRequest::getSortBy()const
|
||||
{
|
||||
return sortBy_;
|
||||
void GetCategoriesRequest::setPageNo(long pageNo) {
|
||||
pageNo_ = pageNo;
|
||||
setParameter(std::string("PageNo"), std::to_string(pageNo));
|
||||
}
|
||||
|
||||
void GetCategoriesRequest::setSortBy(const std::string& sortBy)
|
||||
{
|
||||
sortBy_ = sortBy;
|
||||
setParameter("SortBy", sortBy);
|
||||
std::string GetCategoriesRequest::getSortBy() const {
|
||||
return sortBy_;
|
||||
}
|
||||
|
||||
void GetCategoriesRequest::setSortBy(const std::string &sortBy) {
|
||||
sortBy_ = sortBy;
|
||||
setParameter(std::string("SortBy"), sortBy);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,31 +43,31 @@ void GetCategoriesResult::parse(const std::string &payload)
|
||||
for (auto valueSubCategoriesCategory : allSubCategoriesNode)
|
||||
{
|
||||
Category subCategoriesObject;
|
||||
if(!valueSubCategoriesCategory["CateId"].isNull())
|
||||
subCategoriesObject.cateId = std::stol(valueSubCategoriesCategory["CateId"].asString());
|
||||
if(!valueSubCategoriesCategory["CateName"].isNull())
|
||||
subCategoriesObject.cateName = valueSubCategoriesCategory["CateName"].asString();
|
||||
if(!valueSubCategoriesCategory["Level"].isNull())
|
||||
subCategoriesObject.level = std::stol(valueSubCategoriesCategory["Level"].asString());
|
||||
if(!valueSubCategoriesCategory["ParentId"].isNull())
|
||||
subCategoriesObject.parentId = std::stol(valueSubCategoriesCategory["ParentId"].asString());
|
||||
if(!valueSubCategoriesCategory["SubTotal"].isNull())
|
||||
subCategoriesObject.subTotal = std::stol(valueSubCategoriesCategory["SubTotal"].asString());
|
||||
if(!valueSubCategoriesCategory["Type"].isNull())
|
||||
subCategoriesObject.type = valueSubCategoriesCategory["Type"].asString();
|
||||
if(!valueSubCategoriesCategory["CateName"].isNull())
|
||||
subCategoriesObject.cateName = valueSubCategoriesCategory["CateName"].asString();
|
||||
if(!valueSubCategoriesCategory["ParentId"].isNull())
|
||||
subCategoriesObject.parentId = std::stol(valueSubCategoriesCategory["ParentId"].asString());
|
||||
if(!valueSubCategoriesCategory["CateId"].isNull())
|
||||
subCategoriesObject.cateId = std::stol(valueSubCategoriesCategory["CateId"].asString());
|
||||
if(!valueSubCategoriesCategory["SubTotal"].isNull())
|
||||
subCategoriesObject.subTotal = std::stol(valueSubCategoriesCategory["SubTotal"].asString());
|
||||
if(!valueSubCategoriesCategory["Level"].isNull())
|
||||
subCategoriesObject.level = std::stol(valueSubCategoriesCategory["Level"].asString());
|
||||
subCategories_.push_back(subCategoriesObject);
|
||||
}
|
||||
auto category1Node = value["Category"];
|
||||
if(!category1Node["CateId"].isNull())
|
||||
category1_.cateId = std::stol(category1Node["CateId"].asString());
|
||||
if(!category1Node["CateName"].isNull())
|
||||
category1_.cateName = category1Node["CateName"].asString();
|
||||
if(!category1Node["Level"].isNull())
|
||||
category1_.level = std::stol(category1Node["Level"].asString());
|
||||
if(!category1Node["ParentId"].isNull())
|
||||
category1_.parentId = std::stol(category1Node["ParentId"].asString());
|
||||
if(!category1Node["Type"].isNull())
|
||||
category1_.type = category1Node["Type"].asString();
|
||||
if(!category1Node["ParentId"].isNull())
|
||||
category1_.parentId = std::stol(category1Node["ParentId"].asString());
|
||||
if(!category1Node["CateName"].isNull())
|
||||
category1_.cateName = category1Node["CateName"].asString();
|
||||
if(!category1Node["CateId"].isNull())
|
||||
category1_.cateId = std::stol(category1Node["CateId"].asString());
|
||||
if(!category1Node["Level"].isNull())
|
||||
category1_.level = std::stol(category1Node["Level"].asString());
|
||||
if(!value["SubTotal"].isNull())
|
||||
subTotal_ = std::stol(value["SubTotal"].asString());
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetDefaultAITemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetDefaultAITemplateRequest;
|
||||
|
||||
GetDefaultAITemplateRequest::GetDefaultAITemplateRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetDefaultAITemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDefaultAITemplateRequest::~GetDefaultAITemplateRequest()
|
||||
{}
|
||||
|
||||
std::string GetDefaultAITemplateRequest::getTemplateType()const
|
||||
{
|
||||
return templateType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetDefaultAITemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetDefaultAITemplateRequest;
|
||||
|
||||
GetDefaultAITemplateRequest::GetDefaultAITemplateRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetDefaultAITemplate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetDefaultAITemplateRequest::setTemplateType(const std::string& templateType)
|
||||
{
|
||||
templateType_ = templateType;
|
||||
setParameter("TemplateType", templateType);
|
||||
GetDefaultAITemplateRequest::~GetDefaultAITemplateRequest() {}
|
||||
|
||||
std::string GetDefaultAITemplateRequest::getTemplateType() const {
|
||||
return templateType_;
|
||||
}
|
||||
|
||||
void GetDefaultAITemplateRequest::setTemplateType(const std::string &templateType) {
|
||||
templateType_ = templateType;
|
||||
setParameter(std::string("TemplateType"), templateType);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,20 +40,20 @@ void GetDefaultAITemplateResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto templateInfoNode = value["TemplateInfo"];
|
||||
if(!templateInfoNode["TemplateId"].isNull())
|
||||
templateInfo_.templateId = templateInfoNode["TemplateId"].asString();
|
||||
if(!templateInfoNode["TemplateType"].isNull())
|
||||
templateInfo_.templateType = templateInfoNode["TemplateType"].asString();
|
||||
if(!templateInfoNode["TemplateName"].isNull())
|
||||
templateInfo_.templateName = templateInfoNode["TemplateName"].asString();
|
||||
if(!templateInfoNode["TemplateConfig"].isNull())
|
||||
templateInfo_.templateConfig = templateInfoNode["TemplateConfig"].asString();
|
||||
if(!templateInfoNode["Source"].isNull())
|
||||
templateInfo_.source = templateInfoNode["Source"].asString();
|
||||
if(!templateInfoNode["IsDefault"].isNull())
|
||||
templateInfo_.isDefault = templateInfoNode["IsDefault"].asString();
|
||||
if(!templateInfoNode["CreationTime"].isNull())
|
||||
templateInfo_.creationTime = templateInfoNode["CreationTime"].asString();
|
||||
if(!templateInfoNode["IsDefault"].isNull())
|
||||
templateInfo_.isDefault = templateInfoNode["IsDefault"].asString();
|
||||
if(!templateInfoNode["TemplateType"].isNull())
|
||||
templateInfo_.templateType = templateInfoNode["TemplateType"].asString();
|
||||
if(!templateInfoNode["TemplateConfig"].isNull())
|
||||
templateInfo_.templateConfig = templateInfoNode["TemplateConfig"].asString();
|
||||
if(!templateInfoNode["TemplateName"].isNull())
|
||||
templateInfo_.templateName = templateInfoNode["TemplateName"].asString();
|
||||
if(!templateInfoNode["Source"].isNull())
|
||||
templateInfo_.source = templateInfoNode["Source"].asString();
|
||||
if(!templateInfoNode["TemplateId"].isNull())
|
||||
templateInfo_.templateId = templateInfoNode["TemplateId"].asString();
|
||||
if(!templateInfoNode["ModifyTime"].isNull())
|
||||
templateInfo_.modifyTime = templateInfoNode["ModifyTime"].asString();
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetEditingProjectMaterialsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetEditingProjectMaterialsRequest;
|
||||
|
||||
GetEditingProjectMaterialsRequest::GetEditingProjectMaterialsRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetEditingProjectMaterials")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetEditingProjectMaterialsRequest::~GetEditingProjectMaterialsRequest()
|
||||
{}
|
||||
|
||||
std::string GetEditingProjectMaterialsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetEditingProjectMaterialsRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetEditingProjectMaterialsRequest;
|
||||
|
||||
GetEditingProjectMaterialsRequest::GetEditingProjectMaterialsRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetEditingProjectMaterials") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetEditingProjectMaterialsRequest::setResourceOwnerId(const std::string& resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", resourceOwnerId);
|
||||
GetEditingProjectMaterialsRequest::~GetEditingProjectMaterialsRequest() {}
|
||||
|
||||
std::string GetEditingProjectMaterialsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectMaterialsRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void GetEditingProjectMaterialsRequest::setResourceOwnerId(const std::string &resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
|
||||
}
|
||||
|
||||
void GetEditingProjectMaterialsRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
std::string GetEditingProjectMaterialsRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectMaterialsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetEditingProjectMaterialsRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void GetEditingProjectMaterialsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetEditingProjectMaterialsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectMaterialsRequest::getMaterialType()const
|
||||
{
|
||||
return materialType_;
|
||||
void GetEditingProjectMaterialsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetEditingProjectMaterialsRequest::setMaterialType(const std::string& materialType)
|
||||
{
|
||||
materialType_ = materialType;
|
||||
setParameter("MaterialType", materialType);
|
||||
std::string GetEditingProjectMaterialsRequest::getMaterialType() const {
|
||||
return materialType_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectMaterialsRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
void GetEditingProjectMaterialsRequest::setMaterialType(const std::string &materialType) {
|
||||
materialType_ = materialType;
|
||||
setParameter(std::string("MaterialType"), materialType);
|
||||
}
|
||||
|
||||
void GetEditingProjectMaterialsRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", projectId);
|
||||
std::string GetEditingProjectMaterialsRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectMaterialsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void GetEditingProjectMaterialsRequest::setProjectId(const std::string &projectId) {
|
||||
projectId_ = projectId;
|
||||
setParameter(std::string("ProjectId"), projectId);
|
||||
}
|
||||
|
||||
void GetEditingProjectMaterialsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string GetEditingProjectMaterialsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectMaterialsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void GetEditingProjectMaterialsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void GetEditingProjectMaterialsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string GetEditingProjectMaterialsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectMaterialsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void GetEditingProjectMaterialsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void GetEditingProjectMaterialsRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string GetEditingProjectMaterialsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetEditingProjectMaterialsRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,42 +43,42 @@ void GetEditingProjectMaterialsResult::parse(const std::string &payload)
|
||||
for (auto valueMaterialListMaterial : allMaterialListNode)
|
||||
{
|
||||
Material materialListObject;
|
||||
if(!valueMaterialListMaterial["MaterialId"].isNull())
|
||||
materialListObject.materialId = valueMaterialListMaterial["MaterialId"].asString();
|
||||
if(!valueMaterialListMaterial["Title"].isNull())
|
||||
materialListObject.title = valueMaterialListMaterial["Title"].asString();
|
||||
if(!valueMaterialListMaterial["Tags"].isNull())
|
||||
materialListObject.tags = valueMaterialListMaterial["Tags"].asString();
|
||||
if(!valueMaterialListMaterial["Status"].isNull())
|
||||
materialListObject.status = valueMaterialListMaterial["Status"].asString();
|
||||
if(!valueMaterialListMaterial["Size"].isNull())
|
||||
materialListObject.size = std::stol(valueMaterialListMaterial["Size"].asString());
|
||||
if(!valueMaterialListMaterial["Duration"].isNull())
|
||||
materialListObject.duration = std::stof(valueMaterialListMaterial["Duration"].asString());
|
||||
if(!valueMaterialListMaterial["Description"].isNull())
|
||||
materialListObject.description = valueMaterialListMaterial["Description"].asString();
|
||||
if(!valueMaterialListMaterial["CreationTime"].isNull())
|
||||
materialListObject.creationTime = valueMaterialListMaterial["CreationTime"].asString();
|
||||
if(!valueMaterialListMaterial["ModifiedTime"].isNull())
|
||||
materialListObject.modifiedTime = valueMaterialListMaterial["ModifiedTime"].asString();
|
||||
if(!valueMaterialListMaterial["CoverURL"].isNull())
|
||||
materialListObject.coverURL = valueMaterialListMaterial["CoverURL"].asString();
|
||||
if(!valueMaterialListMaterial["CateId"].isNull())
|
||||
materialListObject.cateId = std::stoi(valueMaterialListMaterial["CateId"].asString());
|
||||
if(!valueMaterialListMaterial["CateName"].isNull())
|
||||
materialListObject.cateName = valueMaterialListMaterial["CateName"].asString();
|
||||
if(!valueMaterialListMaterial["Source"].isNull())
|
||||
materialListObject.source = valueMaterialListMaterial["Source"].asString();
|
||||
if(!valueMaterialListMaterial["SpriteConfig"].isNull())
|
||||
materialListObject.spriteConfig = valueMaterialListMaterial["SpriteConfig"].asString();
|
||||
if(!valueMaterialListMaterial["MaterialType"].isNull())
|
||||
materialListObject.materialType = valueMaterialListMaterial["MaterialType"].asString();
|
||||
auto allSnapshots = value["Snapshots"]["Snapshot"];
|
||||
for (auto value : allSnapshots)
|
||||
materialListObject.snapshots.push_back(value.asString());
|
||||
if(!valueMaterialListMaterial["Tags"].isNull())
|
||||
materialListObject.tags = valueMaterialListMaterial["Tags"].asString();
|
||||
if(!valueMaterialListMaterial["SpriteConfig"].isNull())
|
||||
materialListObject.spriteConfig = valueMaterialListMaterial["SpriteConfig"].asString();
|
||||
if(!valueMaterialListMaterial["Source"].isNull())
|
||||
materialListObject.source = valueMaterialListMaterial["Source"].asString();
|
||||
if(!valueMaterialListMaterial["CateName"].isNull())
|
||||
materialListObject.cateName = valueMaterialListMaterial["CateName"].asString();
|
||||
if(!valueMaterialListMaterial["ModifiedTime"].isNull())
|
||||
materialListObject.modifiedTime = valueMaterialListMaterial["ModifiedTime"].asString();
|
||||
if(!valueMaterialListMaterial["Description"].isNull())
|
||||
materialListObject.description = valueMaterialListMaterial["Description"].asString();
|
||||
if(!valueMaterialListMaterial["MaterialId"].isNull())
|
||||
materialListObject.materialId = valueMaterialListMaterial["MaterialId"].asString();
|
||||
if(!valueMaterialListMaterial["Size"].isNull())
|
||||
materialListObject.size = std::stol(valueMaterialListMaterial["Size"].asString());
|
||||
if(!valueMaterialListMaterial["CoverURL"].isNull())
|
||||
materialListObject.coverURL = valueMaterialListMaterial["CoverURL"].asString();
|
||||
if(!valueMaterialListMaterial["Duration"].isNull())
|
||||
materialListObject.duration = std::stof(valueMaterialListMaterial["Duration"].asString());
|
||||
if(!valueMaterialListMaterial["Title"].isNull())
|
||||
materialListObject.title = valueMaterialListMaterial["Title"].asString();
|
||||
auto allSprites = value["Sprites"]["Sprite"];
|
||||
for (auto value : allSprites)
|
||||
materialListObject.sprites.push_back(value.asString());
|
||||
auto allSnapshots = value["Snapshots"]["Snapshot"];
|
||||
for (auto value : allSnapshots)
|
||||
materialListObject.snapshots.push_back(value.asString());
|
||||
materialList_.push_back(materialListObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetEditingProjectRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetEditingProjectRequest;
|
||||
|
||||
GetEditingProjectRequest::GetEditingProjectRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetEditingProject")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetEditingProjectRequest::~GetEditingProjectRequest()
|
||||
{}
|
||||
|
||||
std::string GetEditingProjectRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetEditingProjectRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetEditingProjectRequest;
|
||||
|
||||
GetEditingProjectRequest::GetEditingProjectRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetEditingProject") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetEditingProjectRequest::setResourceOwnerId(const std::string& resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", resourceOwnerId);
|
||||
GetEditingProjectRequest::~GetEditingProjectRequest() {}
|
||||
|
||||
std::string GetEditingProjectRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetEditingProjectRequest::setResourceOwnerId(const std::string &resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
|
||||
}
|
||||
|
||||
void GetEditingProjectRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetEditingProjectRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
int GetEditingProjectRequest::getFEExtendFlag()const
|
||||
{
|
||||
return fEExtendFlag_;
|
||||
void GetEditingProjectRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetEditingProjectRequest::setFEExtendFlag(int fEExtendFlag)
|
||||
{
|
||||
fEExtendFlag_ = fEExtendFlag;
|
||||
setParameter("FEExtendFlag", std::to_string(fEExtendFlag));
|
||||
int GetEditingProjectRequest::getFEExtendFlag() const {
|
||||
return fEExtendFlag_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
void GetEditingProjectRequest::setFEExtendFlag(int fEExtendFlag) {
|
||||
fEExtendFlag_ = fEExtendFlag;
|
||||
setParameter(std::string("FEExtendFlag"), std::to_string(fEExtendFlag));
|
||||
}
|
||||
|
||||
void GetEditingProjectRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", projectId);
|
||||
std::string GetEditingProjectRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void GetEditingProjectRequest::setProjectId(const std::string &projectId) {
|
||||
projectId_ = projectId;
|
||||
setParameter(std::string("ProjectId"), projectId);
|
||||
}
|
||||
|
||||
void GetEditingProjectRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string GetEditingProjectRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void GetEditingProjectRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void GetEditingProjectRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string GetEditingProjectRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string GetEditingProjectRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void GetEditingProjectRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void GetEditingProjectRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string GetEditingProjectRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetEditingProjectRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,28 +40,28 @@ void GetEditingProjectResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto projectNode = value["Project"];
|
||||
if(!projectNode["ProjectId"].isNull())
|
||||
project_.projectId = projectNode["ProjectId"].asString();
|
||||
if(!projectNode["StorageLocation"].isNull())
|
||||
project_.storageLocation = projectNode["StorageLocation"].asString();
|
||||
if(!projectNode["Status"].isNull())
|
||||
project_.status = projectNode["Status"].asString();
|
||||
if(!projectNode["CreationTime"].isNull())
|
||||
project_.creationTime = projectNode["CreationTime"].asString();
|
||||
if(!projectNode["ModifiedTime"].isNull())
|
||||
project_.modifiedTime = projectNode["ModifiedTime"].asString();
|
||||
if(!projectNode["Status"].isNull())
|
||||
project_.status = projectNode["Status"].asString();
|
||||
if(!projectNode["Description"].isNull())
|
||||
project_.description = projectNode["Description"].asString();
|
||||
if(!projectNode["Title"].isNull())
|
||||
project_.title = projectNode["Title"].asString();
|
||||
if(!projectNode["Timeline"].isNull())
|
||||
project_.timeline = projectNode["Timeline"].asString();
|
||||
if(!projectNode["CoverURL"].isNull())
|
||||
project_.coverURL = projectNode["CoverURL"].asString();
|
||||
if(!projectNode["StorageLocation"].isNull())
|
||||
project_.storageLocation = projectNode["StorageLocation"].asString();
|
||||
if(!projectNode["RegionId"].isNull())
|
||||
project_.regionId = projectNode["RegionId"].asString();
|
||||
if(!projectNode["FEExtend"].isNull())
|
||||
project_.fEExtend = projectNode["FEExtend"].asString();
|
||||
if(!projectNode["Description"].isNull())
|
||||
project_.description = projectNode["Description"].asString();
|
||||
if(!projectNode["CoverURL"].isNull())
|
||||
project_.coverURL = projectNode["CoverURL"].asString();
|
||||
if(!projectNode["ProjectId"].isNull())
|
||||
project_.projectId = projectNode["ProjectId"].asString();
|
||||
if(!projectNode["Timeline"].isNull())
|
||||
project_.timeline = projectNode["Timeline"].asString();
|
||||
if(!projectNode["Title"].isNull())
|
||||
project_.title = projectNode["Title"].asString();
|
||||
if(!projectNode["RegionId"].isNull())
|
||||
project_.regionId = projectNode["RegionId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetImageInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetImageInfoRequest;
|
||||
|
||||
GetImageInfoRequest::GetImageInfoRequest() :
|
||||
RpcServiceRequest("vod", "2017-03-21", "GetImageInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetImageInfoRequest::~GetImageInfoRequest()
|
||||
{}
|
||||
|
||||
std::string GetImageInfoRequest::getImageId()const
|
||||
{
|
||||
return imageId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/vod/model/GetImageInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Vod::Model::GetImageInfoRequest;
|
||||
|
||||
GetImageInfoRequest::GetImageInfoRequest()
|
||||
: RpcServiceRequest("vod", "2017-03-21", "GetImageInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetImageInfoRequest::setImageId(const std::string& imageId)
|
||||
{
|
||||
imageId_ = imageId;
|
||||
setParameter("ImageId", imageId);
|
||||
GetImageInfoRequest::~GetImageInfoRequest() {}
|
||||
|
||||
std::string GetImageInfoRequest::getImageId() const {
|
||||
return imageId_;
|
||||
}
|
||||
|
||||
std::string GetImageInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void GetImageInfoRequest::setImageId(const std::string &imageId) {
|
||||
imageId_ = imageId;
|
||||
setParameter(std::string("ImageId"), imageId);
|
||||
}
|
||||
|
||||
void GetImageInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string GetImageInfoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string GetImageInfoRequest::getOutputType()const
|
||||
{
|
||||
return outputType_;
|
||||
void GetImageInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void GetImageInfoRequest::setOutputType(const std::string& outputType)
|
||||
{
|
||||
outputType_ = outputType;
|
||||
setParameter("OutputType", outputType);
|
||||
std::string GetImageInfoRequest::getOutputType() const {
|
||||
return outputType_;
|
||||
}
|
||||
|
||||
long GetImageInfoRequest::getAuthTimeout()const
|
||||
{
|
||||
return authTimeout_;
|
||||
void GetImageInfoRequest::setOutputType(const std::string &outputType) {
|
||||
outputType_ = outputType;
|
||||
setParameter(std::string("OutputType"), outputType);
|
||||
}
|
||||
|
||||
void GetImageInfoRequest::setAuthTimeout(long authTimeout)
|
||||
{
|
||||
authTimeout_ = authTimeout;
|
||||
setParameter("AuthTimeout", std::to_string(authTimeout));
|
||||
long GetImageInfoRequest::getAuthTimeout() const {
|
||||
return authTimeout_;
|
||||
}
|
||||
|
||||
void GetImageInfoRequest::setAuthTimeout(long authTimeout) {
|
||||
authTimeout_ = authTimeout;
|
||||
setParameter(std::string("AuthTimeout"), std::to_string(authTimeout));
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user