diff --git a/CHANGELOG b/CHANGELOG index 499dc15e7..89c23f749 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-04-11 Version: 1.36.1102 +- Set multiple apis to public. + 2022-04-07 Version: 1.36.1101 - Update by SDK platform. diff --git a/VERSION b/VERSION index a9ae98d5f..be6a4ed52 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1101 \ No newline at end of file +1.36.1102 \ No newline at end of file diff --git a/vod/CMakeLists.txt b/vod/CMakeLists.txt index 2671a1f76..09201e3ab 100644 --- a/vod/CMakeLists.txt +++ b/vod/CMakeLists.txt @@ -165,6 +165,8 @@ set(vod_public_header_model include/alibabacloud/vod/model/GetMediaAuditResultTimelineResult.h include/alibabacloud/vod/model/GetMediaDNAResultRequest.h include/alibabacloud/vod/model/GetMediaDNAResultResult.h + include/alibabacloud/vod/model/GetMediaRefreshJobsRequest.h + include/alibabacloud/vod/model/GetMediaRefreshJobsResult.h include/alibabacloud/vod/model/GetMessageCallbackRequest.h include/alibabacloud/vod/model/GetMessageCallbackResult.h include/alibabacloud/vod/model/GetMezzanineInfoRequest.h @@ -225,6 +227,8 @@ set(vod_public_header_model include/alibabacloud/vod/model/PreloadVodObjectCachesResult.h include/alibabacloud/vod/model/ProduceEditingProjectVideoRequest.h include/alibabacloud/vod/model/ProduceEditingProjectVideoResult.h + include/alibabacloud/vod/model/RefreshMediaPlayUrlsRequest.h + include/alibabacloud/vod/model/RefreshMediaPlayUrlsResult.h include/alibabacloud/vod/model/RefreshUploadVideoRequest.h include/alibabacloud/vod/model/RefreshUploadVideoResult.h include/alibabacloud/vod/model/RefreshVodObjectCachesRequest.h @@ -448,6 +452,8 @@ set(vod_src src/model/GetMediaAuditResultTimelineResult.cc src/model/GetMediaDNAResultRequest.cc src/model/GetMediaDNAResultResult.cc + src/model/GetMediaRefreshJobsRequest.cc + src/model/GetMediaRefreshJobsResult.cc src/model/GetMessageCallbackRequest.cc src/model/GetMessageCallbackResult.cc src/model/GetMezzanineInfoRequest.cc @@ -508,6 +514,8 @@ set(vod_src src/model/PreloadVodObjectCachesResult.cc src/model/ProduceEditingProjectVideoRequest.cc src/model/ProduceEditingProjectVideoResult.cc + src/model/RefreshMediaPlayUrlsRequest.cc + src/model/RefreshMediaPlayUrlsResult.cc src/model/RefreshUploadVideoRequest.cc src/model/RefreshUploadVideoResult.cc src/model/RefreshVodObjectCachesRequest.cc diff --git a/vod/include/alibabacloud/vod/VodClient.h b/vod/include/alibabacloud/vod/VodClient.h index 4cce75f95..7541dfb4b 100644 --- a/vod/include/alibabacloud/vod/VodClient.h +++ b/vod/include/alibabacloud/vod/VodClient.h @@ -166,6 +166,8 @@ #include "model/GetMediaAuditResultTimelineResult.h" #include "model/GetMediaDNAResultRequest.h" #include "model/GetMediaDNAResultResult.h" +#include "model/GetMediaRefreshJobsRequest.h" +#include "model/GetMediaRefreshJobsResult.h" #include "model/GetMessageCallbackRequest.h" #include "model/GetMessageCallbackResult.h" #include "model/GetMezzanineInfoRequest.h" @@ -226,6 +228,8 @@ #include "model/PreloadVodObjectCachesResult.h" #include "model/ProduceEditingProjectVideoRequest.h" #include "model/ProduceEditingProjectVideoResult.h" +#include "model/RefreshMediaPlayUrlsRequest.h" +#include "model/RefreshMediaPlayUrlsResult.h" #include "model/RefreshUploadVideoRequest.h" #include "model/RefreshUploadVideoResult.h" #include "model/RefreshVodObjectCachesRequest.h" @@ -527,6 +531,9 @@ namespace AlibabaCloud typedef Outcome GetMediaDNAResultOutcome; typedef std::future GetMediaDNAResultOutcomeCallable; typedef std::function&)> GetMediaDNAResultAsyncHandler; + typedef Outcome GetMediaRefreshJobsOutcome; + typedef std::future GetMediaRefreshJobsOutcomeCallable; + typedef std::function&)> GetMediaRefreshJobsAsyncHandler; typedef Outcome GetMessageCallbackOutcome; typedef std::future GetMessageCallbackOutcomeCallable; typedef std::function&)> GetMessageCallbackAsyncHandler; @@ -617,6 +624,9 @@ namespace AlibabaCloud typedef Outcome ProduceEditingProjectVideoOutcome; typedef std::future ProduceEditingProjectVideoOutcomeCallable; typedef std::function&)> ProduceEditingProjectVideoAsyncHandler; + typedef Outcome RefreshMediaPlayUrlsOutcome; + typedef std::future RefreshMediaPlayUrlsOutcomeCallable; + typedef std::function&)> RefreshMediaPlayUrlsAsyncHandler; typedef Outcome RefreshUploadVideoOutcome; typedef std::future RefreshUploadVideoOutcomeCallable; typedef std::function&)> RefreshUploadVideoAsyncHandler; @@ -952,6 +962,9 @@ namespace AlibabaCloud GetMediaDNAResultOutcome getMediaDNAResult(const Model::GetMediaDNAResultRequest &request)const; void getMediaDNAResultAsync(const Model::GetMediaDNAResultRequest& request, const GetMediaDNAResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetMediaDNAResultOutcomeCallable getMediaDNAResultCallable(const Model::GetMediaDNAResultRequest& request) const; + GetMediaRefreshJobsOutcome getMediaRefreshJobs(const Model::GetMediaRefreshJobsRequest &request)const; + void getMediaRefreshJobsAsync(const Model::GetMediaRefreshJobsRequest& request, const GetMediaRefreshJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetMediaRefreshJobsOutcomeCallable getMediaRefreshJobsCallable(const Model::GetMediaRefreshJobsRequest& request) const; GetMessageCallbackOutcome getMessageCallback(const Model::GetMessageCallbackRequest &request)const; void getMessageCallbackAsync(const Model::GetMessageCallbackRequest& request, const GetMessageCallbackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetMessageCallbackOutcomeCallable getMessageCallbackCallable(const Model::GetMessageCallbackRequest& request) const; @@ -1042,6 +1055,9 @@ namespace AlibabaCloud ProduceEditingProjectVideoOutcome produceEditingProjectVideo(const Model::ProduceEditingProjectVideoRequest &request)const; void produceEditingProjectVideoAsync(const Model::ProduceEditingProjectVideoRequest& request, const ProduceEditingProjectVideoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ProduceEditingProjectVideoOutcomeCallable produceEditingProjectVideoCallable(const Model::ProduceEditingProjectVideoRequest& request) const; + RefreshMediaPlayUrlsOutcome refreshMediaPlayUrls(const Model::RefreshMediaPlayUrlsRequest &request)const; + void refreshMediaPlayUrlsAsync(const Model::RefreshMediaPlayUrlsRequest& request, const RefreshMediaPlayUrlsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RefreshMediaPlayUrlsOutcomeCallable refreshMediaPlayUrlsCallable(const Model::RefreshMediaPlayUrlsRequest& request) const; RefreshUploadVideoOutcome refreshUploadVideo(const Model::RefreshUploadVideoRequest &request)const; void refreshUploadVideoAsync(const Model::RefreshUploadVideoRequest& request, const RefreshUploadVideoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RefreshUploadVideoOutcomeCallable refreshUploadVideoCallable(const Model::RefreshUploadVideoRequest& request) const; diff --git a/vod/include/alibabacloud/vod/model/AddAITemplateRequest.h b/vod/include/alibabacloud/vod/model/AddAITemplateRequest.h index da5cafbe4..663a7cd7a 100644 --- a/vod/include/alibabacloud/vod/model/AddAITemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/AddAITemplateRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_ADDAITEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_ADDAITEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT AddAITemplateRequest : public RpcServiceRequest - { - - public: - AddAITemplateRequest(); - ~AddAITemplateRequest(); - - std::string getTemplateConfig()const; - void setTemplateConfig(const std::string& templateConfig); - std::string getTemplateType()const; - void setTemplateType(const std::string& templateType); - std::string getTemplateName()const; - void setTemplateName(const std::string& templateName); - - private: - std::string templateConfig_; - std::string templateType_; - std::string templateName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_ADDAITEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_ADDAITEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_ADDAITEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT AddAITemplateRequest : public RpcServiceRequest { +public: + AddAITemplateRequest(); + ~AddAITemplateRequest(); + std::string getTemplateConfig() const; + void setTemplateConfig(const std::string &templateConfig); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); + std::string getTemplateName() const; + void setTemplateName(const std::string &templateName); + +private: + std::string templateConfig_; + std::string templateType_; + std::string templateName_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_ADDAITEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/AddCategoryRequest.h b/vod/include/alibabacloud/vod/model/AddCategoryRequest.h index e95fffe83..94d71936d 100644 --- a/vod/include/alibabacloud/vod/model/AddCategoryRequest.h +++ b/vod/include/alibabacloud/vod/model/AddCategoryRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_ADDCATEGORYREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_ADDCATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT AddCategoryRequest : public RpcServiceRequest - { - - public: - AddCategoryRequest(); - ~AddCategoryRequest(); - - std::string getType()const; - void setType(const std::string& type); - long getParentId()const; - void setParentId(long parentId); - std::string getCateName()const; - void setCateName(const std::string& cateName); - - private: - std::string type_; - long parentId_; - std::string cateName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_ADDCATEGORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_ADDCATEGORYREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_ADDCATEGORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT AddCategoryRequest : public RpcServiceRequest { +public: + AddCategoryRequest(); + ~AddCategoryRequest(); + std::string getType() const; + void setType(const std::string &type); + long getParentId() const; + void setParentId(long parentId); + std::string getCateName() const; + void setCateName(const std::string &cateName); + +private: + std::string type_; + long parentId_; + std::string cateName_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_ADDCATEGORYREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/AddCategoryResult.h b/vod/include/alibabacloud/vod/model/AddCategoryResult.h index ea78f1741..b82e44bcf 100644 --- a/vod/include/alibabacloud/vod/model/AddCategoryResult.h +++ b/vod/include/alibabacloud/vod/model/AddCategoryResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud long parentId; std::string type; long level; - long cateId; std::string cateName; + long cateId; }; diff --git a/vod/include/alibabacloud/vod/model/AddEditingProjectRequest.h b/vod/include/alibabacloud/vod/model/AddEditingProjectRequest.h index 953e03932..7af2f4f2a 100644 --- a/vod/include/alibabacloud/vod/model/AddEditingProjectRequest.h +++ b/vod/include/alibabacloud/vod/model/AddEditingProjectRequest.h @@ -1,81 +1,75 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_ADDEDITINGPROJECTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_ADDEDITINGPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT AddEditingProjectRequest : public RpcServiceRequest - { - - public: - AddEditingProjectRequest(); - ~AddEditingProjectRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getTitle()const; - void setTitle(const std::string& title); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getCoverURL()const; - void setCoverURL(const std::string& coverURL); - std::string getDivision()const; - void setDivision(const std::string& division); - float getDuration()const; - void setDuration(float duration); - std::string getFEExtend()const; - void setFEExtend(const std::string& fEExtend); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getTimeline()const; - void setTimeline(const std::string& timeline); - - private: - std::string resourceOwnerId_; - std::string description_; - std::string title_; - std::string accessKeyId_; - std::string coverURL_; - std::string division_; - float duration_; - std::string fEExtend_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string timeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_ADDEDITINGPROJECTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_ADDEDITINGPROJECTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_ADDEDITINGPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT AddEditingProjectRequest : public RpcServiceRequest { +public: + AddEditingProjectRequest(); + ~AddEditingProjectRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getTitle() const; + void setTitle(const std::string &title); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getCoverURL() const; + void setCoverURL(const std::string &coverURL); + std::string getDivision() const; + void setDivision(const std::string &division); + float getDuration() const; + void setDuration(float duration); + std::string getFEExtend() const; + void setFEExtend(const std::string &fEExtend); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getTimeline() const; + void setTimeline(const std::string &timeline); + +private: + std::string resourceOwnerId_; + std::string description_; + std::string title_; + std::string accessKeyId_; + std::string coverURL_; + std::string division_; + float duration_; + std::string fEExtend_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string timeline_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_ADDEDITINGPROJECTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/AddEditingProjectResult.h b/vod/include/alibabacloud/vod/model/AddEditingProjectResult.h index ba12370d2..d24c92588 100644 --- a/vod/include/alibabacloud/vod/model/AddEditingProjectResult.h +++ b/vod/include/alibabacloud/vod/model/AddEditingProjectResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud std::string status; std::string description; std::string modifiedTime; - std::string projectId; std::string creationTime; + std::string projectId; std::string title; }; diff --git a/vod/include/alibabacloud/vod/model/AddTranscodeTemplateGroupRequest.h b/vod/include/alibabacloud/vod/model/AddTranscodeTemplateGroupRequest.h index 108b6f3b0..9ed8d15de 100644 --- a/vod/include/alibabacloud/vod/model/AddTranscodeTemplateGroupRequest.h +++ b/vod/include/alibabacloud/vod/model/AddTranscodeTemplateGroupRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_ADDTRANSCODETEMPLATEGROUPREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_ADDTRANSCODETEMPLATEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT AddTranscodeTemplateGroupRequest : public RpcServiceRequest - { - - public: - AddTranscodeTemplateGroupRequest(); - ~AddTranscodeTemplateGroupRequest(); - - std::string getTranscodeTemplateList()const; - void setTranscodeTemplateList(const std::string& transcodeTemplateList); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getTranscodeTemplateGroupId()const; - void setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId); - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string transcodeTemplateList_; - std::string accessKeyId_; - std::string transcodeTemplateGroupId_; - std::string appId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_ADDTRANSCODETEMPLATEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_ADDTRANSCODETEMPLATEGROUPREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_ADDTRANSCODETEMPLATEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT AddTranscodeTemplateGroupRequest : public RpcServiceRequest { +public: + AddTranscodeTemplateGroupRequest(); + ~AddTranscodeTemplateGroupRequest(); + std::string getTranscodeTemplateList() const; + void setTranscodeTemplateList(const std::string &transcodeTemplateList); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getTranscodeTemplateGroupId() const; + void setTranscodeTemplateGroupId(const std::string &transcodeTemplateGroupId); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string transcodeTemplateList_; + std::string accessKeyId_; + std::string transcodeTemplateGroupId_; + std::string appId_; + std::string name_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_ADDTRANSCODETEMPLATEGROUPREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/AddVodDomainRequest.h b/vod/include/alibabacloud/vod/model/AddVodDomainRequest.h index 792fa8d96..60940c61f 100644 --- a/vod/include/alibabacloud/vod/model/AddVodDomainRequest.h +++ b/vod/include/alibabacloud/vod/model/AddVodDomainRequest.h @@ -1,69 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_ADDVODDOMAINREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_ADDVODDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT AddVodDomainRequest : public RpcServiceRequest - { - - public: - AddVodDomainRequest(); - ~AddVodDomainRequest(); - - std::string getSources()const; - void setSources(const std::string& sources); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getScope()const; - void setScope(const std::string& scope); - std::string getTopLevelDomain()const; - void setTopLevelDomain(const std::string& topLevelDomain); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCheckUrl()const; - void setCheckUrl(const std::string& checkUrl); - - private: - std::string sources_; - std::string securityToken_; - std::string scope_; - std::string topLevelDomain_; - std::string ownerAccount_; - std::string domainName_; - long ownerId_; - std::string checkUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_ADDVODDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_ADDVODDOMAINREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_ADDVODDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT AddVodDomainRequest : public RpcServiceRequest { +public: + AddVodDomainRequest(); + ~AddVodDomainRequest(); + std::string getSources() const; + void setSources(const std::string &sources); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getScope() const; + void setScope(const std::string &scope); + std::string getTopLevelDomain() const; + void setTopLevelDomain(const std::string &topLevelDomain); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCheckUrl() const; + void setCheckUrl(const std::string &checkUrl); + +private: + std::string sources_; + std::string securityToken_; + std::string scope_; + std::string topLevelDomain_; + std::string ownerAccount_; + std::string domainName_; + long ownerId_; + std::string checkUrl_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_ADDVODDOMAINREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/AddVodTemplateRequest.h b/vod/include/alibabacloud/vod/model/AddVodTemplateRequest.h index 14432c077..37503e76c 100644 --- a/vod/include/alibabacloud/vod/model/AddVodTemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/AddVodTemplateRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_ADDVODTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_ADDVODTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT AddVodTemplateRequest : public RpcServiceRequest - { - - public: - AddVodTemplateRequest(); - ~AddVodTemplateRequest(); - - std::string getSubTemplateType()const; - void setSubTemplateType(const std::string& subTemplateType); - std::string getTemplateConfig()const; - void setTemplateConfig(const std::string& templateConfig); - std::string getTemplateType()const; - void setTemplateType(const std::string& templateType); - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string subTemplateType_; - std::string templateConfig_; - std::string templateType_; - std::string appId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_ADDVODTEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_ADDVODTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_ADDVODTEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT AddVodTemplateRequest : public RpcServiceRequest { +public: + AddVodTemplateRequest(); + ~AddVodTemplateRequest(); + std::string getSubTemplateType() const; + void setSubTemplateType(const std::string &subTemplateType); + std::string getTemplateConfig() const; + void setTemplateConfig(const std::string &templateConfig); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string subTemplateType_; + std::string templateConfig_; + std::string templateType_; + std::string appId_; + std::string name_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_ADDVODTEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/AddWatermarkRequest.h b/vod/include/alibabacloud/vod/model/AddWatermarkRequest.h index 424887b83..cf2040172 100644 --- a/vod/include/alibabacloud/vod/model/AddWatermarkRequest.h +++ b/vod/include/alibabacloud/vod/model/AddWatermarkRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_ADDWATERMARKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_ADDWATERMARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT AddWatermarkRequest : public RpcServiceRequest - { - - public: - AddWatermarkRequest(); - ~AddWatermarkRequest(); - - std::string getType()const; - void setType(const std::string& type); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getWatermarkConfig()const; - void setWatermarkConfig(const std::string& watermarkConfig); - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getName()const; - void setName(const std::string& name); - std::string getFileUrl()const; - void setFileUrl(const std::string& fileUrl); - - private: - std::string type_; - std::string accessKeyId_; - std::string watermarkConfig_; - std::string appId_; - std::string name_; - std::string fileUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_ADDWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_ADDWATERMARKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_ADDWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT AddWatermarkRequest : public RpcServiceRequest { +public: + AddWatermarkRequest(); + ~AddWatermarkRequest(); + std::string getType() const; + void setType(const std::string &type); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getWatermarkConfig() const; + void setWatermarkConfig(const std::string &watermarkConfig); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getName() const; + void setName(const std::string &name); + std::string getFileUrl() const; + void setFileUrl(const std::string &fileUrl); + +private: + std::string type_; + std::string accessKeyId_; + std::string watermarkConfig_; + std::string appId_; + std::string name_; + std::string fileUrl_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_ADDWATERMARKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/AttachAppPolicyToIdentityRequest.h b/vod/include/alibabacloud/vod/model/AttachAppPolicyToIdentityRequest.h index b89e068d0..fe71e701d 100644 --- a/vod/include/alibabacloud/vod/model/AttachAppPolicyToIdentityRequest.h +++ b/vod/include/alibabacloud/vod/model/AttachAppPolicyToIdentityRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_ATTACHAPPPOLICYTOIDENTITYREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_ATTACHAPPPOLICYTOIDENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT AttachAppPolicyToIdentityRequest : public RpcServiceRequest - { - - public: - AttachAppPolicyToIdentityRequest(); - ~AttachAppPolicyToIdentityRequest(); - - std::string getPolicyNames()const; - void setPolicyNames(const std::string& policyNames); - std::string getResourceRealOwnerId()const; - void setResourceRealOwnerId(const std::string& resourceRealOwnerId); - std::string getIdentityName()const; - void setIdentityName(const std::string& identityName); - std::string getIdentityType()const; - void setIdentityType(const std::string& identityType); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string policyNames_; - std::string resourceRealOwnerId_; - std::string identityName_; - std::string identityType_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_ATTACHAPPPOLICYTOIDENTITYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_ATTACHAPPPOLICYTOIDENTITYREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_ATTACHAPPPOLICYTOIDENTITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT AttachAppPolicyToIdentityRequest : public RpcServiceRequest { +public: + AttachAppPolicyToIdentityRequest(); + ~AttachAppPolicyToIdentityRequest(); + std::string getPolicyNames() const; + void setPolicyNames(const std::string &policyNames); + std::string getResourceRealOwnerId() const; + void setResourceRealOwnerId(const std::string &resourceRealOwnerId); + std::string getIdentityName() const; + void setIdentityName(const std::string &identityName); + std::string getIdentityType() const; + void setIdentityType(const std::string &identityType); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string policyNames_; + std::string resourceRealOwnerId_; + std::string identityName_; + std::string identityType_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_ATTACHAPPPOLICYTOIDENTITYREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/BatchSetVodDomainConfigsRequest.h b/vod/include/alibabacloud/vod/model/BatchSetVodDomainConfigsRequest.h index 36d421d8d..f70c4faf7 100644 --- a/vod/include/alibabacloud/vod/model/BatchSetVodDomainConfigsRequest.h +++ b/vod/include/alibabacloud/vod/model/BatchSetVodDomainConfigsRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_BATCHSETVODDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_BATCHSETVODDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT BatchSetVodDomainConfigsRequest : public RpcServiceRequest - { - - public: - BatchSetVodDomainConfigsRequest(); - ~BatchSetVodDomainConfigsRequest(); - - std::string getFunctions()const; - void setFunctions(const std::string& functions); - std::string getDomainNames()const; - void setDomainNames(const std::string& domainNames); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string functions_; - std::string domainNames_; - std::string ownerAccount_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_BATCHSETVODDOMAINCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_BATCHSETVODDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_BATCHSETVODDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT BatchSetVodDomainConfigsRequest : public RpcServiceRequest { +public: + BatchSetVodDomainConfigsRequest(); + ~BatchSetVodDomainConfigsRequest(); + std::string getFunctions() const; + void setFunctions(const std::string &functions); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string functions_; + std::string domainNames_; + std::string ownerAccount_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_BATCHSETVODDOMAINCONFIGSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/BatchStartVodDomainRequest.h b/vod/include/alibabacloud/vod/model/BatchStartVodDomainRequest.h index bcfa59241..e59f6356e 100644 --- a/vod/include/alibabacloud/vod/model/BatchStartVodDomainRequest.h +++ b/vod/include/alibabacloud/vod/model/BatchStartVodDomainRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_BATCHSTARTVODDOMAINREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_BATCHSTARTVODDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT BatchStartVodDomainRequest : public RpcServiceRequest - { - - public: - BatchStartVodDomainRequest(); - ~BatchStartVodDomainRequest(); - - std::string getDomainNames()const; - void setDomainNames(const std::string& domainNames); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainNames_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_BATCHSTARTVODDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_BATCHSTARTVODDOMAINREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_BATCHSTARTVODDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT BatchStartVodDomainRequest : public RpcServiceRequest { +public: + BatchStartVodDomainRequest(); + ~BatchStartVodDomainRequest(); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string domainNames_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_BATCHSTARTVODDOMAINREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/BatchStopVodDomainRequest.h b/vod/include/alibabacloud/vod/model/BatchStopVodDomainRequest.h index df6448ceb..7d4c8aa29 100644 --- a/vod/include/alibabacloud/vod/model/BatchStopVodDomainRequest.h +++ b/vod/include/alibabacloud/vod/model/BatchStopVodDomainRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_BATCHSTOPVODDOMAINREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_BATCHSTOPVODDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT BatchStopVodDomainRequest : public RpcServiceRequest - { - - public: - BatchStopVodDomainRequest(); - ~BatchStopVodDomainRequest(); - - std::string getDomainNames()const; - void setDomainNames(const std::string& domainNames); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainNames_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_BATCHSTOPVODDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_BATCHSTOPVODDOMAINREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_BATCHSTOPVODDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT BatchStopVodDomainRequest : public RpcServiceRequest { +public: + BatchStopVodDomainRequest(); + ~BatchStopVodDomainRequest(); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string domainNames_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_BATCHSTOPVODDOMAINREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/CancelUrlUploadJobsRequest.h b/vod/include/alibabacloud/vod/model/CancelUrlUploadJobsRequest.h index 0b648d3c7..54bfa1988 100644 --- a/vod/include/alibabacloud/vod/model/CancelUrlUploadJobsRequest.h +++ b/vod/include/alibabacloud/vod/model/CancelUrlUploadJobsRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_CANCELURLUPLOADJOBSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_CANCELURLUPLOADJOBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT CancelUrlUploadJobsRequest : public RpcServiceRequest - { - - public: - CancelUrlUploadJobsRequest(); - ~CancelUrlUploadJobsRequest(); - - std::string getJobIds()const; - void setJobIds(const std::string& jobIds); - std::string getUploadUrls()const; - void setUploadUrls(const std::string& uploadUrls); - - private: - std::string jobIds_; - std::string uploadUrls_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_CANCELURLUPLOADJOBSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_CANCELURLUPLOADJOBSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_CANCELURLUPLOADJOBSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT CancelUrlUploadJobsRequest : public RpcServiceRequest { +public: + CancelUrlUploadJobsRequest(); + ~CancelUrlUploadJobsRequest(); + std::string getJobIds() const; + void setJobIds(const std::string &jobIds); + std::string getUploadUrls() const; + void setUploadUrls(const std::string &uploadUrls); + +private: + std::string jobIds_; + std::string uploadUrls_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_CANCELURLUPLOADJOBSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/CreateAppInfoRequest.h b/vod/include/alibabacloud/vod/model/CreateAppInfoRequest.h index 2df053d6f..3c4bcf589 100644 --- a/vod/include/alibabacloud/vod/model/CreateAppInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/CreateAppInfoRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_CREATEAPPINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_CREATEAPPINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT CreateAppInfoRequest : public RpcServiceRequest - { - - public: - CreateAppInfoRequest(); - ~CreateAppInfoRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getAppName()const; - void setAppName(const std::string& appName); - - private: - std::string description_; - long resourceRealOwnerId_; - std::string accessKeyId_; - std::string appName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_CREATEAPPINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_CREATEAPPINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_CREATEAPPINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT CreateAppInfoRequest : public RpcServiceRequest { +public: + CreateAppInfoRequest(); + ~CreateAppInfoRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getAppName() const; + void setAppName(const std::string &appName); + +private: + std::string description_; + long resourceRealOwnerId_; + std::string accessKeyId_; + std::string appName_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_CREATEAPPINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/CreateAuditRequest.h b/vod/include/alibabacloud/vod/model/CreateAuditRequest.h index 293ddd593..1099f122d 100644 --- a/vod/include/alibabacloud/vod/model/CreateAuditRequest.h +++ b/vod/include/alibabacloud/vod/model/CreateAuditRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_CREATEAUDITREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_CREATEAUDITREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT CreateAuditRequest : public RpcServiceRequest - { - - public: - CreateAuditRequest(); - ~CreateAuditRequest(); - - std::string getAuditContent()const; - void setAuditContent(const std::string& auditContent); - - private: - std::string auditContent_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_CREATEAUDITREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_CREATEAUDITREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_CREATEAUDITREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT CreateAuditRequest : public RpcServiceRequest { +public: + CreateAuditRequest(); + ~CreateAuditRequest(); + std::string getAuditContent() const; + void setAuditContent(const std::string &auditContent); + +private: + std::string auditContent_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_CREATEAUDITREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/CreateUploadAttachedMediaRequest.h b/vod/include/alibabacloud/vod/model/CreateUploadAttachedMediaRequest.h index 01bd2963c..d006af114 100644 --- a/vod/include/alibabacloud/vod/model/CreateUploadAttachedMediaRequest.h +++ b/vod/include/alibabacloud/vod/model/CreateUploadAttachedMediaRequest.h @@ -1,87 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_CREATEUPLOADATTACHEDMEDIAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_CREATEUPLOADATTACHEDMEDIAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT CreateUploadAttachedMediaRequest : public RpcServiceRequest - { - - public: - CreateUploadAttachedMediaRequest(); - ~CreateUploadAttachedMediaRequest(); - - std::string getIcon()const; - void setIcon(const std::string& icon); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getFileSize()const; - void setFileSize(const std::string& fileSize); - std::string getTitle()const; - void setTitle(const std::string& title); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getBusinessType()const; - void setBusinessType(const std::string& businessType); - std::string getStorageLocation()const; - void setStorageLocation(const std::string& storageLocation); - std::string getUserData()const; - void setUserData(const std::string& userData); - long getCateId()const; - void setCateId(long cateId); - std::string getCateIds()const; - void setCateIds(const std::string& cateIds); - std::string getTags()const; - void setTags(const std::string& tags); - std::string getMediaExt()const; - void setMediaExt(const std::string& mediaExt); - std::string getFileName()const; - void setFileName(const std::string& fileName); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string icon_; - std::string description_; - std::string fileSize_; - std::string title_; - std::string accessKeyId_; - std::string businessType_; - std::string storageLocation_; - std::string userData_; - long cateId_; - std::string cateIds_; - std::string tags_; - std::string mediaExt_; - std::string fileName_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_CREATEUPLOADATTACHEDMEDIAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_CREATEUPLOADATTACHEDMEDIAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_CREATEUPLOADATTACHEDMEDIAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT CreateUploadAttachedMediaRequest : public RpcServiceRequest { +public: + CreateUploadAttachedMediaRequest(); + ~CreateUploadAttachedMediaRequest(); + std::string getIcon() const; + void setIcon(const std::string &icon); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getFileSize() const; + void setFileSize(const std::string &fileSize); + std::string getTitle() const; + void setTitle(const std::string &title); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getBusinessType() const; + void setBusinessType(const std::string &businessType); + std::string getStorageLocation() const; + void setStorageLocation(const std::string &storageLocation); + std::string getUserData() const; + void setUserData(const std::string &userData); + long getCateId() const; + void setCateId(long cateId); + std::string getCateIds() const; + void setCateIds(const std::string &cateIds); + std::string getTags() const; + void setTags(const std::string &tags); + std::string getMediaExt() const; + void setMediaExt(const std::string &mediaExt); + std::string getFileName() const; + void setFileName(const std::string &fileName); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string icon_; + std::string description_; + std::string fileSize_; + std::string title_; + std::string accessKeyId_; + std::string businessType_; + std::string storageLocation_; + std::string userData_; + long cateId_; + std::string cateIds_; + std::string tags_; + std::string mediaExt_; + std::string fileName_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_CREATEUPLOADATTACHEDMEDIAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/CreateUploadImageRequest.h b/vod/include/alibabacloud/vod/model/CreateUploadImageRequest.h index 504a6c407..4ae630bd6 100644 --- a/vod/include/alibabacloud/vod/model/CreateUploadImageRequest.h +++ b/vod/include/alibabacloud/vod/model/CreateUploadImageRequest.h @@ -1,78 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_CREATEUPLOADIMAGEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_CREATEUPLOADIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT CreateUploadImageRequest : public RpcServiceRequest - { - - public: - CreateUploadImageRequest(); - ~CreateUploadImageRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getTitle()const; - void setTitle(const std::string& title); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getStorageLocation()const; - void setStorageLocation(const std::string& storageLocation); - std::string getUserData()const; - void setUserData(const std::string& userData); - long getCateId()const; - void setCateId(long cateId); - std::string getImageType()const; - void setImageType(const std::string& imageType); - std::string getImageExt()const; - void setImageExt(const std::string& imageExt); - std::string getTags()const; - void setTags(const std::string& tags); - std::string getOriginalFileName()const; - void setOriginalFileName(const std::string& originalFileName); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string description_; - std::string title_; - std::string accessKeyId_; - std::string storageLocation_; - std::string userData_; - long cateId_; - std::string imageType_; - std::string imageExt_; - std::string tags_; - std::string originalFileName_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_CREATEUPLOADIMAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_CREATEUPLOADIMAGEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_CREATEUPLOADIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT CreateUploadImageRequest : public RpcServiceRequest { +public: + CreateUploadImageRequest(); + ~CreateUploadImageRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getTitle() const; + void setTitle(const std::string &title); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getStorageLocation() const; + void setStorageLocation(const std::string &storageLocation); + std::string getUserData() const; + void setUserData(const std::string &userData); + long getCateId() const; + void setCateId(long cateId); + std::string getImageType() const; + void setImageType(const std::string &imageType); + std::string getImageExt() const; + void setImageExt(const std::string &imageExt); + std::string getTags() const; + void setTags(const std::string &tags); + std::string getOriginalFileName() const; + void setOriginalFileName(const std::string &originalFileName); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string description_; + std::string title_; + std::string accessKeyId_; + std::string storageLocation_; + std::string userData_; + long cateId_; + std::string imageType_; + std::string imageExt_; + std::string tags_; + std::string originalFileName_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_CREATEUPLOADIMAGEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/CreateUploadVideoRequest.h b/vod/include/alibabacloud/vod/model/CreateUploadVideoRequest.h index ad8485803..8de18ec26 100644 --- a/vod/include/alibabacloud/vod/model/CreateUploadVideoRequest.h +++ b/vod/include/alibabacloud/vod/model/CreateUploadVideoRequest.h @@ -1,90 +1,84 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_CREATEUPLOADVIDEOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_CREATEUPLOADVIDEOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT CreateUploadVideoRequest : public RpcServiceRequest - { - - public: - CreateUploadVideoRequest(); - ~CreateUploadVideoRequest(); - - std::string getTranscodeMode()const; - void setTranscodeMode(const std::string& transcodeMode); - std::string getDescription()const; - void setDescription(const std::string& description); - long getFileSize()const; - void setFileSize(long fileSize); - std::string getTitle()const; - void setTitle(const std::string& title); - std::string getStorageLocation()const; - void setStorageLocation(const std::string& storageLocation); - std::string getCoverURL()const; - void setCoverURL(const std::string& coverURL); - std::string getUserData()const; - void setUserData(const std::string& userData); - long getCateId()const; - void setCateId(long cateId); - std::string getWorkflowId()const; - void setWorkflowId(const std::string& workflowId); - std::string getCustomMediaInfo()const; - void setCustomMediaInfo(const std::string& customMediaInfo); - std::string getIP()const; - void setIP(const std::string& iP); - std::string getTags()const; - void setTags(const std::string& tags); - std::string getFileName()const; - void setFileName(const std::string& fileName); - std::string getTemplateGroupId()const; - void setTemplateGroupId(const std::string& templateGroupId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string transcodeMode_; - std::string description_; - long fileSize_; - std::string title_; - std::string storageLocation_; - std::string coverURL_; - std::string userData_; - long cateId_; - std::string workflowId_; - std::string customMediaInfo_; - std::string iP_; - std::string tags_; - std::string fileName_; - std::string templateGroupId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_CREATEUPLOADVIDEOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_CREATEUPLOADVIDEOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_CREATEUPLOADVIDEOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT CreateUploadVideoRequest : public RpcServiceRequest { +public: + CreateUploadVideoRequest(); + ~CreateUploadVideoRequest(); + std::string getTranscodeMode() const; + void setTranscodeMode(const std::string &transcodeMode); + std::string getDescription() const; + void setDescription(const std::string &description); + long getFileSize() const; + void setFileSize(long fileSize); + std::string getTitle() const; + void setTitle(const std::string &title); + std::string getStorageLocation() const; + void setStorageLocation(const std::string &storageLocation); + std::string getCoverURL() const; + void setCoverURL(const std::string &coverURL); + std::string getUserData() const; + void setUserData(const std::string &userData); + long getCateId() const; + void setCateId(long cateId); + std::string getWorkflowId() const; + void setWorkflowId(const std::string &workflowId); + std::string getCustomMediaInfo() const; + void setCustomMediaInfo(const std::string &customMediaInfo); + std::string getIP() const; + void setIP(const std::string &iP); + std::string getTags() const; + void setTags(const std::string &tags); + std::string getFileName() const; + void setFileName(const std::string &fileName); + std::string getTemplateGroupId() const; + void setTemplateGroupId(const std::string &templateGroupId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string transcodeMode_; + std::string description_; + long fileSize_; + std::string title_; + std::string storageLocation_; + std::string coverURL_; + std::string userData_; + long cateId_; + std::string workflowId_; + std::string customMediaInfo_; + std::string iP_; + std::string tags_; + std::string fileName_; + std::string templateGroupId_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_CREATEUPLOADVIDEOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/CreateUploadVideoResult.h b/vod/include/alibabacloud/vod/model/CreateUploadVideoResult.h index 68a05f926..0f323eddd 100644 --- a/vod/include/alibabacloud/vod/model/CreateUploadVideoResult.h +++ b/vod/include/alibabacloud/vod/model/CreateUploadVideoResult.h @@ -37,15 +37,15 @@ namespace AlibabaCloud CreateUploadVideoResult(); explicit CreateUploadVideoResult(const std::string &payload); ~CreateUploadVideoResult(); - std::string getVideoId()const; std::string getUploadAddress()const; + std::string getVideoId()const; std::string getUploadAuth()const; protected: void parse(const std::string &payload); private: - std::string videoId_; std::string uploadAddress_; + std::string videoId_; std::string uploadAuth_; }; diff --git a/vod/include/alibabacloud/vod/model/DeleteAIImageInfosRequest.h b/vod/include/alibabacloud/vod/model/DeleteAIImageInfosRequest.h index d2b3d3995..500c371da 100644 --- a/vod/include/alibabacloud/vod/model/DeleteAIImageInfosRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteAIImageInfosRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEAIIMAGEINFOSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEAIIMAGEINFOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteAIImageInfosRequest : public RpcServiceRequest - { - - public: - DeleteAIImageInfosRequest(); - ~DeleteAIImageInfosRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getAIImageInfoIds()const; - void setAIImageInfoIds(const std::string& aIImageInfoIds); - - private: - std::string accessKeyId_; - std::string aIImageInfoIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEAIIMAGEINFOSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEAIIMAGEINFOSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEAIIMAGEINFOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteAIImageInfosRequest : public RpcServiceRequest { +public: + DeleteAIImageInfosRequest(); + ~DeleteAIImageInfosRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getAIImageInfoIds() const; + void setAIImageInfoIds(const std::string &aIImageInfoIds); + +private: + std::string accessKeyId_; + std::string aIImageInfoIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEAIIMAGEINFOSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteAITemplateRequest.h b/vod/include/alibabacloud/vod/model/DeleteAITemplateRequest.h index ceb7e4049..0e6f1d270 100644 --- a/vod/include/alibabacloud/vod/model/DeleteAITemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteAITemplateRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEAITEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEAITEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteAITemplateRequest : public RpcServiceRequest - { - - public: - DeleteAITemplateRequest(); - ~DeleteAITemplateRequest(); - - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - - private: - std::string templateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEAITEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEAITEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEAITEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteAITemplateRequest : public RpcServiceRequest { +public: + DeleteAITemplateRequest(); + ~DeleteAITemplateRequest(); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + +private: + std::string templateId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEAITEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteAppInfoRequest.h b/vod/include/alibabacloud/vod/model/DeleteAppInfoRequest.h index 199315d92..7910a4c86 100644 --- a/vod/include/alibabacloud/vod/model/DeleteAppInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteAppInfoRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEAPPINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEAPPINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteAppInfoRequest : public RpcServiceRequest - { - - public: - DeleteAppInfoRequest(); - ~DeleteAppInfoRequest(); - - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - long resourceRealOwnerId_; - std::string accessKeyId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEAPPINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEAPPINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEAPPINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteAppInfoRequest : public RpcServiceRequest { +public: + DeleteAppInfoRequest(); + ~DeleteAppInfoRequest(); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + long resourceRealOwnerId_; + std::string accessKeyId_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEAPPINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteAttachedMediaRequest.h b/vod/include/alibabacloud/vod/model/DeleteAttachedMediaRequest.h index 96ad8b7a0..cb6eacaa6 100644 --- a/vod/include/alibabacloud/vod/model/DeleteAttachedMediaRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteAttachedMediaRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEATTACHEDMEDIAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEATTACHEDMEDIAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteAttachedMediaRequest : public RpcServiceRequest - { - - public: - DeleteAttachedMediaRequest(); - ~DeleteAttachedMediaRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getMediaIds()const; - void setMediaIds(const std::string& mediaIds); - - private: - std::string accessKeyId_; - std::string mediaIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEATTACHEDMEDIAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEATTACHEDMEDIAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEATTACHEDMEDIAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteAttachedMediaRequest : public RpcServiceRequest { +public: + DeleteAttachedMediaRequest(); + ~DeleteAttachedMediaRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getMediaIds() const; + void setMediaIds(const std::string &mediaIds); + +private: + std::string accessKeyId_; + std::string mediaIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEATTACHEDMEDIAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteCategoryRequest.h b/vod/include/alibabacloud/vod/model/DeleteCategoryRequest.h index 679469ee1..f07f0c10a 100644 --- a/vod/include/alibabacloud/vod/model/DeleteCategoryRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteCategoryRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETECATEGORYREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETECATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteCategoryRequest : public RpcServiceRequest - { - - public: - DeleteCategoryRequest(); - ~DeleteCategoryRequest(); - - long getCateId()const; - void setCateId(long cateId); - - private: - long cateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETECATEGORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETECATEGORYREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETECATEGORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteCategoryRequest : public RpcServiceRequest { +public: + DeleteCategoryRequest(); + ~DeleteCategoryRequest(); + long getCateId() const; + void setCateId(long cateId); + +private: + long cateId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETECATEGORYREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteDynamicImageRequest.h b/vod/include/alibabacloud/vod/model/DeleteDynamicImageRequest.h index f7abc6f71..3cf3df48a 100644 --- a/vod/include/alibabacloud/vod/model/DeleteDynamicImageRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteDynamicImageRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEDYNAMICIMAGEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEDYNAMICIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteDynamicImageRequest : public RpcServiceRequest - { - - public: - DeleteDynamicImageRequest(); - ~DeleteDynamicImageRequest(); - - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getDynamicImageIds()const; - void setDynamicImageIds(const std::string& dynamicImageIds); - - private: - std::string videoId_; - std::string accessKeyId_; - std::string dynamicImageIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEDYNAMICIMAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEDYNAMICIMAGEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEDYNAMICIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteDynamicImageRequest : public RpcServiceRequest { +public: + DeleteDynamicImageRequest(); + ~DeleteDynamicImageRequest(); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getDynamicImageIds() const; + void setDynamicImageIds(const std::string &dynamicImageIds); + +private: + std::string videoId_; + std::string accessKeyId_; + std::string dynamicImageIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEDYNAMICIMAGEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteEditingProjectRequest.h b/vod/include/alibabacloud/vod/model/DeleteEditingProjectRequest.h index 1057a4307..136f27355 100644 --- a/vod/include/alibabacloud/vod/model/DeleteEditingProjectRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteEditingProjectRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEEDITINGPROJECTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEEDITINGPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteEditingProjectRequest : public RpcServiceRequest - { - - public: - DeleteEditingProjectRequest(); - ~DeleteEditingProjectRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getProjectIds()const; - void setProjectIds(const std::string& projectIds); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string projectIds_; - std::string ownerId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEEDITINGPROJECTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEEDITINGPROJECTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEEDITINGPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteEditingProjectRequest : public RpcServiceRequest { +public: + DeleteEditingProjectRequest(); + ~DeleteEditingProjectRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getProjectIds() const; + void setProjectIds(const std::string &projectIds); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + +private: + std::string resourceOwnerId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string projectIds_; + std::string ownerId_; + std::string accessKeyId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEEDITINGPROJECTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteImageRequest.h b/vod/include/alibabacloud/vod/model/DeleteImageRequest.h index fd38428a3..069bdf504 100644 --- a/vod/include/alibabacloud/vod/model/DeleteImageRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteImageRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEIMAGEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteImageRequest : public RpcServiceRequest - { - - public: - DeleteImageRequest(); - ~DeleteImageRequest(); - - std::string getImageURLs()const; - void setImageURLs(const std::string& imageURLs); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getImageType()const; - void setImageType(const std::string& imageType); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getDeleteImageType()const; - void setDeleteImageType(const std::string& deleteImageType); - std::string getImageIds()const; - void setImageIds(const std::string& imageIds); - - private: - std::string imageURLs_; - std::string accessKeyId_; - std::string imageType_; - std::string videoId_; - std::string deleteImageType_; - std::string imageIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEIMAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEIMAGEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteImageRequest : public RpcServiceRequest { +public: + DeleteImageRequest(); + ~DeleteImageRequest(); + std::string getImageURLs() const; + void setImageURLs(const std::string &imageURLs); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getImageType() const; + void setImageType(const std::string &imageType); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getDeleteImageType() const; + void setDeleteImageType(const std::string &deleteImageType); + std::string getImageIds() const; + void setImageIds(const std::string &imageIds); + +private: + std::string imageURLs_; + std::string accessKeyId_; + std::string imageType_; + std::string videoId_; + std::string deleteImageType_; + std::string imageIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEIMAGEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteMessageCallbackRequest.h b/vod/include/alibabacloud/vod/model/DeleteMessageCallbackRequest.h index 284f69640..d8525860f 100644 --- a/vod/include/alibabacloud/vod/model/DeleteMessageCallbackRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteMessageCallbackRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEMESSAGECALLBACKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEMESSAGECALLBACKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteMessageCallbackRequest : public RpcServiceRequest - { - - public: - DeleteMessageCallbackRequest(); - ~DeleteMessageCallbackRequest(); - - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string ownerAccount_; - long resourceRealOwnerId_; - std::string accessKeyId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEMESSAGECALLBACKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEMESSAGECALLBACKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEMESSAGECALLBACKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteMessageCallbackRequest : public RpcServiceRequest { +public: + DeleteMessageCallbackRequest(); + ~DeleteMessageCallbackRequest(); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string ownerAccount_; + long resourceRealOwnerId_; + std::string accessKeyId_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEMESSAGECALLBACKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteMezzaninesRequest.h b/vod/include/alibabacloud/vod/model/DeleteMezzaninesRequest.h index 90dff60e2..3c5a6f6a5 100644 --- a/vod/include/alibabacloud/vod/model/DeleteMezzaninesRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteMezzaninesRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEMEZZANINESREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEMEZZANINESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteMezzaninesRequest : public RpcServiceRequest - { - - public: - DeleteMezzaninesRequest(); - ~DeleteMezzaninesRequest(); - - bool getForce()const; - void setForce(bool force); - std::string getVideoIds()const; - void setVideoIds(const std::string& videoIds); - - private: - bool force_; - std::string videoIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEMEZZANINESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEMEZZANINESREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEMEZZANINESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteMezzaninesRequest : public RpcServiceRequest { +public: + DeleteMezzaninesRequest(); + ~DeleteMezzaninesRequest(); + bool getForce() const; + void setForce(bool force); + std::string getVideoIds() const; + void setVideoIds(const std::string &videoIds); + +private: + bool force_; + std::string videoIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEMEZZANINESREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteMultipartUploadRequest.h b/vod/include/alibabacloud/vod/model/DeleteMultipartUploadRequest.h index 69a433903..365fb0d11 100644 --- a/vod/include/alibabacloud/vod/model/DeleteMultipartUploadRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteMultipartUploadRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEMULTIPARTUPLOADREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEMULTIPARTUPLOADREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteMultipartUploadRequest : public RpcServiceRequest - { - - public: - DeleteMultipartUploadRequest(); - ~DeleteMultipartUploadRequest(); - - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getMediaType()const; - void setMediaType(const std::string& mediaType); - - private: - std::string ownerAccount_; - long resourceRealOwnerId_; - std::string mediaId_; - std::string accessKeyId_; - std::string mediaType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEMULTIPARTUPLOADREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEMULTIPARTUPLOADREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEMULTIPARTUPLOADREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteMultipartUploadRequest : public RpcServiceRequest { +public: + DeleteMultipartUploadRequest(); + ~DeleteMultipartUploadRequest(); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getMediaType() const; + void setMediaType(const std::string &mediaType); + +private: + std::string ownerAccount_; + long resourceRealOwnerId_; + std::string mediaId_; + std::string accessKeyId_; + std::string mediaType_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEMULTIPARTUPLOADREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteStreamRequest.h b/vod/include/alibabacloud/vod/model/DeleteStreamRequest.h index f7e48bcc8..ba81fd799 100644 --- a/vod/include/alibabacloud/vod/model/DeleteStreamRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteStreamRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETESTREAMREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETESTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteStreamRequest : public RpcServiceRequest - { - - public: - DeleteStreamRequest(); - ~DeleteStreamRequest(); - - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getJobIds()const; - void setJobIds(const std::string& jobIds); - - private: - std::string videoId_; - std::string jobIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETESTREAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETESTREAMREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETESTREAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteStreamRequest : public RpcServiceRequest { +public: + DeleteStreamRequest(); + ~DeleteStreamRequest(); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getJobIds() const; + void setJobIds(const std::string &jobIds); + +private: + std::string videoId_; + std::string jobIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETESTREAMREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteTranscodeTemplateGroupRequest.h b/vod/include/alibabacloud/vod/model/DeleteTranscodeTemplateGroupRequest.h index 00e5fa145..2f905b91c 100644 --- a/vod/include/alibabacloud/vod/model/DeleteTranscodeTemplateGroupRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteTranscodeTemplateGroupRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETETRANSCODETEMPLATEGROUPREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETETRANSCODETEMPLATEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteTranscodeTemplateGroupRequest : public RpcServiceRequest - { - - public: - DeleteTranscodeTemplateGroupRequest(); - ~DeleteTranscodeTemplateGroupRequest(); - - std::string getTranscodeTemplateIds()const; - void setTranscodeTemplateIds(const std::string& transcodeTemplateIds); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getTranscodeTemplateGroupId()const; - void setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId); - std::string getForceDelGroup()const; - void setForceDelGroup(const std::string& forceDelGroup); - - private: - std::string transcodeTemplateIds_; - std::string accessKeyId_; - std::string transcodeTemplateGroupId_; - std::string forceDelGroup_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETETRANSCODETEMPLATEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETETRANSCODETEMPLATEGROUPREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETETRANSCODETEMPLATEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteTranscodeTemplateGroupRequest : public RpcServiceRequest { +public: + DeleteTranscodeTemplateGroupRequest(); + ~DeleteTranscodeTemplateGroupRequest(); + std::string getTranscodeTemplateIds() const; + void setTranscodeTemplateIds(const std::string &transcodeTemplateIds); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getTranscodeTemplateGroupId() const; + void setTranscodeTemplateGroupId(const std::string &transcodeTemplateGroupId); + std::string getForceDelGroup() const; + void setForceDelGroup(const std::string &forceDelGroup); + +private: + std::string transcodeTemplateIds_; + std::string accessKeyId_; + std::string transcodeTemplateGroupId_; + std::string forceDelGroup_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETETRANSCODETEMPLATEGROUPREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteVideoRequest.h b/vod/include/alibabacloud/vod/model/DeleteVideoRequest.h index c05b86b1f..c591a502c 100644 --- a/vod/include/alibabacloud/vod/model/DeleteVideoRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteVideoRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEVIDEOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEVIDEOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteVideoRequest : public RpcServiceRequest - { - - public: - DeleteVideoRequest(); - ~DeleteVideoRequest(); - - std::string getVideoIds()const; - void setVideoIds(const std::string& videoIds); - - private: - std::string videoIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEVIDEOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEVIDEOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEVIDEOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteVideoRequest : public RpcServiceRequest { +public: + DeleteVideoRequest(); + ~DeleteVideoRequest(); + std::string getVideoIds() const; + void setVideoIds(const std::string &videoIds); + +private: + std::string videoIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEVIDEOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteVodDomainRequest.h b/vod/include/alibabacloud/vod/model/DeleteVodDomainRequest.h index a8d93257c..4f3092837 100644 --- a/vod/include/alibabacloud/vod/model/DeleteVodDomainRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteVodDomainRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEVODDOMAINREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEVODDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteVodDomainRequest : public RpcServiceRequest - { - - public: - DeleteVodDomainRequest(); - ~DeleteVodDomainRequest(); - - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string ownerAccount_; - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEVODDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEVODDOMAINREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEVODDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteVodDomainRequest : public RpcServiceRequest { +public: + DeleteVodDomainRequest(); + ~DeleteVodDomainRequest(); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string ownerAccount_; + std::string domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEVODDOMAINREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteVodSpecificConfigRequest.h b/vod/include/alibabacloud/vod/model/DeleteVodSpecificConfigRequest.h index bf0e285c6..231a9e8a4 100644 --- a/vod/include/alibabacloud/vod/model/DeleteVodSpecificConfigRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteVodSpecificConfigRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEVODSPECIFICCONFIGREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEVODSPECIFICCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteVodSpecificConfigRequest : public RpcServiceRequest - { - - public: - DeleteVodSpecificConfigRequest(); - ~DeleteVodSpecificConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getConfigId()const; - void setConfigId(const std::string& configId); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - std::string configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEVODSPECIFICCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEVODSPECIFICCONFIGREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEVODSPECIFICCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteVodSpecificConfigRequest : public RpcServiceRequest { +public: + DeleteVodSpecificConfigRequest(); + ~DeleteVodSpecificConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getConfigId() const; + void setConfigId(const std::string &configId); + +private: + std::string domainName_; + long ownerId_; + std::string securityToken_; + std::string configId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEVODSPECIFICCONFIGREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteVodTemplateRequest.h b/vod/include/alibabacloud/vod/model/DeleteVodTemplateRequest.h index f3428cc71..3f351d5a3 100644 --- a/vod/include/alibabacloud/vod/model/DeleteVodTemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteVodTemplateRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEVODTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEVODTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteVodTemplateRequest : public RpcServiceRequest - { - - public: - DeleteVodTemplateRequest(); - ~DeleteVodTemplateRequest(); - - std::string getVodTemplateId()const; - void setVodTemplateId(const std::string& vodTemplateId); - - private: - std::string vodTemplateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEVODTEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEVODTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEVODTEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteVodTemplateRequest : public RpcServiceRequest { +public: + DeleteVodTemplateRequest(); + ~DeleteVodTemplateRequest(); + std::string getVodTemplateId() const; + void setVodTemplateId(const std::string &vodTemplateId); + +private: + std::string vodTemplateId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEVODTEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DeleteWatermarkRequest.h b/vod/include/alibabacloud/vod/model/DeleteWatermarkRequest.h index d941a7d55..03fa362aa 100644 --- a/vod/include/alibabacloud/vod/model/DeleteWatermarkRequest.h +++ b/vod/include/alibabacloud/vod/model/DeleteWatermarkRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DeleteWatermarkRequest : public RpcServiceRequest - { - - public: - DeleteWatermarkRequest(); - ~DeleteWatermarkRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getWatermarkId()const; - void setWatermarkId(const std::string& watermarkId); - - private: - std::string accessKeyId_; - std::string watermarkId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DeleteWatermarkRequest : public RpcServiceRequest { +public: + DeleteWatermarkRequest(); + ~DeleteWatermarkRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getWatermarkId() const; + void setWatermarkId(const std::string &watermarkId); + +private: + std::string accessKeyId_; + std::string watermarkId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribePlayTopVideosRequest.h b/vod/include/alibabacloud/vod/model/DescribePlayTopVideosRequest.h index ccb7f8d3e..a069b7a20 100644 --- a/vod/include/alibabacloud/vod/model/DescribePlayTopVideosRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribePlayTopVideosRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYTOPVIDEOSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYTOPVIDEOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribePlayTopVideosRequest : public RpcServiceRequest - { - - public: - DescribePlayTopVideosRequest(); - ~DescribePlayTopVideosRequest(); - - long getPageSize()const; - void setPageSize(long pageSize); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getBizDate()const; - void setBizDate(const std::string& bizDate); - long getPageNo()const; - void setPageNo(long pageNo); - - private: - long pageSize_; - long ownerId_; - std::string bizDate_; - long pageNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYTOPVIDEOSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYTOPVIDEOSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYTOPVIDEOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribePlayTopVideosRequest : public RpcServiceRequest { +public: + DescribePlayTopVideosRequest(); + ~DescribePlayTopVideosRequest(); + long getPageSize() const; + void setPageSize(long pageSize); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getBizDate() const; + void setBizDate(const std::string &bizDate); + long getPageNo() const; + void setPageNo(long pageNo); + +private: + long pageSize_; + long ownerId_; + std::string bizDate_; + long pageNo_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYTOPVIDEOSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribePlayUserAvgRequest.h b/vod/include/alibabacloud/vod/model/DescribePlayUserAvgRequest.h index b3c9767ce..84a3537a5 100644 --- a/vod/include/alibabacloud/vod/model/DescribePlayUserAvgRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribePlayUserAvgRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERAVGREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERAVGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribePlayUserAvgRequest : public RpcServiceRequest - { - - public: - DescribePlayUserAvgRequest(); - ~DescribePlayUserAvgRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERAVGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERAVGREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERAVGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribePlayUserAvgRequest : public RpcServiceRequest { +public: + DescribePlayUserAvgRequest(); + ~DescribePlayUserAvgRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERAVGREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribePlayUserTotalRequest.h b/vod/include/alibabacloud/vod/model/DescribePlayUserTotalRequest.h index 35206b30d..8f2b8a884 100644 --- a/vod/include/alibabacloud/vod/model/DescribePlayUserTotalRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribePlayUserTotalRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERTOTALREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERTOTALREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribePlayUserTotalRequest : public RpcServiceRequest - { - - public: - DescribePlayUserTotalRequest(); - ~DescribePlayUserTotalRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERTOTALREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERTOTALREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERTOTALREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribePlayUserTotalRequest : public RpcServiceRequest { +public: + DescribePlayUserTotalRequest(); + ~DescribePlayUserTotalRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYUSERTOTALREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribePlayUserTotalResult.h b/vod/include/alibabacloud/vod/model/DescribePlayUserTotalResult.h index 387439b4a..69014340f 100644 --- a/vod/include/alibabacloud/vod/model/DescribePlayUserTotalResult.h +++ b/vod/include/alibabacloud/vod/model/DescribePlayUserTotalResult.h @@ -37,15 +37,15 @@ namespace AlibabaCloud struct VV { std::string hTML5; - std::string iOS; std::string flash; + std::string iOS; std::string android; }; struct UV { std::string hTML5; - std::string iOS; std::string flash; + std::string iOS; std::string android; }; VV vV; diff --git a/vod/include/alibabacloud/vod/model/DescribePlayVideoStatisRequest.h b/vod/include/alibabacloud/vod/model/DescribePlayVideoStatisRequest.h index 14faeec39..c482a4bc9 100644 --- a/vod/include/alibabacloud/vod/model/DescribePlayVideoStatisRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribePlayVideoStatisRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYVIDEOSTATISREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYVIDEOSTATISREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribePlayVideoStatisRequest : public RpcServiceRequest - { - - public: - DescribePlayVideoStatisRequest(); - ~DescribePlayVideoStatisRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string endTime_; - std::string videoId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYVIDEOSTATISREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYVIDEOSTATISREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYVIDEOSTATISREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribePlayVideoStatisRequest : public RpcServiceRequest { +public: + DescribePlayVideoStatisRequest(); + ~DescribePlayVideoStatisRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + std::string endTime_; + std::string videoId_; + long ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEPLAYVIDEOSTATISREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodAIDataRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodAIDataRequest.h index 080d037ce..44d69fe63 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodAIDataRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodAIDataRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODAIDATAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODAIDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodAIDataRequest : public RpcServiceRequest - { - - public: - DescribeVodAIDataRequest(); - ~DescribeVodAIDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAIType()const; - void setAIType(const std::string& aIType); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRegion()const; - void setRegion(const std::string& region); - - private: - std::string startTime_; - std::string aIType_; - std::string endTime_; - long ownerId_; - std::string region_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODAIDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODAIDATAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODAIDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodAIDataRequest : public RpcServiceRequest { +public: + DescribeVodAIDataRequest(); + ~DescribeVodAIDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAIType() const; + void setAIType(const std::string &aIType); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string startTime_; + std::string aIType_; + std::string endTime_; + long ownerId_; + std::string region_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODAIDATAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodCertificateListRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodCertificateListRequest.h index 32bb94f7e..8b60e779f 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodCertificateListRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodCertificateListRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODCERTIFICATELISTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODCERTIFICATELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodCertificateListRequest : public RpcServiceRequest - { - - public: - DescribeVodCertificateListRequest(); - ~DescribeVodCertificateListRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODCERTIFICATELISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODCERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODCERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodCertificateListRequest : public RpcServiceRequest { +public: + DescribeVodCertificateListRequest(); + ~DescribeVodCertificateListRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODCERTIFICATELISTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainBpsDataRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainBpsDataRequest.h index 426f47492..f950baa3c 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodDomainBpsDataRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainBpsDataRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINBPSDATAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeVodDomainBpsDataRequest(); - ~DescribeVodDomainBpsDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINBPSDATAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainBpsDataRequest : public RpcServiceRequest { +public: + DescribeVodDomainBpsDataRequest(); + ~DescribeVodDomainBpsDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINBPSDATAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainBpsDataResult.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainBpsDataResult.h index e83c8ac2b..285a30a55 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodDomainBpsDataResult.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainBpsDataResult.h @@ -38,8 +38,8 @@ namespace AlibabaCloud std::string httpsValue; std::string value; std::string httpsDomesticValue; - std::string timeStamp; std::string httpsOverseasValue; + std::string timeStamp; std::string domesticValue; }; diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainCertificateInfoRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainCertificateInfoRequest.h index 9d518679c..aec9b9d1c 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodDomainCertificateInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainCertificateInfoRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCERTIFICATEINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCERTIFICATEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainCertificateInfoRequest : public RpcServiceRequest - { - - public: - DescribeVodDomainCertificateInfoRequest(); - ~DescribeVodDomainCertificateInfoRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCERTIFICATEINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCERTIFICATEINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCERTIFICATEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainCertificateInfoRequest : public RpcServiceRequest { +public: + DescribeVodDomainCertificateInfoRequest(); + ~DescribeVodDomainCertificateInfoRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCERTIFICATEINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainConfigsRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainConfigsRequest.h index 639f7bbc8..d7f413fab 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodDomainConfigsRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainConfigsRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainConfigsRequest : public RpcServiceRequest - { - - public: - DescribeVodDomainConfigsRequest(); - ~DescribeVodDomainConfigsRequest(); - - std::string getFunctionNames()const; - void setFunctionNames(const std::string& functionNames); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string functionNames_; - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainConfigsRequest : public RpcServiceRequest { +public: + DescribeVodDomainConfigsRequest(); + ~DescribeVodDomainConfigsRequest(); + std::string getFunctionNames() const; + void setFunctionNames(const std::string &functionNames); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string functionNames_; + std::string domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINCONFIGSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainDetailRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainDetailRequest.h index 6a72de3c7..204e73caa 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodDomainDetailRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainDetailRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINDETAILREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainDetailRequest : public RpcServiceRequest - { - - public: - DescribeVodDomainDetailRequest(); - ~DescribeVodDomainDetailRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINDETAILREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainDetailRequest : public RpcServiceRequest { +public: + DescribeVodDomainDetailRequest(); + ~DescribeVodDomainDetailRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINDETAILREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainDetailResult.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainDetailResult.h index 9bc5cde17..575fa3152 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodDomainDetailResult.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainDetailResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud struct Source { std::string type; - std::string content; std::string priority; + std::string content; int port; std::string enabled; }; @@ -51,8 +51,8 @@ namespace AlibabaCloud std::string certName; std::vector sources; std::string cname; - std::string domainStatus; std::string weight; + std::string domainStatus; std::string sSLProtocol; }; diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainLogRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainLogRequest.h index 5cd95b8c0..ffff89d3e 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodDomainLogRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainLogRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINLOGREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINLOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainLogRequest : public RpcServiceRequest - { - - public: - DescribeVodDomainLogRequest(); - ~DescribeVodDomainLogRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - long getPageNumber()const; - void setPageNumber(long pageNumber); - long getPageSize()const; - void setPageSize(long pageSize); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - long pageNumber_; - long pageSize_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINLOGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINLOGREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINLOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainLogRequest : public RpcServiceRequest { +public: + DescribeVodDomainLogRequest(); + ~DescribeVodDomainLogRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getPageNumber() const; + void setPageNumber(long pageNumber); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + long pageNumber_; + long pageSize_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINLOGREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainTrafficDataRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainTrafficDataRequest.h index 0494857e0..2fec37d03 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodDomainTrafficDataRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainTrafficDataRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINTRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeVodDomainTrafficDataRequest(); - ~DescribeVodDomainTrafficDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINTRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainTrafficDataRequest : public RpcServiceRequest { +public: + DescribeVodDomainTrafficDataRequest(); + ~DescribeVodDomainTrafficDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINTRAFFICDATAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainTrafficDataResult.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainTrafficDataResult.h index 247c76520..d73e2144a 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodDomainTrafficDataResult.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainTrafficDataResult.h @@ -38,8 +38,8 @@ namespace AlibabaCloud std::string httpsValue; std::string value; std::string httpsDomesticValue; - std::string timeStamp; std::string httpsOverseasValue; + std::string timeStamp; std::string domesticValue; }; @@ -52,6 +52,7 @@ namespace AlibabaCloud std::string getDomainName()const; std::string getStartTime()const; std::string getDataInterval()const; + std::string getTotalTraffic()const; protected: void parse(const std::string &payload); @@ -61,6 +62,7 @@ namespace AlibabaCloud std::string domainName_; std::string startTime_; std::string dataInterval_; + std::string totalTraffic_; }; } diff --git a/vod/include/alibabacloud/vod/model/DescribeVodDomainUsageDataRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodDomainUsageDataRequest.h index ebfa28136..8fb7e3efa 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodDomainUsageDataRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodDomainUsageDataRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINUSAGEDATAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINUSAGEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainUsageDataRequest : public RpcServiceRequest - { - - public: - DescribeVodDomainUsageDataRequest(); - ~DescribeVodDomainUsageDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getType()const; - void setType(const std::string& type); - std::string getArea()const; - void setArea(const std::string& area); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getField()const; - void setField(const std::string& field); - - private: - std::string startTime_; - std::string type_; - std::string area_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string field_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINUSAGEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodDomainUsageDataRequest : public RpcServiceRequest { +public: + DescribeVodDomainUsageDataRequest(); + ~DescribeVodDomainUsageDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getType() const; + void setType(const std::string &type); + std::string getArea() const; + void setArea(const std::string &area); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getField() const; + void setField(const std::string &field); + +private: + std::string startTime_; + std::string type_; + std::string area_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string field_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODDOMAINUSAGEDATAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodRefreshQuotaRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodRefreshQuotaRequest.h index 6129f61c3..93d811563 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodRefreshQuotaRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodRefreshQuotaRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHQUOTAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHQUOTAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodRefreshQuotaRequest : public RpcServiceRequest - { - - public: - DescribeVodRefreshQuotaRequest(); - ~DescribeVodRefreshQuotaRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHQUOTAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHQUOTAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHQUOTAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodRefreshQuotaRequest : public RpcServiceRequest { +public: + DescribeVodRefreshQuotaRequest(); + ~DescribeVodRefreshQuotaRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHQUOTAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodRefreshQuotaResult.h b/vod/include/alibabacloud/vod/model/DescribeVodRefreshQuotaResult.h index ab8ccad26..75e67c251 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodRefreshQuotaResult.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodRefreshQuotaResult.h @@ -40,8 +40,8 @@ namespace AlibabaCloud std::string getUrlRemain()const; std::string getPreloadRemain()const; std::string getBlockRemain()const; - std::string getDirRemain()const; std::string getBlockQuota()const; + std::string getDirRemain()const; std::string getUrlQuota()const; std::string getDirQuota()const; std::string getPreloadQuota()const; @@ -52,8 +52,8 @@ namespace AlibabaCloud std::string urlRemain_; std::string preloadRemain_; std::string blockRemain_; - std::string dirRemain_; std::string blockQuota_; + std::string dirRemain_; std::string urlQuota_; std::string dirQuota_; std::string preloadQuota_; diff --git a/vod/include/alibabacloud/vod/model/DescribeVodRefreshTasksRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodRefreshTasksRequest.h index 7f8d9c9b9..4cf232614 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodRefreshTasksRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodRefreshTasksRequest.h @@ -1,78 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHTASKSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHTASKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodRefreshTasksRequest : public RpcServiceRequest - { - - public: - DescribeVodRefreshTasksRequest(); - ~DescribeVodRefreshTasksRequest(); - - std::string getObjectPath()const; - void setObjectPath(const std::string& objectPath); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getObjectType()const; - void setObjectType(const std::string& objectType); - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string objectPath_; - std::string startTime_; - int pageNumber_; - std::string securityToken_; - int pageSize_; - std::string objectType_; - std::string taskId_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHTASKSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHTASKSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHTASKSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodRefreshTasksRequest : public RpcServiceRequest { +public: + DescribeVodRefreshTasksRequest(); + ~DescribeVodRefreshTasksRequest(); + std::string getObjectPath() const; + void setObjectPath(const std::string &objectPath); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getObjectType() const; + void setObjectType(const std::string &objectType); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string objectPath_; + std::string startTime_; + int pageNumber_; + std::string securityToken_; + int pageSize_; + std::string objectType_; + std::string taskId_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string status_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODREFRESHTASKSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodRefreshTasksResult.h b/vod/include/alibabacloud/vod/model/DescribeVodRefreshTasksResult.h index 288dd4dba..c744737e6 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodRefreshTasksResult.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodRefreshTasksResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud std::string status; std::string objectType; std::string objectPath; - std::string taskId; std::string description; + std::string taskId; std::string creationTime; std::string process; }; diff --git a/vod/include/alibabacloud/vod/model/DescribeVodStorageDataRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodStorageDataRequest.h index 0073cbd44..ac0832e26 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodStorageDataRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodStorageDataRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODSTORAGEDATAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODSTORAGEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodStorageDataRequest : public RpcServiceRequest - { - - public: - DescribeVodStorageDataRequest(); - ~DescribeVodStorageDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getStorage()const; - void setStorage(const std::string& storage); - std::string getStorageType()const; - void setStorageType(const std::string& storageType); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getInterval()const; - void setInterval(const std::string& interval); - std::string getRegion()const; - void setRegion(const std::string& region); - - private: - std::string startTime_; - std::string storage_; - std::string storageType_; - std::string endTime_; - long ownerId_; - std::string interval_; - std::string region_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODSTORAGEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODSTORAGEDATAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODSTORAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodStorageDataRequest : public RpcServiceRequest { +public: + DescribeVodStorageDataRequest(); + ~DescribeVodStorageDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getStorage() const; + void setStorage(const std::string &storage); + std::string getStorageType() const; + void setStorageType(const std::string &storageType); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string startTime_; + std::string storage_; + std::string storageType_; + std::string endTime_; + long ownerId_; + std::string interval_; + std::string region_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODSTORAGEDATAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodTranscodeDataRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodTranscodeDataRequest.h index 6cb3407ef..5e4c8dc2d 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodTranscodeDataRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodTranscodeDataRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODTRANSCODEDATAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODTRANSCODEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodTranscodeDataRequest : public RpcServiceRequest - { - - public: - DescribeVodTranscodeDataRequest(); - ~DescribeVodTranscodeDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getStorage()const; - void setStorage(const std::string& storage); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getSpecification()const; - void setSpecification(const std::string& specification); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getInterval()const; - void setInterval(const std::string& interval); - std::string getRegion()const; - void setRegion(const std::string& region); - - private: - std::string startTime_; - std::string storage_; - std::string endTime_; - std::string specification_; - long ownerId_; - std::string interval_; - std::string region_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODTRANSCODEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODTRANSCODEDATAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODTRANSCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodTranscodeDataRequest : public RpcServiceRequest { +public: + DescribeVodTranscodeDataRequest(); + ~DescribeVodTranscodeDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getStorage() const; + void setStorage(const std::string &storage); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getSpecification() const; + void setSpecification(const std::string &specification); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInterval() const; + void setInterval(const std::string &interval); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string startTime_; + std::string storage_; + std::string endTime_; + std::string specification_; + long ownerId_; + std::string interval_; + std::string region_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODTRANSCODEDATAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodUserDomainsRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodUserDomainsRequest.h index 4767d244a..8fca587e0 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodUserDomainsRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodUserDomainsRequest.h @@ -1,87 +1,79 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODUSERDOMAINSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODUSERDOMAINSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodUserDomainsRequest : public RpcServiceRequest - { - public: - struct Tag - { - std::string value; - std::string key; - }; - - public: - DescribeVodUserDomainsRequest(); - ~DescribeVodUserDomainsRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - bool getCheckDomainShow()const; - void setCheckDomainShow(bool checkDomainShow); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getCdnType()const; - void setCdnType(const std::string& cdnType); - int getPageSize()const; - void setPageSize(int pageSize); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::string getFuncFilter()const; - void setFuncFilter(const std::string& funcFilter); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getFuncId()const; - void setFuncId(const std::string& funcId); - std::string getDomainStatus()const; - void setDomainStatus(const std::string& domainStatus); - std::string getDomainSearchType()const; - void setDomainSearchType(const std::string& domainSearchType); - - private: - int pageNumber_; - bool checkDomainShow_; - std::string securityToken_; - std::string cdnType_; - int pageSize_; - std::vector tag_; - std::string funcFilter_; - std::string domainName_; - long ownerId_; - std::string funcId_; - std::string domainStatus_; - std::string domainSearchType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODUSERDOMAINSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODUSERDOMAINSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODUSERDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodUserDomainsRequest : public RpcServiceRequest { +public: + struct Tag { + std::string value; + std::string key; + }; + DescribeVodUserDomainsRequest(); + ~DescribeVodUserDomainsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + bool getCheckDomainShow() const; + void setCheckDomainShow(bool checkDomainShow); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getCdnType() const; + void setCdnType(const std::string &cdnType); + int getPageSize() const; + void setPageSize(int pageSize); + std::vector getTag() const; + void setTag(const std::vector &tag); + std::string getFuncFilter() const; + void setFuncFilter(const std::string &funcFilter); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getFuncId() const; + void setFuncId(const std::string &funcId); + std::string getDomainStatus() const; + void setDomainStatus(const std::string &domainStatus); + std::string getDomainSearchType() const; + void setDomainSearchType(const std::string &domainSearchType); + +private: + int pageNumber_; + bool checkDomainShow_; + std::string securityToken_; + std::string cdnType_; + int pageSize_; + std::vector tag_; + std::string funcFilter_; + std::string domainName_; + long ownerId_; + std::string funcId_; + std::string domainStatus_; + std::string domainSearchType_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODUSERDOMAINSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DescribeVodUserDomainsResult.h b/vod/include/alibabacloud/vod/model/DescribeVodUserDomainsResult.h index e6a822a1b..f14b94e2e 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodUserDomainsResult.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodUserDomainsResult.h @@ -37,12 +37,12 @@ namespace AlibabaCloud struct Source { std::string type; - std::string content; std::string priority; + std::string content; int port; }; - std::string description; std::string sslProtocol; + std::string description; std::string domainName; std::string gmtModified; std::string gmtCreated; diff --git a/vod/include/alibabacloud/vod/model/DescribeVodVerifyContentRequest.h b/vod/include/alibabacloud/vod/model/DescribeVodVerifyContentRequest.h index 31782464d..ef0d96e55 100644 --- a/vod/include/alibabacloud/vod/model/DescribeVodVerifyContentRequest.h +++ b/vod/include/alibabacloud/vod/model/DescribeVodVerifyContentRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODVERIFYCONTENTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODVERIFYCONTENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DescribeVodVerifyContentRequest : public RpcServiceRequest - { - - public: - DescribeVodVerifyContentRequest(); - ~DescribeVodVerifyContentRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODVERIFYCONTENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DESCRIBEVODVERIFYCONTENTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODVERIFYCONTENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DescribeVodVerifyContentRequest : public RpcServiceRequest { +public: + DescribeVodVerifyContentRequest(); + ~DescribeVodVerifyContentRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODVERIFYCONTENTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/DetachAppPolicyFromIdentityRequest.h b/vod/include/alibabacloud/vod/model/DetachAppPolicyFromIdentityRequest.h index 24208837c..ea968a1b0 100644 --- a/vod/include/alibabacloud/vod/model/DetachAppPolicyFromIdentityRequest.h +++ b/vod/include/alibabacloud/vod/model/DetachAppPolicyFromIdentityRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_DETACHAPPPOLICYFROMIDENTITYREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_DETACHAPPPOLICYFROMIDENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT DetachAppPolicyFromIdentityRequest : public RpcServiceRequest - { - - public: - DetachAppPolicyFromIdentityRequest(); - ~DetachAppPolicyFromIdentityRequest(); - - std::string getIdentityType()const; - void setIdentityType(const std::string& identityType); - std::string getPolicyNames()const; - void setPolicyNames(const std::string& policyNames); - std::string getIdentityName()const; - void setIdentityName(const std::string& identityName); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string identityType_; - std::string policyNames_; - std::string identityName_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_DETACHAPPPOLICYFROMIDENTITYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_DETACHAPPPOLICYFROMIDENTITYREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_DETACHAPPPOLICYFROMIDENTITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT DetachAppPolicyFromIdentityRequest : public RpcServiceRequest { +public: + DetachAppPolicyFromIdentityRequest(); + ~DetachAppPolicyFromIdentityRequest(); + std::string getIdentityType() const; + void setIdentityType(const std::string &identityType); + std::string getPolicyNames() const; + void setPolicyNames(const std::string &policyNames); + std::string getIdentityName() const; + void setIdentityName(const std::string &identityName); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string identityType_; + std::string policyNames_; + std::string identityName_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_DETACHAPPPOLICYFROMIDENTITYREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetAIImageJobsRequest.h b/vod/include/alibabacloud/vod/model/GetAIImageJobsRequest.h index 2ae3d20f3..9cd52c058 100644 --- a/vod/include/alibabacloud/vod/model/GetAIImageJobsRequest.h +++ b/vod/include/alibabacloud/vod/model/GetAIImageJobsRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETAIIMAGEJOBSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETAIIMAGEJOBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetAIImageJobsRequest : public RpcServiceRequest - { - - public: - GetAIImageJobsRequest(); - ~GetAIImageJobsRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getJobIds()const; - void setJobIds(const std::string& jobIds); - - private: - std::string resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string accessKeyId_; - std::string jobIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETAIIMAGEJOBSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETAIIMAGEJOBSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETAIIMAGEJOBSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetAIImageJobsRequest : public RpcServiceRequest { +public: + GetAIImageJobsRequest(); + ~GetAIImageJobsRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getJobIds() const; + void setJobIds(const std::string &jobIds); + +private: + std::string resourceOwnerId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string accessKeyId_; + std::string jobIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETAIIMAGEJOBSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetAIMediaAuditJobRequest.h b/vod/include/alibabacloud/vod/model/GetAIMediaAuditJobRequest.h index 4c8478b15..46d31b1f5 100644 --- a/vod/include/alibabacloud/vod/model/GetAIMediaAuditJobRequest.h +++ b/vod/include/alibabacloud/vod/model/GetAIMediaAuditJobRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETAIMEDIAAUDITJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETAIMEDIAAUDITJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetAIMediaAuditJobRequest : public RpcServiceRequest - { - - public: - GetAIMediaAuditJobRequest(); - ~GetAIMediaAuditJobRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - - private: - std::string accessKeyId_; - std::string jobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETAIMEDIAAUDITJOBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETAIMEDIAAUDITJOBREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETAIMEDIAAUDITJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetAIMediaAuditJobRequest : public RpcServiceRequest { +public: + GetAIMediaAuditJobRequest(); + ~GetAIMediaAuditJobRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + +private: + std::string accessKeyId_; + std::string jobId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETAIMEDIAAUDITJOBREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetAIMediaAuditJobResult.h b/vod/include/alibabacloud/vod/model/GetAIMediaAuditJobResult.h index 2878401c1..af02488fe 100644 --- a/vod/include/alibabacloud/vod/model/GetAIMediaAuditJobResult.h +++ b/vod/include/alibabacloud/vod/model/GetAIMediaAuditJobResult.h @@ -169,8 +169,8 @@ namespace AlibabaCloud struct TextResultItem { std::string suggestion; - std::string score; std::string type; + std::string score; std::string content; std::string label; std::string scene; @@ -192,12 +192,12 @@ namespace AlibabaCloud }; std::string status; std::string type; - std::string mediaId; std::string message; + std::string mediaId; std::string creationTime; Data data; - std::string code; std::string completeTime; + std::string code; std::string jobId; }; diff --git a/vod/include/alibabacloud/vod/model/GetAITemplateRequest.h b/vod/include/alibabacloud/vod/model/GetAITemplateRequest.h index 74a9b8b0f..1b20fd2b5 100644 --- a/vod/include/alibabacloud/vod/model/GetAITemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/GetAITemplateRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETAITEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETAITEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetAITemplateRequest : public RpcServiceRequest - { - - public: - GetAITemplateRequest(); - ~GetAITemplateRequest(); - - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - - private: - std::string templateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETAITEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETAITEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETAITEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetAITemplateRequest : public RpcServiceRequest { +public: + GetAITemplateRequest(); + ~GetAITemplateRequest(); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + +private: + std::string templateId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETAITEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetAITemplateResult.h b/vod/include/alibabacloud/vod/model/GetAITemplateResult.h index 12e7df801..e745f5043 100644 --- a/vod/include/alibabacloud/vod/model/GetAITemplateResult.h +++ b/vod/include/alibabacloud/vod/model/GetAITemplateResult.h @@ -37,11 +37,11 @@ namespace AlibabaCloud std::string isDefault; std::string modifyTime; std::string creationTime; - std::string templateName; std::string templateConfig; + std::string templateName; std::string templateType; - std::string templateId; std::string source; + std::string templateId; }; diff --git a/vod/include/alibabacloud/vod/model/GetAIVideoTagResultRequest.h b/vod/include/alibabacloud/vod/model/GetAIVideoTagResultRequest.h index dcff8a781..b40bbdeb7 100644 --- a/vod/include/alibabacloud/vod/model/GetAIVideoTagResultRequest.h +++ b/vod/include/alibabacloud/vod/model/GetAIVideoTagResultRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETAIVIDEOTAGRESULTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETAIVIDEOTAGRESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetAIVideoTagResultRequest : public RpcServiceRequest - { - - public: - GetAIVideoTagResultRequest(); - ~GetAIVideoTagResultRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string mediaId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETAIVIDEOTAGRESULTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETAIVIDEOTAGRESULTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETAIVIDEOTAGRESULTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetAIVideoTagResultRequest : public RpcServiceRequest { +public: + GetAIVideoTagResultRequest(); + ~GetAIVideoTagResultRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + +private: + std::string resourceOwnerId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string mediaId_; + std::string accessKeyId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETAIVIDEOTAGRESULTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetAppInfosRequest.h b/vod/include/alibabacloud/vod/model/GetAppInfosRequest.h index 0f40eb5a2..f7c725624 100644 --- a/vod/include/alibabacloud/vod/model/GetAppInfosRequest.h +++ b/vod/include/alibabacloud/vod/model/GetAppInfosRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETAPPINFOSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETAPPINFOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetAppInfosRequest : public RpcServiceRequest - { - - public: - GetAppInfosRequest(); - ~GetAppInfosRequest(); - - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getAppIds()const; - void setAppIds(const std::string& appIds); - - private: - long resourceRealOwnerId_; - std::string accessKeyId_; - std::string appIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETAPPINFOSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETAPPINFOSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETAPPINFOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetAppInfosRequest : public RpcServiceRequest { +public: + GetAppInfosRequest(); + ~GetAppInfosRequest(); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getAppIds() const; + void setAppIds(const std::string &appIds); + +private: + long resourceRealOwnerId_; + std::string accessKeyId_; + std::string appIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETAPPINFOSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetAttachedMediaInfoRequest.h b/vod/include/alibabacloud/vod/model/GetAttachedMediaInfoRequest.h index 31b5d175f..5bf712c1f 100644 --- a/vod/include/alibabacloud/vod/model/GetAttachedMediaInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/GetAttachedMediaInfoRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETATTACHEDMEDIAINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETATTACHEDMEDIAINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetAttachedMediaInfoRequest : public RpcServiceRequest - { - - public: - GetAttachedMediaInfoRequest(); - ~GetAttachedMediaInfoRequest(); - - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getOutputType()const; - void setOutputType(const std::string& outputType); - std::string getMediaIds()const; - void setMediaIds(const std::string& mediaIds); - long getAuthTimeout()const; - void setAuthTimeout(long authTimeout); - - private: - long resourceRealOwnerId_; - std::string accessKeyId_; - std::string outputType_; - std::string mediaIds_; - long authTimeout_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETATTACHEDMEDIAINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETATTACHEDMEDIAINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETATTACHEDMEDIAINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetAttachedMediaInfoRequest : public RpcServiceRequest { +public: + GetAttachedMediaInfoRequest(); + ~GetAttachedMediaInfoRequest(); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getOutputType() const; + void setOutputType(const std::string &outputType); + std::string getMediaIds() const; + void setMediaIds(const std::string &mediaIds); + long getAuthTimeout() const; + void setAuthTimeout(long authTimeout); + +private: + long resourceRealOwnerId_; + std::string accessKeyId_; + std::string outputType_; + std::string mediaIds_; + long authTimeout_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETATTACHEDMEDIAINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetAttachedMediaInfoResult.h b/vod/include/alibabacloud/vod/model/GetAttachedMediaInfoResult.h index 17acd0171..3ca47e9c1 100644 --- a/vod/include/alibabacloud/vod/model/GetAttachedMediaInfoResult.h +++ b/vod/include/alibabacloud/vod/model/GetAttachedMediaInfoResult.h @@ -38,8 +38,8 @@ namespace AlibabaCloud { long parentId; long level; - long cateId; std::string cateName; + long cateId; }; std::string status; std::string description; diff --git a/vod/include/alibabacloud/vod/model/GetAuditHistoryRequest.h b/vod/include/alibabacloud/vod/model/GetAuditHistoryRequest.h index 8be80b1d6..5cfcc173a 100644 --- a/vod/include/alibabacloud/vod/model/GetAuditHistoryRequest.h +++ b/vod/include/alibabacloud/vod/model/GetAuditHistoryRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETAUDITHISTORYREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETAUDITHISTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetAuditHistoryRequest : public RpcServiceRequest - { - - public: - GetAuditHistoryRequest(); - ~GetAuditHistoryRequest(); - - long getPageSize()const; - void setPageSize(long pageSize); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - long getPageNo()const; - void setPageNo(long pageNo); - std::string getSortBy()const; - void setSortBy(const std::string& sortBy); - - private: - long pageSize_; - std::string videoId_; - long pageNo_; - std::string sortBy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETAUDITHISTORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETAUDITHISTORYREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETAUDITHISTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetAuditHistoryRequest : public RpcServiceRequest { +public: + GetAuditHistoryRequest(); + ~GetAuditHistoryRequest(); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + long getPageNo() const; + void setPageNo(long pageNo); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + +private: + long pageSize_; + std::string videoId_; + long pageNo_; + std::string sortBy_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETAUDITHISTORYREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetCategoriesRequest.h b/vod/include/alibabacloud/vod/model/GetCategoriesRequest.h index 27312acbc..110b4de7f 100644 --- a/vod/include/alibabacloud/vod/model/GetCategoriesRequest.h +++ b/vod/include/alibabacloud/vod/model/GetCategoriesRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETCATEGORIESREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETCATEGORIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetCategoriesRequest : public RpcServiceRequest - { - - public: - GetCategoriesRequest(); - ~GetCategoriesRequest(); - - std::string getType()const; - void setType(const std::string& type); - long getCateId()const; - void setCateId(long cateId); - long getPageSize()const; - void setPageSize(long pageSize); - long getPageNo()const; - void setPageNo(long pageNo); - std::string getSortBy()const; - void setSortBy(const std::string& sortBy); - - private: - std::string type_; - long cateId_; - long pageSize_; - long pageNo_; - std::string sortBy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETCATEGORIESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETCATEGORIESREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETCATEGORIESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetCategoriesRequest : public RpcServiceRequest { +public: + GetCategoriesRequest(); + ~GetCategoriesRequest(); + std::string getType() const; + void setType(const std::string &type); + long getCateId() const; + void setCateId(long cateId); + long getPageSize() const; + void setPageSize(long pageSize); + long getPageNo() const; + void setPageNo(long pageNo); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + +private: + std::string type_; + long cateId_; + long pageSize_; + long pageNo_; + std::string sortBy_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETCATEGORIESREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetCategoriesResult.h b/vod/include/alibabacloud/vod/model/GetCategoriesResult.h index 19764a490..6b975f147 100644 --- a/vod/include/alibabacloud/vod/model/GetCategoriesResult.h +++ b/vod/include/alibabacloud/vod/model/GetCategoriesResult.h @@ -37,16 +37,16 @@ namespace AlibabaCloud long parentId; std::string type; long level; - long cateId; std::string cateName; + long cateId; }; struct Category { long parentId; std::string type; long level; - long cateId; std::string cateName; + long cateId; long subTotal; }; diff --git a/vod/include/alibabacloud/vod/model/GetDefaultAITemplateRequest.h b/vod/include/alibabacloud/vod/model/GetDefaultAITemplateRequest.h index 6fa165ebf..51a9b9ee6 100644 --- a/vod/include/alibabacloud/vod/model/GetDefaultAITemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/GetDefaultAITemplateRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETDEFAULTAITEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETDEFAULTAITEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetDefaultAITemplateRequest : public RpcServiceRequest - { - - public: - GetDefaultAITemplateRequest(); - ~GetDefaultAITemplateRequest(); - - std::string getTemplateType()const; - void setTemplateType(const std::string& templateType); - - private: - std::string templateType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETDEFAULTAITEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETDEFAULTAITEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETDEFAULTAITEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetDefaultAITemplateRequest : public RpcServiceRequest { +public: + GetDefaultAITemplateRequest(); + ~GetDefaultAITemplateRequest(); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); + +private: + std::string templateType_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETDEFAULTAITEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetDefaultAITemplateResult.h b/vod/include/alibabacloud/vod/model/GetDefaultAITemplateResult.h index dbcfae400..13249cb84 100644 --- a/vod/include/alibabacloud/vod/model/GetDefaultAITemplateResult.h +++ b/vod/include/alibabacloud/vod/model/GetDefaultAITemplateResult.h @@ -37,11 +37,11 @@ namespace AlibabaCloud std::string isDefault; std::string modifyTime; std::string creationTime; - std::string templateName; std::string templateConfig; + std::string templateName; std::string templateType; - std::string templateId; std::string source; + std::string templateId; }; diff --git a/vod/include/alibabacloud/vod/model/GetEditingProjectMaterialsRequest.h b/vod/include/alibabacloud/vod/model/GetEditingProjectMaterialsRequest.h index 53d056e27..e83b541ff 100644 --- a/vod/include/alibabacloud/vod/model/GetEditingProjectMaterialsRequest.h +++ b/vod/include/alibabacloud/vod/model/GetEditingProjectMaterialsRequest.h @@ -1,69 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTMATERIALSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTMATERIALSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetEditingProjectMaterialsRequest : public RpcServiceRequest - { - - public: - GetEditingProjectMaterialsRequest(); - ~GetEditingProjectMaterialsRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getType()const; - void setType(const std::string& type); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getMaterialType()const; - void setMaterialType(const std::string& materialType); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - - private: - std::string resourceOwnerId_; - std::string type_; - std::string accessKeyId_; - std::string materialType_; - std::string projectId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTMATERIALSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTMATERIALSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTMATERIALSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetEditingProjectMaterialsRequest : public RpcServiceRequest { +public: + GetEditingProjectMaterialsRequest(); + ~GetEditingProjectMaterialsRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getType() const; + void setType(const std::string &type); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getMaterialType() const; + void setMaterialType(const std::string &materialType); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + +private: + std::string resourceOwnerId_; + std::string type_; + std::string accessKeyId_; + std::string materialType_; + std::string projectId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTMATERIALSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetEditingProjectMaterialsResult.h b/vod/include/alibabacloud/vod/model/GetEditingProjectMaterialsResult.h index 061058483..e8ebe6da0 100644 --- a/vod/include/alibabacloud/vod/model/GetEditingProjectMaterialsResult.h +++ b/vod/include/alibabacloud/vod/model/GetEditingProjectMaterialsResult.h @@ -38,8 +38,8 @@ namespace AlibabaCloud std::string materialId; std::string description; long size; - std::string title; std::string spriteConfig; + std::string title; float duration; int cateId; std::string cateName; diff --git a/vod/include/alibabacloud/vod/model/GetEditingProjectRequest.h b/vod/include/alibabacloud/vod/model/GetEditingProjectRequest.h index 1fd806e67..0a9b26bd7 100644 --- a/vod/include/alibabacloud/vod/model/GetEditingProjectRequest.h +++ b/vod/include/alibabacloud/vod/model/GetEditingProjectRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetEditingProjectRequest : public RpcServiceRequest - { - - public: - GetEditingProjectRequest(); - ~GetEditingProjectRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getFEExtendFlag()const; - void setFEExtendFlag(int fEExtendFlag); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - - private: - std::string resourceOwnerId_; - std::string accessKeyId_; - int fEExtendFlag_; - std::string projectId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetEditingProjectRequest : public RpcServiceRequest { +public: + GetEditingProjectRequest(); + ~GetEditingProjectRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getFEExtendFlag() const; + void setFEExtendFlag(int fEExtendFlag); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + +private: + std::string resourceOwnerId_; + std::string accessKeyId_; + int fEExtendFlag_; + std::string projectId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETEDITINGPROJECTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetEditingProjectResult.h b/vod/include/alibabacloud/vod/model/GetEditingProjectResult.h index bb8ec3eeb..59e6e2730 100644 --- a/vod/include/alibabacloud/vod/model/GetEditingProjectResult.h +++ b/vod/include/alibabacloud/vod/model/GetEditingProjectResult.h @@ -39,8 +39,8 @@ namespace AlibabaCloud std::string description; std::string modifiedTime; std::string fEExtend; - std::string projectId; std::string creationTime; + std::string projectId; std::string title; std::string coverURL; std::string regionId; diff --git a/vod/include/alibabacloud/vod/model/GetImageInfoRequest.h b/vod/include/alibabacloud/vod/model/GetImageInfoRequest.h index 35d2e9dc3..a92be28fb 100644 --- a/vod/include/alibabacloud/vod/model/GetImageInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/GetImageInfoRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETIMAGEINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETIMAGEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetImageInfoRequest : public RpcServiceRequest - { - - public: - GetImageInfoRequest(); - ~GetImageInfoRequest(); - - std::string getImageId()const; - void setImageId(const std::string& imageId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getOutputType()const; - void setOutputType(const std::string& outputType); - long getAuthTimeout()const; - void setAuthTimeout(long authTimeout); - - private: - std::string imageId_; - std::string accessKeyId_; - std::string outputType_; - long authTimeout_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETIMAGEINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETIMAGEINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETIMAGEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetImageInfoRequest : public RpcServiceRequest { +public: + GetImageInfoRequest(); + ~GetImageInfoRequest(); + std::string getImageId() const; + void setImageId(const std::string &imageId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getOutputType() const; + void setOutputType(const std::string &outputType); + long getAuthTimeout() const; + void setAuthTimeout(long authTimeout); + +private: + std::string imageId_; + std::string accessKeyId_; + std::string outputType_; + long authTimeout_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETIMAGEINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetImageInfoResult.h b/vod/include/alibabacloud/vod/model/GetImageInfoResult.h index 5d6114ba1..8f6a27e46 100644 --- a/vod/include/alibabacloud/vod/model/GetImageInfoResult.h +++ b/vod/include/alibabacloud/vod/model/GetImageInfoResult.h @@ -52,8 +52,8 @@ namespace AlibabaCloud std::string imageType; std::string auditStatus; std::string appId; - std::string imageId; std::string creationTime; + std::string imageId; std::string regionId; std::string storageLocation; std::string tags; diff --git a/vod/include/alibabacloud/vod/model/GetMediaAuditAudioResultDetailRequest.h b/vod/include/alibabacloud/vod/model/GetMediaAuditAudioResultDetailRequest.h index fd66d2f95..f4dd51477 100644 --- a/vod/include/alibabacloud/vod/model/GetMediaAuditAudioResultDetailRequest.h +++ b/vod/include/alibabacloud/vod/model/GetMediaAuditAudioResultDetailRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITAUDIORESULTDETAILREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITAUDIORESULTDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetMediaAuditAudioResultDetailRequest : public RpcServiceRequest - { - - public: - GetMediaAuditAudioResultDetailRequest(); - ~GetMediaAuditAudioResultDetailRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - int getPageNo()const; - void setPageNo(int pageNo); - - private: - std::string resourceOwnerId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string mediaId_; - int pageNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITAUDIORESULTDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITAUDIORESULTDETAILREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITAUDIORESULTDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetMediaAuditAudioResultDetailRequest : public RpcServiceRequest { +public: + GetMediaAuditAudioResultDetailRequest(); + ~GetMediaAuditAudioResultDetailRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + int getPageNo() const; + void setPageNo(int pageNo); + +private: + std::string resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string mediaId_; + int pageNo_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITAUDIORESULTDETAILREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetMediaAuditResultDetailRequest.h b/vod/include/alibabacloud/vod/model/GetMediaAuditResultDetailRequest.h index 93585a9e2..b206d9cd0 100644 --- a/vod/include/alibabacloud/vod/model/GetMediaAuditResultDetailRequest.h +++ b/vod/include/alibabacloud/vod/model/GetMediaAuditResultDetailRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTDETAILREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetMediaAuditResultDetailRequest : public RpcServiceRequest - { - - public: - GetMediaAuditResultDetailRequest(); - ~GetMediaAuditResultDetailRequest(); - - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getPageNo()const; - void setPageNo(int pageNo); - - private: - std::string mediaId_; - std::string accessKeyId_; - int pageNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTDETAILREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetMediaAuditResultDetailRequest : public RpcServiceRequest { +public: + GetMediaAuditResultDetailRequest(); + ~GetMediaAuditResultDetailRequest(); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getPageNo() const; + void setPageNo(int pageNo); + +private: + std::string mediaId_; + std::string accessKeyId_; + int pageNo_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTDETAILREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetMediaAuditResultDetailResult.h b/vod/include/alibabacloud/vod/model/GetMediaAuditResultDetailResult.h index 8667b15b2..2f01eca4f 100644 --- a/vod/include/alibabacloud/vod/model/GetMediaAuditResultDetailResult.h +++ b/vod/include/alibabacloud/vod/model/GetMediaAuditResultDetailResult.h @@ -42,8 +42,8 @@ namespace AlibabaCloud std::string terrorismLabel; std::string terrorismScore; std::string adScore; - std::string pornScore; std::string adLabel; + std::string pornScore; std::string logoScore; std::string liveLabel; std::string timestamp; diff --git a/vod/include/alibabacloud/vod/model/GetMediaAuditResultRequest.h b/vod/include/alibabacloud/vod/model/GetMediaAuditResultRequest.h index f1105e7bb..456ad3cd9 100644 --- a/vod/include/alibabacloud/vod/model/GetMediaAuditResultRequest.h +++ b/vod/include/alibabacloud/vod/model/GetMediaAuditResultRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetMediaAuditResultRequest : public RpcServiceRequest - { - - public: - GetMediaAuditResultRequest(); - ~GetMediaAuditResultRequest(); - - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string mediaId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetMediaAuditResultRequest : public RpcServiceRequest { +public: + GetMediaAuditResultRequest(); + ~GetMediaAuditResultRequest(); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + +private: + std::string mediaId_; + std::string accessKeyId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetMediaAuditResultResult.h b/vod/include/alibabacloud/vod/model/GetMediaAuditResultResult.h index 5373f43d3..377b4ff7d 100644 --- a/vod/include/alibabacloud/vod/model/GetMediaAuditResultResult.h +++ b/vod/include/alibabacloud/vod/model/GetMediaAuditResultResult.h @@ -174,8 +174,8 @@ namespace AlibabaCloud struct TextResultItem { std::string suggestion; - std::string score; std::string type; + std::string score; std::string content; std::string label; std::string scene; diff --git a/vod/include/alibabacloud/vod/model/GetMediaAuditResultTimelineRequest.h b/vod/include/alibabacloud/vod/model/GetMediaAuditResultTimelineRequest.h index 58f359bbd..c9b1b6df1 100644 --- a/vod/include/alibabacloud/vod/model/GetMediaAuditResultTimelineRequest.h +++ b/vod/include/alibabacloud/vod/model/GetMediaAuditResultTimelineRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTTIMELINEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTTIMELINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetMediaAuditResultTimelineRequest : public RpcServiceRequest - { - - public: - GetMediaAuditResultTimelineRequest(); - ~GetMediaAuditResultTimelineRequest(); - - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string mediaId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTTIMELINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTTIMELINEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTTIMELINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetMediaAuditResultTimelineRequest : public RpcServiceRequest { +public: + GetMediaAuditResultTimelineRequest(); + ~GetMediaAuditResultTimelineRequest(); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + +private: + std::string mediaId_; + std::string accessKeyId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIAAUDITRESULTTIMELINEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetMediaDNAResultRequest.h b/vod/include/alibabacloud/vod/model/GetMediaDNAResultRequest.h index b201e94c0..aad4a572e 100644 --- a/vod/include/alibabacloud/vod/model/GetMediaDNAResultRequest.h +++ b/vod/include/alibabacloud/vod/model/GetMediaDNAResultRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIADNARESULTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETMEDIADNARESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetMediaDNAResultRequest : public RpcServiceRequest - { - - public: - GetMediaDNAResultRequest(); - ~GetMediaDNAResultRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string mediaId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIADNARESULTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIADNARESULTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETMEDIADNARESULTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetMediaDNAResultRequest : public RpcServiceRequest { +public: + GetMediaDNAResultRequest(); + ~GetMediaDNAResultRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + +private: + std::string resourceOwnerId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string mediaId_; + std::string accessKeyId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIADNARESULTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetMediaRefreshJobsRequest.h b/vod/include/alibabacloud/vod/model/GetMediaRefreshJobsRequest.h new file mode 100644 index 000000000..114106e6c --- /dev/null +++ b/vod/include/alibabacloud/vod/model/GetMediaRefreshJobsRequest.h @@ -0,0 +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. + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIAREFRESHJOBSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETMEDIAREFRESHJOBSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetMediaRefreshJobsRequest : public RpcServiceRequest { +public: + GetMediaRefreshJobsRequest(); + ~GetMediaRefreshJobsRequest(); + std::string getMediaRefreshJobId() const; + void setMediaRefreshJobId(const std::string &mediaRefreshJobId); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + +private: + std::string mediaRefreshJobId_; + std::string mediaId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIAREFRESHJOBSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetMediaRefreshJobsResult.h b/vod/include/alibabacloud/vod/model/GetMediaRefreshJobsResult.h new file mode 100644 index 000000000..ff35e7e8d --- /dev/null +++ b/vod/include/alibabacloud/vod/model/GetMediaRefreshJobsResult.h @@ -0,0 +1,66 @@ +/* + * 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. + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETMEDIAREFRESHJOBSRESULT_H_ +#define ALIBABACLOUD_VOD_MODEL_GETMEDIAREFRESHJOBSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vod + { + namespace Model + { + class ALIBABACLOUD_VOD_EXPORT GetMediaRefreshJobsResult : public ServiceResult + { + public: + struct MediaRefreshJob + { + std::string status; + std::string successPlayUrls; + std::string gmtCreate; + std::string mediaId; + std::string filterPolicy; + std::string taskIds; + std::string userData; + std::string mediaRefreshJobId; + std::string taskType; + std::string gmtModified; + std::string errorCode; + std::string errorMessage; + }; + + + GetMediaRefreshJobsResult(); + explicit GetMediaRefreshJobsResult(const std::string &payload); + ~GetMediaRefreshJobsResult(); + std::vector getMediaRefreshJobs()const; + + protected: + void parse(const std::string &payload); + private: + std::vector mediaRefreshJobs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VOD_MODEL_GETMEDIAREFRESHJOBSRESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/GetMessageCallbackRequest.h b/vod/include/alibabacloud/vod/model/GetMessageCallbackRequest.h index a04ee3e4c..1786056df 100644 --- a/vod/include/alibabacloud/vod/model/GetMessageCallbackRequest.h +++ b/vod/include/alibabacloud/vod/model/GetMessageCallbackRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETMESSAGECALLBACKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETMESSAGECALLBACKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetMessageCallbackRequest : public RpcServiceRequest - { - - public: - GetMessageCallbackRequest(); - ~GetMessageCallbackRequest(); - - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string ownerAccount_; - long resourceRealOwnerId_; - std::string accessKeyId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETMESSAGECALLBACKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETMESSAGECALLBACKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETMESSAGECALLBACKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetMessageCallbackRequest : public RpcServiceRequest { +public: + GetMessageCallbackRequest(); + ~GetMessageCallbackRequest(); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string ownerAccount_; + long resourceRealOwnerId_; + std::string accessKeyId_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETMESSAGECALLBACKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetMessageCallbackResult.h b/vod/include/alibabacloud/vod/model/GetMessageCallbackResult.h index 3f6313741..c61ef0c28 100644 --- a/vod/include/alibabacloud/vod/model/GetMessageCallbackResult.h +++ b/vod/include/alibabacloud/vod/model/GetMessageCallbackResult.h @@ -40,8 +40,8 @@ namespace AlibabaCloud std::string callbackType; std::string appId; std::string eventTypeList; - std::string authKey; std::string mnsQueueName; + std::string authKey; }; diff --git a/vod/include/alibabacloud/vod/model/GetMezzanineInfoRequest.h b/vod/include/alibabacloud/vod/model/GetMezzanineInfoRequest.h index 5981c92f2..d526eb84d 100644 --- a/vod/include/alibabacloud/vod/model/GetMezzanineInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/GetMezzanineInfoRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETMEZZANINEINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETMEZZANINEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetMezzanineInfoRequest : public RpcServiceRequest - { - - public: - GetMezzanineInfoRequest(); - ~GetMezzanineInfoRequest(); - - std::string getOutputType()const; - void setOutputType(const std::string& outputType); - long getAuthTimeout()const; - void setAuthTimeout(long authTimeout); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - bool getPreviewSegment()const; - void setPreviewSegment(bool previewSegment); - std::string getAdditionType()const; - void setAdditionType(const std::string& additionType); - - private: - std::string outputType_; - long authTimeout_; - std::string videoId_; - bool previewSegment_; - std::string additionType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETMEZZANINEINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETMEZZANINEINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETMEZZANINEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetMezzanineInfoRequest : public RpcServiceRequest { +public: + GetMezzanineInfoRequest(); + ~GetMezzanineInfoRequest(); + std::string getOutputType() const; + void setOutputType(const std::string &outputType); + long getAuthTimeout() const; + void setAuthTimeout(long authTimeout); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + bool getPreviewSegment() const; + void setPreviewSegment(bool previewSegment); + std::string getAdditionType() const; + void setAdditionType(const std::string &additionType); + +private: + std::string outputType_; + long authTimeout_; + std::string videoId_; + bool previewSegment_; + std::string additionType_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETMEZZANINEINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetPlayInfoRequest.h b/vod/include/alibabacloud/vod/model/GetPlayInfoRequest.h index 24efebb8e..65f612110 100644 --- a/vod/include/alibabacloud/vod/model/GetPlayInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/GetPlayInfoRequest.h @@ -1,87 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETPLAYINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETPLAYINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetPlayInfoRequest : public RpcServiceRequest - { - - public: - GetPlayInfoRequest(); - ~GetPlayInfoRequest(); - - std::string getFormats()const; - void setFormats(const std::string& formats); - std::string getChannel()const; - void setChannel(const std::string& channel); - std::string getPlayerVersion()const; - void setPlayerVersion(const std::string& playerVersion); - std::string getRand()const; - void setRand(const std::string& rand); - std::string getReAuthInfo()const; - void setReAuthInfo(const std::string& reAuthInfo); - std::string getPlayConfig()const; - void setPlayConfig(const std::string& playConfig); - std::string getOutputType()const; - void setOutputType(const std::string& outputType); - std::string getDefinition()const; - void setDefinition(const std::string& definition); - long getAuthTimeout()const; - void setAuthTimeout(long authTimeout); - std::string getStreamType()const; - void setStreamType(const std::string& streamType); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getResultType()const; - void setResultType(const std::string& resultType); - std::string getAdditionType()const; - void setAdditionType(const std::string& additionType); - std::string getAuthInfo()const; - void setAuthInfo(const std::string& authInfo); - - private: - std::string formats_; - std::string channel_; - std::string playerVersion_; - std::string rand_; - std::string reAuthInfo_; - std::string playConfig_; - std::string outputType_; - std::string definition_; - long authTimeout_; - std::string streamType_; - std::string videoId_; - std::string resultType_; - std::string additionType_; - std::string authInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETPLAYINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETPLAYINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETPLAYINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetPlayInfoRequest : public RpcServiceRequest { +public: + GetPlayInfoRequest(); + ~GetPlayInfoRequest(); + std::string getFormats() const; + void setFormats(const std::string &formats); + std::string getChannel() const; + void setChannel(const std::string &channel); + std::string getPlayerVersion() const; + void setPlayerVersion(const std::string &playerVersion); + std::string getRand() const; + void setRand(const std::string &rand); + std::string getReAuthInfo() const; + void setReAuthInfo(const std::string &reAuthInfo); + std::string getPlayConfig() const; + void setPlayConfig(const std::string &playConfig); + std::string getOutputType() const; + void setOutputType(const std::string &outputType); + std::string getDefinition() const; + void setDefinition(const std::string &definition); + long getAuthTimeout() const; + void setAuthTimeout(long authTimeout); + std::string getStreamType() const; + void setStreamType(const std::string &streamType); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getResultType() const; + void setResultType(const std::string &resultType); + std::string getAdditionType() const; + void setAdditionType(const std::string &additionType); + std::string getAuthInfo() const; + void setAuthInfo(const std::string &authInfo); + +private: + std::string formats_; + std::string channel_; + std::string playerVersion_; + std::string rand_; + std::string reAuthInfo_; + std::string playConfig_; + std::string outputType_; + std::string definition_; + long authTimeout_; + std::string streamType_; + std::string videoId_; + std::string resultType_; + std::string additionType_; + std::string authInfo_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETPLAYINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetTranscodeSummaryRequest.h b/vod/include/alibabacloud/vod/model/GetTranscodeSummaryRequest.h index dba06ddf0..d1a4627f0 100644 --- a/vod/include/alibabacloud/vod/model/GetTranscodeSummaryRequest.h +++ b/vod/include/alibabacloud/vod/model/GetTranscodeSummaryRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETTRANSCODESUMMARYREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETTRANSCODESUMMARYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetTranscodeSummaryRequest : public RpcServiceRequest - { - - public: - GetTranscodeSummaryRequest(); - ~GetTranscodeSummaryRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getVideoIds()const; - void setVideoIds(const std::string& videoIds); - - private: - std::string accessKeyId_; - std::string videoIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETTRANSCODESUMMARYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETTRANSCODESUMMARYREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETTRANSCODESUMMARYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetTranscodeSummaryRequest : public RpcServiceRequest { +public: + GetTranscodeSummaryRequest(); + ~GetTranscodeSummaryRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getVideoIds() const; + void setVideoIds(const std::string &videoIds); + +private: + std::string accessKeyId_; + std::string videoIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETTRANSCODESUMMARYREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetTranscodeSummaryResult.h b/vod/include/alibabacloud/vod/model/GetTranscodeSummaryResult.h index 9665ef927..7e1013239 100644 --- a/vod/include/alibabacloud/vod/model/GetTranscodeSummaryResult.h +++ b/vod/include/alibabacloud/vod/model/GetTranscodeSummaryResult.h @@ -36,9 +36,9 @@ namespace AlibabaCloud { struct TranscodeJobInfoSummary { - std::string transcodeJobStatus; std::string definition; std::string fps; + std::string transcodeJobStatus; std::string duration; std::string encryption; long filesize; @@ -54,8 +54,8 @@ namespace AlibabaCloud std::string completeTime; std::string width; }; - std::string videoId; std::string trigger; + std::string videoId; std::string transcodeTemplateGroupId; std::vector transcodeJobInfoSummaryList; std::string creationTime; diff --git a/vod/include/alibabacloud/vod/model/GetTranscodeTaskRequest.h b/vod/include/alibabacloud/vod/model/GetTranscodeTaskRequest.h index cc4ed1dba..65a3d3c24 100644 --- a/vod/include/alibabacloud/vod/model/GetTranscodeTaskRequest.h +++ b/vod/include/alibabacloud/vod/model/GetTranscodeTaskRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETTRANSCODETASKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETTRANSCODETASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetTranscodeTaskRequest : public RpcServiceRequest - { - - public: - GetTranscodeTaskRequest(); - ~GetTranscodeTaskRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getTranscodeTaskId()const; - void setTranscodeTaskId(const std::string& transcodeTaskId); - - private: - std::string accessKeyId_; - std::string transcodeTaskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETTRANSCODETASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETTRANSCODETASKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETTRANSCODETASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetTranscodeTaskRequest : public RpcServiceRequest { +public: + GetTranscodeTaskRequest(); + ~GetTranscodeTaskRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getTranscodeTaskId() const; + void setTranscodeTaskId(const std::string &transcodeTaskId); + +private: + std::string accessKeyId_; + std::string transcodeTaskId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETTRANSCODETASKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetTranscodeTaskResult.h b/vod/include/alibabacloud/vod/model/GetTranscodeTaskResult.h index 9123e5c8f..30ed1a7ad 100644 --- a/vod/include/alibabacloud/vod/model/GetTranscodeTaskResult.h +++ b/vod/include/alibabacloud/vod/model/GetTranscodeTaskResult.h @@ -40,8 +40,8 @@ namespace AlibabaCloud { std::string outputFileUrl; std::string fps; - std::string duration; std::string videoStreamList; + std::string duration; std::string encryption; std::string audioStreamList; long filesize; @@ -56,18 +56,18 @@ namespace AlibabaCloud std::string transcodeTemplateId; std::string inputFileUrl; std::string priority; - std::string transcodeJobStatus; - std::string creationTime; std::string definition; + std::string creationTime; + std::string transcodeJobStatus; std::string transcodeJobId; - long transcodeProgress; std::string errorCode; + long transcodeProgress; std::string errorMessage; std::string completeTime; }; std::vector transcodeJobInfoList; - std::string videoId; std::string trigger; + std::string videoId; std::string transcodeTemplateGroupId; std::string creationTime; std::string taskStatus; diff --git a/vod/include/alibabacloud/vod/model/GetTranscodeTemplateGroupRequest.h b/vod/include/alibabacloud/vod/model/GetTranscodeTemplateGroupRequest.h index 725b24ec1..79906da6a 100644 --- a/vod/include/alibabacloud/vod/model/GetTranscodeTemplateGroupRequest.h +++ b/vod/include/alibabacloud/vod/model/GetTranscodeTemplateGroupRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETTRANSCODETEMPLATEGROUPREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETTRANSCODETEMPLATEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetTranscodeTemplateGroupRequest : public RpcServiceRequest - { - - public: - GetTranscodeTemplateGroupRequest(); - ~GetTranscodeTemplateGroupRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getTranscodeTemplateGroupId()const; - void setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId); - - private: - std::string accessKeyId_; - std::string transcodeTemplateGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETTRANSCODETEMPLATEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETTRANSCODETEMPLATEGROUPREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETTRANSCODETEMPLATEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetTranscodeTemplateGroupRequest : public RpcServiceRequest { +public: + GetTranscodeTemplateGroupRequest(); + ~GetTranscodeTemplateGroupRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getTranscodeTemplateGroupId() const; + void setTranscodeTemplateGroupId(const std::string &transcodeTemplateGroupId); + +private: + std::string accessKeyId_; + std::string transcodeTemplateGroupId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETTRANSCODETEMPLATEGROUPREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetTranscodeTemplateGroupResult.h b/vod/include/alibabacloud/vod/model/GetTranscodeTemplateGroupResult.h index d6fb8cf58..735bc81d0 100644 --- a/vod/include/alibabacloud/vod/model/GetTranscodeTemplateGroupResult.h +++ b/vod/include/alibabacloud/vod/model/GetTranscodeTemplateGroupResult.h @@ -45,8 +45,8 @@ namespace AlibabaCloud std::vector watermarkIds; std::string encryptSetting; std::string clip; - std::string container; std::string type; + std::string container; std::string transcodeTemplateId; std::string transConfig; std::string video; diff --git a/vod/include/alibabacloud/vod/model/GetURLUploadInfosRequest.h b/vod/include/alibabacloud/vod/model/GetURLUploadInfosRequest.h index 467731bed..620c88ce3 100644 --- a/vod/include/alibabacloud/vod/model/GetURLUploadInfosRequest.h +++ b/vod/include/alibabacloud/vod/model/GetURLUploadInfosRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETURLUPLOADINFOSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETURLUPLOADINFOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetURLUploadInfosRequest : public RpcServiceRequest - { - - public: - GetURLUploadInfosRequest(); - ~GetURLUploadInfosRequest(); - - std::string getJobIds()const; - void setJobIds(const std::string& jobIds); - std::string getUploadURLs()const; - void setUploadURLs(const std::string& uploadURLs); - - private: - std::string jobIds_; - std::string uploadURLs_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETURLUPLOADINFOSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETURLUPLOADINFOSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETURLUPLOADINFOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetURLUploadInfosRequest : public RpcServiceRequest { +public: + GetURLUploadInfosRequest(); + ~GetURLUploadInfosRequest(); + std::string getJobIds() const; + void setJobIds(const std::string &jobIds); + std::string getUploadURLs() const; + void setUploadURLs(const std::string &uploadURLs); + +private: + std::string jobIds_; + std::string uploadURLs_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETURLUPLOADINFOSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetUploadDetailsRequest.h b/vod/include/alibabacloud/vod/model/GetUploadDetailsRequest.h index f513d7dc2..bb30cdb71 100644 --- a/vod/include/alibabacloud/vod/model/GetUploadDetailsRequest.h +++ b/vod/include/alibabacloud/vod/model/GetUploadDetailsRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETUPLOADDETAILSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETUPLOADDETAILSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetUploadDetailsRequest : public RpcServiceRequest - { - - public: - GetUploadDetailsRequest(); - ~GetUploadDetailsRequest(); - - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getMediaIds()const; - void setMediaIds(const std::string& mediaIds); - std::string getMediaType()const; - void setMediaType(const std::string& mediaType); - - private: - long resourceRealOwnerId_; - std::string accessKeyId_; - std::string mediaIds_; - std::string mediaType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETUPLOADDETAILSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETUPLOADDETAILSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETUPLOADDETAILSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetUploadDetailsRequest : public RpcServiceRequest { +public: + GetUploadDetailsRequest(); + ~GetUploadDetailsRequest(); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getMediaIds() const; + void setMediaIds(const std::string &mediaIds); + std::string getMediaType() const; + void setMediaType(const std::string &mediaType); + +private: + long resourceRealOwnerId_; + std::string accessKeyId_; + std::string mediaIds_; + std::string mediaType_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETUPLOADDETAILSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetUploadDetailsResult.h b/vod/include/alibabacloud/vod/model/GetUploadDetailsResult.h index b3b954b82..5afce5968 100644 --- a/vod/include/alibabacloud/vod/model/GetUploadDetailsResult.h +++ b/vod/include/alibabacloud/vod/model/GetUploadDetailsResult.h @@ -39,11 +39,11 @@ namespace AlibabaCloud std::string title; std::string modificationTime; float uploadRatio; - std::string mediaId; std::string uploadSource; - std::string uploadStatus; + std::string mediaId; std::string completionTime; long uploadSize; + std::string uploadStatus; std::string creationTime; std::string uploadIP; long fileSize; diff --git a/vod/include/alibabacloud/vod/model/GetVideoInfoRequest.h b/vod/include/alibabacloud/vod/model/GetVideoInfoRequest.h index 96c57cdda..5df11c402 100644 --- a/vod/include/alibabacloud/vod/model/GetVideoInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/GetVideoInfoRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetVideoInfoRequest : public RpcServiceRequest - { - - public: - GetVideoInfoRequest(); - ~GetVideoInfoRequest(); - - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getAdditionType()const; - void setAdditionType(const std::string& additionType); - std::string getResultTypes()const; - void setResultTypes(const std::string& resultTypes); - - private: - std::string videoId_; - std::string additionType_; - std::string resultTypes_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetVideoInfoRequest : public RpcServiceRequest { +public: + GetVideoInfoRequest(); + ~GetVideoInfoRequest(); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getAdditionType() const; + void setAdditionType(const std::string &additionType); + std::string getResultTypes() const; + void setResultTypes(const std::string &resultTypes); + +private: + std::string videoId_; + std::string additionType_; + std::string resultTypes_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetVideoInfoResult.h b/vod/include/alibabacloud/vod/model/GetVideoInfoResult.h index 8f19768bc..829ceb579 100644 --- a/vod/include/alibabacloud/vod/model/GetVideoInfoResult.h +++ b/vod/include/alibabacloud/vod/model/GetVideoInfoResult.h @@ -46,8 +46,8 @@ namespace AlibabaCloud std::string createTime; std::string downloadSwitch; std::string title; - float duration; std::string modificationTime; + float duration; long cateId; std::string cateName; std::vector thumbnailList; diff --git a/vod/include/alibabacloud/vod/model/GetVideoInfosRequest.h b/vod/include/alibabacloud/vod/model/GetVideoInfosRequest.h index 5a9d57ee9..0a5d3706e 100644 --- a/vod/include/alibabacloud/vod/model/GetVideoInfosRequest.h +++ b/vod/include/alibabacloud/vod/model/GetVideoInfosRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetVideoInfosRequest : public RpcServiceRequest - { - - public: - GetVideoInfosRequest(); - ~GetVideoInfosRequest(); - - std::string getAdditionType()const; - void setAdditionType(const std::string& additionType); - std::string getVideoIds()const; - void setVideoIds(const std::string& videoIds); - - private: - std::string additionType_; - std::string videoIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetVideoInfosRequest : public RpcServiceRequest { +public: + GetVideoInfosRequest(); + ~GetVideoInfosRequest(); + std::string getAdditionType() const; + void setAdditionType(const std::string &additionType); + std::string getVideoIds() const; + void setVideoIds(const std::string &videoIds); + +private: + std::string additionType_; + std::string videoIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETVIDEOINFOSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetVideoInfosResult.h b/vod/include/alibabacloud/vod/model/GetVideoInfosResult.h index 021e462ce..cf0fcdf8d 100644 --- a/vod/include/alibabacloud/vod/model/GetVideoInfosResult.h +++ b/vod/include/alibabacloud/vod/model/GetVideoInfosResult.h @@ -44,8 +44,8 @@ namespace AlibabaCloud long size; std::string downloadSwitch; std::string title; - float duration; std::string modificationTime; + float duration; long cateId; std::string cateName; std::vector thumbnailList; diff --git a/vod/include/alibabacloud/vod/model/GetVideoListRequest.h b/vod/include/alibabacloud/vod/model/GetVideoListRequest.h index 48c6eba7a..2632b0e42 100644 --- a/vod/include/alibabacloud/vod/model/GetVideoListRequest.h +++ b/vod/include/alibabacloud/vod/model/GetVideoListRequest.h @@ -1,69 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETVIDEOLISTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETVIDEOLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetVideoListRequest : public RpcServiceRequest - { - - public: - GetVideoListRequest(); - ~GetVideoListRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getStorageLocation()const; - void setStorageLocation(const std::string& storageLocation); - long getCateId()const; - void setCateId(long cateId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - int getPageNo()const; - void setPageNo(int pageNo); - std::string getSortBy()const; - void setSortBy(const std::string& sortBy); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string startTime_; - std::string storageLocation_; - long cateId_; - int pageSize_; - std::string endTime_; - int pageNo_; - std::string sortBy_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETVIDEOLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETVIDEOLISTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETVIDEOLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetVideoListRequest : public RpcServiceRequest { +public: + GetVideoListRequest(); + ~GetVideoListRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getStorageLocation() const; + void setStorageLocation(const std::string &storageLocation); + long getCateId() const; + void setCateId(long cateId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + int getPageNo() const; + void setPageNo(int pageNo); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string startTime_; + std::string storageLocation_; + long cateId_; + int pageSize_; + std::string endTime_; + int pageNo_; + std::string sortBy_; + std::string status_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETVIDEOLISTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetVideoListResult.h b/vod/include/alibabacloud/vod/model/GetVideoListResult.h index a23f7e1a0..fc7c9f00a 100644 --- a/vod/include/alibabacloud/vod/model/GetVideoListResult.h +++ b/vod/include/alibabacloud/vod/model/GetVideoListResult.h @@ -41,8 +41,8 @@ namespace AlibabaCloud long size; std::string createTime; std::string title; - float duration; std::string modificationTime; + float duration; long cateId; std::string cateName; std::string appId; diff --git a/vod/include/alibabacloud/vod/model/GetVideoPlayAuthRequest.h b/vod/include/alibabacloud/vod/model/GetVideoPlayAuthRequest.h index 75810d9ef..78fe73ddc 100644 --- a/vod/include/alibabacloud/vod/model/GetVideoPlayAuthRequest.h +++ b/vod/include/alibabacloud/vod/model/GetVideoPlayAuthRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETVIDEOPLAYAUTHREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETVIDEOPLAYAUTHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetVideoPlayAuthRequest : public RpcServiceRequest - { - - public: - GetVideoPlayAuthRequest(); - ~GetVideoPlayAuthRequest(); - - std::string getReAuthInfo()const; - void setReAuthInfo(const std::string& reAuthInfo); - std::string getPlayConfig()const; - void setPlayConfig(const std::string& playConfig); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getApiVersion()const; - void setApiVersion(const std::string& apiVersion); - long getAuthInfoTimeout()const; - void setAuthInfoTimeout(long authInfoTimeout); - - private: - std::string reAuthInfo_; - std::string playConfig_; - std::string videoId_; - std::string apiVersion_; - long authInfoTimeout_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETVIDEOPLAYAUTHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETVIDEOPLAYAUTHREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETVIDEOPLAYAUTHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetVideoPlayAuthRequest : public RpcServiceRequest { +public: + GetVideoPlayAuthRequest(); + ~GetVideoPlayAuthRequest(); + std::string getReAuthInfo() const; + void setReAuthInfo(const std::string &reAuthInfo); + std::string getPlayConfig() const; + void setPlayConfig(const std::string &playConfig); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getApiVersion() const; + void setApiVersion(const std::string &apiVersion); + long getAuthInfoTimeout() const; + void setAuthInfoTimeout(long authInfoTimeout); + +private: + std::string reAuthInfo_; + std::string playConfig_; + std::string videoId_; + std::string apiVersion_; + long authInfoTimeout_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETVIDEOPLAYAUTHREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetVodTemplateRequest.h b/vod/include/alibabacloud/vod/model/GetVodTemplateRequest.h index 4ec71793f..bb9bf0df8 100644 --- a/vod/include/alibabacloud/vod/model/GetVodTemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/GetVodTemplateRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETVODTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETVODTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetVodTemplateRequest : public RpcServiceRequest - { - - public: - GetVodTemplateRequest(); - ~GetVodTemplateRequest(); - - std::string getVodTemplateId()const; - void setVodTemplateId(const std::string& vodTemplateId); - - private: - std::string vodTemplateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETVODTEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETVODTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETVODTEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetVodTemplateRequest : public RpcServiceRequest { +public: + GetVodTemplateRequest(); + ~GetVodTemplateRequest(); + std::string getVodTemplateId() const; + void setVodTemplateId(const std::string &vodTemplateId); + +private: + std::string vodTemplateId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETVODTEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/GetWatermarkRequest.h b/vod/include/alibabacloud/vod/model/GetWatermarkRequest.h index cbac61707..b25a8958a 100644 --- a/vod/include/alibabacloud/vod/model/GetWatermarkRequest.h +++ b/vod/include/alibabacloud/vod/model/GetWatermarkRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_GETWATERMARKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_GETWATERMARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT GetWatermarkRequest : public RpcServiceRequest - { - - public: - GetWatermarkRequest(); - ~GetWatermarkRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getWatermarkId()const; - void setWatermarkId(const std::string& watermarkId); - - private: - std::string accessKeyId_; - std::string watermarkId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_GETWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_GETWATERMARKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_GETWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT GetWatermarkRequest : public RpcServiceRequest { +public: + GetWatermarkRequest(); + ~GetWatermarkRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getWatermarkId() const; + void setWatermarkId(const std::string &watermarkId); + +private: + std::string accessKeyId_; + std::string watermarkId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_GETWATERMARKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListAIImageInfoRequest.h b/vod/include/alibabacloud/vod/model/ListAIImageInfoRequest.h index 5a775e0b1..f9e6489c6 100644 --- a/vod/include/alibabacloud/vod/model/ListAIImageInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/ListAIImageInfoRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTAIIMAGEINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTAIIMAGEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListAIImageInfoRequest : public RpcServiceRequest - { - - public: - ListAIImageInfoRequest(); - ~ListAIImageInfoRequest(); - - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string videoId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTAIIMAGEINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTAIIMAGEINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTAIIMAGEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListAIImageInfoRequest : public RpcServiceRequest { +public: + ListAIImageInfoRequest(); + ~ListAIImageInfoRequest(); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + +private: + std::string videoId_; + std::string accessKeyId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTAIIMAGEINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListAIJobRequest.h b/vod/include/alibabacloud/vod/model/ListAIJobRequest.h index fee5eb83f..7a7491708 100644 --- a/vod/include/alibabacloud/vod/model/ListAIJobRequest.h +++ b/vod/include/alibabacloud/vod/model/ListAIJobRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTAIJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTAIJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListAIJobRequest : public RpcServiceRequest - { - - public: - ListAIJobRequest(); - ~ListAIJobRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getJobIds()const; - void setJobIds(const std::string& jobIds); - - private: - std::string resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string accessKeyId_; - std::string jobIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTAIJOBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTAIJOBREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTAIJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListAIJobRequest : public RpcServiceRequest { +public: + ListAIJobRequest(); + ~ListAIJobRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getJobIds() const; + void setJobIds(const std::string &jobIds); + +private: + std::string resourceOwnerId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string accessKeyId_; + std::string jobIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTAIJOBREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListAIJobResult.h b/vod/include/alibabacloud/vod/model/ListAIJobResult.h index 5ebab76a6..5a8ed2977 100644 --- a/vod/include/alibabacloud/vod/model/ListAIJobResult.h +++ b/vod/include/alibabacloud/vod/model/ListAIJobResult.h @@ -36,12 +36,12 @@ namespace AlibabaCloud { std::string status; std::string type; - std::string mediaId; std::string message; + std::string mediaId; std::string creationTime; std::string data; - std::string code; std::string completeTime; + std::string code; std::string jobId; }; diff --git a/vod/include/alibabacloud/vod/model/ListAITemplateRequest.h b/vod/include/alibabacloud/vod/model/ListAITemplateRequest.h index f403b32c1..28edbcefa 100644 --- a/vod/include/alibabacloud/vod/model/ListAITemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/ListAITemplateRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTAITEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTAITEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListAITemplateRequest : public RpcServiceRequest - { - - public: - ListAITemplateRequest(); - ~ListAITemplateRequest(); - - std::string getTemplateType()const; - void setTemplateType(const std::string& templateType); - - private: - std::string templateType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTAITEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTAITEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTAITEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListAITemplateRequest : public RpcServiceRequest { +public: + ListAITemplateRequest(); + ~ListAITemplateRequest(); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); + +private: + std::string templateType_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTAITEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListAITemplateResult.h b/vod/include/alibabacloud/vod/model/ListAITemplateResult.h index 80e585ad0..9cc7c4d2e 100644 --- a/vod/include/alibabacloud/vod/model/ListAITemplateResult.h +++ b/vod/include/alibabacloud/vod/model/ListAITemplateResult.h @@ -37,11 +37,11 @@ namespace AlibabaCloud std::string isDefault; std::string modifyTime; std::string creationTime; - std::string templateName; std::string templateConfig; + std::string templateName; std::string templateType; - std::string templateId; std::string source; + std::string templateId; }; diff --git a/vod/include/alibabacloud/vod/model/ListAppInfoRequest.h b/vod/include/alibabacloud/vod/model/ListAppInfoRequest.h index 827795467..69196caa4 100644 --- a/vod/include/alibabacloud/vod/model/ListAppInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/ListAppInfoRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTAPPINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTAPPINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListAppInfoRequest : public RpcServiceRequest - { - - public: - ListAppInfoRequest(); - ~ListAppInfoRequest(); - - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getPageNo()const; - void setPageNo(int pageNo); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long resourceRealOwnerId_; - std::string accessKeyId_; - int pageNo_; - int pageSize_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTAPPINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTAPPINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTAPPINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListAppInfoRequest : public RpcServiceRequest { +public: + ListAppInfoRequest(); + ~ListAppInfoRequest(); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + long resourceRealOwnerId_; + std::string accessKeyId_; + int pageNo_; + int pageSize_; + std::string status_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTAPPINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListAppPoliciesForIdentityRequest.h b/vod/include/alibabacloud/vod/model/ListAppPoliciesForIdentityRequest.h index 4db52dc4a..1cb029b3e 100644 --- a/vod/include/alibabacloud/vod/model/ListAppPoliciesForIdentityRequest.h +++ b/vod/include/alibabacloud/vod/model/ListAppPoliciesForIdentityRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTAPPPOLICIESFORIDENTITYREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTAPPPOLICIESFORIDENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListAppPoliciesForIdentityRequest : public RpcServiceRequest - { - - public: - ListAppPoliciesForIdentityRequest(); - ~ListAppPoliciesForIdentityRequest(); - - std::string getIdentityType()const; - void setIdentityType(const std::string& identityType); - std::string getIdentityName()const; - void setIdentityName(const std::string& identityName); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string identityType_; - std::string identityName_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTAPPPOLICIESFORIDENTITYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTAPPPOLICIESFORIDENTITYREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTAPPPOLICIESFORIDENTITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListAppPoliciesForIdentityRequest : public RpcServiceRequest { +public: + ListAppPoliciesForIdentityRequest(); + ~ListAppPoliciesForIdentityRequest(); + std::string getIdentityType() const; + void setIdentityType(const std::string &identityType); + std::string getIdentityName() const; + void setIdentityName(const std::string &identityName); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string identityType_; + std::string identityName_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTAPPPOLICIESFORIDENTITYREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListAuditSecurityIpRequest.h b/vod/include/alibabacloud/vod/model/ListAuditSecurityIpRequest.h index 201c0af78..0335d17b1 100644 --- a/vod/include/alibabacloud/vod/model/ListAuditSecurityIpRequest.h +++ b/vod/include/alibabacloud/vod/model/ListAuditSecurityIpRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTAUDITSECURITYIPREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTAUDITSECURITYIPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListAuditSecurityIpRequest : public RpcServiceRequest - { - - public: - ListAuditSecurityIpRequest(); - ~ListAuditSecurityIpRequest(); - - std::string getSecurityGroupName()const; - void setSecurityGroupName(const std::string& securityGroupName); - - private: - std::string securityGroupName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTAUDITSECURITYIPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTAUDITSECURITYIPREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTAUDITSECURITYIPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListAuditSecurityIpRequest : public RpcServiceRequest { +public: + ListAuditSecurityIpRequest(); + ~ListAuditSecurityIpRequest(); + std::string getSecurityGroupName() const; + void setSecurityGroupName(const std::string &securityGroupName); + +private: + std::string securityGroupName_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTAUDITSECURITYIPREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListDynamicImageRequest.h b/vod/include/alibabacloud/vod/model/ListDynamicImageRequest.h index dc782d7c5..36e8673a3 100644 --- a/vod/include/alibabacloud/vod/model/ListDynamicImageRequest.h +++ b/vod/include/alibabacloud/vod/model/ListDynamicImageRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTDYNAMICIMAGEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTDYNAMICIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListDynamicImageRequest : public RpcServiceRequest - { - - public: - ListDynamicImageRequest(); - ~ListDynamicImageRequest(); - - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string videoId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTDYNAMICIMAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTDYNAMICIMAGEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTDYNAMICIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListDynamicImageRequest : public RpcServiceRequest { +public: + ListDynamicImageRequest(); + ~ListDynamicImageRequest(); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + +private: + std::string videoId_; + std::string accessKeyId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTDYNAMICIMAGEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListDynamicImageResult.h b/vod/include/alibabacloud/vod/model/ListDynamicImageResult.h index da3fb5235..bbedd28ee 100644 --- a/vod/include/alibabacloud/vod/model/ListDynamicImageResult.h +++ b/vod/include/alibabacloud/vod/model/ListDynamicImageResult.h @@ -37,11 +37,11 @@ namespace AlibabaCloud std::string fileURL; std::string videoId; std::string format; - std::string fps; std::string creationTime; - std::string dynamicImageId; + std::string fps; std::string height; std::string duration; + std::string dynamicImageId; std::string width; std::string jobId; std::string fileSize; diff --git a/vod/include/alibabacloud/vod/model/ListLiveRecordVideoRequest.h b/vod/include/alibabacloud/vod/model/ListLiveRecordVideoRequest.h index b27b1a831..274fdaa3f 100644 --- a/vod/include/alibabacloud/vod/model/ListLiveRecordVideoRequest.h +++ b/vod/include/alibabacloud/vod/model/ListLiveRecordVideoRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTLIVERECORDVIDEOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTLIVERECORDVIDEOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListLiveRecordVideoRequest : public RpcServiceRequest - { - - public: - ListLiveRecordVideoRequest(); - ~ListLiveRecordVideoRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getQueryType()const; - void setQueryType(const std::string& queryType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - int getPageNo()const; - void setPageNo(int pageNo); - std::string getSortBy()const; - void setSortBy(const std::string& sortBy); - - private: - std::string startTime_; - std::string appName_; - int pageSize_; - std::string streamName_; - std::string queryType_; - std::string domainName_; - std::string endTime_; - int pageNo_; - std::string sortBy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTLIVERECORDVIDEOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTLIVERECORDVIDEOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTLIVERECORDVIDEOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListLiveRecordVideoRequest : public RpcServiceRequest { +public: + ListLiveRecordVideoRequest(); + ~ListLiveRecordVideoRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getQueryType() const; + void setQueryType(const std::string &queryType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + int getPageNo() const; + void setPageNo(int pageNo); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + +private: + std::string startTime_; + std::string appName_; + int pageSize_; + std::string streamName_; + std::string queryType_; + std::string domainName_; + std::string endTime_; + int pageNo_; + std::string sortBy_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTLIVERECORDVIDEOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListLiveRecordVideoResult.h b/vod/include/alibabacloud/vod/model/ListLiveRecordVideoResult.h index 44772c8ec..777014d73 100644 --- a/vod/include/alibabacloud/vod/model/ListLiveRecordVideoResult.h +++ b/vod/include/alibabacloud/vod/model/ListLiveRecordVideoResult.h @@ -45,9 +45,9 @@ namespace AlibabaCloud std::string downloadSwitch; std::string title; float duration; - long customerId; int cateId; std::string cateName; + long customerId; std::string creationTime; std::string coverURL; int privilege; @@ -76,8 +76,8 @@ namespace AlibabaCloud std::string playlistId; std::string streamName; std::string recordStartTime; - std::string domainName; std::string recordEndTime; + std::string domainName; Video video; std::vector playInfoList; std::string appName; diff --git a/vod/include/alibabacloud/vod/model/ListSnapshotsRequest.h b/vod/include/alibabacloud/vod/model/ListSnapshotsRequest.h index c26b0a4bf..e7b756d7c 100644 --- a/vod/include/alibabacloud/vod/model/ListSnapshotsRequest.h +++ b/vod/include/alibabacloud/vod/model/ListSnapshotsRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTSNAPSHOTSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTSNAPSHOTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListSnapshotsRequest : public RpcServiceRequest - { - - public: - ListSnapshotsRequest(); - ~ListSnapshotsRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getPageSize()const; - void setPageSize(const std::string& pageSize); - std::string getAuthTimeout()const; - void setAuthTimeout(const std::string& authTimeout); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getSnapshotType()const; - void setSnapshotType(const std::string& snapshotType); - std::string getPageNo()const; - void setPageNo(const std::string& pageNo); - - private: - std::string accessKeyId_; - std::string pageSize_; - std::string authTimeout_; - std::string videoId_; - std::string snapshotType_; - std::string pageNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTSNAPSHOTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTSNAPSHOTSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTSNAPSHOTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListSnapshotsRequest : public RpcServiceRequest { +public: + ListSnapshotsRequest(); + ~ListSnapshotsRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getPageSize() const; + void setPageSize(const std::string &pageSize); + std::string getAuthTimeout() const; + void setAuthTimeout(const std::string &authTimeout); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getSnapshotType() const; + void setSnapshotType(const std::string &snapshotType); + std::string getPageNo() const; + void setPageNo(const std::string &pageNo); + +private: + std::string accessKeyId_; + std::string pageSize_; + std::string authTimeout_; + std::string videoId_; + std::string snapshotType_; + std::string pageNo_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTSNAPSHOTSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListTranscodeTaskRequest.h b/vod/include/alibabacloud/vod/model/ListTranscodeTaskRequest.h index 17545be5f..63eae5dc6 100644 --- a/vod/include/alibabacloud/vod/model/ListTranscodeTaskRequest.h +++ b/vod/include/alibabacloud/vod/model/ListTranscodeTaskRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETASKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListTranscodeTaskRequest : public RpcServiceRequest - { - - public: - ListTranscodeTaskRequest(); - ~ListTranscodeTaskRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - int getPageNo()const; - void setPageNo(int pageNo); - - private: - std::string startTime_; - std::string accessKeyId_; - int pageSize_; - std::string endTime_; - std::string videoId_; - int pageNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETASKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListTranscodeTaskRequest : public RpcServiceRequest { +public: + ListTranscodeTaskRequest(); + ~ListTranscodeTaskRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + int getPageNo() const; + void setPageNo(int pageNo); + +private: + std::string startTime_; + std::string accessKeyId_; + int pageSize_; + std::string endTime_; + std::string videoId_; + int pageNo_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETASKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListTranscodeTaskResult.h b/vod/include/alibabacloud/vod/model/ListTranscodeTaskResult.h index e1af94897..2a584f08d 100644 --- a/vod/include/alibabacloud/vod/model/ListTranscodeTaskResult.h +++ b/vod/include/alibabacloud/vod/model/ListTranscodeTaskResult.h @@ -34,8 +34,8 @@ namespace AlibabaCloud public: struct TranscodeTask { - std::string videoId; std::string trigger; + std::string videoId; std::string transcodeTemplateGroupId; std::string creationTime; std::string taskStatus; diff --git a/vod/include/alibabacloud/vod/model/ListTranscodeTemplateGroupRequest.h b/vod/include/alibabacloud/vod/model/ListTranscodeTemplateGroupRequest.h index a89108709..746b3dfcd 100644 --- a/vod/include/alibabacloud/vod/model/ListTranscodeTemplateGroupRequest.h +++ b/vod/include/alibabacloud/vod/model/ListTranscodeTemplateGroupRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETEMPLATEGROUPREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETEMPLATEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListTranscodeTemplateGroupRequest : public RpcServiceRequest - { - - public: - ListTranscodeTemplateGroupRequest(); - ~ListTranscodeTemplateGroupRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getPageNo()const; - void setPageNo(int pageNo); - std::string getAppId()const; - void setAppId(const std::string& appId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string accessKeyId_; - int pageNo_; - std::string appId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETEMPLATEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETEMPLATEGROUPREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETEMPLATEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListTranscodeTemplateGroupRequest : public RpcServiceRequest { +public: + ListTranscodeTemplateGroupRequest(); + ~ListTranscodeTemplateGroupRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getPageNo() const; + void setPageNo(int pageNo); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string accessKeyId_; + int pageNo_; + std::string appId_; + int pageSize_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTTRANSCODETEMPLATEGROUPREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListTranscodeTemplateGroupResult.h b/vod/include/alibabacloud/vod/model/ListTranscodeTemplateGroupResult.h index b23e75987..54008800d 100644 --- a/vod/include/alibabacloud/vod/model/ListTranscodeTemplateGroupResult.h +++ b/vod/include/alibabacloud/vod/model/ListTranscodeTemplateGroupResult.h @@ -38,8 +38,8 @@ namespace AlibabaCloud std::string modifyTime; std::string locked; std::string appId; - std::string transcodeTemplateGroupId; std::string transcodeMode; + std::string transcodeTemplateGroupId; std::string creationTime; std::string name; }; diff --git a/vod/include/alibabacloud/vod/model/ListVodTemplateRequest.h b/vod/include/alibabacloud/vod/model/ListVodTemplateRequest.h index 192046820..3a8c4e79f 100644 --- a/vod/include/alibabacloud/vod/model/ListVodTemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/ListVodTemplateRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTVODTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTVODTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListVodTemplateRequest : public RpcServiceRequest - { - - public: - ListVodTemplateRequest(); - ~ListVodTemplateRequest(); - - std::string getTemplateType()const; - void setTemplateType(const std::string& templateType); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string templateType_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTVODTEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTVODTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTVODTEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListVodTemplateRequest : public RpcServiceRequest { +public: + ListVodTemplateRequest(); + ~ListVodTemplateRequest(); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string templateType_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTVODTEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ListWatermarkRequest.h b/vod/include/alibabacloud/vod/model/ListWatermarkRequest.h index af58aef17..57cd681f2 100644 --- a/vod/include/alibabacloud/vod/model/ListWatermarkRequest.h +++ b/vod/include/alibabacloud/vod/model/ListWatermarkRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_LISTWATERMARKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_LISTWATERMARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ListWatermarkRequest : public RpcServiceRequest - { - - public: - ListWatermarkRequest(); - ~ListWatermarkRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getPageNo()const; - void setPageNo(int pageNo); - std::string getAppId()const; - void setAppId(const std::string& appId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string accessKeyId_; - int pageNo_; - std::string appId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_LISTWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_LISTWATERMARKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_LISTWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ListWatermarkRequest : public RpcServiceRequest { +public: + ListWatermarkRequest(); + ~ListWatermarkRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getPageNo() const; + void setPageNo(int pageNo); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string accessKeyId_; + int pageNo_; + std::string appId_; + int pageSize_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_LISTWATERMARKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/MoveAppResourceRequest.h b/vod/include/alibabacloud/vod/model/MoveAppResourceRequest.h index 1ac8687af..6e1792254 100644 --- a/vod/include/alibabacloud/vod/model/MoveAppResourceRequest.h +++ b/vod/include/alibabacloud/vod/model/MoveAppResourceRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_MOVEAPPRESOURCEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_MOVEAPPRESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT MoveAppResourceRequest : public RpcServiceRequest - { - - public: - MoveAppResourceRequest(); - ~MoveAppResourceRequest(); - - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getTargetAppId()const; - void setTargetAppId(const std::string& targetAppId); - std::string getResourceIds()const; - void setResourceIds(const std::string& resourceIds); - - private: - long resourceRealOwnerId_; - std::string resourceType_; - std::string accessKeyId_; - std::string targetAppId_; - std::string resourceIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_MOVEAPPRESOURCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_MOVEAPPRESOURCEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_MOVEAPPRESOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT MoveAppResourceRequest : public RpcServiceRequest { +public: + MoveAppResourceRequest(); + ~MoveAppResourceRequest(); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getTargetAppId() const; + void setTargetAppId(const std::string &targetAppId); + std::string getResourceIds() const; + void setResourceIds(const std::string &resourceIds); + +private: + long resourceRealOwnerId_; + std::string resourceType_; + std::string accessKeyId_; + std::string targetAppId_; + std::string resourceIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_MOVEAPPRESOURCEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/PreloadVodObjectCachesRequest.h b/vod/include/alibabacloud/vod/model/PreloadVodObjectCachesRequest.h index cb07e38c9..5fbd7070c 100644 --- a/vod/include/alibabacloud/vod/model/PreloadVodObjectCachesRequest.h +++ b/vod/include/alibabacloud/vod/model/PreloadVodObjectCachesRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_PRELOADVODOBJECTCACHESREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_PRELOADVODOBJECTCACHESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT PreloadVodObjectCachesRequest : public RpcServiceRequest - { - - public: - PreloadVodObjectCachesRequest(); - ~PreloadVodObjectCachesRequest(); - - std::string getObjectPath()const; - void setObjectPath(const std::string& objectPath); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string objectPath_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_PRELOADVODOBJECTCACHESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_PRELOADVODOBJECTCACHESREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_PRELOADVODOBJECTCACHESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT PreloadVodObjectCachesRequest : public RpcServiceRequest { +public: + PreloadVodObjectCachesRequest(); + ~PreloadVodObjectCachesRequest(); + std::string getObjectPath() const; + void setObjectPath(const std::string &objectPath); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string objectPath_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_PRELOADVODOBJECTCACHESREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/ProduceEditingProjectVideoRequest.h b/vod/include/alibabacloud/vod/model/ProduceEditingProjectVideoRequest.h index 06e10a6c2..8c15c1a44 100644 --- a/vod/include/alibabacloud/vod/model/ProduceEditingProjectVideoRequest.h +++ b/vod/include/alibabacloud/vod/model/ProduceEditingProjectVideoRequest.h @@ -1,81 +1,75 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_PRODUCEEDITINGPROJECTVIDEOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_PRODUCEEDITINGPROJECTVIDEOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT ProduceEditingProjectVideoRequest : public RpcServiceRequest - { - - public: - ProduceEditingProjectVideoRequest(); - ~ProduceEditingProjectVideoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getTitle()const; - void setTitle(const std::string& title); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getCoverURL()const; - void setCoverURL(const std::string& coverURL); - std::string getUserData()const; - void setUserData(const std::string& userData); - std::string getProduceConfig()const; - void setProduceConfig(const std::string& produceConfig); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getMediaMetadata()const; - void setMediaMetadata(const std::string& mediaMetadata); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTimeline()const; - void setTimeline(const std::string& timeline); - - private: - long resourceOwnerId_; - std::string description_; - std::string title_; - std::string accessKeyId_; - std::string coverURL_; - std::string userData_; - std::string produceConfig_; - std::string projectId_; - std::string mediaMetadata_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string timeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_PRODUCEEDITINGPROJECTVIDEOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_PRODUCEEDITINGPROJECTVIDEOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_PRODUCEEDITINGPROJECTVIDEOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT ProduceEditingProjectVideoRequest : public RpcServiceRequest { +public: + ProduceEditingProjectVideoRequest(); + ~ProduceEditingProjectVideoRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getTitle() const; + void setTitle(const std::string &title); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getCoverURL() const; + void setCoverURL(const std::string &coverURL); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getProduceConfig() const; + void setProduceConfig(const std::string &produceConfig); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getMediaMetadata() const; + void setMediaMetadata(const std::string &mediaMetadata); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTimeline() const; + void setTimeline(const std::string &timeline); + +private: + long resourceOwnerId_; + std::string description_; + std::string title_; + std::string accessKeyId_; + std::string coverURL_; + std::string userData_; + std::string produceConfig_; + std::string projectId_; + std::string mediaMetadata_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string timeline_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_PRODUCEEDITINGPROJECTVIDEOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/RefreshMediaPlayUrlsRequest.h b/vod/include/alibabacloud/vod/model/RefreshMediaPlayUrlsRequest.h new file mode 100644 index 000000000..dfd970369 --- /dev/null +++ b/vod/include/alibabacloud/vod/model/RefreshMediaPlayUrlsRequest.h @@ -0,0 +1,66 @@ +/* + * 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. + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_REFRESHMEDIAPLAYURLSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_REFRESHMEDIAPLAYURLSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT RefreshMediaPlayUrlsRequest : public RpcServiceRequest { +public: + RefreshMediaPlayUrlsRequest(); + ~RefreshMediaPlayUrlsRequest(); + std::string getFormats() const; + void setFormats(const std::string &formats); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getMediaIds() const; + void setMediaIds(const std::string &mediaIds); + std::string getDefinitions() const; + void setDefinitions(const std::string &definitions); + std::string getStreamType() const; + void setStreamType(const std::string &streamType); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + bool getSliceFlag() const; + void setSliceFlag(bool sliceFlag); + std::string getResultType() const; + void setResultType(const std::string &resultType); + int getSliceCount() const; + void setSliceCount(int sliceCount); + +private: + std::string formats_; + std::string userData_; + std::string mediaIds_; + std::string definitions_; + std::string streamType_; + std::string taskType_; + bool sliceFlag_; + std::string resultType_; + int sliceCount_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_REFRESHMEDIAPLAYURLSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/RefreshMediaPlayUrlsResult.h b/vod/include/alibabacloud/vod/model/RefreshMediaPlayUrlsResult.h new file mode 100644 index 000000000..b0b63db9d --- /dev/null +++ b/vod/include/alibabacloud/vod/model/RefreshMediaPlayUrlsResult.h @@ -0,0 +1,55 @@ +/* + * 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. + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_REFRESHMEDIAPLAYURLSRESULT_H_ +#define ALIBABACLOUD_VOD_MODEL_REFRESHMEDIAPLAYURLSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vod + { + namespace Model + { + class ALIBABACLOUD_VOD_EXPORT RefreshMediaPlayUrlsResult : public ServiceResult + { + public: + + + RefreshMediaPlayUrlsResult(); + explicit RefreshMediaPlayUrlsResult(const std::string &payload); + ~RefreshMediaPlayUrlsResult(); + std::string getNonExistMediaIds()const; + std::string getMediaRefreshJobId()const; + std::string getForbiddenMediaIds()const; + + protected: + void parse(const std::string &payload); + private: + std::string nonExistMediaIds_; + std::string mediaRefreshJobId_; + std::string forbiddenMediaIds_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VOD_MODEL_REFRESHMEDIAPLAYURLSRESULT_H_ \ No newline at end of file diff --git a/vod/include/alibabacloud/vod/model/RefreshUploadVideoRequest.h b/vod/include/alibabacloud/vod/model/RefreshUploadVideoRequest.h index f4423d475..dde2c4bb2 100644 --- a/vod/include/alibabacloud/vod/model/RefreshUploadVideoRequest.h +++ b/vod/include/alibabacloud/vod/model/RefreshUploadVideoRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_REFRESHUPLOADVIDEOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_REFRESHUPLOADVIDEOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT RefreshUploadVideoRequest : public RpcServiceRequest - { - - public: - RefreshUploadVideoRequest(); - ~RefreshUploadVideoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - std::string videoId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_REFRESHUPLOADVIDEOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_REFRESHUPLOADVIDEOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_REFRESHUPLOADVIDEOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT RefreshUploadVideoRequest : public RpcServiceRequest { +public: + RefreshUploadVideoRequest(); + ~RefreshUploadVideoRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long resourceOwnerId_; + std::string resourceOwnerAccount_; + std::string videoId_; + long ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_REFRESHUPLOADVIDEOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/RefreshVodObjectCachesRequest.h b/vod/include/alibabacloud/vod/model/RefreshVodObjectCachesRequest.h index 8896d691b..77fd9afdf 100644 --- a/vod/include/alibabacloud/vod/model/RefreshVodObjectCachesRequest.h +++ b/vod/include/alibabacloud/vod/model/RefreshVodObjectCachesRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_REFRESHVODOBJECTCACHESREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_REFRESHVODOBJECTCACHESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT RefreshVodObjectCachesRequest : public RpcServiceRequest - { - - public: - RefreshVodObjectCachesRequest(); - ~RefreshVodObjectCachesRequest(); - - std::string getObjectPath()const; - void setObjectPath(const std::string& objectPath); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getObjectType()const; - void setObjectType(const std::string& objectType); - - private: - std::string objectPath_; - long ownerId_; - std::string securityToken_; - std::string objectType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_REFRESHVODOBJECTCACHESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_REFRESHVODOBJECTCACHESREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_REFRESHVODOBJECTCACHESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT RefreshVodObjectCachesRequest : public RpcServiceRequest { +public: + RefreshVodObjectCachesRequest(); + ~RefreshVodObjectCachesRequest(); + std::string getObjectPath() const; + void setObjectPath(const std::string &objectPath); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getObjectType() const; + void setObjectType(const std::string &objectType); + +private: + std::string objectPath_; + long ownerId_; + std::string securityToken_; + std::string objectType_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_REFRESHVODOBJECTCACHESREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/RegisterMediaRequest.h b/vod/include/alibabacloud/vod/model/RegisterMediaRequest.h index 9b3680ea5..dfb67831c 100644 --- a/vod/include/alibabacloud/vod/model/RegisterMediaRequest.h +++ b/vod/include/alibabacloud/vod/model/RegisterMediaRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_REGISTERMEDIAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_REGISTERMEDIAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT RegisterMediaRequest : public RpcServiceRequest - { - - public: - RegisterMediaRequest(); - ~RegisterMediaRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getUserData()const; - void setUserData(const std::string& userData); - std::string getTemplateGroupId()const; - void setTemplateGroupId(const std::string& templateGroupId); - std::string getRegisterMetadatas()const; - void setRegisterMetadatas(const std::string& registerMetadatas); - std::string getWorkflowId()const; - void setWorkflowId(const std::string& workflowId); - - private: - std::string accessKeyId_; - std::string userData_; - std::string templateGroupId_; - std::string registerMetadatas_; - std::string workflowId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_REGISTERMEDIAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_REGISTERMEDIAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_REGISTERMEDIAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT RegisterMediaRequest : public RpcServiceRequest { +public: + RegisterMediaRequest(); + ~RegisterMediaRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getTemplateGroupId() const; + void setTemplateGroupId(const std::string &templateGroupId); + std::string getRegisterMetadatas() const; + void setRegisterMetadatas(const std::string ®isterMetadatas); + std::string getWorkflowId() const; + void setWorkflowId(const std::string &workflowId); + +private: + std::string accessKeyId_; + std::string userData_; + std::string templateGroupId_; + std::string registerMetadatas_; + std::string workflowId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_REGISTERMEDIAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SearchEditingProjectRequest.h b/vod/include/alibabacloud/vod/model/SearchEditingProjectRequest.h index 035d05503..e80c9fc4e 100644 --- a/vod/include/alibabacloud/vod/model/SearchEditingProjectRequest.h +++ b/vod/include/alibabacloud/vod/model/SearchEditingProjectRequest.h @@ -1,81 +1,75 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SEARCHEDITINGPROJECTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SEARCHEDITINGPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SearchEditingProjectRequest : public RpcServiceRequest - { - - public: - SearchEditingProjectRequest(); - ~SearchEditingProjectRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getTitle()const; - void setTitle(const std::string& title); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - int getPageNo()const; - void setPageNo(int pageNo); - std::string getSortBy()const; - void setSortBy(const std::string& sortBy); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string resourceOwnerId_; - std::string startTime_; - std::string title_; - std::string accessKeyId_; - int pageSize_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string endTime_; - std::string ownerId_; - int pageNo_; - std::string sortBy_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SEARCHEDITINGPROJECTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SEARCHEDITINGPROJECTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SEARCHEDITINGPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SearchEditingProjectRequest : public RpcServiceRequest { +public: + SearchEditingProjectRequest(); + ~SearchEditingProjectRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getTitle() const; + void setTitle(const std::string &title); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + int getPageNo() const; + void setPageNo(int pageNo); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string resourceOwnerId_; + std::string startTime_; + std::string title_; + std::string accessKeyId_; + int pageSize_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string endTime_; + std::string ownerId_; + int pageNo_; + std::string sortBy_; + std::string status_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SEARCHEDITINGPROJECTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SearchEditingProjectResult.h b/vod/include/alibabacloud/vod/model/SearchEditingProjectResult.h index c78a40320..3bc208071 100644 --- a/vod/include/alibabacloud/vod/model/SearchEditingProjectResult.h +++ b/vod/include/alibabacloud/vod/model/SearchEditingProjectResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud std::string status; std::string description; std::string modifiedTime; - std::string projectId; std::string creationTime; + std::string projectId; std::string title; std::string coverURL; float duration; diff --git a/vod/include/alibabacloud/vod/model/SearchMediaRequest.h b/vod/include/alibabacloud/vod/model/SearchMediaRequest.h index daa2c45b9..325e91ae9 100644 --- a/vod/include/alibabacloud/vod/model/SearchMediaRequest.h +++ b/vod/include/alibabacloud/vod/model/SearchMediaRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SEARCHMEDIAREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SEARCHMEDIAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SearchMediaRequest : public RpcServiceRequest - { - - public: - SearchMediaRequest(); - ~SearchMediaRequest(); - - std::string getSessionId()const; - void setSessionId(const std::string& sessionId); - std::string getScrollToken()const; - void setScrollToken(const std::string& scrollToken); - std::string getSearchType()const; - void setSearchType(const std::string& searchType); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getResultTypes()const; - void setResultTypes(const std::string& resultTypes); - std::string getMatch()const; - void setMatch(const std::string& match); - int getPageNo()const; - void setPageNo(int pageNo); - std::string getSortBy()const; - void setSortBy(const std::string& sortBy); - std::string getFields()const; - void setFields(const std::string& fields); - - private: - std::string sessionId_; - std::string scrollToken_; - std::string searchType_; - int pageSize_; - std::string resultTypes_; - std::string match_; - int pageNo_; - std::string sortBy_; - std::string fields_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SEARCHMEDIAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SEARCHMEDIAREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SEARCHMEDIAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SearchMediaRequest : public RpcServiceRequest { +public: + SearchMediaRequest(); + ~SearchMediaRequest(); + std::string getSessionId() const; + void setSessionId(const std::string &sessionId); + std::string getScrollToken() const; + void setScrollToken(const std::string &scrollToken); + std::string getSearchType() const; + void setSearchType(const std::string &searchType); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getResultTypes() const; + void setResultTypes(const std::string &resultTypes); + std::string getMatch() const; + void setMatch(const std::string &match); + int getPageNo() const; + void setPageNo(int pageNo); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getFields() const; + void setFields(const std::string &fields); + +private: + std::string sessionId_; + std::string scrollToken_; + std::string searchType_; + int pageSize_; + std::string resultTypes_; + std::string match_; + int pageNo_; + std::string sortBy_; + std::string fields_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SEARCHMEDIAREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SearchMediaResult.h b/vod/include/alibabacloud/vod/model/SearchMediaResult.h index 5e8505f0f..2ede08415 100644 --- a/vod/include/alibabacloud/vod/model/SearchMediaResult.h +++ b/vod/include/alibabacloud/vod/model/SearchMediaResult.h @@ -64,21 +64,21 @@ namespace AlibabaCloud std::string preprocessStatus; std::string auditAIResult; std::string mediaType; - std::string auditManualStatus; std::string auditTemplateId; + std::string auditManualStatus; std::string storageLocation; std::vector snapshots; std::string tags; std::string status; std::string videoId; - std::string downloadSwitch; std::string auditLabel; + std::string downloadSwitch; std::string title; float duration; std::string auditStatus; std::string mediaSource; - std::string customMediaInfo; std::string appId; + std::string customMediaInfo; std::string transcodeMode; std::string auditAbnormalModules; std::string creationTime; @@ -114,9 +114,9 @@ namespace AlibabaCloud std::string cateName; std::string preprocessStatus; std::string auditAIResult; - std::string auditManualStatus; + std::vector spriteSnapshots1; std::string auditTemplateId; - std::vector spriteSnapshots2; + std::string auditManualStatus; std::string storageLocation; std::string tags; std::vector playInfoList3; @@ -124,11 +124,11 @@ namespace AlibabaCloud std::string downloadSwitch; std::string title; float duration; - std::vector snapshots1; + std::vector snapshots2; std::string auditStatus; std::string mediaSource; - std::string customMediaInfo; std::string appId; + std::string customMediaInfo; std::string transcodeMode; std::string creationTime; std::string coverURL; @@ -137,8 +137,8 @@ namespace AlibabaCloud }; struct Image { - std::string ext; std::string status; + std::string ext; std::string description; std::string title; std::string modificationTime; @@ -147,8 +147,8 @@ namespace AlibabaCloud std::string uRL; std::string type; std::string appId; - std::string imageId; std::string creationTime; + std::string imageId; std::string regionId; std::string storageLocation; std::string tags; @@ -159,11 +159,11 @@ namespace AlibabaCloud { long parentId; long level; - long cateId; std::string cateName; + long cateId; }; - std::string ext; std::string status; + std::string ext; std::string description; std::vector categories; std::string businessType; @@ -174,8 +174,8 @@ namespace AlibabaCloud std::string mediaId; std::string appId; std::string creationTime; - std::string regionId; std::string icon; + std::string regionId; std::string storageLocation; std::string tags; }; diff --git a/vod/include/alibabacloud/vod/model/SetAuditSecurityIpRequest.h b/vod/include/alibabacloud/vod/model/SetAuditSecurityIpRequest.h index 761038b50..cd80cb633 100644 --- a/vod/include/alibabacloud/vod/model/SetAuditSecurityIpRequest.h +++ b/vod/include/alibabacloud/vod/model/SetAuditSecurityIpRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SETAUDITSECURITYIPREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SETAUDITSECURITYIPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SetAuditSecurityIpRequest : public RpcServiceRequest - { - - public: - SetAuditSecurityIpRequest(); - ~SetAuditSecurityIpRequest(); - - std::string getSecurityGroupName()const; - void setSecurityGroupName(const std::string& securityGroupName); - std::string getOperateMode()const; - void setOperateMode(const std::string& operateMode); - std::string getIps()const; - void setIps(const std::string& ips); - - private: - std::string securityGroupName_; - std::string operateMode_; - std::string ips_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SETAUDITSECURITYIPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SETAUDITSECURITYIPREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SETAUDITSECURITYIPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SetAuditSecurityIpRequest : public RpcServiceRequest { +public: + SetAuditSecurityIpRequest(); + ~SetAuditSecurityIpRequest(); + std::string getSecurityGroupName() const; + void setSecurityGroupName(const std::string &securityGroupName); + std::string getOperateMode() const; + void setOperateMode(const std::string &operateMode); + std::string getIps() const; + void setIps(const std::string &ips); + +private: + std::string securityGroupName_; + std::string operateMode_; + std::string ips_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SETAUDITSECURITYIPREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SetCrossdomainContentRequest.h b/vod/include/alibabacloud/vod/model/SetCrossdomainContentRequest.h index 1b13d2b4b..1c4718e60 100644 --- a/vod/include/alibabacloud/vod/model/SetCrossdomainContentRequest.h +++ b/vod/include/alibabacloud/vod/model/SetCrossdomainContentRequest.h @@ -1,69 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SETCROSSDOMAINCONTENTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SETCROSSDOMAINCONTENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SetCrossdomainContentRequest : public RpcServiceRequest - { - - public: - SetCrossdomainContentRequest(); - ~SetCrossdomainContentRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getResourceRealOwnerId()const; - void setResourceRealOwnerId(const std::string& resourceRealOwnerId); - std::string getContent()const; - void setContent(const std::string& content); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getStorageLocation()const; - void setStorageLocation(const std::string& storageLocation); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - - private: - std::string resourceOwnerId_; - std::string resourceRealOwnerId_; - std::string content_; - std::string accessKeyId_; - std::string storageLocation_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SETCROSSDOMAINCONTENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SETCROSSDOMAINCONTENTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SETCROSSDOMAINCONTENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SetCrossdomainContentRequest : public RpcServiceRequest { +public: + SetCrossdomainContentRequest(); + ~SetCrossdomainContentRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getResourceRealOwnerId() const; + void setResourceRealOwnerId(const std::string &resourceRealOwnerId); + std::string getContent() const; + void setContent(const std::string &content); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getStorageLocation() const; + void setStorageLocation(const std::string &storageLocation); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + +private: + std::string resourceOwnerId_; + std::string resourceRealOwnerId_; + std::string content_; + std::string accessKeyId_; + std::string storageLocation_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SETCROSSDOMAINCONTENTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SetDefaultAITemplateRequest.h b/vod/include/alibabacloud/vod/model/SetDefaultAITemplateRequest.h index fe1bce200..812a26357 100644 --- a/vod/include/alibabacloud/vod/model/SetDefaultAITemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/SetDefaultAITemplateRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SETDEFAULTAITEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SETDEFAULTAITEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SetDefaultAITemplateRequest : public RpcServiceRequest - { - - public: - SetDefaultAITemplateRequest(); - ~SetDefaultAITemplateRequest(); - - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - - private: - std::string templateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SETDEFAULTAITEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SETDEFAULTAITEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SETDEFAULTAITEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SetDefaultAITemplateRequest : public RpcServiceRequest { +public: + SetDefaultAITemplateRequest(); + ~SetDefaultAITemplateRequest(); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + +private: + std::string templateId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SETDEFAULTAITEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SetDefaultTranscodeTemplateGroupRequest.h b/vod/include/alibabacloud/vod/model/SetDefaultTranscodeTemplateGroupRequest.h index 7a0831046..fd5c01ee4 100644 --- a/vod/include/alibabacloud/vod/model/SetDefaultTranscodeTemplateGroupRequest.h +++ b/vod/include/alibabacloud/vod/model/SetDefaultTranscodeTemplateGroupRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SETDEFAULTTRANSCODETEMPLATEGROUPREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SETDEFAULTTRANSCODETEMPLATEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SetDefaultTranscodeTemplateGroupRequest : public RpcServiceRequest - { - - public: - SetDefaultTranscodeTemplateGroupRequest(); - ~SetDefaultTranscodeTemplateGroupRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getTranscodeTemplateGroupId()const; - void setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId); - - private: - std::string accessKeyId_; - std::string transcodeTemplateGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SETDEFAULTTRANSCODETEMPLATEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SETDEFAULTTRANSCODETEMPLATEGROUPREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SETDEFAULTTRANSCODETEMPLATEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SetDefaultTranscodeTemplateGroupRequest : public RpcServiceRequest { +public: + SetDefaultTranscodeTemplateGroupRequest(); + ~SetDefaultTranscodeTemplateGroupRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getTranscodeTemplateGroupId() const; + void setTranscodeTemplateGroupId(const std::string &transcodeTemplateGroupId); + +private: + std::string accessKeyId_; + std::string transcodeTemplateGroupId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SETDEFAULTTRANSCODETEMPLATEGROUPREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SetDefaultWatermarkRequest.h b/vod/include/alibabacloud/vod/model/SetDefaultWatermarkRequest.h index e2722233e..cbd636440 100644 --- a/vod/include/alibabacloud/vod/model/SetDefaultWatermarkRequest.h +++ b/vod/include/alibabacloud/vod/model/SetDefaultWatermarkRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SetDefaultWatermarkRequest : public RpcServiceRequest - { - - public: - SetDefaultWatermarkRequest(); - ~SetDefaultWatermarkRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getWatermarkId()const; - void setWatermarkId(const std::string& watermarkId); - - private: - std::string accessKeyId_; - std::string watermarkId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SetDefaultWatermarkRequest : public RpcServiceRequest { +public: + SetDefaultWatermarkRequest(); + ~SetDefaultWatermarkRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getWatermarkId() const; + void setWatermarkId(const std::string &watermarkId); + +private: + std::string accessKeyId_; + std::string watermarkId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SetEditingProjectMaterialsRequest.h b/vod/include/alibabacloud/vod/model/SetEditingProjectMaterialsRequest.h index 27cb0429c..6b3f36ab9 100644 --- a/vod/include/alibabacloud/vod/model/SetEditingProjectMaterialsRequest.h +++ b/vod/include/alibabacloud/vod/model/SetEditingProjectMaterialsRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SETEDITINGPROJECTMATERIALSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SETEDITINGPROJECTMATERIALSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SetEditingProjectMaterialsRequest : public RpcServiceRequest - { - - public: - SetEditingProjectMaterialsRequest(); - ~SetEditingProjectMaterialsRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getMaterialIds()const; - void setMaterialIds(const std::string& materialIds); - - private: - std::string resourceOwnerId_; - std::string accessKeyId_; - std::string projectId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string materialIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SETEDITINGPROJECTMATERIALSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SETEDITINGPROJECTMATERIALSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SETEDITINGPROJECTMATERIALSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SetEditingProjectMaterialsRequest : public RpcServiceRequest { +public: + SetEditingProjectMaterialsRequest(); + ~SetEditingProjectMaterialsRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getMaterialIds() const; + void setMaterialIds(const std::string &materialIds); + +private: + std::string resourceOwnerId_; + std::string accessKeyId_; + std::string projectId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string materialIds_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SETEDITINGPROJECTMATERIALSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SetMessageCallbackRequest.h b/vod/include/alibabacloud/vod/model/SetMessageCallbackRequest.h index 2d27226fa..f7cefc65f 100644 --- a/vod/include/alibabacloud/vod/model/SetMessageCallbackRequest.h +++ b/vod/include/alibabacloud/vod/model/SetMessageCallbackRequest.h @@ -1,81 +1,75 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SETMESSAGECALLBACKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SETMESSAGECALLBACKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SetMessageCallbackRequest : public RpcServiceRequest - { - - public: - SetMessageCallbackRequest(); - ~SetMessageCallbackRequest(); - - std::string getAuthKey()const; - void setAuthKey(const std::string& authKey); - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getCallbackType()const; - void setCallbackType(const std::string& callbackType); - std::string getCallbackSwitch()const; - void setCallbackSwitch(const std::string& callbackSwitch); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getEventTypeList()const; - void setEventTypeList(const std::string& eventTypeList); - std::string getMnsQueueName()const; - void setMnsQueueName(const std::string& mnsQueueName); - std::string getMnsEndpoint()const; - void setMnsEndpoint(const std::string& mnsEndpoint); - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getAuthSwitch()const; - void setAuthSwitch(const std::string& authSwitch); - std::string getCallbackURL()const; - void setCallbackURL(const std::string& callbackURL); - - private: - std::string authKey_; - long resourceRealOwnerId_; - std::string accessKeyId_; - std::string callbackType_; - std::string callbackSwitch_; - std::string ownerAccount_; - std::string eventTypeList_; - std::string mnsQueueName_; - std::string mnsEndpoint_; - std::string appId_; - std::string authSwitch_; - std::string callbackURL_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SETMESSAGECALLBACKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SETMESSAGECALLBACKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SETMESSAGECALLBACKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SetMessageCallbackRequest : public RpcServiceRequest { +public: + SetMessageCallbackRequest(); + ~SetMessageCallbackRequest(); + std::string getAuthKey() const; + void setAuthKey(const std::string &authKey); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getCallbackType() const; + void setCallbackType(const std::string &callbackType); + std::string getCallbackSwitch() const; + void setCallbackSwitch(const std::string &callbackSwitch); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getEventTypeList() const; + void setEventTypeList(const std::string &eventTypeList); + std::string getMnsQueueName() const; + void setMnsQueueName(const std::string &mnsQueueName); + std::string getMnsEndpoint() const; + void setMnsEndpoint(const std::string &mnsEndpoint); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getAuthSwitch() const; + void setAuthSwitch(const std::string &authSwitch); + std::string getCallbackURL() const; + void setCallbackURL(const std::string &callbackURL); + +private: + std::string authKey_; + long resourceRealOwnerId_; + std::string accessKeyId_; + std::string callbackType_; + std::string callbackSwitch_; + std::string ownerAccount_; + std::string eventTypeList_; + std::string mnsQueueName_; + std::string mnsEndpoint_; + std::string appId_; + std::string authSwitch_; + std::string callbackURL_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SETMESSAGECALLBACKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SetVodDomainCertificateRequest.h b/vod/include/alibabacloud/vod/model/SetVodDomainCertificateRequest.h index 8fdbc64c6..989355275 100644 --- a/vod/include/alibabacloud/vod/model/SetVodDomainCertificateRequest.h +++ b/vod/include/alibabacloud/vod/model/SetVodDomainCertificateRequest.h @@ -1,69 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SETVODDOMAINCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SETVODDOMAINCERTIFICATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SetVodDomainCertificateRequest : public RpcServiceRequest - { - - public: - SetVodDomainCertificateRequest(); - ~SetVodDomainCertificateRequest(); - - std::string getSSLProtocol()const; - void setSSLProtocol(const std::string& sSLProtocol); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getSSLPri()const; - void setSSLPri(const std::string& sSLPri); - std::string getCertName()const; - void setCertName(const std::string& certName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSSLPub()const; - void setSSLPub(const std::string& sSLPub); - std::string getRegion()const; - void setRegion(const std::string& region); - - private: - std::string sSLProtocol_; - std::string securityToken_; - std::string sSLPri_; - std::string certName_; - std::string domainName_; - long ownerId_; - std::string sSLPub_; - std::string region_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SETVODDOMAINCERTIFICATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SETVODDOMAINCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SETVODDOMAINCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SetVodDomainCertificateRequest : public RpcServiceRequest { +public: + SetVodDomainCertificateRequest(); + ~SetVodDomainCertificateRequest(); + std::string getSSLProtocol() const; + void setSSLProtocol(const std::string &sSLProtocol); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getSSLPri() const; + void setSSLPri(const std::string &sSLPri); + std::string getCertName() const; + void setCertName(const std::string &certName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSSLPub() const; + void setSSLPub(const std::string &sSLPub); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string sSLProtocol_; + std::string securityToken_; + std::string sSLPri_; + std::string certName_; + std::string domainName_; + long ownerId_; + std::string sSLPub_; + std::string region_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SETVODDOMAINCERTIFICATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SubmitAIImageAuditJobRequest.h b/vod/include/alibabacloud/vod/model/SubmitAIImageAuditJobRequest.h index b06757e0b..aa4dfe1a0 100644 --- a/vod/include/alibabacloud/vod/model/SubmitAIImageAuditJobRequest.h +++ b/vod/include/alibabacloud/vod/model/SubmitAIImageAuditJobRequest.h @@ -1,69 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitAIImageAuditJobRequest : public RpcServiceRequest - { - - public: - SubmitAIImageAuditJobRequest(); - ~SubmitAIImageAuditJobRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - std::string getMediaAuditConfiguration()const; - void setMediaAuditConfiguration(const std::string& mediaAuditConfiguration); - - private: - std::string resourceOwnerId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string mediaId_; - std::string templateId_; - std::string mediaAuditConfiguration_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SubmitAIImageAuditJobRequest : public RpcServiceRequest { +public: + SubmitAIImageAuditJobRequest(); + ~SubmitAIImageAuditJobRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + std::string getMediaAuditConfiguration() const; + void setMediaAuditConfiguration(const std::string &mediaAuditConfiguration); + +private: + std::string resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string mediaId_; + std::string templateId_; + std::string mediaAuditConfiguration_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEAUDITJOBREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SubmitAIImageJobRequest.h b/vod/include/alibabacloud/vod/model/SubmitAIImageJobRequest.h index 15371ae6a..35fc299c7 100644 --- a/vod/include/alibabacloud/vod/model/SubmitAIImageJobRequest.h +++ b/vod/include/alibabacloud/vod/model/SubmitAIImageJobRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitAIImageJobRequest : public RpcServiceRequest - { - - public: - SubmitAIImageJobRequest(); - ~SubmitAIImageJobRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getAIPipelineId()const; - void setAIPipelineId(const std::string& aIPipelineId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getUserData()const; - void setUserData(const std::string& userData); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getAITemplateId()const; - void setAITemplateId(const std::string& aITemplateId); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - - private: - std::string resourceOwnerId_; - std::string aIPipelineId_; - std::string accessKeyId_; - std::string userData_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string videoId_; - std::string aITemplateId_; - std::string ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEJOBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEJOBREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SubmitAIImageJobRequest : public RpcServiceRequest { +public: + SubmitAIImageJobRequest(); + ~SubmitAIImageJobRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getAIPipelineId() const; + void setAIPipelineId(const std::string &aIPipelineId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getAITemplateId() const; + void setAITemplateId(const std::string &aITemplateId); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + +private: + std::string resourceOwnerId_; + std::string aIPipelineId_; + std::string accessKeyId_; + std::string userData_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string videoId_; + std::string aITemplateId_; + std::string ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAIIMAGEJOBREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SubmitAIJobRequest.h b/vod/include/alibabacloud/vod/model/SubmitAIJobRequest.h index 750678919..370cbc1f1 100644 --- a/vod/include/alibabacloud/vod/model/SubmitAIJobRequest.h +++ b/vod/include/alibabacloud/vod/model/SubmitAIJobRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITAIJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITAIJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitAIJobRequest : public RpcServiceRequest - { - - public: - SubmitAIJobRequest(); - ~SubmitAIJobRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getUserData()const; - void setUserData(const std::string& userData); - std::string getTypes()const; - void setTypes(const std::string& types); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - std::string getInput()const; - void setInput(const std::string& input); - std::string getConfig()const; - void setConfig(const std::string& config); - - private: - std::string resourceOwnerId_; - std::string accessKeyId_; - std::string userData_; - std::string types_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string mediaId_; - std::string input_; - std::string config_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAIJOBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITAIJOBREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SUBMITAIJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SubmitAIJobRequest : public RpcServiceRequest { +public: + SubmitAIJobRequest(); + ~SubmitAIJobRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getTypes() const; + void setTypes(const std::string &types); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getInput() const; + void setInput(const std::string &input); + std::string getConfig() const; + void setConfig(const std::string &config); + +private: + std::string resourceOwnerId_; + std::string accessKeyId_; + std::string userData_; + std::string types_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string mediaId_; + std::string input_; + std::string config_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAIJOBREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SubmitAIJobResult.h b/vod/include/alibabacloud/vod/model/SubmitAIJobResult.h index 2aa5ab08a..319827210 100644 --- a/vod/include/alibabacloud/vod/model/SubmitAIJobResult.h +++ b/vod/include/alibabacloud/vod/model/SubmitAIJobResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { std::string status; std::string type; - std::string mediaId; std::string message; + std::string mediaId; std::string creationTime; std::string data; std::string code; diff --git a/vod/include/alibabacloud/vod/model/SubmitAIMediaAuditJobRequest.h b/vod/include/alibabacloud/vod/model/SubmitAIMediaAuditJobRequest.h index cc7ad7429..7c37abc98 100644 --- a/vod/include/alibabacloud/vod/model/SubmitAIMediaAuditJobRequest.h +++ b/vod/include/alibabacloud/vod/model/SubmitAIMediaAuditJobRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITAIMEDIAAUDITJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITAIMEDIAAUDITJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitAIMediaAuditJobRequest : public RpcServiceRequest - { - - public: - SubmitAIMediaAuditJobRequest(); - ~SubmitAIMediaAuditJobRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getUserData()const; - void setUserData(const std::string& userData); - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - std::string getMediaAuditConfiguration()const; - void setMediaAuditConfiguration(const std::string& mediaAuditConfiguration); - std::string getMediaType()const; - void setMediaType(const std::string& mediaType); - - private: - std::string accessKeyId_; - std::string userData_; - std::string mediaId_; - std::string templateId_; - std::string mediaAuditConfiguration_; - std::string mediaType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAIMEDIAAUDITJOBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITAIMEDIAAUDITJOBREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SUBMITAIMEDIAAUDITJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SubmitAIMediaAuditJobRequest : public RpcServiceRequest { +public: + SubmitAIMediaAuditJobRequest(); + ~SubmitAIMediaAuditJobRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + std::string getMediaAuditConfiguration() const; + void setMediaAuditConfiguration(const std::string &mediaAuditConfiguration); + std::string getMediaType() const; + void setMediaType(const std::string &mediaType); + +private: + std::string accessKeyId_; + std::string userData_; + std::string mediaId_; + std::string templateId_; + std::string mediaAuditConfiguration_; + std::string mediaType_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITAIMEDIAAUDITJOBREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SubmitDynamicImageJobRequest.h b/vod/include/alibabacloud/vod/model/SubmitDynamicImageJobRequest.h index bfe556762..0dd4061c3 100644 --- a/vod/include/alibabacloud/vod/model/SubmitDynamicImageJobRequest.h +++ b/vod/include/alibabacloud/vod/model/SubmitDynamicImageJobRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITDYNAMICIMAGEJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITDYNAMICIMAGEJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitDynamicImageJobRequest : public RpcServiceRequest - { - - public: - SubmitDynamicImageJobRequest(); - ~SubmitDynamicImageJobRequest(); - - std::string getDynamicImageTemplateId()const; - void setDynamicImageTemplateId(const std::string& dynamicImageTemplateId); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getOverrideParams()const; - void setOverrideParams(const std::string& overrideParams); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string dynamicImageTemplateId_; - std::string videoId_; - std::string overrideParams_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITDYNAMICIMAGEJOBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITDYNAMICIMAGEJOBREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SUBMITDYNAMICIMAGEJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SubmitDynamicImageJobRequest : public RpcServiceRequest { +public: + SubmitDynamicImageJobRequest(); + ~SubmitDynamicImageJobRequest(); + std::string getDynamicImageTemplateId() const; + void setDynamicImageTemplateId(const std::string &dynamicImageTemplateId); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getOverrideParams() const; + void setOverrideParams(const std::string &overrideParams); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + +private: + std::string dynamicImageTemplateId_; + std::string videoId_; + std::string overrideParams_; + std::string accessKeyId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITDYNAMICIMAGEJOBREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SubmitMediaDNADeleteJobRequest.h b/vod/include/alibabacloud/vod/model/SubmitMediaDNADeleteJobRequest.h index 51878ea46..115b3af39 100644 --- a/vod/include/alibabacloud/vod/model/SubmitMediaDNADeleteJobRequest.h +++ b/vod/include/alibabacloud/vod/model/SubmitMediaDNADeleteJobRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITMEDIADNADELETEJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITMEDIADNADELETEJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitMediaDNADeleteJobRequest : public RpcServiceRequest - { - - public: - SubmitMediaDNADeleteJobRequest(); - ~SubmitMediaDNADeleteJobRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getFpDBId()const; - void setFpDBId(const std::string& fpDBId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - - private: - std::string resourceOwnerId_; - std::string fpDBId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string mediaId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITMEDIADNADELETEJOBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITMEDIADNADELETEJOBREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SUBMITMEDIADNADELETEJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SubmitMediaDNADeleteJobRequest : public RpcServiceRequest { +public: + SubmitMediaDNADeleteJobRequest(); + ~SubmitMediaDNADeleteJobRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getFpDBId() const; + void setFpDBId(const std::string &fpDBId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + +private: + std::string resourceOwnerId_; + std::string fpDBId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string mediaId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITMEDIADNADELETEJOBREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SubmitPreprocessJobsRequest.h b/vod/include/alibabacloud/vod/model/SubmitPreprocessJobsRequest.h index 5864ee1a8..7f59a7b42 100644 --- a/vod/include/alibabacloud/vod/model/SubmitPreprocessJobsRequest.h +++ b/vod/include/alibabacloud/vod/model/SubmitPreprocessJobsRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITPREPROCESSJOBSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITPREPROCESSJOBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitPreprocessJobsRequest : public RpcServiceRequest - { - - public: - SubmitPreprocessJobsRequest(); - ~SubmitPreprocessJobsRequest(); - - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getPreprocessType()const; - void setPreprocessType(const std::string& preprocessType); - - private: - std::string videoId_; - std::string accessKeyId_; - std::string preprocessType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITPREPROCESSJOBSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITPREPROCESSJOBSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SUBMITPREPROCESSJOBSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SubmitPreprocessJobsRequest : public RpcServiceRequest { +public: + SubmitPreprocessJobsRequest(); + ~SubmitPreprocessJobsRequest(); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getPreprocessType() const; + void setPreprocessType(const std::string &preprocessType); + +private: + std::string videoId_; + std::string accessKeyId_; + std::string preprocessType_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITPREPROCESSJOBSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SubmitSnapshotJobRequest.h b/vod/include/alibabacloud/vod/model/SubmitSnapshotJobRequest.h index 1ebc78869..2c620fe4f 100644 --- a/vod/include/alibabacloud/vod/model/SubmitSnapshotJobRequest.h +++ b/vod/include/alibabacloud/vod/model/SubmitSnapshotJobRequest.h @@ -1,78 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITSNAPSHOTJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITSNAPSHOTJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitSnapshotJobRequest : public RpcServiceRequest - { - - public: - SubmitSnapshotJobRequest(); - ~SubmitSnapshotJobRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getUserData()const; - void setUserData(const std::string& userData); - long getSpecifiedOffsetTime()const; - void setSpecifiedOffsetTime(long specifiedOffsetTime); - std::string getSpriteSnapshotConfig()const; - void setSpriteSnapshotConfig(const std::string& spriteSnapshotConfig); - std::string getSnapshotTemplateId()const; - void setSnapshotTemplateId(const std::string& snapshotTemplateId); - std::string getHeight()const; - void setHeight(const std::string& height); - long getCount()const; - void setCount(long count); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getWidth()const; - void setWidth(const std::string& width); - std::string getFileUrl()const; - void setFileUrl(const std::string& fileUrl); - long getInterval()const; - void setInterval(long interval); - - private: - std::string accessKeyId_; - std::string userData_; - long specifiedOffsetTime_; - std::string spriteSnapshotConfig_; - std::string snapshotTemplateId_; - std::string height_; - long count_; - std::string videoId_; - std::string width_; - std::string fileUrl_; - long interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITSNAPSHOTJOBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITSNAPSHOTJOBREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SUBMITSNAPSHOTJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SubmitSnapshotJobRequest : public RpcServiceRequest { +public: + SubmitSnapshotJobRequest(); + ~SubmitSnapshotJobRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getUserData() const; + void setUserData(const std::string &userData); + long getSpecifiedOffsetTime() const; + void setSpecifiedOffsetTime(long specifiedOffsetTime); + std::string getSpriteSnapshotConfig() const; + void setSpriteSnapshotConfig(const std::string &spriteSnapshotConfig); + std::string getSnapshotTemplateId() const; + void setSnapshotTemplateId(const std::string &snapshotTemplateId); + std::string getHeight() const; + void setHeight(const std::string &height); + long getCount() const; + void setCount(long count); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getWidth() const; + void setWidth(const std::string &width); + std::string getFileUrl() const; + void setFileUrl(const std::string &fileUrl); + long getInterval() const; + void setInterval(long interval); + +private: + std::string accessKeyId_; + std::string userData_; + long specifiedOffsetTime_; + std::string spriteSnapshotConfig_; + std::string snapshotTemplateId_; + std::string height_; + long count_; + std::string videoId_; + std::string width_; + std::string fileUrl_; + long interval_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITSNAPSHOTJOBREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SubmitTranscodeJobsRequest.h b/vod/include/alibabacloud/vod/model/SubmitTranscodeJobsRequest.h index 228afaad4..52040567f 100644 --- a/vod/include/alibabacloud/vod/model/SubmitTranscodeJobsRequest.h +++ b/vod/include/alibabacloud/vod/model/SubmitTranscodeJobsRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITTRANSCODEJOBSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITTRANSCODEJOBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitTranscodeJobsRequest : public RpcServiceRequest - { - - public: - SubmitTranscodeJobsRequest(); - ~SubmitTranscodeJobsRequest(); - - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getUserData()const; - void setUserData(const std::string& userData); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getOverrideParams()const; - void setOverrideParams(const std::string& overrideParams); - std::string getPriority()const; - void setPriority(const std::string& priority); - std::string getPipelineId()const; - void setPipelineId(const std::string& pipelineId); - std::string getTemplateGroupId()const; - void setTemplateGroupId(const std::string& templateGroupId); - std::string getFileUrl()const; - void setFileUrl(const std::string& fileUrl); - std::string getEncryptConfig()const; - void setEncryptConfig(const std::string& encryptConfig); - - private: - std::string accessKeyId_; - std::string userData_; - std::string videoId_; - std::string overrideParams_; - std::string priority_; - std::string pipelineId_; - std::string templateGroupId_; - std::string fileUrl_; - std::string encryptConfig_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITTRANSCODEJOBSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITTRANSCODEJOBSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SUBMITTRANSCODEJOBSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SubmitTranscodeJobsRequest : public RpcServiceRequest { +public: + SubmitTranscodeJobsRequest(); + ~SubmitTranscodeJobsRequest(); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getOverrideParams() const; + void setOverrideParams(const std::string &overrideParams); + std::string getPriority() const; + void setPriority(const std::string &priority); + std::string getPipelineId() const; + void setPipelineId(const std::string &pipelineId); + std::string getTemplateGroupId() const; + void setTemplateGroupId(const std::string &templateGroupId); + std::string getFileUrl() const; + void setFileUrl(const std::string &fileUrl); + std::string getEncryptConfig() const; + void setEncryptConfig(const std::string &encryptConfig); + +private: + std::string accessKeyId_; + std::string userData_; + std::string videoId_; + std::string overrideParams_; + std::string priority_; + std::string pipelineId_; + std::string templateGroupId_; + std::string fileUrl_; + std::string encryptConfig_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITTRANSCODEJOBSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/SubmitWorkflowJobRequest.h b/vod/include/alibabacloud/vod/model/SubmitWorkflowJobRequest.h index 105904fe7..103c67e44 100644 --- a/vod/include/alibabacloud/vod/model/SubmitWorkflowJobRequest.h +++ b/vod/include/alibabacloud/vod/model/SubmitWorkflowJobRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITWORKFLOWJOBREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_SUBMITWORKFLOWJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT SubmitWorkflowJobRequest : public RpcServiceRequest - { - - public: - SubmitWorkflowJobRequest(); - ~SubmitWorkflowJobRequest(); - - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - std::string getFileUrl()const; - void setFileUrl(const std::string& fileUrl); - std::string getWorkflowId()const; - void setWorkflowId(const std::string& workflowId); - - private: - std::string mediaId_; - std::string fileUrl_; - std::string workflowId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITWORKFLOWJOBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_SUBMITWORKFLOWJOBREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_SUBMITWORKFLOWJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT SubmitWorkflowJobRequest : public RpcServiceRequest { +public: + SubmitWorkflowJobRequest(); + ~SubmitWorkflowJobRequest(); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + std::string getFileUrl() const; + void setFileUrl(const std::string &fileUrl); + std::string getWorkflowId() const; + void setWorkflowId(const std::string &workflowId); + +private: + std::string mediaId_; + std::string fileUrl_; + std::string workflowId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_SUBMITWORKFLOWJOBREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateAITemplateRequest.h b/vod/include/alibabacloud/vod/model/UpdateAITemplateRequest.h index 231f26725..24af4ddca 100644 --- a/vod/include/alibabacloud/vod/model/UpdateAITemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateAITemplateRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEAITEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEAITEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateAITemplateRequest : public RpcServiceRequest - { - - public: - UpdateAITemplateRequest(); - ~UpdateAITemplateRequest(); - - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - std::string getTemplateConfig()const; - void setTemplateConfig(const std::string& templateConfig); - std::string getTemplateName()const; - void setTemplateName(const std::string& templateName); - - private: - std::string templateId_; - std::string templateConfig_; - std::string templateName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEAITEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEAITEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATEAITEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateAITemplateRequest : public RpcServiceRequest { +public: + UpdateAITemplateRequest(); + ~UpdateAITemplateRequest(); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + std::string getTemplateConfig() const; + void setTemplateConfig(const std::string &templateConfig); + std::string getTemplateName() const; + void setTemplateName(const std::string &templateName); + +private: + std::string templateId_; + std::string templateConfig_; + std::string templateName_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEAITEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateAppInfoRequest.h b/vod/include/alibabacloud/vod/model/UpdateAppInfoRequest.h index 149d94c81..ca07d2483 100644 --- a/vod/include/alibabacloud/vod/model/UpdateAppInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateAppInfoRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEAPPINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEAPPINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateAppInfoRequest : public RpcServiceRequest - { - - public: - UpdateAppInfoRequest(); - ~UpdateAppInfoRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string description_; - long resourceRealOwnerId_; - std::string accessKeyId_; - std::string appName_; - std::string appId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEAPPINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEAPPINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATEAPPINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateAppInfoRequest : public RpcServiceRequest { +public: + UpdateAppInfoRequest(); + ~UpdateAppInfoRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string description_; + long resourceRealOwnerId_; + std::string accessKeyId_; + std::string appName_; + std::string appId_; + std::string status_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEAPPINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateAttachedMediaInfosRequest.h b/vod/include/alibabacloud/vod/model/UpdateAttachedMediaInfosRequest.h index e9e3bba84..29dbdb0f8 100644 --- a/vod/include/alibabacloud/vod/model/UpdateAttachedMediaInfosRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateAttachedMediaInfosRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEATTACHEDMEDIAINFOSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEATTACHEDMEDIAINFOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateAttachedMediaInfosRequest : public RpcServiceRequest - { - - public: - UpdateAttachedMediaInfosRequest(); - ~UpdateAttachedMediaInfosRequest(); - - std::string getUpdateContent()const; - void setUpdateContent(const std::string& updateContent); - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string updateContent_; - long resourceRealOwnerId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEATTACHEDMEDIAINFOSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEATTACHEDMEDIAINFOSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATEATTACHEDMEDIAINFOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateAttachedMediaInfosRequest : public RpcServiceRequest { +public: + UpdateAttachedMediaInfosRequest(); + ~UpdateAttachedMediaInfosRequest(); + std::string getUpdateContent() const; + void setUpdateContent(const std::string &updateContent); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + +private: + std::string updateContent_; + long resourceRealOwnerId_; + std::string accessKeyId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEATTACHEDMEDIAINFOSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateCategoryRequest.h b/vod/include/alibabacloud/vod/model/UpdateCategoryRequest.h index 38dc94bb4..07d4517fc 100644 --- a/vod/include/alibabacloud/vod/model/UpdateCategoryRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateCategoryRequest.h @@ -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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATECATEGORYREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATECATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateCategoryRequest : public RpcServiceRequest - { - - public: - UpdateCategoryRequest(); - ~UpdateCategoryRequest(); - - long getCateId()const; - void setCateId(long cateId); - std::string getCateName()const; - void setCateName(const std::string& cateName); - - private: - long cateId_; - std::string cateName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATECATEGORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATECATEGORYREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATECATEGORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateCategoryRequest : public RpcServiceRequest { +public: + UpdateCategoryRequest(); + ~UpdateCategoryRequest(); + long getCateId() const; + void setCateId(long cateId); + std::string getCateName() const; + void setCateName(const std::string &cateName); + +private: + long cateId_; + std::string cateName_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATECATEGORYREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateEditingProjectRequest.h b/vod/include/alibabacloud/vod/model/UpdateEditingProjectRequest.h index ff053649e..d702ed5f3 100644 --- a/vod/include/alibabacloud/vod/model/UpdateEditingProjectRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateEditingProjectRequest.h @@ -1,81 +1,75 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEEDITINGPROJECTREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEEDITINGPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateEditingProjectRequest : public RpcServiceRequest - { - - public: - UpdateEditingProjectRequest(); - ~UpdateEditingProjectRequest(); - - std::string getResourceOwnerId()const; - void setResourceOwnerId(const std::string& resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getTitle()const; - void setTitle(const std::string& title); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getCoverURL()const; - void setCoverURL(const std::string& coverURL); - float getDuration()const; - void setDuration(float duration); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getFEExtend()const; - void setFEExtend(const std::string& fEExtend); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - std::string getTimeline()const; - void setTimeline(const std::string& timeline); - - private: - std::string resourceOwnerId_; - std::string description_; - std::string title_; - std::string accessKeyId_; - std::string coverURL_; - float duration_; - std::string projectId_; - std::string fEExtend_; - std::string resourceOwnerAccount_; - std::string ownerAccount_; - std::string ownerId_; - std::string timeline_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEEDITINGPROJECTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEEDITINGPROJECTREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATEEDITINGPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateEditingProjectRequest : public RpcServiceRequest { +public: + UpdateEditingProjectRequest(); + ~UpdateEditingProjectRequest(); + std::string getResourceOwnerId() const; + void setResourceOwnerId(const std::string &resourceOwnerId); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getTitle() const; + void setTitle(const std::string &title); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getCoverURL() const; + void setCoverURL(const std::string &coverURL); + float getDuration() const; + void setDuration(float duration); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getFEExtend() const; + void setFEExtend(const std::string &fEExtend); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + std::string getTimeline() const; + void setTimeline(const std::string &timeline); + +private: + std::string resourceOwnerId_; + std::string description_; + std::string title_; + std::string accessKeyId_; + std::string coverURL_; + float duration_; + std::string projectId_; + std::string fEExtend_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string ownerId_; + std::string timeline_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEEDITINGPROJECTREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateImageInfosRequest.h b/vod/include/alibabacloud/vod/model/UpdateImageInfosRequest.h index af27c6d70..8749013d2 100644 --- a/vod/include/alibabacloud/vod/model/UpdateImageInfosRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateImageInfosRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEIMAGEINFOSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEIMAGEINFOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateImageInfosRequest : public RpcServiceRequest - { - - public: - UpdateImageInfosRequest(); - ~UpdateImageInfosRequest(); - - std::string getUpdateContent()const; - void setUpdateContent(const std::string& updateContent); - long getResourceRealOwnerId()const; - void setResourceRealOwnerId(long resourceRealOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string updateContent_; - long resourceRealOwnerId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEIMAGEINFOSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEIMAGEINFOSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATEIMAGEINFOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateImageInfosRequest : public RpcServiceRequest { +public: + UpdateImageInfosRequest(); + ~UpdateImageInfosRequest(); + std::string getUpdateContent() const; + void setUpdateContent(const std::string &updateContent); + long getResourceRealOwnerId() const; + void setResourceRealOwnerId(long resourceRealOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + +private: + std::string updateContent_; + long resourceRealOwnerId_; + std::string accessKeyId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEIMAGEINFOSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateTranscodeTemplateGroupRequest.h b/vod/include/alibabacloud/vod/model/UpdateTranscodeTemplateGroupRequest.h index 95bb3973f..79860797b 100644 --- a/vod/include/alibabacloud/vod/model/UpdateTranscodeTemplateGroupRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateTranscodeTemplateGroupRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATETRANSCODETEMPLATEGROUPREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATETRANSCODETEMPLATEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateTranscodeTemplateGroupRequest : public RpcServiceRequest - { - - public: - UpdateTranscodeTemplateGroupRequest(); - ~UpdateTranscodeTemplateGroupRequest(); - - std::string getTranscodeTemplateList()const; - void setTranscodeTemplateList(const std::string& transcodeTemplateList); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getTranscodeTemplateGroupId()const; - void setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId); - std::string getName()const; - void setName(const std::string& name); - std::string getLocked()const; - void setLocked(const std::string& locked); - - private: - std::string transcodeTemplateList_; - std::string accessKeyId_; - std::string transcodeTemplateGroupId_; - std::string name_; - std::string locked_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATETRANSCODETEMPLATEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATETRANSCODETEMPLATEGROUPREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATETRANSCODETEMPLATEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateTranscodeTemplateGroupRequest : public RpcServiceRequest { +public: + UpdateTranscodeTemplateGroupRequest(); + ~UpdateTranscodeTemplateGroupRequest(); + std::string getTranscodeTemplateList() const; + void setTranscodeTemplateList(const std::string &transcodeTemplateList); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getTranscodeTemplateGroupId() const; + void setTranscodeTemplateGroupId(const std::string &transcodeTemplateGroupId); + std::string getName() const; + void setName(const std::string &name); + std::string getLocked() const; + void setLocked(const std::string &locked); + +private: + std::string transcodeTemplateList_; + std::string accessKeyId_; + std::string transcodeTemplateGroupId_; + std::string name_; + std::string locked_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATETRANSCODETEMPLATEGROUPREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateVideoInfoRequest.h b/vod/include/alibabacloud/vod/model/UpdateVideoInfoRequest.h index 247692968..987810d4f 100644 --- a/vod/include/alibabacloud/vod/model/UpdateVideoInfoRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateVideoInfoRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateVideoInfoRequest : public RpcServiceRequest - { - - public: - UpdateVideoInfoRequest(); - ~UpdateVideoInfoRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getTitle()const; - void setTitle(const std::string& title); - std::string getCoverURL()const; - void setCoverURL(const std::string& coverURL); - std::string getDownloadSwitch()const; - void setDownloadSwitch(const std::string& downloadSwitch); - long getCateId()const; - void setCateId(long cateId); - std::string getCustomMediaInfo()const; - void setCustomMediaInfo(const std::string& customMediaInfo); - std::string getVideoId()const; - void setVideoId(const std::string& videoId); - std::string getTags()const; - void setTags(const std::string& tags); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string description_; - std::string title_; - std::string coverURL_; - std::string downloadSwitch_; - long cateId_; - std::string customMediaInfo_; - std::string videoId_; - std::string tags_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateVideoInfoRequest : public RpcServiceRequest { +public: + UpdateVideoInfoRequest(); + ~UpdateVideoInfoRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getTitle() const; + void setTitle(const std::string &title); + std::string getCoverURL() const; + void setCoverURL(const std::string &coverURL); + std::string getDownloadSwitch() const; + void setDownloadSwitch(const std::string &downloadSwitch); + long getCateId() const; + void setCateId(long cateId); + std::string getCustomMediaInfo() const; + void setCustomMediaInfo(const std::string &customMediaInfo); + std::string getVideoId() const; + void setVideoId(const std::string &videoId); + std::string getTags() const; + void setTags(const std::string &tags); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string description_; + std::string title_; + std::string coverURL_; + std::string downloadSwitch_; + long cateId_; + std::string customMediaInfo_; + std::string videoId_; + std::string tags_; + std::string status_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateVideoInfosRequest.h b/vod/include/alibabacloud/vod/model/UpdateVideoInfosRequest.h index 05a74149a..3e022efb6 100644 --- a/vod/include/alibabacloud/vod/model/UpdateVideoInfosRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateVideoInfosRequest.h @@ -1,48 +1,42 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOSREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateVideoInfosRequest : public RpcServiceRequest - { - - public: - UpdateVideoInfosRequest(); - ~UpdateVideoInfosRequest(); - - std::string getUpdateContent()const; - void setUpdateContent(const std::string& updateContent); - - private: - std::string updateContent_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOSREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateVideoInfosRequest : public RpcServiceRequest { +public: + UpdateVideoInfosRequest(); + ~UpdateVideoInfosRequest(); + std::string getUpdateContent() const; + void setUpdateContent(const std::string &updateContent); + +private: + std::string updateContent_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEVIDEOINFOSREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateVodDomainRequest.h b/vod/include/alibabacloud/vod/model/UpdateVodDomainRequest.h index e84a2a07b..bfa1031d4 100644 --- a/vod/include/alibabacloud/vod/model/UpdateVodDomainRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateVodDomainRequest.h @@ -1,60 +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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEVODDOMAINREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEVODDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateVodDomainRequest : public RpcServiceRequest - { - - public: - UpdateVodDomainRequest(); - ~UpdateVodDomainRequest(); - - std::string getTopLevelDomain()const; - void setTopLevelDomain(const std::string& topLevelDomain); - std::string getSources()const; - void setSources(const std::string& sources); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string topLevelDomain_; - std::string sources_; - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEVODDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEVODDOMAINREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATEVODDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateVodDomainRequest : public RpcServiceRequest { +public: + UpdateVodDomainRequest(); + ~UpdateVodDomainRequest(); + std::string getTopLevelDomain() const; + void setTopLevelDomain(const std::string &topLevelDomain); + std::string getSources() const; + void setSources(const std::string &sources); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string topLevelDomain_; + std::string sources_; + std::string domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEVODDOMAINREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateVodTemplateRequest.h b/vod/include/alibabacloud/vod/model/UpdateVodTemplateRequest.h index f1b667c96..86e8db03b 100644 --- a/vod/include/alibabacloud/vod/model/UpdateVodTemplateRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateVodTemplateRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEVODTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEVODTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateVodTemplateRequest : public RpcServiceRequest - { - - public: - UpdateVodTemplateRequest(); - ~UpdateVodTemplateRequest(); - - std::string getTemplateConfig()const; - void setTemplateConfig(const std::string& templateConfig); - std::string getName()const; - void setName(const std::string& name); - std::string getVodTemplateId()const; - void setVodTemplateId(const std::string& vodTemplateId); - - private: - std::string templateConfig_; - std::string name_; - std::string vodTemplateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEVODTEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEVODTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATEVODTEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateVodTemplateRequest : public RpcServiceRequest { +public: + UpdateVodTemplateRequest(); + ~UpdateVodTemplateRequest(); + std::string getTemplateConfig() const; + void setTemplateConfig(const std::string &templateConfig); + std::string getName() const; + void setName(const std::string &name); + std::string getVodTemplateId() const; + void setVodTemplateId(const std::string &vodTemplateId); + +private: + std::string templateConfig_; + std::string name_; + std::string vodTemplateId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEVODTEMPLATEREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UpdateWatermarkRequest.h b/vod/include/alibabacloud/vod/model/UpdateWatermarkRequest.h index 4bd1cc1a2..700b1d68c 100644 --- a/vod/include/alibabacloud/vod/model/UpdateWatermarkRequest.h +++ b/vod/include/alibabacloud/vod/model/UpdateWatermarkRequest.h @@ -1,57 +1,51 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UpdateWatermarkRequest : public RpcServiceRequest - { - - public: - UpdateWatermarkRequest(); - ~UpdateWatermarkRequest(); - - std::string getWatermarkConfig()const; - void setWatermarkConfig(const std::string& watermarkConfig); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getWatermarkId()const; - void setWatermarkId(const std::string& watermarkId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string watermarkConfig_; - std::string accessKeyId_; - std::string watermarkId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UpdateWatermarkRequest : public RpcServiceRequest { +public: + UpdateWatermarkRequest(); + ~UpdateWatermarkRequest(); + std::string getWatermarkConfig() const; + void setWatermarkConfig(const std::string &watermarkConfig); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getWatermarkId() const; + void setWatermarkId(const std::string &watermarkId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string watermarkConfig_; + std::string accessKeyId_; + std::string watermarkId_; + std::string name_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UploadMediaByURLRequest.h b/vod/include/alibabacloud/vod/model/UploadMediaByURLRequest.h index 90db3d842..5418818eb 100644 --- a/vod/include/alibabacloud/vod/model/UploadMediaByURLRequest.h +++ b/vod/include/alibabacloud/vod/model/UploadMediaByURLRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPLOADMEDIABYURLREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPLOADMEDIABYURLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UploadMediaByURLRequest : public RpcServiceRequest - { - - public: - UploadMediaByURLRequest(); - ~UploadMediaByURLRequest(); - - std::string getMessageCallback()const; - void setMessageCallback(const std::string& messageCallback); - std::string getStorageLocation()const; - void setStorageLocation(const std::string& storageLocation); - std::string getUserData()const; - void setUserData(const std::string& userData); - std::string getWorkflowId()const; - void setWorkflowId(const std::string& workflowId); - std::string getS3UploadInfo()const; - void setS3UploadInfo(const std::string& s3UploadInfo); - std::string getPriority()const; - void setPriority(const std::string& priority); - std::string getTemplateGroupId()const; - void setTemplateGroupId(const std::string& templateGroupId); - std::string getUploadMetadatas()const; - void setUploadMetadatas(const std::string& uploadMetadatas); - std::string getUploadURLs()const; - void setUploadURLs(const std::string& uploadURLs); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string messageCallback_; - std::string storageLocation_; - std::string userData_; - std::string workflowId_; - std::string s3UploadInfo_; - std::string priority_; - std::string templateGroupId_; - std::string uploadMetadatas_; - std::string uploadURLs_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPLOADMEDIABYURLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPLOADMEDIABYURLREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPLOADMEDIABYURLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UploadMediaByURLRequest : public RpcServiceRequest { +public: + UploadMediaByURLRequest(); + ~UploadMediaByURLRequest(); + std::string getMessageCallback() const; + void setMessageCallback(const std::string &messageCallback); + std::string getStorageLocation() const; + void setStorageLocation(const std::string &storageLocation); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getWorkflowId() const; + void setWorkflowId(const std::string &workflowId); + std::string getS3UploadInfo() const; + void setS3UploadInfo(const std::string &s3UploadInfo); + std::string getPriority() const; + void setPriority(const std::string &priority); + std::string getTemplateGroupId() const; + void setTemplateGroupId(const std::string &templateGroupId); + std::string getUploadMetadatas() const; + void setUploadMetadatas(const std::string &uploadMetadatas); + std::string getUploadURLs() const; + void setUploadURLs(const std::string &uploadURLs); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string messageCallback_; + std::string storageLocation_; + std::string userData_; + std::string workflowId_; + std::string s3UploadInfo_; + std::string priority_; + std::string templateGroupId_; + std::string uploadMetadatas_; + std::string uploadURLs_; + std::string appId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPLOADMEDIABYURLREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/UploadStreamByURLRequest.h b/vod/include/alibabacloud/vod/model/UploadStreamByURLRequest.h index 6d8c9806c..f0c659ed4 100644 --- a/vod/include/alibabacloud/vod/model/UploadStreamByURLRequest.h +++ b/vod/include/alibabacloud/vod/model/UploadStreamByURLRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_UPLOADSTREAMBYURLREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_UPLOADSTREAMBYURLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT UploadStreamByURLRequest : public RpcServiceRequest - { - - public: - UploadStreamByURLRequest(); - ~UploadStreamByURLRequest(); - - std::string getFileExtension()const; - void setFileExtension(const std::string& fileExtension); - std::string getUserData()const; - void setUserData(const std::string& userData); - std::string getHDRType()const; - void setHDRType(const std::string& hDRType); - std::string getDefinition()const; - void setDefinition(const std::string& definition); - std::string getStreamURL()const; - void setStreamURL(const std::string& streamURL); - std::string getMediaId()const; - void setMediaId(const std::string& mediaId); - - private: - std::string fileExtension_; - std::string userData_; - std::string hDRType_; - std::string definition_; - std::string streamURL_; - std::string mediaId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_UPLOADSTREAMBYURLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_UPLOADSTREAMBYURLREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_UPLOADSTREAMBYURLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT UploadStreamByURLRequest : public RpcServiceRequest { +public: + UploadStreamByURLRequest(); + ~UploadStreamByURLRequest(); + std::string getFileExtension() const; + void setFileExtension(const std::string &fileExtension); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getHDRType() const; + void setHDRType(const std::string &hDRType); + std::string getDefinition() const; + void setDefinition(const std::string &definition); + std::string getStreamURL() const; + void setStreamURL(const std::string &streamURL); + std::string getMediaId() const; + void setMediaId(const std::string &mediaId); + +private: + std::string fileExtension_; + std::string userData_; + std::string hDRType_; + std::string definition_; + std::string streamURL_; + std::string mediaId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_UPLOADSTREAMBYURLREQUEST_H_ diff --git a/vod/include/alibabacloud/vod/model/VerifyVodDomainOwnerRequest.h b/vod/include/alibabacloud/vod/model/VerifyVodDomainOwnerRequest.h index 6bf91d311..9662de349 100644 --- a/vod/include/alibabacloud/vod/model/VerifyVodDomainOwnerRequest.h +++ b/vod/include/alibabacloud/vod/model/VerifyVodDomainOwnerRequest.h @@ -1,54 +1,48 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_VOD_MODEL_VERIFYVODDOMAINOWNERREQUEST_H_ -#define ALIBABACLOUD_VOD_MODEL_VERIFYVODDOMAINOWNERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Vod - { - namespace Model - { - class ALIBABACLOUD_VOD_EXPORT VerifyVodDomainOwnerRequest : public RpcServiceRequest - { - - public: - VerifyVodDomainOwnerRequest(); - ~VerifyVodDomainOwnerRequest(); - - std::string getVerifyType()const; - void setVerifyType(const std::string& verifyType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string verifyType_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_VOD_MODEL_VERIFYVODDOMAINOWNERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_VOD_MODEL_VERIFYVODDOMAINOWNERREQUEST_H_ +#define ALIBABACLOUD_VOD_MODEL_VERIFYVODDOMAINOWNERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Vod { +namespace Model { +class ALIBABACLOUD_VOD_EXPORT VerifyVodDomainOwnerRequest : public RpcServiceRequest { +public: + VerifyVodDomainOwnerRequest(); + ~VerifyVodDomainOwnerRequest(); + std::string getVerifyType() const; + void setVerifyType(const std::string &verifyType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string verifyType_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Vod +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_VOD_MODEL_VERIFYVODDOMAINOWNERREQUEST_H_ diff --git a/vod/src/VodClient.cc b/vod/src/VodClient.cc index fbdeafab3..d4baa0573 100644 --- a/vod/src/VodClient.cc +++ b/vod/src/VodClient.cc @@ -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& 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>( + [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& 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>( + [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(); diff --git a/vod/src/model/AddAITemplateRequest.cc b/vod/src/model/AddAITemplateRequest.cc index 0b205872e..6c148edde 100644 --- a/vod/src/model/AddAITemplateRequest.cc +++ b/vod/src/model/AddAITemplateRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/AddCategoryRequest.cc b/vod/src/model/AddCategoryRequest.cc index 6ff73e67c..d08a49fa4 100644 --- a/vod/src/model/AddCategoryRequest.cc +++ b/vod/src/model/AddCategoryRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/AddCategoryResult.cc b/vod/src/model/AddCategoryResult.cc index f44e8f413..e6c1edded 100644 --- a/vod/src/model/AddCategoryResult.cc +++ b/vod/src/model/AddCategoryResult.cc @@ -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()); } diff --git a/vod/src/model/AddEditingProjectRequest.cc b/vod/src/model/AddEditingProjectRequest.cc index a3bf10e37..28d61421f 100644 --- a/vod/src/model/AddEditingProjectRequest.cc +++ b/vod/src/model/AddEditingProjectRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/AddEditingProjectResult.cc b/vod/src/model/AddEditingProjectResult.cc index 24ceaaa13..316653a84 100644 --- a/vod/src/model/AddEditingProjectResult.cc +++ b/vod/src/model/AddEditingProjectResult.cc @@ -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(); diff --git a/vod/src/model/AddTranscodeTemplateGroupRequest.cc b/vod/src/model/AddTranscodeTemplateGroupRequest.cc index 6ce061411..7dbdcb55e 100644 --- a/vod/src/model/AddTranscodeTemplateGroupRequest.cc +++ b/vod/src/model/AddTranscodeTemplateGroupRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/AddVodDomainRequest.cc b/vod/src/model/AddVodDomainRequest.cc index 78062f62a..c6e96f414 100644 --- a/vod/src/model/AddVodDomainRequest.cc +++ b/vod/src/model/AddVodDomainRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/AddVodTemplateRequest.cc b/vod/src/model/AddVodTemplateRequest.cc index 856a54ca4..2f978da02 100644 --- a/vod/src/model/AddVodTemplateRequest.cc +++ b/vod/src/model/AddVodTemplateRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/AddWatermarkRequest.cc b/vod/src/model/AddWatermarkRequest.cc index c813ccc93..5d095dc85 100644 --- a/vod/src/model/AddWatermarkRequest.cc +++ b/vod/src/model/AddWatermarkRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/AddWatermarkResult.cc b/vod/src/model/AddWatermarkResult.cc index 9b93d18b5..f95157776 100644 --- a/vod/src/model/AddWatermarkResult.cc +++ b/vod/src/model/AddWatermarkResult.cc @@ -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(); } diff --git a/vod/src/model/AttachAppPolicyToIdentityRequest.cc b/vod/src/model/AttachAppPolicyToIdentityRequest.cc index c0a5d3482..320e35871 100644 --- a/vod/src/model/AttachAppPolicyToIdentityRequest.cc +++ b/vod/src/model/AttachAppPolicyToIdentityRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/BatchSetVodDomainConfigsRequest.cc b/vod/src/model/BatchSetVodDomainConfigsRequest.cc index f3f922a70..1bf1134de 100644 --- a/vod/src/model/BatchSetVodDomainConfigsRequest.cc +++ b/vod/src/model/BatchSetVodDomainConfigsRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/BatchStartVodDomainRequest.cc b/vod/src/model/BatchStartVodDomainRequest.cc index 4ea341a4d..3ab10556f 100644 --- a/vod/src/model/BatchStartVodDomainRequest.cc +++ b/vod/src/model/BatchStartVodDomainRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/BatchStopVodDomainRequest.cc b/vod/src/model/BatchStopVodDomainRequest.cc index 3ae955953..1f8360018 100644 --- a/vod/src/model/BatchStopVodDomainRequest.cc +++ b/vod/src/model/BatchStopVodDomainRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/CancelUrlUploadJobsRequest.cc b/vod/src/model/CancelUrlUploadJobsRequest.cc index 50a6262f5..83c261b3c 100644 --- a/vod/src/model/CancelUrlUploadJobsRequest.cc +++ b/vod/src/model/CancelUrlUploadJobsRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/CreateAppInfoRequest.cc b/vod/src/model/CreateAppInfoRequest.cc index 8cf247daf..aa8e23c72 100644 --- a/vod/src/model/CreateAppInfoRequest.cc +++ b/vod/src/model/CreateAppInfoRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/CreateAuditRequest.cc b/vod/src/model/CreateAuditRequest.cc index 8690e7ed4..950598097 100644 --- a/vod/src/model/CreateAuditRequest.cc +++ b/vod/src/model/CreateAuditRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/CreateUploadAttachedMediaRequest.cc b/vod/src/model/CreateUploadAttachedMediaRequest.cc index f709003c7..0bc2ffbe6 100644 --- a/vod/src/model/CreateUploadAttachedMediaRequest.cc +++ b/vod/src/model/CreateUploadAttachedMediaRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/CreateUploadAttachedMediaResult.cc b/vod/src/model/CreateUploadAttachedMediaResult.cc index bd67b76ac..1beaa7e65 100644 --- a/vod/src/model/CreateUploadAttachedMediaResult.cc +++ b/vod/src/model/CreateUploadAttachedMediaResult.cc @@ -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(); } diff --git a/vod/src/model/CreateUploadImageRequest.cc b/vod/src/model/CreateUploadImageRequest.cc index 76436f3f7..8833444c7 100644 --- a/vod/src/model/CreateUploadImageRequest.cc +++ b/vod/src/model/CreateUploadImageRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/CreateUploadImageResult.cc b/vod/src/model/CreateUploadImageResult.cc index f5d8ca032..460fd8455 100644 --- a/vod/src/model/CreateUploadImageResult.cc +++ b/vod/src/model/CreateUploadImageResult.cc @@ -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(); } diff --git a/vod/src/model/CreateUploadVideoRequest.cc b/vod/src/model/CreateUploadVideoRequest.cc index 316d5187a..2a822b6d9 100644 --- a/vod/src/model/CreateUploadVideoRequest.cc +++ b/vod/src/model/CreateUploadVideoRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/CreateUploadVideoResult.cc b/vod/src/model/CreateUploadVideoResult.cc index 3952548d3..dfb1f457d 100644 --- a/vod/src/model/CreateUploadVideoResult.cc +++ b/vod/src/model/CreateUploadVideoResult.cc @@ -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_; diff --git a/vod/src/model/DeleteAIImageInfosRequest.cc b/vod/src/model/DeleteAIImageInfosRequest.cc index 7466e8d3c..4b586187a 100644 --- a/vod/src/model/DeleteAIImageInfosRequest.cc +++ b/vod/src/model/DeleteAIImageInfosRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteAITemplateRequest.cc b/vod/src/model/DeleteAITemplateRequest.cc index 4783fedb0..9a72a8110 100644 --- a/vod/src/model/DeleteAITemplateRequest.cc +++ b/vod/src/model/DeleteAITemplateRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteAppInfoRequest.cc b/vod/src/model/DeleteAppInfoRequest.cc index 765f69182..68b680d13 100644 --- a/vod/src/model/DeleteAppInfoRequest.cc +++ b/vod/src/model/DeleteAppInfoRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteAttachedMediaRequest.cc b/vod/src/model/DeleteAttachedMediaRequest.cc index 4bae20393..5ac3c6338 100644 --- a/vod/src/model/DeleteAttachedMediaRequest.cc +++ b/vod/src/model/DeleteAttachedMediaRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteCategoryRequest.cc b/vod/src/model/DeleteCategoryRequest.cc index b5bbac5cc..cf125f567 100644 --- a/vod/src/model/DeleteCategoryRequest.cc +++ b/vod/src/model/DeleteCategoryRequest.cc @@ -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 - -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 + +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)); } diff --git a/vod/src/model/DeleteDynamicImageRequest.cc b/vod/src/model/DeleteDynamicImageRequest.cc index 17d39b59f..1176b27a5 100644 --- a/vod/src/model/DeleteDynamicImageRequest.cc +++ b/vod/src/model/DeleteDynamicImageRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteEditingProjectRequest.cc b/vod/src/model/DeleteEditingProjectRequest.cc index fe5ffb6fb..07dfda5f5 100644 --- a/vod/src/model/DeleteEditingProjectRequest.cc +++ b/vod/src/model/DeleteEditingProjectRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteImageRequest.cc b/vod/src/model/DeleteImageRequest.cc index da655e014..2ad52f07c 100644 --- a/vod/src/model/DeleteImageRequest.cc +++ b/vod/src/model/DeleteImageRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteMessageCallbackRequest.cc b/vod/src/model/DeleteMessageCallbackRequest.cc index 9f1b977c1..7a0139bbf 100644 --- a/vod/src/model/DeleteMessageCallbackRequest.cc +++ b/vod/src/model/DeleteMessageCallbackRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteMezzaninesRequest.cc b/vod/src/model/DeleteMezzaninesRequest.cc index 1fd2ced27..6b1aac588 100644 --- a/vod/src/model/DeleteMezzaninesRequest.cc +++ b/vod/src/model/DeleteMezzaninesRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteMezzaninesResult.cc b/vod/src/model/DeleteMezzaninesResult.cc index 71e3a932a..a942e3420 100644 --- a/vod/src/model/DeleteMezzaninesResult.cc +++ b/vod/src/model/DeleteMezzaninesResult.cc @@ -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()); } diff --git a/vod/src/model/DeleteMultipartUploadRequest.cc b/vod/src/model/DeleteMultipartUploadRequest.cc index 4bcf58ce2..b72a630e3 100644 --- a/vod/src/model/DeleteMultipartUploadRequest.cc +++ b/vod/src/model/DeleteMultipartUploadRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteStreamRequest.cc b/vod/src/model/DeleteStreamRequest.cc index 5e61bb954..ea257f2ad 100644 --- a/vod/src/model/DeleteStreamRequest.cc +++ b/vod/src/model/DeleteStreamRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteTranscodeTemplateGroupRequest.cc b/vod/src/model/DeleteTranscodeTemplateGroupRequest.cc index 278bf440d..99500f0e0 100644 --- a/vod/src/model/DeleteTranscodeTemplateGroupRequest.cc +++ b/vod/src/model/DeleteTranscodeTemplateGroupRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteVideoRequest.cc b/vod/src/model/DeleteVideoRequest.cc index 2ac199050..6a3571cc4 100644 --- a/vod/src/model/DeleteVideoRequest.cc +++ b/vod/src/model/DeleteVideoRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteVideoResult.cc b/vod/src/model/DeleteVideoResult.cc index 66b18f196..6ba434331 100644 --- a/vod/src/model/DeleteVideoResult.cc +++ b/vod/src/model/DeleteVideoResult.cc @@ -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()); } diff --git a/vod/src/model/DeleteVodDomainRequest.cc b/vod/src/model/DeleteVodDomainRequest.cc index 6190b54b1..1a77f2bcf 100644 --- a/vod/src/model/DeleteVodDomainRequest.cc +++ b/vod/src/model/DeleteVodDomainRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteVodSpecificConfigRequest.cc b/vod/src/model/DeleteVodSpecificConfigRequest.cc index 4562bd6a5..9ed370edc 100644 --- a/vod/src/model/DeleteVodSpecificConfigRequest.cc +++ b/vod/src/model/DeleteVodSpecificConfigRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteVodTemplateRequest.cc b/vod/src/model/DeleteVodTemplateRequest.cc index 66488464b..3a7cdf4fd 100644 --- a/vod/src/model/DeleteVodTemplateRequest.cc +++ b/vod/src/model/DeleteVodTemplateRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DeleteWatermarkRequest.cc b/vod/src/model/DeleteWatermarkRequest.cc index 5a33a3532..569f8b205 100644 --- a/vod/src/model/DeleteWatermarkRequest.cc +++ b/vod/src/model/DeleteWatermarkRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribePlayTopVideosRequest.cc b/vod/src/model/DescribePlayTopVideosRequest.cc index ae2c19037..1d616fa3d 100644 --- a/vod/src/model/DescribePlayTopVideosRequest.cc +++ b/vod/src/model/DescribePlayTopVideosRequest.cc @@ -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 - -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 + +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)); } diff --git a/vod/src/model/DescribePlayTopVideosResult.cc b/vod/src/model/DescribePlayTopVideosResult.cc index 83162d163..5755647b2 100644 --- a/vod/src/model/DescribePlayTopVideosResult.cc +++ b/vod/src/model/DescribePlayTopVideosResult.cc @@ -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()) diff --git a/vod/src/model/DescribePlayUserAvgRequest.cc b/vod/src/model/DescribePlayUserAvgRequest.cc index e7ba2cfe6..93b6aa743 100644 --- a/vod/src/model/DescribePlayUserAvgRequest.cc +++ b/vod/src/model/DescribePlayUserAvgRequest.cc @@ -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 - -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 + +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)); } diff --git a/vod/src/model/DescribePlayUserTotalRequest.cc b/vod/src/model/DescribePlayUserTotalRequest.cc index 36c9506b9..595f9dd60 100644 --- a/vod/src/model/DescribePlayUserTotalRequest.cc +++ b/vod/src/model/DescribePlayUserTotalRequest.cc @@ -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 - -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 + +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)); } diff --git a/vod/src/model/DescribePlayUserTotalResult.cc b/vod/src/model/DescribePlayUserTotalResult.cc index 439c20329..4c76959d4 100644 --- a/vod/src/model/DescribePlayUserTotalResult.cc +++ b/vod/src/model/DescribePlayUserTotalResult.cc @@ -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); } diff --git a/vod/src/model/DescribePlayVideoStatisRequest.cc b/vod/src/model/DescribePlayVideoStatisRequest.cc index 67b32ec16..7cafd0964 100644 --- a/vod/src/model/DescribePlayVideoStatisRequest.cc +++ b/vod/src/model/DescribePlayVideoStatisRequest.cc @@ -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 - -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 + +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)); } diff --git a/vod/src/model/DescribePlayVideoStatisResult.cc b/vod/src/model/DescribePlayVideoStatisResult.cc index 831346049..b403dbc9d 100644 --- a/vod/src/model/DescribePlayVideoStatisResult.cc +++ b/vod/src/model/DescribePlayVideoStatisResult.cc @@ -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); } diff --git a/vod/src/model/DescribeVodAIDataRequest.cc b/vod/src/model/DescribeVodAIDataRequest.cc index 33763a522..354303a1f 100644 --- a/vod/src/model/DescribeVodAIDataRequest.cc +++ b/vod/src/model/DescribeVodAIDataRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodCertificateListRequest.cc b/vod/src/model/DescribeVodCertificateListRequest.cc index 312be7c2e..5a0494ec9 100644 --- a/vod/src/model/DescribeVodCertificateListRequest.cc +++ b/vod/src/model/DescribeVodCertificateListRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodCertificateListResult.cc b/vod/src/model/DescribeVodCertificateListResult.cc index 72f282fd4..9ffc5a603 100644 --- a/vod/src/model/DescribeVodCertificateListResult.cc +++ b/vod/src/model/DescribeVodCertificateListResult.cc @@ -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); } diff --git a/vod/src/model/DescribeVodDomainBpsDataRequest.cc b/vod/src/model/DescribeVodDomainBpsDataRequest.cc index 6d96a43e6..3314babad 100644 --- a/vod/src/model/DescribeVodDomainBpsDataRequest.cc +++ b/vod/src/model/DescribeVodDomainBpsDataRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodDomainBpsDataResult.cc b/vod/src/model/DescribeVodDomainBpsDataResult.cc index 4436958c4..5528ba7f9 100644 --- a/vod/src/model/DescribeVodDomainBpsDataResult.cc +++ b/vod/src/model/DescribeVodDomainBpsDataResult.cc @@ -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(); diff --git a/vod/src/model/DescribeVodDomainCertificateInfoRequest.cc b/vod/src/model/DescribeVodDomainCertificateInfoRequest.cc index 4976bf804..1a510487a 100644 --- a/vod/src/model/DescribeVodDomainCertificateInfoRequest.cc +++ b/vod/src/model/DescribeVodDomainCertificateInfoRequest.cc @@ -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 - -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 + +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)); } diff --git a/vod/src/model/DescribeVodDomainCertificateInfoResult.cc b/vod/src/model/DescribeVodDomainCertificateInfoResult.cc index bb6f376aa..bbbcf29a5 100644 --- a/vod/src/model/DescribeVodDomainCertificateInfoResult.cc +++ b/vod/src/model/DescribeVodDomainCertificateInfoResult.cc @@ -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); } diff --git a/vod/src/model/DescribeVodDomainConfigsRequest.cc b/vod/src/model/DescribeVodDomainConfigsRequest.cc index baa000b6b..69d7b67f5 100644 --- a/vod/src/model/DescribeVodDomainConfigsRequest.cc +++ b/vod/src/model/DescribeVodDomainConfigsRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodDomainConfigsResult.cc b/vod/src/model/DescribeVodDomainConfigsResult.cc index 17b3070a6..c8a248d33 100644 --- a/vod/src/model/DescribeVodDomainConfigsResult.cc +++ b/vod/src/model/DescribeVodDomainConfigsResult.cc @@ -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) { diff --git a/vod/src/model/DescribeVodDomainDetailRequest.cc b/vod/src/model/DescribeVodDomainDetailRequest.cc index 8d3062ea3..cdad12e31 100644 --- a/vod/src/model/DescribeVodDomainDetailRequest.cc +++ b/vod/src/model/DescribeVodDomainDetailRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodDomainDetailResult.cc b/vod/src/model/DescribeVodDomainDetailResult.cc index a9b273f40..b905723ca 100644 --- a/vod/src/model/DescribeVodDomainDetailResult.cc +++ b/vod/src/model/DescribeVodDomainDetailResult.cc @@ -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); } diff --git a/vod/src/model/DescribeVodDomainLogRequest.cc b/vod/src/model/DescribeVodDomainLogRequest.cc index 84cd807a8..57c266594 100644 --- a/vod/src/model/DescribeVodDomainLogRequest.cc +++ b/vod/src/model/DescribeVodDomainLogRequest.cc @@ -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 - -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 + +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)); } diff --git a/vod/src/model/DescribeVodDomainLogResult.cc b/vod/src/model/DescribeVodDomainLogResult.cc index 4092f6bc1..0e6a003d0 100644 --- a/vod/src/model/DescribeVodDomainLogResult.cc +++ b/vod/src/model/DescribeVodDomainLogResult.cc @@ -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"]; diff --git a/vod/src/model/DescribeVodDomainTrafficDataRequest.cc b/vod/src/model/DescribeVodDomainTrafficDataRequest.cc index 72fd28a5a..5b34b17b7 100644 --- a/vod/src/model/DescribeVodDomainTrafficDataRequest.cc +++ b/vod/src/model/DescribeVodDomainTrafficDataRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodDomainTrafficDataResult.cc b/vod/src/model/DescribeVodDomainTrafficDataResult.cc index 36de931a5..579ef4d12 100644 --- a/vod/src/model/DescribeVodDomainTrafficDataResult.cc +++ b/vod/src/model/DescribeVodDomainTrafficDataResult.cc @@ -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_; +} + diff --git a/vod/src/model/DescribeVodDomainUsageDataRequest.cc b/vod/src/model/DescribeVodDomainUsageDataRequest.cc index 615aa7566..58e2a982b 100644 --- a/vod/src/model/DescribeVodDomainUsageDataRequest.cc +++ b/vod/src/model/DescribeVodDomainUsageDataRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodDomainUsageDataResult.cc b/vod/src/model/DescribeVodDomainUsageDataResult.cc index 8797c78f9..5b4c923cc 100644 --- a/vod/src/model/DescribeVodDomainUsageDataResult.cc +++ b/vod/src/model/DescribeVodDomainUsageDataResult.cc @@ -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(); diff --git a/vod/src/model/DescribeVodRefreshQuotaRequest.cc b/vod/src/model/DescribeVodRefreshQuotaRequest.cc index 17e78cfbb..eafd0c728 100644 --- a/vod/src/model/DescribeVodRefreshQuotaRequest.cc +++ b/vod/src/model/DescribeVodRefreshQuotaRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodRefreshQuotaResult.cc b/vod/src/model/DescribeVodRefreshQuotaResult.cc index 1bb3ad9f5..ef6bfe6e9 100644 --- a/vod/src/model/DescribeVodRefreshQuotaResult.cc +++ b/vod/src/model/DescribeVodRefreshQuotaResult.cc @@ -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_; diff --git a/vod/src/model/DescribeVodRefreshTasksRequest.cc b/vod/src/model/DescribeVodRefreshTasksRequest.cc index 2d6df2a32..a2c4c0ecd 100644 --- a/vod/src/model/DescribeVodRefreshTasksRequest.cc +++ b/vod/src/model/DescribeVodRefreshTasksRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodRefreshTasksResult.cc b/vod/src/model/DescribeVodRefreshTasksResult.cc index da887739f..63f9805fc 100644 --- a/vod/src/model/DescribeVodRefreshTasksResult.cc +++ b/vod/src/model/DescribeVodRefreshTasksResult.cc @@ -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()) diff --git a/vod/src/model/DescribeVodStorageDataRequest.cc b/vod/src/model/DescribeVodStorageDataRequest.cc index 3c2e9664a..b8d05823b 100644 --- a/vod/src/model/DescribeVodStorageDataRequest.cc +++ b/vod/src/model/DescribeVodStorageDataRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodTranscodeDataRequest.cc b/vod/src/model/DescribeVodTranscodeDataRequest.cc index 9ae7735ff..1d7a8629d 100644 --- a/vod/src/model/DescribeVodTranscodeDataRequest.cc +++ b/vod/src/model/DescribeVodTranscodeDataRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/DescribeVodUserDomainsRequest.cc b/vod/src/model/DescribeVodUserDomainsRequest.cc index a0bc9416d..f4db6bc64 100644 --- a/vod/src/model/DescribeVodUserDomainsRequest.cc +++ b/vod/src/model/DescribeVodUserDomainsRequest.cc @@ -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 - -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 + +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::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; - 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::getTag() const { + return tag_; } -std::string DescribeVodUserDomainsRequest::getFuncFilter()const -{ - return funcFilter_; +void DescribeVodUserDomainsRequest::setTag(const std::vector &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); } diff --git a/vod/src/model/DescribeVodUserDomainsResult.cc b/vod/src/model/DescribeVodUserDomainsResult.cc index 82b2221d6..ccf3c2a3f 100644 --- a/vod/src/model/DescribeVodUserDomainsResult.cc +++ b/vod/src/model/DescribeVodUserDomainsResult.cc @@ -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); diff --git a/vod/src/model/DescribeVodVerifyContentRequest.cc b/vod/src/model/DescribeVodVerifyContentRequest.cc index 95a08b352..c0256147b 100644 --- a/vod/src/model/DescribeVodVerifyContentRequest.cc +++ b/vod/src/model/DescribeVodVerifyContentRequest.cc @@ -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 - -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 + +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)); } diff --git a/vod/src/model/DetachAppPolicyFromIdentityRequest.cc b/vod/src/model/DetachAppPolicyFromIdentityRequest.cc index b91a1f9e4..2aa92e51d 100644 --- a/vod/src/model/DetachAppPolicyFromIdentityRequest.cc +++ b/vod/src/model/DetachAppPolicyFromIdentityRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetAIImageJobsRequest.cc b/vod/src/model/GetAIImageJobsRequest.cc index f0b5020c1..9130f1d97 100644 --- a/vod/src/model/GetAIImageJobsRequest.cc +++ b/vod/src/model/GetAIImageJobsRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetAIImageJobsResult.cc b/vod/src/model/GetAIImageJobsResult.cc index bfd06caeb..bec7921ae 100644 --- a/vod/src/model/GetAIImageJobsResult.cc +++ b/vod/src/model/GetAIImageJobsResult.cc @@ -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); } diff --git a/vod/src/model/GetAIMediaAuditJobRequest.cc b/vod/src/model/GetAIMediaAuditJobRequest.cc index 2dd32a65c..cbf1487e8 100644 --- a/vod/src/model/GetAIMediaAuditJobRequest.cc +++ b/vod/src/model/GetAIMediaAuditJobRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetAIMediaAuditJobResult.cc b/vod/src/model/GetAIMediaAuditJobResult.cc index 931f92557..8f2b15f84 100644 --- a/vod/src/model/GetAIMediaAuditJobResult.cc +++ b/vod/src/model/GetAIMediaAuditJobResult.cc @@ -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); } diff --git a/vod/src/model/GetAITemplateRequest.cc b/vod/src/model/GetAITemplateRequest.cc index b071a02d2..56e29409a 100644 --- a/vod/src/model/GetAITemplateRequest.cc +++ b/vod/src/model/GetAITemplateRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetAITemplateResult.cc b/vod/src/model/GetAITemplateResult.cc index 16a080baa..2fdd12f60 100644 --- a/vod/src/model/GetAITemplateResult.cc +++ b/vod/src/model/GetAITemplateResult.cc @@ -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(); diff --git a/vod/src/model/GetAIVideoTagResultRequest.cc b/vod/src/model/GetAIVideoTagResultRequest.cc index 2d9571db3..2459a7148 100644 --- a/vod/src/model/GetAIVideoTagResultRequest.cc +++ b/vod/src/model/GetAIVideoTagResultRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetAppInfosRequest.cc b/vod/src/model/GetAppInfosRequest.cc index 3887e4b6a..0cdf36a95 100644 --- a/vod/src/model/GetAppInfosRequest.cc +++ b/vod/src/model/GetAppInfosRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetAppInfosResult.cc b/vod/src/model/GetAppInfosResult.cc index 8c48e9109..6e2bd14f6 100644 --- a/vod/src/model/GetAppInfosResult.cc +++ b/vod/src/model/GetAppInfosResult.cc @@ -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); diff --git a/vod/src/model/GetAttachedMediaInfoRequest.cc b/vod/src/model/GetAttachedMediaInfoRequest.cc index 19608a311..b111b09c1 100644 --- a/vod/src/model/GetAttachedMediaInfoRequest.cc +++ b/vod/src/model/GetAttachedMediaInfoRequest.cc @@ -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 - -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 + +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)); } diff --git a/vod/src/model/GetAttachedMediaInfoResult.cc b/vod/src/model/GetAttachedMediaInfoResult.cc index 103354232..78e017f87 100644 --- a/vod/src/model/GetAttachedMediaInfoResult.cc +++ b/vod/src/model/GetAttachedMediaInfoResult.cc @@ -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); diff --git a/vod/src/model/GetAuditHistoryRequest.cc b/vod/src/model/GetAuditHistoryRequest.cc index 272fc9a83..72a9e451a 100644 --- a/vod/src/model/GetAuditHistoryRequest.cc +++ b/vod/src/model/GetAuditHistoryRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetAuditHistoryResult.cc b/vod/src/model/GetAuditHistoryResult.cc index 252c505ed..737c6b6ea 100644 --- a/vod/src/model/GetAuditHistoryResult.cc +++ b/vod/src/model/GetAuditHistoryResult.cc @@ -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); diff --git a/vod/src/model/GetCategoriesRequest.cc b/vod/src/model/GetCategoriesRequest.cc index 38a876d09..4fab9824b 100644 --- a/vod/src/model/GetCategoriesRequest.cc +++ b/vod/src/model/GetCategoriesRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetCategoriesResult.cc b/vod/src/model/GetCategoriesResult.cc index f9c180af4..ddb6fe5a9 100644 --- a/vod/src/model/GetCategoriesResult.cc +++ b/vod/src/model/GetCategoriesResult.cc @@ -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()); diff --git a/vod/src/model/GetDefaultAITemplateRequest.cc b/vod/src/model/GetDefaultAITemplateRequest.cc index 750da6478..e1a0e3833 100644 --- a/vod/src/model/GetDefaultAITemplateRequest.cc +++ b/vod/src/model/GetDefaultAITemplateRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetDefaultAITemplateResult.cc b/vod/src/model/GetDefaultAITemplateResult.cc index 91538a647..b5bedaaf2 100644 --- a/vod/src/model/GetDefaultAITemplateResult.cc +++ b/vod/src/model/GetDefaultAITemplateResult.cc @@ -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(); diff --git a/vod/src/model/GetEditingProjectMaterialsRequest.cc b/vod/src/model/GetEditingProjectMaterialsRequest.cc index a3ac13e03..24ee6c05a 100644 --- a/vod/src/model/GetEditingProjectMaterialsRequest.cc +++ b/vod/src/model/GetEditingProjectMaterialsRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetEditingProjectMaterialsResult.cc b/vod/src/model/GetEditingProjectMaterialsResult.cc index 18a577ba5..d25e38275 100644 --- a/vod/src/model/GetEditingProjectMaterialsResult.cc +++ b/vod/src/model/GetEditingProjectMaterialsResult.cc @@ -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); } diff --git a/vod/src/model/GetEditingProjectRequest.cc b/vod/src/model/GetEditingProjectRequest.cc index 372acf0cf..0d16e008d 100644 --- a/vod/src/model/GetEditingProjectRequest.cc +++ b/vod/src/model/GetEditingProjectRequest.cc @@ -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 - -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 + +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); } diff --git a/vod/src/model/GetEditingProjectResult.cc b/vod/src/model/GetEditingProjectResult.cc index e69fea06d..28e9c9bc7 100644 --- a/vod/src/model/GetEditingProjectResult.cc +++ b/vod/src/model/GetEditingProjectResult.cc @@ -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(); } diff --git a/vod/src/model/GetImageInfoRequest.cc b/vod/src/model/GetImageInfoRequest.cc index f13b39196..c35b68617 100644 --- a/vod/src/model/GetImageInfoRequest.cc +++ b/vod/src/model/GetImageInfoRequest.cc @@ -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 - -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 + +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)); } diff --git a/vod/src/model/GetImageInfoResult.cc b/vod/src/model/GetImageInfoResult.cc index a7645c847..a6aa43dca 100644 --- a/vod/src/model/GetImageInfoResult.cc +++ b/vod/src/model/GetImageInfoResult.cc @@ -40,45 +40,45 @@ void GetImageInfoResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto imageInfoNode = value["ImageInfo"]; - if(!imageInfoNode["ImageId"].isNull()) - imageInfo_.imageId = imageInfoNode["ImageId"].asString(); - if(!imageInfoNode["Title"].isNull()) - imageInfo_.title = imageInfoNode["Title"].asString(); if(!imageInfoNode["CreationTime"].isNull()) imageInfo_.creationTime = imageInfoNode["CreationTime"].asString(); - if(!imageInfoNode["ImageType"].isNull()) - imageInfo_.imageType = imageInfoNode["ImageType"].asString(); - if(!imageInfoNode["Tags"].isNull()) - imageInfo_.tags = imageInfoNode["Tags"].asString(); - if(!imageInfoNode["URL"].isNull()) - imageInfo_.uRL = imageInfoNode["URL"].asString(); - if(!imageInfoNode["CateId"].isNull()) - imageInfo_.cateId = std::stol(imageInfoNode["CateId"].asString()); - if(!imageInfoNode["CateName"].isNull()) - imageInfo_.cateName = imageInfoNode["CateName"].asString(); - if(!imageInfoNode["Description"].isNull()) - imageInfo_.description = imageInfoNode["Description"].asString(); if(!imageInfoNode["StorageLocation"].isNull()) imageInfo_.storageLocation = imageInfoNode["StorageLocation"].asString(); if(!imageInfoNode["Status"].isNull()) imageInfo_.status = imageInfoNode["Status"].asString(); - if(!imageInfoNode["AppId"].isNull()) - imageInfo_.appId = imageInfoNode["AppId"].asString(); + if(!imageInfoNode["CateId"].isNull()) + imageInfo_.cateId = std::stol(imageInfoNode["CateId"].asString()); + if(!imageInfoNode["Tags"].isNull()) + imageInfo_.tags = imageInfoNode["Tags"].asString(); if(!imageInfoNode["RegionId"].isNull()) imageInfo_.regionId = imageInfoNode["RegionId"].asString(); + if(!imageInfoNode["ImageType"].isNull()) + imageInfo_.imageType = imageInfoNode["ImageType"].asString(); + if(!imageInfoNode["CateName"].isNull()) + imageInfo_.cateName = imageInfoNode["CateName"].asString(); + if(!imageInfoNode["Description"].isNull()) + imageInfo_.description = imageInfoNode["Description"].asString(); + if(!imageInfoNode["AppId"].isNull()) + imageInfo_.appId = imageInfoNode["AppId"].asString(); + if(!imageInfoNode["URL"].isNull()) + imageInfo_.uRL = imageInfoNode["URL"].asString(); + if(!imageInfoNode["Title"].isNull()) + imageInfo_.title = imageInfoNode["Title"].asString(); + if(!imageInfoNode["ImageId"].isNull()) + imageInfo_.imageId = imageInfoNode["ImageId"].asString(); if(!imageInfoNode["AuditStatus"].isNull()) imageInfo_.auditStatus = imageInfoNode["AuditStatus"].asString(); auto mezzanineNode = imageInfoNode["Mezzanine"]; + if(!mezzanineNode["FileURL"].isNull()) + imageInfo_.mezzanine.fileURL = mezzanineNode["FileURL"].asString(); if(!mezzanineNode["OriginalFileName"].isNull()) imageInfo_.mezzanine.originalFileName = mezzanineNode["OriginalFileName"].asString(); - if(!mezzanineNode["FileSize"].isNull()) - imageInfo_.mezzanine.fileSize = mezzanineNode["FileSize"].asString(); if(!mezzanineNode["Width"].isNull()) imageInfo_.mezzanine.width = std::stoi(mezzanineNode["Width"].asString()); if(!mezzanineNode["Height"].isNull()) imageInfo_.mezzanine.height = std::stoi(mezzanineNode["Height"].asString()); - if(!mezzanineNode["FileURL"].isNull()) - imageInfo_.mezzanine.fileURL = mezzanineNode["FileURL"].asString(); + if(!mezzanineNode["FileSize"].isNull()) + imageInfo_.mezzanine.fileSize = mezzanineNode["FileSize"].asString(); } diff --git a/vod/src/model/GetMediaAuditAudioResultDetailRequest.cc b/vod/src/model/GetMediaAuditAudioResultDetailRequest.cc index 02da0b00d..f59a9d341 100644 --- a/vod/src/model/GetMediaAuditAudioResultDetailRequest.cc +++ b/vod/src/model/GetMediaAuditAudioResultDetailRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetMediaAuditAudioResultDetailRequest; - -GetMediaAuditAudioResultDetailRequest::GetMediaAuditAudioResultDetailRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetMediaAuditAudioResultDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMediaAuditAudioResultDetailRequest::~GetMediaAuditAudioResultDetailRequest() -{} - -std::string GetMediaAuditAudioResultDetailRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetMediaAuditAudioResultDetailRequest; + +GetMediaAuditAudioResultDetailRequest::GetMediaAuditAudioResultDetailRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetMediaAuditAudioResultDetail") { + setMethod(HttpRequest::Method::Post); } -void GetMediaAuditAudioResultDetailRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +GetMediaAuditAudioResultDetailRequest::~GetMediaAuditAudioResultDetailRequest() {} + +std::string GetMediaAuditAudioResultDetailRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string GetMediaAuditAudioResultDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetMediaAuditAudioResultDetailRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void GetMediaAuditAudioResultDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetMediaAuditAudioResultDetailRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string GetMediaAuditAudioResultDetailRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void GetMediaAuditAudioResultDetailRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetMediaAuditAudioResultDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string GetMediaAuditAudioResultDetailRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string GetMediaAuditAudioResultDetailRequest::getOwnerAccount()const -{ - return ownerAccount_; +void GetMediaAuditAudioResultDetailRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void GetMediaAuditAudioResultDetailRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string GetMediaAuditAudioResultDetailRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string GetMediaAuditAudioResultDetailRequest::getOwnerId()const -{ - return ownerId_; +void GetMediaAuditAudioResultDetailRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void GetMediaAuditAudioResultDetailRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string GetMediaAuditAudioResultDetailRequest::getOwnerId() const { + return ownerId_; } -std::string GetMediaAuditAudioResultDetailRequest::getMediaId()const -{ - return mediaId_; +void GetMediaAuditAudioResultDetailRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void GetMediaAuditAudioResultDetailRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +std::string GetMediaAuditAudioResultDetailRequest::getMediaId() const { + return mediaId_; } -int GetMediaAuditAudioResultDetailRequest::getPageNo()const -{ - return pageNo_; +void GetMediaAuditAudioResultDetailRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } -void GetMediaAuditAudioResultDetailRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int GetMediaAuditAudioResultDetailRequest::getPageNo() const { + return pageNo_; +} + +void GetMediaAuditAudioResultDetailRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } diff --git a/vod/src/model/GetMediaAuditResultDetailRequest.cc b/vod/src/model/GetMediaAuditResultDetailRequest.cc index 4c9614b7c..26bcdcf86 100644 --- a/vod/src/model/GetMediaAuditResultDetailRequest.cc +++ b/vod/src/model/GetMediaAuditResultDetailRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetMediaAuditResultDetailRequest; - -GetMediaAuditResultDetailRequest::GetMediaAuditResultDetailRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetMediaAuditResultDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMediaAuditResultDetailRequest::~GetMediaAuditResultDetailRequest() -{} - -std::string GetMediaAuditResultDetailRequest::getMediaId()const -{ - return mediaId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetMediaAuditResultDetailRequest; + +GetMediaAuditResultDetailRequest::GetMediaAuditResultDetailRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetMediaAuditResultDetail") { + setMethod(HttpRequest::Method::Post); } -void GetMediaAuditResultDetailRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +GetMediaAuditResultDetailRequest::~GetMediaAuditResultDetailRequest() {} + +std::string GetMediaAuditResultDetailRequest::getMediaId() const { + return mediaId_; } -std::string GetMediaAuditResultDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetMediaAuditResultDetailRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } -void GetMediaAuditResultDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetMediaAuditResultDetailRequest::getAccessKeyId() const { + return accessKeyId_; } -int GetMediaAuditResultDetailRequest::getPageNo()const -{ - return pageNo_; +void GetMediaAuditResultDetailRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetMediaAuditResultDetailRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int GetMediaAuditResultDetailRequest::getPageNo() const { + return pageNo_; +} + +void GetMediaAuditResultDetailRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } diff --git a/vod/src/model/GetMediaAuditResultDetailResult.cc b/vod/src/model/GetMediaAuditResultDetailResult.cc index 83460b79a..dd61cb8d7 100644 --- a/vod/src/model/GetMediaAuditResultDetailResult.cc +++ b/vod/src/model/GetMediaAuditResultDetailResult.cc @@ -46,30 +46,30 @@ void GetMediaAuditResultDetailResult::parse(const std::string &payload) for (auto mediaAuditResultDetailNodeListListItem : allListNode) { MediaAuditResultDetail::ListItem listItemObject; + if(!mediaAuditResultDetailNodeListListItem["TerrorismScore"].isNull()) + listItemObject.terrorismScore = mediaAuditResultDetailNodeListListItem["TerrorismScore"].asString(); + if(!mediaAuditResultDetailNodeListListItem["AdLabel"].isNull()) + listItemObject.adLabel = mediaAuditResultDetailNodeListListItem["AdLabel"].asString(); if(!mediaAuditResultDetailNodeListListItem["PornLabel"].isNull()) listItemObject.pornLabel = mediaAuditResultDetailNodeListListItem["PornLabel"].asString(); if(!mediaAuditResultDetailNodeListListItem["PornScore"].isNull()) listItemObject.pornScore = mediaAuditResultDetailNodeListListItem["PornScore"].asString(); - if(!mediaAuditResultDetailNodeListListItem["TerrorismLabel"].isNull()) - listItemObject.terrorismLabel = mediaAuditResultDetailNodeListListItem["TerrorismLabel"].asString(); - if(!mediaAuditResultDetailNodeListListItem["TerrorismScore"].isNull()) - listItemObject.terrorismScore = mediaAuditResultDetailNodeListListItem["TerrorismScore"].asString(); - if(!mediaAuditResultDetailNodeListListItem["Timestamp"].isNull()) - listItemObject.timestamp = mediaAuditResultDetailNodeListListItem["Timestamp"].asString(); - if(!mediaAuditResultDetailNodeListListItem["Url"].isNull()) - listItemObject.url = mediaAuditResultDetailNodeListListItem["Url"].asString(); - if(!mediaAuditResultDetailNodeListListItem["AdLabel"].isNull()) - listItemObject.adLabel = mediaAuditResultDetailNodeListListItem["AdLabel"].asString(); - if(!mediaAuditResultDetailNodeListListItem["AdScore"].isNull()) - listItemObject.adScore = mediaAuditResultDetailNodeListListItem["AdScore"].asString(); if(!mediaAuditResultDetailNodeListListItem["LiveLabel"].isNull()) listItemObject.liveLabel = mediaAuditResultDetailNodeListListItem["LiveLabel"].asString(); + if(!mediaAuditResultDetailNodeListListItem["Url"].isNull()) + listItemObject.url = mediaAuditResultDetailNodeListListItem["Url"].asString(); + if(!mediaAuditResultDetailNodeListListItem["Timestamp"].isNull()) + listItemObject.timestamp = mediaAuditResultDetailNodeListListItem["Timestamp"].asString(); + if(!mediaAuditResultDetailNodeListListItem["AdScore"].isNull()) + listItemObject.adScore = mediaAuditResultDetailNodeListListItem["AdScore"].asString(); if(!mediaAuditResultDetailNodeListListItem["LiveScore"].isNull()) listItemObject.liveScore = mediaAuditResultDetailNodeListListItem["LiveScore"].asString(); - if(!mediaAuditResultDetailNodeListListItem["LogoLabel"].isNull()) - listItemObject.logoLabel = mediaAuditResultDetailNodeListListItem["LogoLabel"].asString(); if(!mediaAuditResultDetailNodeListListItem["LogoScore"].isNull()) listItemObject.logoScore = mediaAuditResultDetailNodeListListItem["LogoScore"].asString(); + if(!mediaAuditResultDetailNodeListListItem["LogoLabel"].isNull()) + listItemObject.logoLabel = mediaAuditResultDetailNodeListListItem["LogoLabel"].asString(); + if(!mediaAuditResultDetailNodeListListItem["TerrorismLabel"].isNull()) + listItemObject.terrorismLabel = mediaAuditResultDetailNodeListListItem["TerrorismLabel"].asString(); mediaAuditResultDetail_.list.push_back(listItemObject); } diff --git a/vod/src/model/GetMediaAuditResultRequest.cc b/vod/src/model/GetMediaAuditResultRequest.cc index fa9fc2058..4dcc9a622 100644 --- a/vod/src/model/GetMediaAuditResultRequest.cc +++ b/vod/src/model/GetMediaAuditResultRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetMediaAuditResultRequest; - -GetMediaAuditResultRequest::GetMediaAuditResultRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetMediaAuditResult") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMediaAuditResultRequest::~GetMediaAuditResultRequest() -{} - -std::string GetMediaAuditResultRequest::getMediaId()const -{ - return mediaId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetMediaAuditResultRequest; + +GetMediaAuditResultRequest::GetMediaAuditResultRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetMediaAuditResult") { + setMethod(HttpRequest::Method::Post); } -void GetMediaAuditResultRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +GetMediaAuditResultRequest::~GetMediaAuditResultRequest() {} + +std::string GetMediaAuditResultRequest::getMediaId() const { + return mediaId_; } -std::string GetMediaAuditResultRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetMediaAuditResultRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } -void GetMediaAuditResultRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetMediaAuditResultRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void GetMediaAuditResultRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } diff --git a/vod/src/model/GetMediaAuditResultResult.cc b/vod/src/model/GetMediaAuditResultResult.cc index 5ce205da2..a3a2e14c8 100644 --- a/vod/src/model/GetMediaAuditResultResult.cc +++ b/vod/src/model/GetMediaAuditResultResult.cc @@ -40,50 +40,50 @@ void GetMediaAuditResultResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto mediaAuditResultNode = value["MediaAuditResult"]; + if(!mediaAuditResultNode["Suggestion"].isNull()) + mediaAuditResult_.suggestion = mediaAuditResultNode["Suggestion"].asString(); if(!mediaAuditResultNode["AbnormalModules"].isNull()) mediaAuditResult_.abnormalModules = mediaAuditResultNode["AbnormalModules"].asString(); if(!mediaAuditResultNode["Label"].isNull()) mediaAuditResult_.label = mediaAuditResultNode["Label"].asString(); - if(!mediaAuditResultNode["Suggestion"].isNull()) - mediaAuditResult_.suggestion = mediaAuditResultNode["Suggestion"].asString(); auto allAudioResultNode = mediaAuditResultNode["AudioResult"]["AudioResultItem"]; for (auto mediaAuditResultNodeAudioResultAudioResultItem : allAudioResultNode) { MediaAuditResult::AudioResultItem audioResultItemObject; - if(!mediaAuditResultNodeAudioResultAudioResultItem["Label"].isNull()) - audioResultItemObject.label = mediaAuditResultNodeAudioResultAudioResultItem["Label"].asString(); - if(!mediaAuditResultNodeAudioResultAudioResultItem["Scene"].isNull()) - audioResultItemObject.scene = mediaAuditResultNodeAudioResultAudioResultItem["Scene"].asString(); if(!mediaAuditResultNodeAudioResultAudioResultItem["Score"].isNull()) audioResultItemObject.score = mediaAuditResultNodeAudioResultAudioResultItem["Score"].asString(); if(!mediaAuditResultNodeAudioResultAudioResultItem["Suggestion"].isNull()) audioResultItemObject.suggestion = mediaAuditResultNodeAudioResultAudioResultItem["Suggestion"].asString(); + if(!mediaAuditResultNodeAudioResultAudioResultItem["Label"].isNull()) + audioResultItemObject.label = mediaAuditResultNodeAudioResultAudioResultItem["Label"].asString(); + if(!mediaAuditResultNodeAudioResultAudioResultItem["Scene"].isNull()) + audioResultItemObject.scene = mediaAuditResultNodeAudioResultAudioResultItem["Scene"].asString(); mediaAuditResult_.audioResult.push_back(audioResultItemObject); } auto allImageResultNode = mediaAuditResultNode["ImageResult"]["ImageResultItem"]; for (auto mediaAuditResultNodeImageResultImageResultItem : allImageResultNode) { MediaAuditResult::ImageResultItem imageResultItemObject; - if(!mediaAuditResultNodeImageResultImageResultItem["Label"].isNull()) - imageResultItemObject.label = mediaAuditResultNodeImageResultImageResultItem["Label"].asString(); - if(!mediaAuditResultNodeImageResultImageResultItem["Suggestion"].isNull()) - imageResultItemObject.suggestion = mediaAuditResultNodeImageResultImageResultItem["Suggestion"].asString(); if(!mediaAuditResultNodeImageResultImageResultItem["Type"].isNull()) imageResultItemObject.type = mediaAuditResultNodeImageResultImageResultItem["Type"].asString(); if(!mediaAuditResultNodeImageResultImageResultItem["Url"].isNull()) imageResultItemObject.url = mediaAuditResultNodeImageResultImageResultItem["Url"].asString(); + if(!mediaAuditResultNodeImageResultImageResultItem["Suggestion"].isNull()) + imageResultItemObject.suggestion = mediaAuditResultNodeImageResultImageResultItem["Suggestion"].asString(); + if(!mediaAuditResultNodeImageResultImageResultItem["Label"].isNull()) + imageResultItemObject.label = mediaAuditResultNodeImageResultImageResultItem["Label"].asString(); auto allResultNode = mediaAuditResultNodeImageResultImageResultItem["Result"]["ResultItem"]; for (auto mediaAuditResultNodeImageResultImageResultItemResultResultItem : allResultNode) { MediaAuditResult::ImageResultItem::ResultItem resultObject; - if(!mediaAuditResultNodeImageResultImageResultItemResultResultItem["Label"].isNull()) - resultObject.label = mediaAuditResultNodeImageResultImageResultItemResultResultItem["Label"].asString(); - if(!mediaAuditResultNodeImageResultImageResultItemResultResultItem["Scene"].isNull()) - resultObject.scene = mediaAuditResultNodeImageResultImageResultItemResultResultItem["Scene"].asString(); if(!mediaAuditResultNodeImageResultImageResultItemResultResultItem["Score"].isNull()) resultObject.score = mediaAuditResultNodeImageResultImageResultItemResultResultItem["Score"].asString(); if(!mediaAuditResultNodeImageResultImageResultItemResultResultItem["Suggestion"].isNull()) resultObject.suggestion = mediaAuditResultNodeImageResultImageResultItemResultResultItem["Suggestion"].asString(); + if(!mediaAuditResultNodeImageResultImageResultItemResultResultItem["Label"].isNull()) + resultObject.label = mediaAuditResultNodeImageResultImageResultItemResultResultItem["Label"].asString(); + if(!mediaAuditResultNodeImageResultImageResultItemResultResultItem["Scene"].isNull()) + resultObject.scene = mediaAuditResultNodeImageResultImageResultItemResultResultItem["Scene"].asString(); imageResultItemObject.result.push_back(resultObject); } mediaAuditResult_.imageResult.push_back(imageResultItemObject); @@ -92,18 +92,18 @@ void GetMediaAuditResultResult::parse(const std::string &payload) for (auto mediaAuditResultNodeTextResultTextResultItem : allTextResultNode) { MediaAuditResult::TextResultItem textResultItemObject; - if(!mediaAuditResultNodeTextResultTextResultItem["Content"].isNull()) - textResultItemObject.content = mediaAuditResultNodeTextResultTextResultItem["Content"].asString(); - if(!mediaAuditResultNodeTextResultTextResultItem["Label"].isNull()) - textResultItemObject.label = mediaAuditResultNodeTextResultTextResultItem["Label"].asString(); - if(!mediaAuditResultNodeTextResultTextResultItem["Scene"].isNull()) - textResultItemObject.scene = mediaAuditResultNodeTextResultTextResultItem["Scene"].asString(); - if(!mediaAuditResultNodeTextResultTextResultItem["Score"].isNull()) - textResultItemObject.score = mediaAuditResultNodeTextResultTextResultItem["Score"].asString(); - if(!mediaAuditResultNodeTextResultTextResultItem["Suggestion"].isNull()) - textResultItemObject.suggestion = mediaAuditResultNodeTextResultTextResultItem["Suggestion"].asString(); if(!mediaAuditResultNodeTextResultTextResultItem["Type"].isNull()) textResultItemObject.type = mediaAuditResultNodeTextResultTextResultItem["Type"].asString(); + if(!mediaAuditResultNodeTextResultTextResultItem["Suggestion"].isNull()) + textResultItemObject.suggestion = mediaAuditResultNodeTextResultTextResultItem["Suggestion"].asString(); + if(!mediaAuditResultNodeTextResultTextResultItem["Score"].isNull()) + textResultItemObject.score = mediaAuditResultNodeTextResultTextResultItem["Score"].asString(); + if(!mediaAuditResultNodeTextResultTextResultItem["Label"].isNull()) + textResultItemObject.label = mediaAuditResultNodeTextResultTextResultItem["Label"].asString(); + if(!mediaAuditResultNodeTextResultTextResultItem["Content"].isNull()) + textResultItemObject.content = mediaAuditResultNodeTextResultTextResultItem["Content"].asString(); + if(!mediaAuditResultNodeTextResultTextResultItem["Scene"].isNull()) + textResultItemObject.scene = mediaAuditResultNodeTextResultTextResultItem["Scene"].asString(); mediaAuditResult_.textResult.push_back(textResultItemObject); } auto videoResultNode = mediaAuditResultNode["VideoResult"]; @@ -112,168 +112,168 @@ void GetMediaAuditResultResult::parse(const std::string &payload) if(!videoResultNode["Suggestion"].isNull()) mediaAuditResult_.videoResult.suggestion = videoResultNode["Suggestion"].asString(); auto pornResultNode = videoResultNode["PornResult"]; + if(!pornResultNode["Suggestion"].isNull()) + mediaAuditResult_.videoResult.pornResult.suggestion = pornResultNode["Suggestion"].asString(); if(!pornResultNode["AverageScore"].isNull()) mediaAuditResult_.videoResult.pornResult.averageScore = pornResultNode["AverageScore"].asString(); if(!pornResultNode["Label"].isNull()) mediaAuditResult_.videoResult.pornResult.label = pornResultNode["Label"].asString(); if(!pornResultNode["MaxScore"].isNull()) mediaAuditResult_.videoResult.pornResult.maxScore = pornResultNode["MaxScore"].asString(); - if(!pornResultNode["Suggestion"].isNull()) - mediaAuditResult_.videoResult.pornResult.suggestion = pornResultNode["Suggestion"].asString(); auto allCounterListNode = pornResultNode["CounterList"]["CounterListItem"]; for (auto pornResultNodeCounterListCounterListItem : allCounterListNode) { MediaAuditResult::VideoResult::PornResult::CounterListItem counterListItemObject; - if(!pornResultNodeCounterListCounterListItem["Count"].isNull()) - counterListItemObject.count = std::stoi(pornResultNodeCounterListCounterListItem["Count"].asString()); if(!pornResultNodeCounterListCounterListItem["Label"].isNull()) counterListItemObject.label = pornResultNodeCounterListCounterListItem["Label"].asString(); + if(!pornResultNodeCounterListCounterListItem["Count"].isNull()) + counterListItemObject.count = std::stoi(pornResultNodeCounterListCounterListItem["Count"].asString()); mediaAuditResult_.videoResult.pornResult.counterList.push_back(counterListItemObject); } auto allTopListNode = pornResultNode["TopList"]["TopListItem"]; for (auto pornResultNodeTopListTopListItem : allTopListNode) { MediaAuditResult::VideoResult::PornResult::TopListItem topListItemObject; - if(!pornResultNodeTopListTopListItem["Label"].isNull()) - topListItemObject.label = pornResultNodeTopListTopListItem["Label"].asString(); + if(!pornResultNodeTopListTopListItem["Url"].isNull()) + topListItemObject.url = pornResultNodeTopListTopListItem["Url"].asString(); if(!pornResultNodeTopListTopListItem["Score"].isNull()) topListItemObject.score = pornResultNodeTopListTopListItem["Score"].asString(); if(!pornResultNodeTopListTopListItem["Timestamp"].isNull()) topListItemObject.timestamp = pornResultNodeTopListTopListItem["Timestamp"].asString(); - if(!pornResultNodeTopListTopListItem["Url"].isNull()) - topListItemObject.url = pornResultNodeTopListTopListItem["Url"].asString(); + if(!pornResultNodeTopListTopListItem["Label"].isNull()) + topListItemObject.label = pornResultNodeTopListTopListItem["Label"].asString(); mediaAuditResult_.videoResult.pornResult.topList.push_back(topListItemObject); } auto adResultNode = videoResultNode["AdResult"]; + if(!adResultNode["Suggestion"].isNull()) + mediaAuditResult_.videoResult.adResult.suggestion = adResultNode["Suggestion"].asString(); if(!adResultNode["AverageScore"].isNull()) mediaAuditResult_.videoResult.adResult.averageScore = adResultNode["AverageScore"].asString(); if(!adResultNode["Label"].isNull()) mediaAuditResult_.videoResult.adResult.label = adResultNode["Label"].asString(); if(!adResultNode["MaxScore"].isNull()) mediaAuditResult_.videoResult.adResult.maxScore = adResultNode["MaxScore"].asString(); - if(!adResultNode["Suggestion"].isNull()) - mediaAuditResult_.videoResult.adResult.suggestion = adResultNode["Suggestion"].asString(); auto allCounterList1Node = adResultNode["CounterList"]["CounterListItem"]; for (auto adResultNodeCounterListCounterListItem : allCounterList1Node) { MediaAuditResult::VideoResult::AdResult::CounterListItem3 counterListItem3Object; - if(!adResultNodeCounterListCounterListItem["Count"].isNull()) - counterListItem3Object.count = std::stoi(adResultNodeCounterListCounterListItem["Count"].asString()); if(!adResultNodeCounterListCounterListItem["Label"].isNull()) counterListItem3Object.label = adResultNodeCounterListCounterListItem["Label"].asString(); + if(!adResultNodeCounterListCounterListItem["Count"].isNull()) + counterListItem3Object.count = std::stoi(adResultNodeCounterListCounterListItem["Count"].asString()); mediaAuditResult_.videoResult.adResult.counterList1.push_back(counterListItem3Object); } auto allTopList2Node = adResultNode["TopList"]["TopListItem"]; for (auto adResultNodeTopListTopListItem : allTopList2Node) { MediaAuditResult::VideoResult::AdResult::TopListItem4 topListItem4Object; - if(!adResultNodeTopListTopListItem["Label"].isNull()) - topListItem4Object.label = adResultNodeTopListTopListItem["Label"].asString(); + if(!adResultNodeTopListTopListItem["Url"].isNull()) + topListItem4Object.url = adResultNodeTopListTopListItem["Url"].asString(); if(!adResultNodeTopListTopListItem["Score"].isNull()) topListItem4Object.score = adResultNodeTopListTopListItem["Score"].asString(); if(!adResultNodeTopListTopListItem["Timestamp"].isNull()) topListItem4Object.timestamp = adResultNodeTopListTopListItem["Timestamp"].asString(); - if(!adResultNodeTopListTopListItem["Url"].isNull()) - topListItem4Object.url = adResultNodeTopListTopListItem["Url"].asString(); + if(!adResultNodeTopListTopListItem["Label"].isNull()) + topListItem4Object.label = adResultNodeTopListTopListItem["Label"].asString(); mediaAuditResult_.videoResult.adResult.topList2.push_back(topListItem4Object); } auto logoResultNode = videoResultNode["LogoResult"]; + if(!logoResultNode["Suggestion"].isNull()) + mediaAuditResult_.videoResult.logoResult.suggestion = logoResultNode["Suggestion"].asString(); if(!logoResultNode["AverageScore"].isNull()) mediaAuditResult_.videoResult.logoResult.averageScore = logoResultNode["AverageScore"].asString(); if(!logoResultNode["Label"].isNull()) mediaAuditResult_.videoResult.logoResult.label = logoResultNode["Label"].asString(); if(!logoResultNode["MaxScore"].isNull()) mediaAuditResult_.videoResult.logoResult.maxScore = logoResultNode["MaxScore"].asString(); - if(!logoResultNode["Suggestion"].isNull()) - mediaAuditResult_.videoResult.logoResult.suggestion = logoResultNode["Suggestion"].asString(); auto allCounterList5Node = logoResultNode["CounterList"]["CounterListItem"]; for (auto logoResultNodeCounterListCounterListItem : allCounterList5Node) { MediaAuditResult::VideoResult::LogoResult::CounterListItem7 counterListItem7Object; - if(!logoResultNodeCounterListCounterListItem["Count"].isNull()) - counterListItem7Object.count = std::stoi(logoResultNodeCounterListCounterListItem["Count"].asString()); if(!logoResultNodeCounterListCounterListItem["Label"].isNull()) counterListItem7Object.label = logoResultNodeCounterListCounterListItem["Label"].asString(); + if(!logoResultNodeCounterListCounterListItem["Count"].isNull()) + counterListItem7Object.count = std::stoi(logoResultNodeCounterListCounterListItem["Count"].asString()); mediaAuditResult_.videoResult.logoResult.counterList5.push_back(counterListItem7Object); } auto allTopList6Node = logoResultNode["TopList"]["TopListItem"]; for (auto logoResultNodeTopListTopListItem : allTopList6Node) { MediaAuditResult::VideoResult::LogoResult::TopListItem8 topListItem8Object; - if(!logoResultNodeTopListTopListItem["Label"].isNull()) - topListItem8Object.label = logoResultNodeTopListTopListItem["Label"].asString(); + if(!logoResultNodeTopListTopListItem["Url"].isNull()) + topListItem8Object.url = logoResultNodeTopListTopListItem["Url"].asString(); if(!logoResultNodeTopListTopListItem["Score"].isNull()) topListItem8Object.score = logoResultNodeTopListTopListItem["Score"].asString(); if(!logoResultNodeTopListTopListItem["Timestamp"].isNull()) topListItem8Object.timestamp = logoResultNodeTopListTopListItem["Timestamp"].asString(); - if(!logoResultNodeTopListTopListItem["Url"].isNull()) - topListItem8Object.url = logoResultNodeTopListTopListItem["Url"].asString(); + if(!logoResultNodeTopListTopListItem["Label"].isNull()) + topListItem8Object.label = logoResultNodeTopListTopListItem["Label"].asString(); mediaAuditResult_.videoResult.logoResult.topList6.push_back(topListItem8Object); } auto liveResultNode = videoResultNode["LiveResult"]; + if(!liveResultNode["Suggestion"].isNull()) + mediaAuditResult_.videoResult.liveResult.suggestion = liveResultNode["Suggestion"].asString(); if(!liveResultNode["AverageScore"].isNull()) mediaAuditResult_.videoResult.liveResult.averageScore = liveResultNode["AverageScore"].asString(); if(!liveResultNode["Label"].isNull()) mediaAuditResult_.videoResult.liveResult.label = liveResultNode["Label"].asString(); if(!liveResultNode["MaxScore"].isNull()) mediaAuditResult_.videoResult.liveResult.maxScore = liveResultNode["MaxScore"].asString(); - if(!liveResultNode["Suggestion"].isNull()) - mediaAuditResult_.videoResult.liveResult.suggestion = liveResultNode["Suggestion"].asString(); auto allCounterList9Node = liveResultNode["CounterList"]["CounterListItem"]; for (auto liveResultNodeCounterListCounterListItem : allCounterList9Node) { MediaAuditResult::VideoResult::LiveResult::CounterListItem11 counterListItem11Object; - if(!liveResultNodeCounterListCounterListItem["Count"].isNull()) - counterListItem11Object.count = std::stoi(liveResultNodeCounterListCounterListItem["Count"].asString()); if(!liveResultNodeCounterListCounterListItem["Label"].isNull()) counterListItem11Object.label = liveResultNodeCounterListCounterListItem["Label"].asString(); + if(!liveResultNodeCounterListCounterListItem["Count"].isNull()) + counterListItem11Object.count = std::stoi(liveResultNodeCounterListCounterListItem["Count"].asString()); mediaAuditResult_.videoResult.liveResult.counterList9.push_back(counterListItem11Object); } auto allTopList10Node = liveResultNode["TopList"]["TopListItem"]; for (auto liveResultNodeTopListTopListItem : allTopList10Node) { MediaAuditResult::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(); mediaAuditResult_.videoResult.liveResult.topList10.push_back(topListItem12Object); } auto terrorismResultNode = videoResultNode["TerrorismResult"]; + if(!terrorismResultNode["Suggestion"].isNull()) + mediaAuditResult_.videoResult.terrorismResult.suggestion = terrorismResultNode["Suggestion"].asString(); if(!terrorismResultNode["AverageScore"].isNull()) mediaAuditResult_.videoResult.terrorismResult.averageScore = terrorismResultNode["AverageScore"].asString(); if(!terrorismResultNode["Label"].isNull()) mediaAuditResult_.videoResult.terrorismResult.label = terrorismResultNode["Label"].asString(); if(!terrorismResultNode["MaxScore"].isNull()) mediaAuditResult_.videoResult.terrorismResult.maxScore = terrorismResultNode["MaxScore"].asString(); - if(!terrorismResultNode["Suggestion"].isNull()) - mediaAuditResult_.videoResult.terrorismResult.suggestion = terrorismResultNode["Suggestion"].asString(); auto allCounterList13Node = terrorismResultNode["CounterList"]["CounterListItem"]; for (auto terrorismResultNodeCounterListCounterListItem : allCounterList13Node) { MediaAuditResult::VideoResult::TerrorismResult::CounterListItem15 counterListItem15Object; - if(!terrorismResultNodeCounterListCounterListItem["Count"].isNull()) - counterListItem15Object.count = std::stoi(terrorismResultNodeCounterListCounterListItem["Count"].asString()); if(!terrorismResultNodeCounterListCounterListItem["Label"].isNull()) counterListItem15Object.label = terrorismResultNodeCounterListCounterListItem["Label"].asString(); + if(!terrorismResultNodeCounterListCounterListItem["Count"].isNull()) + counterListItem15Object.count = std::stoi(terrorismResultNodeCounterListCounterListItem["Count"].asString()); mediaAuditResult_.videoResult.terrorismResult.counterList13.push_back(counterListItem15Object); } auto allTopList14Node = terrorismResultNode["TopList"]["TopListItem"]; for (auto terrorismResultNodeTopListTopListItem : allTopList14Node) { MediaAuditResult::VideoResult::TerrorismResult::TopListItem16 topListItem16Object; - if(!terrorismResultNodeTopListTopListItem["Label"].isNull()) - topListItem16Object.label = terrorismResultNodeTopListTopListItem["Label"].asString(); + if(!terrorismResultNodeTopListTopListItem["Url"].isNull()) + topListItem16Object.url = terrorismResultNodeTopListTopListItem["Url"].asString(); if(!terrorismResultNodeTopListTopListItem["Score"].isNull()) topListItem16Object.score = terrorismResultNodeTopListTopListItem["Score"].asString(); if(!terrorismResultNodeTopListTopListItem["Timestamp"].isNull()) topListItem16Object.timestamp = terrorismResultNodeTopListTopListItem["Timestamp"].asString(); - if(!terrorismResultNodeTopListTopListItem["Url"].isNull()) - topListItem16Object.url = terrorismResultNodeTopListTopListItem["Url"].asString(); + if(!terrorismResultNodeTopListTopListItem["Label"].isNull()) + topListItem16Object.label = terrorismResultNodeTopListTopListItem["Label"].asString(); mediaAuditResult_.videoResult.terrorismResult.topList14.push_back(topListItem16Object); } diff --git a/vod/src/model/GetMediaAuditResultTimelineRequest.cc b/vod/src/model/GetMediaAuditResultTimelineRequest.cc index d6137390d..763ccea76 100644 --- a/vod/src/model/GetMediaAuditResultTimelineRequest.cc +++ b/vod/src/model/GetMediaAuditResultTimelineRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetMediaAuditResultTimelineRequest; - -GetMediaAuditResultTimelineRequest::GetMediaAuditResultTimelineRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetMediaAuditResultTimeline") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMediaAuditResultTimelineRequest::~GetMediaAuditResultTimelineRequest() -{} - -std::string GetMediaAuditResultTimelineRequest::getMediaId()const -{ - return mediaId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetMediaAuditResultTimelineRequest; + +GetMediaAuditResultTimelineRequest::GetMediaAuditResultTimelineRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetMediaAuditResultTimeline") { + setMethod(HttpRequest::Method::Post); } -void GetMediaAuditResultTimelineRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +GetMediaAuditResultTimelineRequest::~GetMediaAuditResultTimelineRequest() {} + +std::string GetMediaAuditResultTimelineRequest::getMediaId() const { + return mediaId_; } -std::string GetMediaAuditResultTimelineRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetMediaAuditResultTimelineRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } -void GetMediaAuditResultTimelineRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetMediaAuditResultTimelineRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void GetMediaAuditResultTimelineRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } diff --git a/vod/src/model/GetMediaAuditResultTimelineResult.cc b/vod/src/model/GetMediaAuditResultTimelineResult.cc index c871e1866..b2bbaefd6 100644 --- a/vod/src/model/GetMediaAuditResultTimelineResult.cc +++ b/vod/src/model/GetMediaAuditResultTimelineResult.cc @@ -44,60 +44,60 @@ void GetMediaAuditResultTimelineResult::parse(const std::string &payload) for (auto mediaAuditResultTimelineNodePornPornItem : allPornNode) { MediaAuditResultTimeline::PornItem pornItemObject; - if(!mediaAuditResultTimelineNodePornPornItem["Label"].isNull()) - pornItemObject.label = mediaAuditResultTimelineNodePornPornItem["Label"].asString(); if(!mediaAuditResultTimelineNodePornPornItem["Score"].isNull()) pornItemObject.score = mediaAuditResultTimelineNodePornPornItem["Score"].asString(); if(!mediaAuditResultTimelineNodePornPornItem["Timestamp"].isNull()) pornItemObject.timestamp = mediaAuditResultTimelineNodePornPornItem["Timestamp"].asString(); + if(!mediaAuditResultTimelineNodePornPornItem["Label"].isNull()) + pornItemObject.label = mediaAuditResultTimelineNodePornPornItem["Label"].asString(); mediaAuditResultTimeline_.porn.push_back(pornItemObject); } auto allTerrorismNode = mediaAuditResultTimelineNode["Terrorism"]["TerrorismItem"]; for (auto mediaAuditResultTimelineNodeTerrorismTerrorismItem : allTerrorismNode) { MediaAuditResultTimeline::TerrorismItem terrorismItemObject; - if(!mediaAuditResultTimelineNodeTerrorismTerrorismItem["Label"].isNull()) - terrorismItemObject.label = mediaAuditResultTimelineNodeTerrorismTerrorismItem["Label"].asString(); if(!mediaAuditResultTimelineNodeTerrorismTerrorismItem["Score"].isNull()) terrorismItemObject.score = mediaAuditResultTimelineNodeTerrorismTerrorismItem["Score"].asString(); if(!mediaAuditResultTimelineNodeTerrorismTerrorismItem["Timestamp"].isNull()) terrorismItemObject.timestamp = mediaAuditResultTimelineNodeTerrorismTerrorismItem["Timestamp"].asString(); + if(!mediaAuditResultTimelineNodeTerrorismTerrorismItem["Label"].isNull()) + terrorismItemObject.label = mediaAuditResultTimelineNodeTerrorismTerrorismItem["Label"].asString(); mediaAuditResultTimeline_.terrorism.push_back(terrorismItemObject); } auto allLogoNode = mediaAuditResultTimelineNode["Logo"]["LogoItem"]; for (auto mediaAuditResultTimelineNodeLogoLogoItem : allLogoNode) { MediaAuditResultTimeline::LogoItem logoItemObject; - if(!mediaAuditResultTimelineNodeLogoLogoItem["Label"].isNull()) - logoItemObject.label = mediaAuditResultTimelineNodeLogoLogoItem["Label"].asString(); if(!mediaAuditResultTimelineNodeLogoLogoItem["Score"].isNull()) logoItemObject.score = mediaAuditResultTimelineNodeLogoLogoItem["Score"].asString(); if(!mediaAuditResultTimelineNodeLogoLogoItem["Timestamp"].isNull()) logoItemObject.timestamp = mediaAuditResultTimelineNodeLogoLogoItem["Timestamp"].asString(); + if(!mediaAuditResultTimelineNodeLogoLogoItem["Label"].isNull()) + logoItemObject.label = mediaAuditResultTimelineNodeLogoLogoItem["Label"].asString(); mediaAuditResultTimeline_.logo.push_back(logoItemObject); } auto allLiveNode = mediaAuditResultTimelineNode["Live"]["LiveItem"]; for (auto mediaAuditResultTimelineNodeLiveLiveItem : allLiveNode) { MediaAuditResultTimeline::LiveItem liveItemObject; - if(!mediaAuditResultTimelineNodeLiveLiveItem["Label"].isNull()) - liveItemObject.label = mediaAuditResultTimelineNodeLiveLiveItem["Label"].asString(); if(!mediaAuditResultTimelineNodeLiveLiveItem["Score"].isNull()) liveItemObject.score = mediaAuditResultTimelineNodeLiveLiveItem["Score"].asString(); if(!mediaAuditResultTimelineNodeLiveLiveItem["Timestamp"].isNull()) liveItemObject.timestamp = mediaAuditResultTimelineNodeLiveLiveItem["Timestamp"].asString(); + if(!mediaAuditResultTimelineNodeLiveLiveItem["Label"].isNull()) + liveItemObject.label = mediaAuditResultTimelineNodeLiveLiveItem["Label"].asString(); mediaAuditResultTimeline_.live.push_back(liveItemObject); } auto allAdNode = mediaAuditResultTimelineNode["Ad"]["AdItem"]; for (auto mediaAuditResultTimelineNodeAdAdItem : allAdNode) { MediaAuditResultTimeline::AdItem adItemObject; - if(!mediaAuditResultTimelineNodeAdAdItem["Label"].isNull()) - adItemObject.label = mediaAuditResultTimelineNodeAdAdItem["Label"].asString(); if(!mediaAuditResultTimelineNodeAdAdItem["Score"].isNull()) adItemObject.score = mediaAuditResultTimelineNodeAdAdItem["Score"].asString(); if(!mediaAuditResultTimelineNodeAdAdItem["Timestamp"].isNull()) adItemObject.timestamp = mediaAuditResultTimelineNodeAdAdItem["Timestamp"].asString(); + if(!mediaAuditResultTimelineNodeAdAdItem["Label"].isNull()) + adItemObject.label = mediaAuditResultTimelineNodeAdAdItem["Label"].asString(); mediaAuditResultTimeline_.ad.push_back(adItemObject); } diff --git a/vod/src/model/GetMediaDNAResultRequest.cc b/vod/src/model/GetMediaDNAResultRequest.cc index 823dcb7b4..dad35a65b 100644 --- a/vod/src/model/GetMediaDNAResultRequest.cc +++ b/vod/src/model/GetMediaDNAResultRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetMediaDNAResultRequest; - -GetMediaDNAResultRequest::GetMediaDNAResultRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetMediaDNAResult") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMediaDNAResultRequest::~GetMediaDNAResultRequest() -{} - -std::string GetMediaDNAResultRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetMediaDNAResultRequest; + +GetMediaDNAResultRequest::GetMediaDNAResultRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetMediaDNAResult") { + setMethod(HttpRequest::Method::Post); } -void GetMediaDNAResultRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +GetMediaDNAResultRequest::~GetMediaDNAResultRequest() {} + +std::string GetMediaDNAResultRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string GetMediaDNAResultRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void GetMediaDNAResultRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void GetMediaDNAResultRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string GetMediaDNAResultRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string GetMediaDNAResultRequest::getOwnerAccount()const -{ - return ownerAccount_; +void GetMediaDNAResultRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void GetMediaDNAResultRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string GetMediaDNAResultRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string GetMediaDNAResultRequest::getOwnerId()const -{ - return ownerId_; +void GetMediaDNAResultRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void GetMediaDNAResultRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string GetMediaDNAResultRequest::getOwnerId() const { + return ownerId_; } -std::string GetMediaDNAResultRequest::getMediaId()const -{ - return mediaId_; +void GetMediaDNAResultRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void GetMediaDNAResultRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +std::string GetMediaDNAResultRequest::getMediaId() const { + return mediaId_; } -std::string GetMediaDNAResultRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetMediaDNAResultRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } -void GetMediaDNAResultRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetMediaDNAResultRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void GetMediaDNAResultRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } diff --git a/vod/src/model/GetMediaDNAResultResult.cc b/vod/src/model/GetMediaDNAResultResult.cc index c9fa9f537..55f34738a 100644 --- a/vod/src/model/GetMediaDNAResultResult.cc +++ b/vod/src/model/GetMediaDNAResultResult.cc @@ -53,15 +53,15 @@ void GetMediaDNAResultResult::parse(const std::string &payload) { DNAResult::VideoDNAItem::DetailItem detailObject; auto inputNode = value["Input"]; - if(!inputNode["Start"].isNull()) - detailObject.input.start = inputNode["Start"].asString(); if(!inputNode["Duration"].isNull()) detailObject.input.duration = inputNode["Duration"].asString(); + if(!inputNode["Start"].isNull()) + detailObject.input.start = inputNode["Start"].asString(); auto duplicationNode = value["Duplication"]; - if(!duplicationNode["Start"].isNull()) - detailObject.duplication.start = duplicationNode["Start"].asString(); if(!duplicationNode["Duration"].isNull()) detailObject.duplication.duration = duplicationNode["Duration"].asString(); + if(!duplicationNode["Start"].isNull()) + detailObject.duplication.start = duplicationNode["Start"].asString(); videoDNAItemObject.detail.push_back(detailObject); } dNAResult_.videoDNA.push_back(videoDNAItemObject); diff --git a/vod/src/model/GetMediaRefreshJobsRequest.cc b/vod/src/model/GetMediaRefreshJobsRequest.cc new file mode 100644 index 000000000..97b2bbb89 --- /dev/null +++ b/vod/src/model/GetMediaRefreshJobsRequest.cc @@ -0,0 +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 + +using AlibabaCloud::Vod::Model::GetMediaRefreshJobsRequest; + +GetMediaRefreshJobsRequest::GetMediaRefreshJobsRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetMediaRefreshJobs") { + setMethod(HttpRequest::Method::Get); +} + +GetMediaRefreshJobsRequest::~GetMediaRefreshJobsRequest() {} + +std::string GetMediaRefreshJobsRequest::getMediaRefreshJobId() const { + return mediaRefreshJobId_; +} + +void GetMediaRefreshJobsRequest::setMediaRefreshJobId(const std::string &mediaRefreshJobId) { + mediaRefreshJobId_ = mediaRefreshJobId; + setParameter(std::string("MediaRefreshJobId"), mediaRefreshJobId); +} + +std::string GetMediaRefreshJobsRequest::getMediaId() const { + return mediaId_; +} + +void GetMediaRefreshJobsRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); +} + diff --git a/vod/src/model/GetMediaRefreshJobsResult.cc b/vod/src/model/GetMediaRefreshJobsResult.cc new file mode 100644 index 000000000..0014a64d3 --- /dev/null +++ b/vod/src/model/GetMediaRefreshJobsResult.cc @@ -0,0 +1,79 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Vod; +using namespace AlibabaCloud::Vod::Model; + +GetMediaRefreshJobsResult::GetMediaRefreshJobsResult() : + ServiceResult() +{} + +GetMediaRefreshJobsResult::GetMediaRefreshJobsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetMediaRefreshJobsResult::~GetMediaRefreshJobsResult() +{} + +void GetMediaRefreshJobsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allMediaRefreshJobsNode = value["MediaRefreshJobs"]["MediaRefreshJob"]; + for (auto valueMediaRefreshJobsMediaRefreshJob : allMediaRefreshJobsNode) + { + MediaRefreshJob mediaRefreshJobsObject; + if(!valueMediaRefreshJobsMediaRefreshJob["MediaRefreshJobId"].isNull()) + mediaRefreshJobsObject.mediaRefreshJobId = valueMediaRefreshJobsMediaRefreshJob["MediaRefreshJobId"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["MediaId"].isNull()) + mediaRefreshJobsObject.mediaId = valueMediaRefreshJobsMediaRefreshJob["MediaId"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["TaskType"].isNull()) + mediaRefreshJobsObject.taskType = valueMediaRefreshJobsMediaRefreshJob["TaskType"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["FilterPolicy"].isNull()) + mediaRefreshJobsObject.filterPolicy = valueMediaRefreshJobsMediaRefreshJob["FilterPolicy"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["Status"].isNull()) + mediaRefreshJobsObject.status = valueMediaRefreshJobsMediaRefreshJob["Status"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["SuccessPlayUrls"].isNull()) + mediaRefreshJobsObject.successPlayUrls = valueMediaRefreshJobsMediaRefreshJob["SuccessPlayUrls"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["TaskIds"].isNull()) + mediaRefreshJobsObject.taskIds = valueMediaRefreshJobsMediaRefreshJob["TaskIds"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["ErrorCode"].isNull()) + mediaRefreshJobsObject.errorCode = valueMediaRefreshJobsMediaRefreshJob["ErrorCode"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["ErrorMessage"].isNull()) + mediaRefreshJobsObject.errorMessage = valueMediaRefreshJobsMediaRefreshJob["ErrorMessage"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["UserData"].isNull()) + mediaRefreshJobsObject.userData = valueMediaRefreshJobsMediaRefreshJob["UserData"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["GmtCreate"].isNull()) + mediaRefreshJobsObject.gmtCreate = valueMediaRefreshJobsMediaRefreshJob["GmtCreate"].asString(); + if(!valueMediaRefreshJobsMediaRefreshJob["GmtModified"].isNull()) + mediaRefreshJobsObject.gmtModified = valueMediaRefreshJobsMediaRefreshJob["GmtModified"].asString(); + mediaRefreshJobs_.push_back(mediaRefreshJobsObject); + } + +} + +std::vector GetMediaRefreshJobsResult::getMediaRefreshJobs()const +{ + return mediaRefreshJobs_; +} + diff --git a/vod/src/model/GetMessageCallbackRequest.cc b/vod/src/model/GetMessageCallbackRequest.cc index b3c9598a3..0af7d5d94 100644 --- a/vod/src/model/GetMessageCallbackRequest.cc +++ b/vod/src/model/GetMessageCallbackRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetMessageCallbackRequest; - -GetMessageCallbackRequest::GetMessageCallbackRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetMessageCallback") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMessageCallbackRequest::~GetMessageCallbackRequest() -{} - -std::string GetMessageCallbackRequest::getOwnerAccount()const -{ - return ownerAccount_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetMessageCallbackRequest; + +GetMessageCallbackRequest::GetMessageCallbackRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetMessageCallback") { + setMethod(HttpRequest::Method::Post); } -void GetMessageCallbackRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +GetMessageCallbackRequest::~GetMessageCallbackRequest() {} + +std::string GetMessageCallbackRequest::getOwnerAccount() const { + return ownerAccount_; } -long GetMessageCallbackRequest::getResourceRealOwnerId()const -{ - return resourceRealOwnerId_; +void GetMessageCallbackRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void GetMessageCallbackRequest::setResourceRealOwnerId(long resourceRealOwnerId) -{ - resourceRealOwnerId_ = resourceRealOwnerId; - setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId)); +long GetMessageCallbackRequest::getResourceRealOwnerId() const { + return resourceRealOwnerId_; } -std::string GetMessageCallbackRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetMessageCallbackRequest::setResourceRealOwnerId(long resourceRealOwnerId) { + resourceRealOwnerId_ = resourceRealOwnerId; + setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId)); } -void GetMessageCallbackRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetMessageCallbackRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string GetMessageCallbackRequest::getAppId()const -{ - return appId_; +void GetMessageCallbackRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetMessageCallbackRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string GetMessageCallbackRequest::getAppId() const { + return appId_; +} + +void GetMessageCallbackRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/vod/src/model/GetMessageCallbackResult.cc b/vod/src/model/GetMessageCallbackResult.cc index 0744b3988..c350f9c54 100644 --- a/vod/src/model/GetMessageCallbackResult.cc +++ b/vod/src/model/GetMessageCallbackResult.cc @@ -46,16 +46,16 @@ void GetMessageCallbackResult::parse(const std::string &payload) messageCallback_.callbackURL = messageCallbackNode["CallbackURL"].asString(); if(!messageCallbackNode["EventTypeList"].isNull()) messageCallback_.eventTypeList = messageCallbackNode["EventTypeList"].asString(); - if(!messageCallbackNode["AuthSwitch"].isNull()) - messageCallback_.authSwitch = messageCallbackNode["AuthSwitch"].asString(); - if(!messageCallbackNode["AuthKey"].isNull()) - messageCallback_.authKey = messageCallbackNode["AuthKey"].asString(); - if(!messageCallbackNode["MnsEndpoint"].isNull()) - messageCallback_.mnsEndpoint = messageCallbackNode["MnsEndpoint"].asString(); - if(!messageCallbackNode["MnsQueueName"].isNull()) - messageCallback_.mnsQueueName = messageCallbackNode["MnsQueueName"].asString(); if(!messageCallbackNode["AppId"].isNull()) messageCallback_.appId = messageCallbackNode["AppId"].asString(); + if(!messageCallbackNode["MnsQueueName"].isNull()) + messageCallback_.mnsQueueName = messageCallbackNode["MnsQueueName"].asString(); + if(!messageCallbackNode["AuthKey"].isNull()) + messageCallback_.authKey = messageCallbackNode["AuthKey"].asString(); + if(!messageCallbackNode["AuthSwitch"].isNull()) + messageCallback_.authSwitch = messageCallbackNode["AuthSwitch"].asString(); + if(!messageCallbackNode["MnsEndpoint"].isNull()) + messageCallback_.mnsEndpoint = messageCallbackNode["MnsEndpoint"].asString(); } diff --git a/vod/src/model/GetMezzanineInfoRequest.cc b/vod/src/model/GetMezzanineInfoRequest.cc index 66247cc8e..deb578ded 100644 --- a/vod/src/model/GetMezzanineInfoRequest.cc +++ b/vod/src/model/GetMezzanineInfoRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetMezzanineInfoRequest; - -GetMezzanineInfoRequest::GetMezzanineInfoRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetMezzanineInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMezzanineInfoRequest::~GetMezzanineInfoRequest() -{} - -std::string GetMezzanineInfoRequest::getOutputType()const -{ - return outputType_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetMezzanineInfoRequest; + +GetMezzanineInfoRequest::GetMezzanineInfoRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetMezzanineInfo") { + setMethod(HttpRequest::Method::Post); } -void GetMezzanineInfoRequest::setOutputType(const std::string& outputType) -{ - outputType_ = outputType; - setParameter("OutputType", outputType); +GetMezzanineInfoRequest::~GetMezzanineInfoRequest() {} + +std::string GetMezzanineInfoRequest::getOutputType() const { + return outputType_; } -long GetMezzanineInfoRequest::getAuthTimeout()const -{ - return authTimeout_; +void GetMezzanineInfoRequest::setOutputType(const std::string &outputType) { + outputType_ = outputType; + setParameter(std::string("OutputType"), outputType); } -void GetMezzanineInfoRequest::setAuthTimeout(long authTimeout) -{ - authTimeout_ = authTimeout; - setParameter("AuthTimeout", std::to_string(authTimeout)); +long GetMezzanineInfoRequest::getAuthTimeout() const { + return authTimeout_; } -std::string GetMezzanineInfoRequest::getVideoId()const -{ - return videoId_; +void GetMezzanineInfoRequest::setAuthTimeout(long authTimeout) { + authTimeout_ = authTimeout; + setParameter(std::string("AuthTimeout"), std::to_string(authTimeout)); } -void GetMezzanineInfoRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string GetMezzanineInfoRequest::getVideoId() const { + return videoId_; } -bool GetMezzanineInfoRequest::getPreviewSegment()const -{ - return previewSegment_; +void GetMezzanineInfoRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void GetMezzanineInfoRequest::setPreviewSegment(bool previewSegment) -{ - previewSegment_ = previewSegment; - setParameter("PreviewSegment", previewSegment ? "true" : "false"); +bool GetMezzanineInfoRequest::getPreviewSegment() const { + return previewSegment_; } -std::string GetMezzanineInfoRequest::getAdditionType()const -{ - return additionType_; +void GetMezzanineInfoRequest::setPreviewSegment(bool previewSegment) { + previewSegment_ = previewSegment; + setParameter(std::string("PreviewSegment"), previewSegment ? "true" : "false"); } -void GetMezzanineInfoRequest::setAdditionType(const std::string& additionType) -{ - additionType_ = additionType; - setParameter("AdditionType", additionType); +std::string GetMezzanineInfoRequest::getAdditionType() const { + return additionType_; +} + +void GetMezzanineInfoRequest::setAdditionType(const std::string &additionType) { + additionType_ = additionType; + setParameter(std::string("AdditionType"), additionType); } diff --git a/vod/src/model/GetPlayInfoRequest.cc b/vod/src/model/GetPlayInfoRequest.cc index d1d50891e..a59fc4abf 100644 --- a/vod/src/model/GetPlayInfoRequest.cc +++ b/vod/src/model/GetPlayInfoRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetPlayInfoRequest; - -GetPlayInfoRequest::GetPlayInfoRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetPlayInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPlayInfoRequest::~GetPlayInfoRequest() -{} - -std::string GetPlayInfoRequest::getFormats()const -{ - return formats_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetPlayInfoRequest; + +GetPlayInfoRequest::GetPlayInfoRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetPlayInfo") { + setMethod(HttpRequest::Method::Post); } -void GetPlayInfoRequest::setFormats(const std::string& formats) -{ - formats_ = formats; - setParameter("Formats", formats); +GetPlayInfoRequest::~GetPlayInfoRequest() {} + +std::string GetPlayInfoRequest::getFormats() const { + return formats_; } -std::string GetPlayInfoRequest::getChannel()const -{ - return channel_; +void GetPlayInfoRequest::setFormats(const std::string &formats) { + formats_ = formats; + setParameter(std::string("Formats"), formats); } -void GetPlayInfoRequest::setChannel(const std::string& channel) -{ - channel_ = channel; - setParameter("Channel", channel); +std::string GetPlayInfoRequest::getChannel() const { + return channel_; } -std::string GetPlayInfoRequest::getPlayerVersion()const -{ - return playerVersion_; +void GetPlayInfoRequest::setChannel(const std::string &channel) { + channel_ = channel; + setParameter(std::string("Channel"), channel); } -void GetPlayInfoRequest::setPlayerVersion(const std::string& playerVersion) -{ - playerVersion_ = playerVersion; - setParameter("PlayerVersion", playerVersion); +std::string GetPlayInfoRequest::getPlayerVersion() const { + return playerVersion_; } -std::string GetPlayInfoRequest::getRand()const -{ - return rand_; +void GetPlayInfoRequest::setPlayerVersion(const std::string &playerVersion) { + playerVersion_ = playerVersion; + setParameter(std::string("PlayerVersion"), playerVersion); } -void GetPlayInfoRequest::setRand(const std::string& rand) -{ - rand_ = rand; - setParameter("Rand", rand); +std::string GetPlayInfoRequest::getRand() const { + return rand_; } -std::string GetPlayInfoRequest::getReAuthInfo()const -{ - return reAuthInfo_; +void GetPlayInfoRequest::setRand(const std::string &rand) { + rand_ = rand; + setParameter(std::string("Rand"), rand); } -void GetPlayInfoRequest::setReAuthInfo(const std::string& reAuthInfo) -{ - reAuthInfo_ = reAuthInfo; - setParameter("ReAuthInfo", reAuthInfo); +std::string GetPlayInfoRequest::getReAuthInfo() const { + return reAuthInfo_; } -std::string GetPlayInfoRequest::getPlayConfig()const -{ - return playConfig_; +void GetPlayInfoRequest::setReAuthInfo(const std::string &reAuthInfo) { + reAuthInfo_ = reAuthInfo; + setParameter(std::string("ReAuthInfo"), reAuthInfo); } -void GetPlayInfoRequest::setPlayConfig(const std::string& playConfig) -{ - playConfig_ = playConfig; - setParameter("PlayConfig", playConfig); +std::string GetPlayInfoRequest::getPlayConfig() const { + return playConfig_; } -std::string GetPlayInfoRequest::getOutputType()const -{ - return outputType_; +void GetPlayInfoRequest::setPlayConfig(const std::string &playConfig) { + playConfig_ = playConfig; + setParameter(std::string("PlayConfig"), playConfig); } -void GetPlayInfoRequest::setOutputType(const std::string& outputType) -{ - outputType_ = outputType; - setParameter("OutputType", outputType); +std::string GetPlayInfoRequest::getOutputType() const { + return outputType_; } -std::string GetPlayInfoRequest::getDefinition()const -{ - return definition_; +void GetPlayInfoRequest::setOutputType(const std::string &outputType) { + outputType_ = outputType; + setParameter(std::string("OutputType"), outputType); } -void GetPlayInfoRequest::setDefinition(const std::string& definition) -{ - definition_ = definition; - setParameter("Definition", definition); +std::string GetPlayInfoRequest::getDefinition() const { + return definition_; } -long GetPlayInfoRequest::getAuthTimeout()const -{ - return authTimeout_; +void GetPlayInfoRequest::setDefinition(const std::string &definition) { + definition_ = definition; + setParameter(std::string("Definition"), definition); } -void GetPlayInfoRequest::setAuthTimeout(long authTimeout) -{ - authTimeout_ = authTimeout; - setParameter("AuthTimeout", std::to_string(authTimeout)); +long GetPlayInfoRequest::getAuthTimeout() const { + return authTimeout_; } -std::string GetPlayInfoRequest::getStreamType()const -{ - return streamType_; +void GetPlayInfoRequest::setAuthTimeout(long authTimeout) { + authTimeout_ = authTimeout; + setParameter(std::string("AuthTimeout"), std::to_string(authTimeout)); } -void GetPlayInfoRequest::setStreamType(const std::string& streamType) -{ - streamType_ = streamType; - setParameter("StreamType", streamType); +std::string GetPlayInfoRequest::getStreamType() const { + return streamType_; } -std::string GetPlayInfoRequest::getVideoId()const -{ - return videoId_; +void GetPlayInfoRequest::setStreamType(const std::string &streamType) { + streamType_ = streamType; + setParameter(std::string("StreamType"), streamType); } -void GetPlayInfoRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string GetPlayInfoRequest::getVideoId() const { + return videoId_; } -std::string GetPlayInfoRequest::getResultType()const -{ - return resultType_; +void GetPlayInfoRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void GetPlayInfoRequest::setResultType(const std::string& resultType) -{ - resultType_ = resultType; - setParameter("ResultType", resultType); +std::string GetPlayInfoRequest::getResultType() const { + return resultType_; } -std::string GetPlayInfoRequest::getAdditionType()const -{ - return additionType_; +void GetPlayInfoRequest::setResultType(const std::string &resultType) { + resultType_ = resultType; + setParameter(std::string("ResultType"), resultType); } -void GetPlayInfoRequest::setAdditionType(const std::string& additionType) -{ - additionType_ = additionType; - setParameter("AdditionType", additionType); +std::string GetPlayInfoRequest::getAdditionType() const { + return additionType_; } -std::string GetPlayInfoRequest::getAuthInfo()const -{ - return authInfo_; +void GetPlayInfoRequest::setAdditionType(const std::string &additionType) { + additionType_ = additionType; + setParameter(std::string("AdditionType"), additionType); } -void GetPlayInfoRequest::setAuthInfo(const std::string& authInfo) -{ - authInfo_ = authInfo; - setParameter("AuthInfo", authInfo); +std::string GetPlayInfoRequest::getAuthInfo() const { + return authInfo_; +} + +void GetPlayInfoRequest::setAuthInfo(const std::string &authInfo) { + authInfo_ = authInfo; + setParameter(std::string("AuthInfo"), authInfo); } diff --git a/vod/src/model/GetTranscodeSummaryRequest.cc b/vod/src/model/GetTranscodeSummaryRequest.cc index 6e5f6db3c..a7afd98b4 100644 --- a/vod/src/model/GetTranscodeSummaryRequest.cc +++ b/vod/src/model/GetTranscodeSummaryRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetTranscodeSummaryRequest; - -GetTranscodeSummaryRequest::GetTranscodeSummaryRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetTranscodeSummary") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTranscodeSummaryRequest::~GetTranscodeSummaryRequest() -{} - -std::string GetTranscodeSummaryRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetTranscodeSummaryRequest; + +GetTranscodeSummaryRequest::GetTranscodeSummaryRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetTranscodeSummary") { + setMethod(HttpRequest::Method::Post); } -void GetTranscodeSummaryRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +GetTranscodeSummaryRequest::~GetTranscodeSummaryRequest() {} + +std::string GetTranscodeSummaryRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string GetTranscodeSummaryRequest::getVideoIds()const -{ - return videoIds_; +void GetTranscodeSummaryRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetTranscodeSummaryRequest::setVideoIds(const std::string& videoIds) -{ - videoIds_ = videoIds; - setParameter("VideoIds", videoIds); +std::string GetTranscodeSummaryRequest::getVideoIds() const { + return videoIds_; +} + +void GetTranscodeSummaryRequest::setVideoIds(const std::string &videoIds) { + videoIds_ = videoIds; + setParameter(std::string("VideoIds"), videoIds); } diff --git a/vod/src/model/GetTranscodeSummaryResult.cc b/vod/src/model/GetTranscodeSummaryResult.cc index 0244fb047..e8a3f77a0 100644 --- a/vod/src/model/GetTranscodeSummaryResult.cc +++ b/vod/src/model/GetTranscodeSummaryResult.cc @@ -43,54 +43,54 @@ void GetTranscodeSummaryResult::parse(const std::string &payload) for (auto valueTranscodeSummaryListTranscodeSummary : allTranscodeSummaryListNode) { TranscodeSummary transcodeSummaryListObject; - if(!valueTranscodeSummaryListTranscodeSummary["VideoId"].isNull()) - transcodeSummaryListObject.videoId = valueTranscodeSummaryListTranscodeSummary["VideoId"].asString(); - if(!valueTranscodeSummaryListTranscodeSummary["TranscodeStatus"].isNull()) - transcodeSummaryListObject.transcodeStatus = valueTranscodeSummaryListTranscodeSummary["TranscodeStatus"].asString(); if(!valueTranscodeSummaryListTranscodeSummary["CreationTime"].isNull()) transcodeSummaryListObject.creationTime = valueTranscodeSummaryListTranscodeSummary["CreationTime"].asString(); - if(!valueTranscodeSummaryListTranscodeSummary["CompleteTime"].isNull()) - transcodeSummaryListObject.completeTime = valueTranscodeSummaryListTranscodeSummary["CompleteTime"].asString(); if(!valueTranscodeSummaryListTranscodeSummary["Trigger"].isNull()) transcodeSummaryListObject.trigger = valueTranscodeSummaryListTranscodeSummary["Trigger"].asString(); + if(!valueTranscodeSummaryListTranscodeSummary["VideoId"].isNull()) + transcodeSummaryListObject.videoId = valueTranscodeSummaryListTranscodeSummary["VideoId"].asString(); + if(!valueTranscodeSummaryListTranscodeSummary["CompleteTime"].isNull()) + transcodeSummaryListObject.completeTime = valueTranscodeSummaryListTranscodeSummary["CompleteTime"].asString(); + if(!valueTranscodeSummaryListTranscodeSummary["TranscodeStatus"].isNull()) + transcodeSummaryListObject.transcodeStatus = valueTranscodeSummaryListTranscodeSummary["TranscodeStatus"].asString(); if(!valueTranscodeSummaryListTranscodeSummary["TranscodeTemplateGroupId"].isNull()) transcodeSummaryListObject.transcodeTemplateGroupId = valueTranscodeSummaryListTranscodeSummary["TranscodeTemplateGroupId"].asString(); auto allTranscodeJobInfoSummaryListNode = valueTranscodeSummaryListTranscodeSummary["TranscodeJobInfoSummaryList"]["TranscodeJobInfoSummary"]; for (auto valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary : allTranscodeJobInfoSummaryListNode) { TranscodeSummary::TranscodeJobInfoSummary transcodeJobInfoSummaryListObject; - if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeTemplateId"].isNull()) - transcodeJobInfoSummaryListObject.transcodeTemplateId = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeTemplateId"].asString(); - if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeJobStatus"].isNull()) - transcodeJobInfoSummaryListObject.transcodeJobStatus = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeJobStatus"].asString(); if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["CreationTime"].isNull()) transcodeJobInfoSummaryListObject.creationTime = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["CreationTime"].asString(); - if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["CompleteTime"].isNull()) - transcodeJobInfoSummaryListObject.completeTime = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["CompleteTime"].asString(); - if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeProgress"].isNull()) - transcodeJobInfoSummaryListObject.transcodeProgress = std::stol(valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeProgress"].asString()); - if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["ErrorCode"].isNull()) - transcodeJobInfoSummaryListObject.errorCode = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["ErrorCode"].asString(); if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["ErrorMessage"].isNull()) transcodeJobInfoSummaryListObject.errorMessage = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["ErrorMessage"].asString(); - if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Definition"].isNull()) - transcodeJobInfoSummaryListObject.definition = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Definition"].asString(); if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Encryption"].isNull()) transcodeJobInfoSummaryListObject.encryption = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Encryption"].asString(); - if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Width"].isNull()) - transcodeJobInfoSummaryListObject.width = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Width"].asString(); if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Height"].isNull()) transcodeJobInfoSummaryListObject.height = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Height"].asString(); + if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeProgress"].isNull()) + transcodeJobInfoSummaryListObject.transcodeProgress = std::stol(valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeProgress"].asString()); + if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeTemplateId"].isNull()) + transcodeJobInfoSummaryListObject.transcodeTemplateId = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeTemplateId"].asString(); if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Bitrate"].isNull()) transcodeJobInfoSummaryListObject.bitrate = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Bitrate"].asString(); - if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Fps"].isNull()) - transcodeJobInfoSummaryListObject.fps = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Fps"].asString(); - if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Format"].isNull()) - transcodeJobInfoSummaryListObject.format = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Format"].asString(); + if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Definition"].isNull()) + transcodeJobInfoSummaryListObject.definition = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Definition"].asString(); + if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["ErrorCode"].isNull()) + transcodeJobInfoSummaryListObject.errorCode = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["ErrorCode"].asString(); + if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["CompleteTime"].isNull()) + transcodeJobInfoSummaryListObject.completeTime = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["CompleteTime"].asString(); + if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Width"].isNull()) + transcodeJobInfoSummaryListObject.width = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Width"].asString(); if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Duration"].isNull()) transcodeJobInfoSummaryListObject.duration = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Duration"].asString(); + if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Fps"].isNull()) + transcodeJobInfoSummaryListObject.fps = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Fps"].asString(); + if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeJobStatus"].isNull()) + transcodeJobInfoSummaryListObject.transcodeJobStatus = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["TranscodeJobStatus"].asString(); if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Filesize"].isNull()) transcodeJobInfoSummaryListObject.filesize = std::stol(valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Filesize"].asString()); + if(!valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Format"].isNull()) + transcodeJobInfoSummaryListObject.format = valueTranscodeSummaryListTranscodeSummaryTranscodeJobInfoSummaryListTranscodeJobInfoSummary["Format"].asString(); auto allWatermarkIdList = value["WatermarkIdList"]["WatermarkId"]; for (auto value : allWatermarkIdList) transcodeJobInfoSummaryListObject.watermarkIdList.push_back(value.asString()); diff --git a/vod/src/model/GetTranscodeTaskRequest.cc b/vod/src/model/GetTranscodeTaskRequest.cc index da79dda7f..f2e602a64 100644 --- a/vod/src/model/GetTranscodeTaskRequest.cc +++ b/vod/src/model/GetTranscodeTaskRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetTranscodeTaskRequest; - -GetTranscodeTaskRequest::GetTranscodeTaskRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetTranscodeTask") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTranscodeTaskRequest::~GetTranscodeTaskRequest() -{} - -std::string GetTranscodeTaskRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetTranscodeTaskRequest; + +GetTranscodeTaskRequest::GetTranscodeTaskRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetTranscodeTask") { + setMethod(HttpRequest::Method::Post); } -void GetTranscodeTaskRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +GetTranscodeTaskRequest::~GetTranscodeTaskRequest() {} + +std::string GetTranscodeTaskRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string GetTranscodeTaskRequest::getTranscodeTaskId()const -{ - return transcodeTaskId_; +void GetTranscodeTaskRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetTranscodeTaskRequest::setTranscodeTaskId(const std::string& transcodeTaskId) -{ - transcodeTaskId_ = transcodeTaskId; - setParameter("TranscodeTaskId", transcodeTaskId); +std::string GetTranscodeTaskRequest::getTranscodeTaskId() const { + return transcodeTaskId_; +} + +void GetTranscodeTaskRequest::setTranscodeTaskId(const std::string &transcodeTaskId) { + transcodeTaskId_ = transcodeTaskId; + setParameter(std::string("TranscodeTaskId"), transcodeTaskId); } diff --git a/vod/src/model/GetTranscodeTaskResult.cc b/vod/src/model/GetTranscodeTaskResult.cc index b801a2c62..b44ecd555 100644 --- a/vod/src/model/GetTranscodeTaskResult.cc +++ b/vod/src/model/GetTranscodeTaskResult.cc @@ -40,71 +40,71 @@ void GetTranscodeTaskResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto transcodeTaskNode = value["TranscodeTask"]; - if(!transcodeTaskNode["TranscodeTaskId"].isNull()) - transcodeTask_.transcodeTaskId = transcodeTaskNode["TranscodeTaskId"].asString(); - if(!transcodeTaskNode["VideoId"].isNull()) - transcodeTask_.videoId = transcodeTaskNode["VideoId"].asString(); - if(!transcodeTaskNode["TaskStatus"].isNull()) - transcodeTask_.taskStatus = transcodeTaskNode["TaskStatus"].asString(); if(!transcodeTaskNode["CreationTime"].isNull()) transcodeTask_.creationTime = transcodeTaskNode["CreationTime"].asString(); - if(!transcodeTaskNode["CompleteTime"].isNull()) - transcodeTask_.completeTime = transcodeTaskNode["CompleteTime"].asString(); if(!transcodeTaskNode["Trigger"].isNull()) transcodeTask_.trigger = transcodeTaskNode["Trigger"].asString(); + if(!transcodeTaskNode["TaskStatus"].isNull()) + transcodeTask_.taskStatus = transcodeTaskNode["TaskStatus"].asString(); + if(!transcodeTaskNode["VideoId"].isNull()) + transcodeTask_.videoId = transcodeTaskNode["VideoId"].asString(); + if(!transcodeTaskNode["CompleteTime"].isNull()) + transcodeTask_.completeTime = transcodeTaskNode["CompleteTime"].asString(); if(!transcodeTaskNode["TranscodeTemplateGroupId"].isNull()) transcodeTask_.transcodeTemplateGroupId = transcodeTaskNode["TranscodeTemplateGroupId"].asString(); + if(!transcodeTaskNode["TranscodeTaskId"].isNull()) + transcodeTask_.transcodeTaskId = transcodeTaskNode["TranscodeTaskId"].asString(); auto allTranscodeJobInfoListNode = transcodeTaskNode["TranscodeJobInfoList"]["TranscodeJobInfo"]; for (auto transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo : allTranscodeJobInfoListNode) { TranscodeTask::TranscodeJobInfo transcodeJobInfoObject; - if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeJobId"].isNull()) - transcodeJobInfoObject.transcodeJobId = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeJobId"].asString(); - if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeTemplateId"].isNull()) - transcodeJobInfoObject.transcodeTemplateId = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeTemplateId"].asString(); - if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeJobStatus"].isNull()) - transcodeJobInfoObject.transcodeJobStatus = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeJobStatus"].asString(); + if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["Definition"].isNull()) + transcodeJobInfoObject.definition = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["Definition"].asString(); if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["CreationTime"].isNull()) transcodeJobInfoObject.creationTime = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["CreationTime"].asString(); + if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["InputFileUrl"].isNull()) + transcodeJobInfoObject.inputFileUrl = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["InputFileUrl"].asString(); + if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["ErrorMessage"].isNull()) + transcodeJobInfoObject.errorMessage = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["ErrorMessage"].asString(); + if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["ErrorCode"].isNull()) + transcodeJobInfoObject.errorCode = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["ErrorCode"].asString(); if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["CompleteTime"].isNull()) transcodeJobInfoObject.completeTime = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["CompleteTime"].asString(); if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeProgress"].isNull()) transcodeJobInfoObject.transcodeProgress = std::stol(transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeProgress"].asString()); - if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["InputFileUrl"].isNull()) - transcodeJobInfoObject.inputFileUrl = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["InputFileUrl"].asString(); if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["Priority"].isNull()) transcodeJobInfoObject.priority = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["Priority"].asString(); - if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["ErrorCode"].isNull()) - transcodeJobInfoObject.errorCode = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["ErrorCode"].asString(); - if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["ErrorMessage"].isNull()) - transcodeJobInfoObject.errorMessage = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["ErrorMessage"].asString(); - if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["Definition"].isNull()) - transcodeJobInfoObject.definition = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["Definition"].asString(); + if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeJobStatus"].isNull()) + transcodeJobInfoObject.transcodeJobStatus = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeJobStatus"].asString(); + if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeTemplateId"].isNull()) + transcodeJobInfoObject.transcodeTemplateId = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeTemplateId"].asString(); + if(!transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeJobId"].isNull()) + transcodeJobInfoObject.transcodeJobId = transcodeTaskNodeTranscodeJobInfoListTranscodeJobInfo["TranscodeJobId"].asString(); auto outputFileNode = value["OutputFile"]; - if(!outputFileNode["Width"].isNull()) - transcodeJobInfoObject.outputFile.width = outputFileNode["Width"].asString(); - if(!outputFileNode["Height"].isNull()) - transcodeJobInfoObject.outputFile.height = outputFileNode["Height"].asString(); - if(!outputFileNode["Bitrate"].isNull()) - transcodeJobInfoObject.outputFile.bitrate = outputFileNode["Bitrate"].asString(); - if(!outputFileNode["Fps"].isNull()) - transcodeJobInfoObject.outputFile.fps = outputFileNode["Fps"].asString(); - if(!outputFileNode["Format"].isNull()) - transcodeJobInfoObject.outputFile.format = outputFileNode["Format"].asString(); - if(!outputFileNode["Duration"].isNull()) - transcodeJobInfoObject.outputFile.duration = outputFileNode["Duration"].asString(); - if(!outputFileNode["Filesize"].isNull()) - transcodeJobInfoObject.outputFile.filesize = std::stol(outputFileNode["Filesize"].asString()); - if(!outputFileNode["Encryption"].isNull()) - transcodeJobInfoObject.outputFile.encryption = outputFileNode["Encryption"].asString(); - if(!outputFileNode["AudioStreamList"].isNull()) - transcodeJobInfoObject.outputFile.audioStreamList = outputFileNode["AudioStreamList"].asString(); if(!outputFileNode["VideoStreamList"].isNull()) transcodeJobInfoObject.outputFile.videoStreamList = outputFileNode["VideoStreamList"].asString(); - if(!outputFileNode["SubtitleStreamList"].isNull()) - transcodeJobInfoObject.outputFile.subtitleStreamList = outputFileNode["SubtitleStreamList"].asString(); if(!outputFileNode["OutputFileUrl"].isNull()) transcodeJobInfoObject.outputFile.outputFileUrl = outputFileNode["OutputFileUrl"].asString(); + if(!outputFileNode["Encryption"].isNull()) + transcodeJobInfoObject.outputFile.encryption = outputFileNode["Encryption"].asString(); + if(!outputFileNode["Height"].isNull()) + transcodeJobInfoObject.outputFile.height = outputFileNode["Height"].asString(); + if(!outputFileNode["SubtitleStreamList"].isNull()) + transcodeJobInfoObject.outputFile.subtitleStreamList = outputFileNode["SubtitleStreamList"].asString(); + if(!outputFileNode["Bitrate"].isNull()) + transcodeJobInfoObject.outputFile.bitrate = outputFileNode["Bitrate"].asString(); + if(!outputFileNode["AudioStreamList"].isNull()) + transcodeJobInfoObject.outputFile.audioStreamList = outputFileNode["AudioStreamList"].asString(); + if(!outputFileNode["Width"].isNull()) + transcodeJobInfoObject.outputFile.width = outputFileNode["Width"].asString(); + if(!outputFileNode["Fps"].isNull()) + transcodeJobInfoObject.outputFile.fps = outputFileNode["Fps"].asString(); + if(!outputFileNode["Duration"].isNull()) + transcodeJobInfoObject.outputFile.duration = outputFileNode["Duration"].asString(); + if(!outputFileNode["Format"].isNull()) + transcodeJobInfoObject.outputFile.format = outputFileNode["Format"].asString(); + if(!outputFileNode["Filesize"].isNull()) + transcodeJobInfoObject.outputFile.filesize = std::stol(outputFileNode["Filesize"].asString()); auto allWatermarkIdList = outputFileNode["WatermarkIdList"]["WatermarkId"]; for (auto value : allWatermarkIdList) transcodeJobInfoObject.outputFile.watermarkIdList.push_back(value.asString()); diff --git a/vod/src/model/GetTranscodeTemplateGroupRequest.cc b/vod/src/model/GetTranscodeTemplateGroupRequest.cc index 8e258594a..e26558096 100644 --- a/vod/src/model/GetTranscodeTemplateGroupRequest.cc +++ b/vod/src/model/GetTranscodeTemplateGroupRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetTranscodeTemplateGroupRequest; - -GetTranscodeTemplateGroupRequest::GetTranscodeTemplateGroupRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetTranscodeTemplateGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTranscodeTemplateGroupRequest::~GetTranscodeTemplateGroupRequest() -{} - -std::string GetTranscodeTemplateGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetTranscodeTemplateGroupRequest; + +GetTranscodeTemplateGroupRequest::GetTranscodeTemplateGroupRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetTranscodeTemplateGroup") { + setMethod(HttpRequest::Method::Post); } -void GetTranscodeTemplateGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +GetTranscodeTemplateGroupRequest::~GetTranscodeTemplateGroupRequest() {} + +std::string GetTranscodeTemplateGroupRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string GetTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId()const -{ - return transcodeTemplateGroupId_; +void GetTranscodeTemplateGroupRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId) -{ - transcodeTemplateGroupId_ = transcodeTemplateGroupId; - setParameter("TranscodeTemplateGroupId", transcodeTemplateGroupId); +std::string GetTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId() const { + return transcodeTemplateGroupId_; +} + +void GetTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string &transcodeTemplateGroupId) { + transcodeTemplateGroupId_ = transcodeTemplateGroupId; + setParameter(std::string("TranscodeTemplateGroupId"), transcodeTemplateGroupId); } diff --git a/vod/src/model/GetTranscodeTemplateGroupResult.cc b/vod/src/model/GetTranscodeTemplateGroupResult.cc index d2bcb9dd1..300d30b83 100644 --- a/vod/src/model/GetTranscodeTemplateGroupResult.cc +++ b/vod/src/model/GetTranscodeTemplateGroupResult.cc @@ -42,60 +42,60 @@ void GetTranscodeTemplateGroupResult::parse(const std::string &payload) auto transcodeTemplateGroupNode = value["TranscodeTemplateGroup"]; if(!transcodeTemplateGroupNode["CreationTime"].isNull()) transcodeTemplateGroup_.creationTime = transcodeTemplateGroupNode["CreationTime"].asString(); - if(!transcodeTemplateGroupNode["ModifyTime"].isNull()) - transcodeTemplateGroup_.modifyTime = transcodeTemplateGroupNode["ModifyTime"].asString(); - if(!transcodeTemplateGroupNode["Name"].isNull()) - transcodeTemplateGroup_.name = transcodeTemplateGroupNode["Name"].asString(); - if(!transcodeTemplateGroupNode["IsDefault"].isNull()) - transcodeTemplateGroup_.isDefault = transcodeTemplateGroupNode["IsDefault"].asString(); - if(!transcodeTemplateGroupNode["Locked"].isNull()) - transcodeTemplateGroup_.locked = transcodeTemplateGroupNode["Locked"].asString(); if(!transcodeTemplateGroupNode["TranscodeMode"].isNull()) transcodeTemplateGroup_.transcodeMode = transcodeTemplateGroupNode["TranscodeMode"].asString(); + if(!transcodeTemplateGroupNode["IsDefault"].isNull()) + transcodeTemplateGroup_.isDefault = transcodeTemplateGroupNode["IsDefault"].asString(); if(!transcodeTemplateGroupNode["AppId"].isNull()) transcodeTemplateGroup_.appId = transcodeTemplateGroupNode["AppId"].asString(); if(!transcodeTemplateGroupNode["TranscodeTemplateGroupId"].isNull()) transcodeTemplateGroup_.transcodeTemplateGroupId = transcodeTemplateGroupNode["TranscodeTemplateGroupId"].asString(); + if(!transcodeTemplateGroupNode["Name"].isNull()) + transcodeTemplateGroup_.name = transcodeTemplateGroupNode["Name"].asString(); + if(!transcodeTemplateGroupNode["ModifyTime"].isNull()) + transcodeTemplateGroup_.modifyTime = transcodeTemplateGroupNode["ModifyTime"].asString(); + if(!transcodeTemplateGroupNode["Locked"].isNull()) + transcodeTemplateGroup_.locked = transcodeTemplateGroupNode["Locked"].asString(); auto allTranscodeTemplateListNode = transcodeTemplateGroupNode["TranscodeTemplateList"]["TranscodeTemplate"]; for (auto transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate : allTranscodeTemplateListNode) { TranscodeTemplateGroup::TranscodeTemplate transcodeTemplateObject; - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TranscodeTemplateId"].isNull()) - transcodeTemplateObject.transcodeTemplateId = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TranscodeTemplateId"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Video"].isNull()) - transcodeTemplateObject.video = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Video"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Audio"].isNull()) - transcodeTemplateObject.audio = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Audio"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Container"].isNull()) - transcodeTemplateObject.container = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Container"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["MuxConfig"].isNull()) - transcodeTemplateObject.muxConfig = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["MuxConfig"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TransConfig"].isNull()) - transcodeTemplateObject.transConfig = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TransConfig"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Definition"].isNull()) - transcodeTemplateObject.definition = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Definition"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["EncryptSetting"].isNull()) - transcodeTemplateObject.encryptSetting = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["EncryptSetting"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["PackageSetting"].isNull()) - transcodeTemplateObject.packageSetting = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["PackageSetting"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["SubtitleList"].isNull()) - transcodeTemplateObject.subtitleList = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["SubtitleList"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["OpeningList"].isNull()) - transcodeTemplateObject.openingList = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["OpeningList"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TailSlateList"].isNull()) - transcodeTemplateObject.tailSlateList = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TailSlateList"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TemplateName"].isNull()) - transcodeTemplateObject.templateName = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TemplateName"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TranscodeFileRegular"].isNull()) - transcodeTemplateObject.transcodeFileRegular = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TranscodeFileRegular"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Clip"].isNull()) - transcodeTemplateObject.clip = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Clip"].asString(); - if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Rotate"].isNull()) - transcodeTemplateObject.rotate = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Rotate"].asString(); if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Type"].isNull()) transcodeTemplateObject.type = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Type"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Video"].isNull()) + transcodeTemplateObject.video = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Video"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TransConfig"].isNull()) + transcodeTemplateObject.transConfig = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TransConfig"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Rotate"].isNull()) + transcodeTemplateObject.rotate = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Rotate"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TranscodeTemplateId"].isNull()) + transcodeTemplateObject.transcodeTemplateId = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TranscodeTemplateId"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TemplateName"].isNull()) + transcodeTemplateObject.templateName = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TemplateName"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["EncryptSetting"].isNull()) + transcodeTemplateObject.encryptSetting = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["EncryptSetting"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Audio"].isNull()) + transcodeTemplateObject.audio = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Audio"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TranscodeFileRegular"].isNull()) + transcodeTemplateObject.transcodeFileRegular = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TranscodeFileRegular"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Container"].isNull()) + transcodeTemplateObject.container = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Container"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Clip"].isNull()) + transcodeTemplateObject.clip = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Clip"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Definition"].isNull()) + transcodeTemplateObject.definition = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["Definition"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["PackageSetting"].isNull()) + transcodeTemplateObject.packageSetting = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["PackageSetting"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["OpeningList"].isNull()) + transcodeTemplateObject.openingList = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["OpeningList"].asString(); if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["UserData"].isNull()) transcodeTemplateObject.userData = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["UserData"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["SubtitleList"].isNull()) + transcodeTemplateObject.subtitleList = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["SubtitleList"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["MuxConfig"].isNull()) + transcodeTemplateObject.muxConfig = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["MuxConfig"].asString(); + if(!transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TailSlateList"].isNull()) + transcodeTemplateObject.tailSlateList = transcodeTemplateGroupNodeTranscodeTemplateListTranscodeTemplate["TailSlateList"].asString(); auto allWatermarkIds = value["WatermarkIds"]["WatermarkId"]; for (auto value : allWatermarkIds) transcodeTemplateObject.watermarkIds.push_back(value.asString()); diff --git a/vod/src/model/GetURLUploadInfosRequest.cc b/vod/src/model/GetURLUploadInfosRequest.cc index e7ce3299e..828e3dbe7 100644 --- a/vod/src/model/GetURLUploadInfosRequest.cc +++ b/vod/src/model/GetURLUploadInfosRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetURLUploadInfosRequest; - -GetURLUploadInfosRequest::GetURLUploadInfosRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetURLUploadInfos") -{ - setMethod(HttpRequest::Method::Post); -} - -GetURLUploadInfosRequest::~GetURLUploadInfosRequest() -{} - -std::string GetURLUploadInfosRequest::getJobIds()const -{ - return jobIds_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetURLUploadInfosRequest; + +GetURLUploadInfosRequest::GetURLUploadInfosRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetURLUploadInfos") { + setMethod(HttpRequest::Method::Post); } -void GetURLUploadInfosRequest::setJobIds(const std::string& jobIds) -{ - jobIds_ = jobIds; - setParameter("JobIds", jobIds); +GetURLUploadInfosRequest::~GetURLUploadInfosRequest() {} + +std::string GetURLUploadInfosRequest::getJobIds() const { + return jobIds_; } -std::string GetURLUploadInfosRequest::getUploadURLs()const -{ - return uploadURLs_; +void GetURLUploadInfosRequest::setJobIds(const std::string &jobIds) { + jobIds_ = jobIds; + setParameter(std::string("JobIds"), jobIds); } -void GetURLUploadInfosRequest::setUploadURLs(const std::string& uploadURLs) -{ - uploadURLs_ = uploadURLs; - setParameter("UploadURLs", uploadURLs); +std::string GetURLUploadInfosRequest::getUploadURLs() const { + return uploadURLs_; +} + +void GetURLUploadInfosRequest::setUploadURLs(const std::string &uploadURLs) { + uploadURLs_ = uploadURLs; + setParameter(std::string("UploadURLs"), uploadURLs); } diff --git a/vod/src/model/GetUploadDetailsRequest.cc b/vod/src/model/GetUploadDetailsRequest.cc index 9b14ddee5..03d8ee6ed 100644 --- a/vod/src/model/GetUploadDetailsRequest.cc +++ b/vod/src/model/GetUploadDetailsRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetUploadDetailsRequest; - -GetUploadDetailsRequest::GetUploadDetailsRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetUploadDetails") -{ - setMethod(HttpRequest::Method::Post); -} - -GetUploadDetailsRequest::~GetUploadDetailsRequest() -{} - -long GetUploadDetailsRequest::getResourceRealOwnerId()const -{ - return resourceRealOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetUploadDetailsRequest; + +GetUploadDetailsRequest::GetUploadDetailsRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetUploadDetails") { + setMethod(HttpRequest::Method::Post); } -void GetUploadDetailsRequest::setResourceRealOwnerId(long resourceRealOwnerId) -{ - resourceRealOwnerId_ = resourceRealOwnerId; - setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId)); +GetUploadDetailsRequest::~GetUploadDetailsRequest() {} + +long GetUploadDetailsRequest::getResourceRealOwnerId() const { + return resourceRealOwnerId_; } -std::string GetUploadDetailsRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetUploadDetailsRequest::setResourceRealOwnerId(long resourceRealOwnerId) { + resourceRealOwnerId_ = resourceRealOwnerId; + setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId)); } -void GetUploadDetailsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetUploadDetailsRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string GetUploadDetailsRequest::getMediaIds()const -{ - return mediaIds_; +void GetUploadDetailsRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetUploadDetailsRequest::setMediaIds(const std::string& mediaIds) -{ - mediaIds_ = mediaIds; - setParameter("MediaIds", mediaIds); +std::string GetUploadDetailsRequest::getMediaIds() const { + return mediaIds_; } -std::string GetUploadDetailsRequest::getMediaType()const -{ - return mediaType_; +void GetUploadDetailsRequest::setMediaIds(const std::string &mediaIds) { + mediaIds_ = mediaIds; + setParameter(std::string("MediaIds"), mediaIds); } -void GetUploadDetailsRequest::setMediaType(const std::string& mediaType) -{ - mediaType_ = mediaType; - setParameter("MediaType", mediaType); +std::string GetUploadDetailsRequest::getMediaType() const { + return mediaType_; +} + +void GetUploadDetailsRequest::setMediaType(const std::string &mediaType) { + mediaType_ = mediaType; + setParameter(std::string("MediaType"), mediaType); } diff --git a/vod/src/model/GetUploadDetailsResult.cc b/vod/src/model/GetUploadDetailsResult.cc index 2b73cc72a..da08ba906 100644 --- a/vod/src/model/GetUploadDetailsResult.cc +++ b/vod/src/model/GetUploadDetailsResult.cc @@ -43,40 +43,40 @@ void GetUploadDetailsResult::parse(const std::string &payload) for (auto valueUploadDetailsUploadDetail : allUploadDetailsNode) { UploadDetail uploadDetailsObject; - if(!valueUploadDetailsUploadDetail["MediaId"].isNull()) - uploadDetailsObject.mediaId = valueUploadDetailsUploadDetail["MediaId"].asString(); - if(!valueUploadDetailsUploadDetail["Title"].isNull()) - uploadDetailsObject.title = valueUploadDetailsUploadDetail["Title"].asString(); - if(!valueUploadDetailsUploadDetail["FileSize"].isNull()) - uploadDetailsObject.fileSize = std::stol(valueUploadDetailsUploadDetail["FileSize"].asString()); if(!valueUploadDetailsUploadDetail["Status"].isNull()) uploadDetailsObject.status = valueUploadDetailsUploadDetail["Status"].asString(); - if(!valueUploadDetailsUploadDetail["UploadStatus"].isNull()) - uploadDetailsObject.uploadStatus = valueUploadDetailsUploadDetail["UploadStatus"].asString(); if(!valueUploadDetailsUploadDetail["CreationTime"].isNull()) uploadDetailsObject.creationTime = valueUploadDetailsUploadDetail["CreationTime"].asString(); + if(!valueUploadDetailsUploadDetail["UploadSource"].isNull()) + uploadDetailsObject.uploadSource = valueUploadDetailsUploadDetail["UploadSource"].asString(); + if(!valueUploadDetailsUploadDetail["UploadIP"].isNull()) + uploadDetailsObject.uploadIP = valueUploadDetailsUploadDetail["UploadIP"].asString(); + if(!valueUploadDetailsUploadDetail["DeviceModel"].isNull()) + uploadDetailsObject.deviceModel = valueUploadDetailsUploadDetail["DeviceModel"].asString(); if(!valueUploadDetailsUploadDetail["ModificationTime"].isNull()) uploadDetailsObject.modificationTime = valueUploadDetailsUploadDetail["ModificationTime"].asString(); if(!valueUploadDetailsUploadDetail["CompletionTime"].isNull()) uploadDetailsObject.completionTime = valueUploadDetailsUploadDetail["CompletionTime"].asString(); + if(!valueUploadDetailsUploadDetail["MediaId"].isNull()) + uploadDetailsObject.mediaId = valueUploadDetailsUploadDetail["MediaId"].asString(); if(!valueUploadDetailsUploadDetail["UploadSize"].isNull()) uploadDetailsObject.uploadSize = std::stol(valueUploadDetailsUploadDetail["UploadSize"].asString()); if(!valueUploadDetailsUploadDetail["UploadRatio"].isNull()) uploadDetailsObject.uploadRatio = std::stof(valueUploadDetailsUploadDetail["UploadRatio"].asString()); - if(!valueUploadDetailsUploadDetail["UploadIP"].isNull()) - uploadDetailsObject.uploadIP = valueUploadDetailsUploadDetail["UploadIP"].asString(); - if(!valueUploadDetailsUploadDetail["UploadSource"].isNull()) - uploadDetailsObject.uploadSource = valueUploadDetailsUploadDetail["UploadSource"].asString(); - if(!valueUploadDetailsUploadDetail["DeviceModel"].isNull()) - uploadDetailsObject.deviceModel = valueUploadDetailsUploadDetail["DeviceModel"].asString(); + if(!valueUploadDetailsUploadDetail["UploadStatus"].isNull()) + uploadDetailsObject.uploadStatus = valueUploadDetailsUploadDetail["UploadStatus"].asString(); + if(!valueUploadDetailsUploadDetail["Title"].isNull()) + uploadDetailsObject.title = valueUploadDetailsUploadDetail["Title"].asString(); + if(!valueUploadDetailsUploadDetail["FileSize"].isNull()) + uploadDetailsObject.fileSize = std::stol(valueUploadDetailsUploadDetail["FileSize"].asString()); uploadDetails_.push_back(uploadDetailsObject); } - auto allNonExistMediaIds = value["NonExistMediaIds"]["MediaId"]; - for (const auto &item : allNonExistMediaIds) - nonExistMediaIds_.push_back(item.asString()); auto allForbiddenMediaIds = value["ForbiddenMediaIds"]["MediaId"]; for (const auto &item : allForbiddenMediaIds) forbiddenMediaIds_.push_back(item.asString()); + auto allNonExistMediaIds = value["NonExistMediaIds"]["MediaId"]; + for (const auto &item : allNonExistMediaIds) + nonExistMediaIds_.push_back(item.asString()); } diff --git a/vod/src/model/GetVideoInfoRequest.cc b/vod/src/model/GetVideoInfoRequest.cc index f842c8725..437c00ff4 100644 --- a/vod/src/model/GetVideoInfoRequest.cc +++ b/vod/src/model/GetVideoInfoRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetVideoInfoRequest; - -GetVideoInfoRequest::GetVideoInfoRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetVideoInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetVideoInfoRequest::~GetVideoInfoRequest() -{} - -std::string GetVideoInfoRequest::getVideoId()const -{ - return videoId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetVideoInfoRequest; + +GetVideoInfoRequest::GetVideoInfoRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetVideoInfo") { + setMethod(HttpRequest::Method::Post); } -void GetVideoInfoRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +GetVideoInfoRequest::~GetVideoInfoRequest() {} + +std::string GetVideoInfoRequest::getVideoId() const { + return videoId_; } -std::string GetVideoInfoRequest::getAdditionType()const -{ - return additionType_; +void GetVideoInfoRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void GetVideoInfoRequest::setAdditionType(const std::string& additionType) -{ - additionType_ = additionType; - setParameter("AdditionType", additionType); +std::string GetVideoInfoRequest::getAdditionType() const { + return additionType_; } -std::string GetVideoInfoRequest::getResultTypes()const -{ - return resultTypes_; +void GetVideoInfoRequest::setAdditionType(const std::string &additionType) { + additionType_ = additionType; + setParameter(std::string("AdditionType"), additionType); } -void GetVideoInfoRequest::setResultTypes(const std::string& resultTypes) -{ - resultTypes_ = resultTypes; - setParameter("ResultTypes", resultTypes); +std::string GetVideoInfoRequest::getResultTypes() const { + return resultTypes_; +} + +void GetVideoInfoRequest::setResultTypes(const std::string &resultTypes) { + resultTypes_ = resultTypes; + setParameter(std::string("ResultTypes"), resultTypes); } diff --git a/vod/src/model/GetVideoInfoResult.cc b/vod/src/model/GetVideoInfoResult.cc index 51c4a96fa..4d826b22b 100644 --- a/vod/src/model/GetVideoInfoResult.cc +++ b/vod/src/model/GetVideoInfoResult.cc @@ -40,50 +40,50 @@ void GetVideoInfoResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto videoNode = value["Video"]; - if(!videoNode["VideoId"].isNull()) - video_.videoId = videoNode["VideoId"].asString(); - if(!videoNode["Title"].isNull()) - video_.title = videoNode["Title"].asString(); - if(!videoNode["Tags"].isNull()) - video_.tags = videoNode["Tags"].asString(); - if(!videoNode["Status"].isNull()) - video_.status = videoNode["Status"].asString(); - if(!videoNode["Size"].isNull()) - video_.size = std::stol(videoNode["Size"].asString()); - if(!videoNode["Duration"].isNull()) - video_.duration = std::stof(videoNode["Duration"].asString()); - if(!videoNode["Description"].isNull()) - video_.description = videoNode["Description"].asString(); - if(!videoNode["CreateTime"].isNull()) - video_.createTime = videoNode["CreateTime"].asString(); - if(!videoNode["ModifyTime"].isNull()) - video_.modifyTime = videoNode["ModifyTime"].asString(); - if(!videoNode["ModificationTime"].isNull()) - video_.modificationTime = videoNode["ModificationTime"].asString(); - if(!videoNode["CreationTime"].isNull()) - video_.creationTime = videoNode["CreationTime"].asString(); - if(!videoNode["CoverURL"].isNull()) - video_.coverURL = videoNode["CoverURL"].asString(); - if(!videoNode["CateId"].isNull()) - video_.cateId = std::stol(videoNode["CateId"].asString()); - if(!videoNode["CateName"].isNull()) - video_.cateName = videoNode["CateName"].asString(); - if(!videoNode["DownloadSwitch"].isNull()) - video_.downloadSwitch = videoNode["DownloadSwitch"].asString(); - if(!videoNode["TemplateGroupId"].isNull()) - video_.templateGroupId = videoNode["TemplateGroupId"].asString(); - if(!videoNode["PreprocessStatus"].isNull()) - video_.preprocessStatus = videoNode["PreprocessStatus"].asString(); if(!videoNode["StorageLocation"].isNull()) video_.storageLocation = videoNode["StorageLocation"].asString(); + if(!videoNode["CreationTime"].isNull()) + video_.creationTime = videoNode["CreationTime"].asString(); + if(!videoNode["Status"].isNull()) + video_.status = videoNode["Status"].asString(); + if(!videoNode["CateId"].isNull()) + video_.cateId = std::stol(videoNode["CateId"].asString()); + if(!videoNode["VideoId"].isNull()) + video_.videoId = videoNode["VideoId"].asString(); + if(!videoNode["CreateTime"].isNull()) + video_.createTime = videoNode["CreateTime"].asString(); + if(!videoNode["DownloadSwitch"].isNull()) + video_.downloadSwitch = videoNode["DownloadSwitch"].asString(); + if(!videoNode["Tags"].isNull()) + video_.tags = videoNode["Tags"].asString(); + if(!videoNode["ModificationTime"].isNull()) + video_.modificationTime = videoNode["ModificationTime"].asString(); if(!videoNode["RegionId"].isNull()) video_.regionId = videoNode["RegionId"].asString(); if(!videoNode["CustomMediaInfo"].isNull()) video_.customMediaInfo = videoNode["CustomMediaInfo"].asString(); - if(!videoNode["AuditStatus"].isNull()) - video_.auditStatus = videoNode["AuditStatus"].asString(); + if(!videoNode["CateName"].isNull()) + video_.cateName = videoNode["CateName"].asString(); + if(!videoNode["Description"].isNull()) + video_.description = videoNode["Description"].asString(); + if(!videoNode["PreprocessStatus"].isNull()) + video_.preprocessStatus = videoNode["PreprocessStatus"].asString(); if(!videoNode["AppId"].isNull()) video_.appId = videoNode["AppId"].asString(); + if(!videoNode["Size"].isNull()) + video_.size = std::stol(videoNode["Size"].asString()); + if(!videoNode["CoverURL"].isNull()) + video_.coverURL = videoNode["CoverURL"].asString(); + if(!videoNode["TemplateGroupId"].isNull()) + video_.templateGroupId = videoNode["TemplateGroupId"].asString(); + if(!videoNode["Duration"].isNull()) + video_.duration = std::stof(videoNode["Duration"].asString()); + if(!videoNode["Title"].isNull()) + video_.title = videoNode["Title"].asString(); + if(!videoNode["AuditStatus"].isNull()) + video_.auditStatus = videoNode["AuditStatus"].asString(); + if(!videoNode["ModifyTime"].isNull()) + video_.modifyTime = videoNode["ModifyTime"].asString(); auto allThumbnailListNode = videoNode["ThumbnailList"]["Thumbnail"]; for (auto videoNodeThumbnailListThumbnail : allThumbnailListNode) { diff --git a/vod/src/model/GetVideoInfosRequest.cc b/vod/src/model/GetVideoInfosRequest.cc index 8703bae98..781255791 100644 --- a/vod/src/model/GetVideoInfosRequest.cc +++ b/vod/src/model/GetVideoInfosRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetVideoInfosRequest; - -GetVideoInfosRequest::GetVideoInfosRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetVideoInfos") -{ - setMethod(HttpRequest::Method::Post); -} - -GetVideoInfosRequest::~GetVideoInfosRequest() -{} - -std::string GetVideoInfosRequest::getAdditionType()const -{ - return additionType_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetVideoInfosRequest; + +GetVideoInfosRequest::GetVideoInfosRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetVideoInfos") { + setMethod(HttpRequest::Method::Post); } -void GetVideoInfosRequest::setAdditionType(const std::string& additionType) -{ - additionType_ = additionType; - setParameter("AdditionType", additionType); +GetVideoInfosRequest::~GetVideoInfosRequest() {} + +std::string GetVideoInfosRequest::getAdditionType() const { + return additionType_; } -std::string GetVideoInfosRequest::getVideoIds()const -{ - return videoIds_; +void GetVideoInfosRequest::setAdditionType(const std::string &additionType) { + additionType_ = additionType; + setParameter(std::string("AdditionType"), additionType); } -void GetVideoInfosRequest::setVideoIds(const std::string& videoIds) -{ - videoIds_ = videoIds; - setParameter("VideoIds", videoIds); +std::string GetVideoInfosRequest::getVideoIds() const { + return videoIds_; +} + +void GetVideoInfosRequest::setVideoIds(const std::string &videoIds) { + videoIds_ = videoIds; + setParameter(std::string("VideoIds"), videoIds); } diff --git a/vod/src/model/GetVideoInfosResult.cc b/vod/src/model/GetVideoInfosResult.cc index fa3a849d4..5e0dadee7 100644 --- a/vod/src/model/GetVideoInfosResult.cc +++ b/vod/src/model/GetVideoInfosResult.cc @@ -43,44 +43,44 @@ void GetVideoInfosResult::parse(const std::string &payload) for (auto valueVideoListVideo : allVideoListNode) { Video videoListObject; - if(!valueVideoListVideo["VideoId"].isNull()) - videoListObject.videoId = valueVideoListVideo["VideoId"].asString(); - if(!valueVideoListVideo["Title"].isNull()) - videoListObject.title = valueVideoListVideo["Title"].asString(); - if(!valueVideoListVideo["Tags"].isNull()) - videoListObject.tags = valueVideoListVideo["Tags"].asString(); - if(!valueVideoListVideo["Status"].isNull()) - videoListObject.status = valueVideoListVideo["Status"].asString(); - if(!valueVideoListVideo["Size"].isNull()) - videoListObject.size = std::stol(valueVideoListVideo["Size"].asString()); - if(!valueVideoListVideo["Duration"].isNull()) - videoListObject.duration = std::stof(valueVideoListVideo["Duration"].asString()); - if(!valueVideoListVideo["Description"].isNull()) - videoListObject.description = valueVideoListVideo["Description"].asString(); - if(!valueVideoListVideo["ModificationTime"].isNull()) - videoListObject.modificationTime = valueVideoListVideo["ModificationTime"].asString(); - if(!valueVideoListVideo["CreationTime"].isNull()) - videoListObject.creationTime = valueVideoListVideo["CreationTime"].asString(); - if(!valueVideoListVideo["CoverURL"].isNull()) - videoListObject.coverURL = valueVideoListVideo["CoverURL"].asString(); - if(!valueVideoListVideo["CateId"].isNull()) - videoListObject.cateId = std::stol(valueVideoListVideo["CateId"].asString()); - if(!valueVideoListVideo["CateName"].isNull()) - videoListObject.cateName = valueVideoListVideo["CateName"].asString(); - if(!valueVideoListVideo["DownloadSwitch"].isNull()) - videoListObject.downloadSwitch = valueVideoListVideo["DownloadSwitch"].asString(); - if(!valueVideoListVideo["TemplateGroupId"].isNull()) - videoListObject.templateGroupId = valueVideoListVideo["TemplateGroupId"].asString(); - if(!valueVideoListVideo["PreprocessStatus"].isNull()) - videoListObject.preprocessStatus = valueVideoListVideo["PreprocessStatus"].asString(); if(!valueVideoListVideo["StorageLocation"].isNull()) videoListObject.storageLocation = valueVideoListVideo["StorageLocation"].asString(); + if(!valueVideoListVideo["CreationTime"].isNull()) + videoListObject.creationTime = valueVideoListVideo["CreationTime"].asString(); + if(!valueVideoListVideo["Status"].isNull()) + videoListObject.status = valueVideoListVideo["Status"].asString(); + if(!valueVideoListVideo["CateId"].isNull()) + videoListObject.cateId = std::stol(valueVideoListVideo["CateId"].asString()); + if(!valueVideoListVideo["VideoId"].isNull()) + videoListObject.videoId = valueVideoListVideo["VideoId"].asString(); + if(!valueVideoListVideo["DownloadSwitch"].isNull()) + videoListObject.downloadSwitch = valueVideoListVideo["DownloadSwitch"].asString(); + if(!valueVideoListVideo["Tags"].isNull()) + videoListObject.tags = valueVideoListVideo["Tags"].asString(); + if(!valueVideoListVideo["ModificationTime"].isNull()) + videoListObject.modificationTime = valueVideoListVideo["ModificationTime"].asString(); if(!valueVideoListVideo["RegionId"].isNull()) videoListObject.regionId = valueVideoListVideo["RegionId"].asString(); if(!valueVideoListVideo["CustomMediaInfo"].isNull()) videoListObject.customMediaInfo = valueVideoListVideo["CustomMediaInfo"].asString(); + if(!valueVideoListVideo["CateName"].isNull()) + videoListObject.cateName = valueVideoListVideo["CateName"].asString(); + if(!valueVideoListVideo["Description"].isNull()) + videoListObject.description = valueVideoListVideo["Description"].asString(); + if(!valueVideoListVideo["PreprocessStatus"].isNull()) + videoListObject.preprocessStatus = valueVideoListVideo["PreprocessStatus"].asString(); if(!valueVideoListVideo["AppId"].isNull()) videoListObject.appId = valueVideoListVideo["AppId"].asString(); + if(!valueVideoListVideo["Size"].isNull()) + videoListObject.size = std::stol(valueVideoListVideo["Size"].asString()); + if(!valueVideoListVideo["CoverURL"].isNull()) + videoListObject.coverURL = valueVideoListVideo["CoverURL"].asString(); + if(!valueVideoListVideo["TemplateGroupId"].isNull()) + videoListObject.templateGroupId = valueVideoListVideo["TemplateGroupId"].asString(); + if(!valueVideoListVideo["Duration"].isNull()) + videoListObject.duration = std::stof(valueVideoListVideo["Duration"].asString()); + if(!valueVideoListVideo["Title"].isNull()) + videoListObject.title = valueVideoListVideo["Title"].asString(); auto allThumbnailListNode = valueVideoListVideo["ThumbnailList"]["Thumbnail"]; for (auto valueVideoListVideoThumbnailListThumbnail : allThumbnailListNode) { diff --git a/vod/src/model/GetVideoListRequest.cc b/vod/src/model/GetVideoListRequest.cc index d6d751fdc..0d9495f46 100644 --- a/vod/src/model/GetVideoListRequest.cc +++ b/vod/src/model/GetVideoListRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetVideoListRequest; - -GetVideoListRequest::GetVideoListRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetVideoList") -{ - setMethod(HttpRequest::Method::Post); -} - -GetVideoListRequest::~GetVideoListRequest() -{} - -std::string GetVideoListRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetVideoListRequest; + +GetVideoListRequest::GetVideoListRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetVideoList") { + setMethod(HttpRequest::Method::Post); } -void GetVideoListRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +GetVideoListRequest::~GetVideoListRequest() {} + +std::string GetVideoListRequest::getStartTime() const { + return startTime_; } -std::string GetVideoListRequest::getStorageLocation()const -{ - return storageLocation_; +void GetVideoListRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void GetVideoListRequest::setStorageLocation(const std::string& storageLocation) -{ - storageLocation_ = storageLocation; - setParameter("StorageLocation", storageLocation); +std::string GetVideoListRequest::getStorageLocation() const { + return storageLocation_; } -long GetVideoListRequest::getCateId()const -{ - return cateId_; +void GetVideoListRequest::setStorageLocation(const std::string &storageLocation) { + storageLocation_ = storageLocation; + setParameter(std::string("StorageLocation"), storageLocation); } -void GetVideoListRequest::setCateId(long cateId) -{ - cateId_ = cateId; - setParameter("CateId", std::to_string(cateId)); +long GetVideoListRequest::getCateId() const { + return cateId_; } -int GetVideoListRequest::getPageSize()const -{ - return pageSize_; +void GetVideoListRequest::setCateId(long cateId) { + cateId_ = cateId; + setParameter(std::string("CateId"), std::to_string(cateId)); } -void GetVideoListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetVideoListRequest::getPageSize() const { + return pageSize_; } -std::string GetVideoListRequest::getEndTime()const -{ - return endTime_; +void GetVideoListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetVideoListRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string GetVideoListRequest::getEndTime() const { + return endTime_; } -int GetVideoListRequest::getPageNo()const -{ - return pageNo_; +void GetVideoListRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void GetVideoListRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int GetVideoListRequest::getPageNo() const { + return pageNo_; } -std::string GetVideoListRequest::getSortBy()const -{ - return sortBy_; +void GetVideoListRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } -void GetVideoListRequest::setSortBy(const std::string& sortBy) -{ - sortBy_ = sortBy; - setParameter("SortBy", sortBy); +std::string GetVideoListRequest::getSortBy() const { + return sortBy_; } -std::string GetVideoListRequest::getStatus()const -{ - return status_; +void GetVideoListRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); } -void GetVideoListRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string GetVideoListRequest::getStatus() const { + return status_; +} + +void GetVideoListRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/vod/src/model/GetVideoListResult.cc b/vod/src/model/GetVideoListResult.cc index c8370b15a..0491068a9 100644 --- a/vod/src/model/GetVideoListResult.cc +++ b/vod/src/model/GetVideoListResult.cc @@ -43,38 +43,38 @@ void GetVideoListResult::parse(const std::string &payload) for (auto valueVideoListVideo : allVideoListNode) { Video videoListObject; - if(!valueVideoListVideo["VideoId"].isNull()) - videoListObject.videoId = valueVideoListVideo["VideoId"].asString(); - if(!valueVideoListVideo["Title"].isNull()) - videoListObject.title = valueVideoListVideo["Title"].asString(); - if(!valueVideoListVideo["Tags"].isNull()) - videoListObject.tags = valueVideoListVideo["Tags"].asString(); - if(!valueVideoListVideo["Status"].isNull()) - videoListObject.status = valueVideoListVideo["Status"].asString(); - if(!valueVideoListVideo["Size"].isNull()) - videoListObject.size = std::stol(valueVideoListVideo["Size"].asString()); - if(!valueVideoListVideo["Duration"].isNull()) - videoListObject.duration = std::stof(valueVideoListVideo["Duration"].asString()); - if(!valueVideoListVideo["Description"].isNull()) - videoListObject.description = valueVideoListVideo["Description"].asString(); - if(!valueVideoListVideo["CreateTime"].isNull()) - videoListObject.createTime = valueVideoListVideo["CreateTime"].asString(); - if(!valueVideoListVideo["ModifyTime"].isNull()) - videoListObject.modifyTime = valueVideoListVideo["ModifyTime"].asString(); - if(!valueVideoListVideo["ModificationTime"].isNull()) - videoListObject.modificationTime = valueVideoListVideo["ModificationTime"].asString(); - if(!valueVideoListVideo["CreationTime"].isNull()) - videoListObject.creationTime = valueVideoListVideo["CreationTime"].asString(); - if(!valueVideoListVideo["CoverURL"].isNull()) - videoListObject.coverURL = valueVideoListVideo["CoverURL"].asString(); - if(!valueVideoListVideo["CateId"].isNull()) - videoListObject.cateId = std::stol(valueVideoListVideo["CateId"].asString()); - if(!valueVideoListVideo["CateName"].isNull()) - videoListObject.cateName = valueVideoListVideo["CateName"].asString(); if(!valueVideoListVideo["StorageLocation"].isNull()) videoListObject.storageLocation = valueVideoListVideo["StorageLocation"].asString(); + if(!valueVideoListVideo["Status"].isNull()) + videoListObject.status = valueVideoListVideo["Status"].asString(); + if(!valueVideoListVideo["CreationTime"].isNull()) + videoListObject.creationTime = valueVideoListVideo["CreationTime"].asString(); + if(!valueVideoListVideo["CateId"].isNull()) + videoListObject.cateId = std::stol(valueVideoListVideo["CateId"].asString()); + if(!valueVideoListVideo["VideoId"].isNull()) + videoListObject.videoId = valueVideoListVideo["VideoId"].asString(); + if(!valueVideoListVideo["CreateTime"].isNull()) + videoListObject.createTime = valueVideoListVideo["CreateTime"].asString(); + if(!valueVideoListVideo["Tags"].isNull()) + videoListObject.tags = valueVideoListVideo["Tags"].asString(); + if(!valueVideoListVideo["ModificationTime"].isNull()) + videoListObject.modificationTime = valueVideoListVideo["ModificationTime"].asString(); + if(!valueVideoListVideo["CateName"].isNull()) + videoListObject.cateName = valueVideoListVideo["CateName"].asString(); + if(!valueVideoListVideo["Description"].isNull()) + videoListObject.description = valueVideoListVideo["Description"].asString(); if(!valueVideoListVideo["AppId"].isNull()) videoListObject.appId = valueVideoListVideo["AppId"].asString(); + if(!valueVideoListVideo["Size"].isNull()) + videoListObject.size = std::stol(valueVideoListVideo["Size"].asString()); + if(!valueVideoListVideo["CoverURL"].isNull()) + videoListObject.coverURL = valueVideoListVideo["CoverURL"].asString(); + if(!valueVideoListVideo["Duration"].isNull()) + videoListObject.duration = std::stof(valueVideoListVideo["Duration"].asString()); + if(!valueVideoListVideo["Title"].isNull()) + videoListObject.title = valueVideoListVideo["Title"].asString(); + if(!valueVideoListVideo["ModifyTime"].isNull()) + videoListObject.modifyTime = valueVideoListVideo["ModifyTime"].asString(); auto allSnapshots = value["Snapshots"]["Snapshot"]; for (auto value : allSnapshots) videoListObject.snapshots.push_back(value.asString()); diff --git a/vod/src/model/GetVideoPlayAuthRequest.cc b/vod/src/model/GetVideoPlayAuthRequest.cc index 4ced81977..90ab2e199 100644 --- a/vod/src/model/GetVideoPlayAuthRequest.cc +++ b/vod/src/model/GetVideoPlayAuthRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetVideoPlayAuthRequest; - -GetVideoPlayAuthRequest::GetVideoPlayAuthRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetVideoPlayAuth") -{ - setMethod(HttpRequest::Method::Post); -} - -GetVideoPlayAuthRequest::~GetVideoPlayAuthRequest() -{} - -std::string GetVideoPlayAuthRequest::getReAuthInfo()const -{ - return reAuthInfo_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetVideoPlayAuthRequest; + +GetVideoPlayAuthRequest::GetVideoPlayAuthRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetVideoPlayAuth") { + setMethod(HttpRequest::Method::Post); } -void GetVideoPlayAuthRequest::setReAuthInfo(const std::string& reAuthInfo) -{ - reAuthInfo_ = reAuthInfo; - setParameter("ReAuthInfo", reAuthInfo); +GetVideoPlayAuthRequest::~GetVideoPlayAuthRequest() {} + +std::string GetVideoPlayAuthRequest::getReAuthInfo() const { + return reAuthInfo_; } -std::string GetVideoPlayAuthRequest::getPlayConfig()const -{ - return playConfig_; +void GetVideoPlayAuthRequest::setReAuthInfo(const std::string &reAuthInfo) { + reAuthInfo_ = reAuthInfo; + setParameter(std::string("ReAuthInfo"), reAuthInfo); } -void GetVideoPlayAuthRequest::setPlayConfig(const std::string& playConfig) -{ - playConfig_ = playConfig; - setParameter("PlayConfig", playConfig); +std::string GetVideoPlayAuthRequest::getPlayConfig() const { + return playConfig_; } -std::string GetVideoPlayAuthRequest::getVideoId()const -{ - return videoId_; +void GetVideoPlayAuthRequest::setPlayConfig(const std::string &playConfig) { + playConfig_ = playConfig; + setParameter(std::string("PlayConfig"), playConfig); } -void GetVideoPlayAuthRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string GetVideoPlayAuthRequest::getVideoId() const { + return videoId_; } -std::string GetVideoPlayAuthRequest::getApiVersion()const -{ - return apiVersion_; +void GetVideoPlayAuthRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void GetVideoPlayAuthRequest::setApiVersion(const std::string& apiVersion) -{ - apiVersion_ = apiVersion; - setParameter("ApiVersion", apiVersion); +std::string GetVideoPlayAuthRequest::getApiVersion() const { + return apiVersion_; } -long GetVideoPlayAuthRequest::getAuthInfoTimeout()const -{ - return authInfoTimeout_; +void GetVideoPlayAuthRequest::setApiVersion(const std::string &apiVersion) { + apiVersion_ = apiVersion; + setParameter(std::string("ApiVersion"), apiVersion); } -void GetVideoPlayAuthRequest::setAuthInfoTimeout(long authInfoTimeout) -{ - authInfoTimeout_ = authInfoTimeout; - setParameter("AuthInfoTimeout", std::to_string(authInfoTimeout)); +long GetVideoPlayAuthRequest::getAuthInfoTimeout() const { + return authInfoTimeout_; +} + +void GetVideoPlayAuthRequest::setAuthInfoTimeout(long authInfoTimeout) { + authInfoTimeout_ = authInfoTimeout; + setParameter(std::string("AuthInfoTimeout"), std::to_string(authInfoTimeout)); } diff --git a/vod/src/model/GetVodTemplateRequest.cc b/vod/src/model/GetVodTemplateRequest.cc index fb39ab496..c92a258a9 100644 --- a/vod/src/model/GetVodTemplateRequest.cc +++ b/vod/src/model/GetVodTemplateRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetVodTemplateRequest; - -GetVodTemplateRequest::GetVodTemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetVodTemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -GetVodTemplateRequest::~GetVodTemplateRequest() -{} - -std::string GetVodTemplateRequest::getVodTemplateId()const -{ - return vodTemplateId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetVodTemplateRequest; + +GetVodTemplateRequest::GetVodTemplateRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetVodTemplate") { + setMethod(HttpRequest::Method::Post); } -void GetVodTemplateRequest::setVodTemplateId(const std::string& vodTemplateId) -{ - vodTemplateId_ = vodTemplateId; - setParameter("VodTemplateId", vodTemplateId); +GetVodTemplateRequest::~GetVodTemplateRequest() {} + +std::string GetVodTemplateRequest::getVodTemplateId() const { + return vodTemplateId_; +} + +void GetVodTemplateRequest::setVodTemplateId(const std::string &vodTemplateId) { + vodTemplateId_ = vodTemplateId; + setParameter(std::string("VodTemplateId"), vodTemplateId); } diff --git a/vod/src/model/GetVodTemplateResult.cc b/vod/src/model/GetVodTemplateResult.cc index d9e665d95..1bea9fd3a 100644 --- a/vod/src/model/GetVodTemplateResult.cc +++ b/vod/src/model/GetVodTemplateResult.cc @@ -40,24 +40,24 @@ void GetVodTemplateResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto vodTemplateInfoNode = value["VodTemplateInfo"]; - if(!vodTemplateInfoNode["Name"].isNull()) - vodTemplateInfo_.name = vodTemplateInfoNode["Name"].asString(); - if(!vodTemplateInfoNode["VodTemplateId"].isNull()) - vodTemplateInfo_.vodTemplateId = vodTemplateInfoNode["VodTemplateId"].asString(); - if(!vodTemplateInfoNode["TemplateType"].isNull()) - vodTemplateInfo_.templateType = vodTemplateInfoNode["TemplateType"].asString(); - if(!vodTemplateInfoNode["SubTemplateType"].isNull()) - vodTemplateInfo_.subTemplateType = vodTemplateInfoNode["SubTemplateType"].asString(); - if(!vodTemplateInfoNode["Source"].isNull()) - vodTemplateInfo_.source = vodTemplateInfoNode["Source"].asString(); - if(!vodTemplateInfoNode["IsDefault"].isNull()) - vodTemplateInfo_.isDefault = vodTemplateInfoNode["IsDefault"].asString(); - if(!vodTemplateInfoNode["TemplateConfig"].isNull()) - vodTemplateInfo_.templateConfig = vodTemplateInfoNode["TemplateConfig"].asString(); if(!vodTemplateInfoNode["CreationTime"].isNull()) vodTemplateInfo_.creationTime = vodTemplateInfoNode["CreationTime"].asString(); + if(!vodTemplateInfoNode["IsDefault"].isNull()) + vodTemplateInfo_.isDefault = vodTemplateInfoNode["IsDefault"].asString(); + if(!vodTemplateInfoNode["TemplateType"].isNull()) + vodTemplateInfo_.templateType = vodTemplateInfoNode["TemplateType"].asString(); + if(!vodTemplateInfoNode["VodTemplateId"].isNull()) + vodTemplateInfo_.vodTemplateId = vodTemplateInfoNode["VodTemplateId"].asString(); + if(!vodTemplateInfoNode["TemplateConfig"].isNull()) + vodTemplateInfo_.templateConfig = vodTemplateInfoNode["TemplateConfig"].asString(); + if(!vodTemplateInfoNode["Source"].isNull()) + vodTemplateInfo_.source = vodTemplateInfoNode["Source"].asString(); + if(!vodTemplateInfoNode["Name"].isNull()) + vodTemplateInfo_.name = vodTemplateInfoNode["Name"].asString(); if(!vodTemplateInfoNode["ModifyTime"].isNull()) vodTemplateInfo_.modifyTime = vodTemplateInfoNode["ModifyTime"].asString(); + if(!vodTemplateInfoNode["SubTemplateType"].isNull()) + vodTemplateInfo_.subTemplateType = vodTemplateInfoNode["SubTemplateType"].asString(); } diff --git a/vod/src/model/GetWatermarkRequest.cc b/vod/src/model/GetWatermarkRequest.cc index 7bfb2e8a3..7f628c4f4 100644 --- a/vod/src/model/GetWatermarkRequest.cc +++ b/vod/src/model/GetWatermarkRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::GetWatermarkRequest; - -GetWatermarkRequest::GetWatermarkRequest() : - RpcServiceRequest("vod", "2017-03-21", "GetWatermark") -{ - setMethod(HttpRequest::Method::Post); -} - -GetWatermarkRequest::~GetWatermarkRequest() -{} - -std::string GetWatermarkRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::GetWatermarkRequest; + +GetWatermarkRequest::GetWatermarkRequest() + : RpcServiceRequest("vod", "2017-03-21", "GetWatermark") { + setMethod(HttpRequest::Method::Post); } -void GetWatermarkRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +GetWatermarkRequest::~GetWatermarkRequest() {} + +std::string GetWatermarkRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string GetWatermarkRequest::getWatermarkId()const -{ - return watermarkId_; +void GetWatermarkRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetWatermarkRequest::setWatermarkId(const std::string& watermarkId) -{ - watermarkId_ = watermarkId; - setParameter("WatermarkId", watermarkId); +std::string GetWatermarkRequest::getWatermarkId() const { + return watermarkId_; +} + +void GetWatermarkRequest::setWatermarkId(const std::string &watermarkId) { + watermarkId_ = watermarkId; + setParameter(std::string("WatermarkId"), watermarkId); } diff --git a/vod/src/model/GetWatermarkResult.cc b/vod/src/model/GetWatermarkResult.cc index a5eaeeb24..5a75b522c 100644 --- a/vod/src/model/GetWatermarkResult.cc +++ b/vod/src/model/GetWatermarkResult.cc @@ -46,16 +46,16 @@ void GetWatermarkResult::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["AppId"].isNull()) watermarkInfo_.appId = watermarkInfoNode["AppId"].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(); } diff --git a/vod/src/model/ListAIImageInfoRequest.cc b/vod/src/model/ListAIImageInfoRequest.cc index e8bceff7e..bcd340b91 100644 --- a/vod/src/model/ListAIImageInfoRequest.cc +++ b/vod/src/model/ListAIImageInfoRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListAIImageInfoRequest; - -ListAIImageInfoRequest::ListAIImageInfoRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListAIImageInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAIImageInfoRequest::~ListAIImageInfoRequest() -{} - -std::string ListAIImageInfoRequest::getVideoId()const -{ - return videoId_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListAIImageInfoRequest; + +ListAIImageInfoRequest::ListAIImageInfoRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListAIImageInfo") { + setMethod(HttpRequest::Method::Post); } -void ListAIImageInfoRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +ListAIImageInfoRequest::~ListAIImageInfoRequest() {} + +std::string ListAIImageInfoRequest::getVideoId() const { + return videoId_; } -std::string ListAIImageInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void ListAIImageInfoRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void ListAIImageInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string ListAIImageInfoRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void ListAIImageInfoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } diff --git a/vod/src/model/ListAIImageInfoResult.cc b/vod/src/model/ListAIImageInfoResult.cc index 1bb48b465..596df5003 100644 --- a/vod/src/model/ListAIImageInfoResult.cc +++ b/vod/src/model/ListAIImageInfoResult.cc @@ -43,24 +43,24 @@ void ListAIImageInfoResult::parse(const std::string &payload) for (auto valueAIImageInfoListAIImageInfo : allAIImageInfoListNode) { AIImageInfo aIImageInfoListObject; - if(!valueAIImageInfoListAIImageInfo["VideoId"].isNull()) - aIImageInfoListObject.videoId = valueAIImageInfoListAIImageInfo["VideoId"].asString(); - if(!valueAIImageInfoListAIImageInfo["AIImageInfoId"].isNull()) - aIImageInfoListObject.aIImageInfoId = valueAIImageInfoListAIImageInfo["AIImageInfoId"].asString(); - if(!valueAIImageInfoListAIImageInfo["JobId"].isNull()) - aIImageInfoListObject.jobId = valueAIImageInfoListAIImageInfo["JobId"].asString(); - if(!valueAIImageInfoListAIImageInfo["FileURL"].isNull()) - aIImageInfoListObject.fileURL = valueAIImageInfoListAIImageInfo["FileURL"].asString(); - if(!valueAIImageInfoListAIImageInfo["Score"].isNull()) - aIImageInfoListObject.score = valueAIImageInfoListAIImageInfo["Score"].asString(); - if(!valueAIImageInfoListAIImageInfo["Time"].isNull()) - aIImageInfoListObject.time = valueAIImageInfoListAIImageInfo["Time"].asString(); - if(!valueAIImageInfoListAIImageInfo["Format"].isNull()) - aIImageInfoListObject.format = valueAIImageInfoListAIImageInfo["Format"].asString(); if(!valueAIImageInfoListAIImageInfo["CreationTime"].isNull()) aIImageInfoListObject.creationTime = valueAIImageInfoListAIImageInfo["CreationTime"].asString(); + if(!valueAIImageInfoListAIImageInfo["AIImageInfoId"].isNull()) + aIImageInfoListObject.aIImageInfoId = valueAIImageInfoListAIImageInfo["AIImageInfoId"].asString(); + if(!valueAIImageInfoListAIImageInfo["Time"].isNull()) + aIImageInfoListObject.time = valueAIImageInfoListAIImageInfo["Time"].asString(); + if(!valueAIImageInfoListAIImageInfo["FileURL"].isNull()) + aIImageInfoListObject.fileURL = valueAIImageInfoListAIImageInfo["FileURL"].asString(); if(!valueAIImageInfoListAIImageInfo["Version"].isNull()) aIImageInfoListObject.version = valueAIImageInfoListAIImageInfo["Version"].asString(); + if(!valueAIImageInfoListAIImageInfo["VideoId"].isNull()) + aIImageInfoListObject.videoId = valueAIImageInfoListAIImageInfo["VideoId"].asString(); + if(!valueAIImageInfoListAIImageInfo["JobId"].isNull()) + aIImageInfoListObject.jobId = valueAIImageInfoListAIImageInfo["JobId"].asString(); + if(!valueAIImageInfoListAIImageInfo["Score"].isNull()) + aIImageInfoListObject.score = valueAIImageInfoListAIImageInfo["Score"].asString(); + if(!valueAIImageInfoListAIImageInfo["Format"].isNull()) + aIImageInfoListObject.format = valueAIImageInfoListAIImageInfo["Format"].asString(); aIImageInfoList_.push_back(aIImageInfoListObject); } diff --git a/vod/src/model/ListAIJobRequest.cc b/vod/src/model/ListAIJobRequest.cc index 90049556c..cd6fbff23 100644 --- a/vod/src/model/ListAIJobRequest.cc +++ b/vod/src/model/ListAIJobRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListAIJobRequest; - -ListAIJobRequest::ListAIJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListAIJob") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAIJobRequest::~ListAIJobRequest() -{} - -std::string ListAIJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListAIJobRequest; + +ListAIJobRequest::ListAIJobRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListAIJob") { + setMethod(HttpRequest::Method::Post); } -void ListAIJobRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +ListAIJobRequest::~ListAIJobRequest() {} + +std::string ListAIJobRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string ListAIJobRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void ListAIJobRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void ListAIJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string ListAIJobRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string ListAIJobRequest::getOwnerAccount()const -{ - return ownerAccount_; +void ListAIJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void ListAIJobRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string ListAIJobRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string ListAIJobRequest::getOwnerId()const -{ - return ownerId_; +void ListAIJobRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void ListAIJobRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string ListAIJobRequest::getOwnerId() const { + return ownerId_; } -std::string ListAIJobRequest::getAccessKeyId()const -{ - return accessKeyId_; +void ListAIJobRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void ListAIJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string ListAIJobRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string ListAIJobRequest::getJobIds()const -{ - return jobIds_; +void ListAIJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void ListAIJobRequest::setJobIds(const std::string& jobIds) -{ - jobIds_ = jobIds; - setParameter("JobIds", jobIds); +std::string ListAIJobRequest::getJobIds() const { + return jobIds_; +} + +void ListAIJobRequest::setJobIds(const std::string &jobIds) { + jobIds_ = jobIds; + setParameter(std::string("JobIds"), jobIds); } diff --git a/vod/src/model/ListAIJobResult.cc b/vod/src/model/ListAIJobResult.cc index 34c574e8d..92c0f9cbd 100644 --- a/vod/src/model/ListAIJobResult.cc +++ b/vod/src/model/ListAIJobResult.cc @@ -43,24 +43,24 @@ void ListAIJobResult::parse(const std::string &payload) for (auto valueAIJobListAIJob : allAIJobListNode) { AIJob aIJobListObject; - if(!valueAIJobListAIJob["JobId"].isNull()) - aIJobListObject.jobId = valueAIJobListAIJob["JobId"].asString(); - if(!valueAIJobListAIJob["MediaId"].isNull()) - aIJobListObject.mediaId = valueAIJobListAIJob["MediaId"].asString(); - if(!valueAIJobListAIJob["Type"].isNull()) - aIJobListObject.type = valueAIJobListAIJob["Type"].asString(); + if(!valueAIJobListAIJob["CreationTime"].isNull()) + aIJobListObject.creationTime = valueAIJobListAIJob["CreationTime"].asString(); if(!valueAIJobListAIJob["Status"].isNull()) aIJobListObject.status = valueAIJobListAIJob["Status"].asString(); + if(!valueAIJobListAIJob["Type"].isNull()) + aIJobListObject.type = valueAIJobListAIJob["Type"].asString(); + if(!valueAIJobListAIJob["Data"].isNull()) + aIJobListObject.data = valueAIJobListAIJob["Data"].asString(); + if(!valueAIJobListAIJob["CompleteTime"].isNull()) + aIJobListObject.completeTime = valueAIJobListAIJob["CompleteTime"].asString(); + if(!valueAIJobListAIJob["JobId"].isNull()) + aIJobListObject.jobId = valueAIJobListAIJob["JobId"].asString(); if(!valueAIJobListAIJob["Code"].isNull()) aIJobListObject.code = valueAIJobListAIJob["Code"].asString(); if(!valueAIJobListAIJob["Message"].isNull()) aIJobListObject.message = valueAIJobListAIJob["Message"].asString(); - if(!valueAIJobListAIJob["CreationTime"].isNull()) - aIJobListObject.creationTime = valueAIJobListAIJob["CreationTime"].asString(); - if(!valueAIJobListAIJob["CompleteTime"].isNull()) - aIJobListObject.completeTime = valueAIJobListAIJob["CompleteTime"].asString(); - if(!valueAIJobListAIJob["Data"].isNull()) - aIJobListObject.data = valueAIJobListAIJob["Data"].asString(); + if(!valueAIJobListAIJob["MediaId"].isNull()) + aIJobListObject.mediaId = valueAIJobListAIJob["MediaId"].asString(); aIJobList_.push_back(aIJobListObject); } auto allNonExistAIJobIds = value["NonExistAIJobIds"]["String"]; diff --git a/vod/src/model/ListAITemplateRequest.cc b/vod/src/model/ListAITemplateRequest.cc index 8bf1d30cd..3cd82976f 100644 --- a/vod/src/model/ListAITemplateRequest.cc +++ b/vod/src/model/ListAITemplateRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListAITemplateRequest; - -ListAITemplateRequest::ListAITemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListAITemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAITemplateRequest::~ListAITemplateRequest() -{} - -std::string ListAITemplateRequest::getTemplateType()const -{ - return templateType_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListAITemplateRequest; + +ListAITemplateRequest::ListAITemplateRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListAITemplate") { + setMethod(HttpRequest::Method::Post); } -void ListAITemplateRequest::setTemplateType(const std::string& templateType) -{ - templateType_ = templateType; - setParameter("TemplateType", templateType); +ListAITemplateRequest::~ListAITemplateRequest() {} + +std::string ListAITemplateRequest::getTemplateType() const { + return templateType_; +} + +void ListAITemplateRequest::setTemplateType(const std::string &templateType) { + templateType_ = templateType; + setParameter(std::string("TemplateType"), templateType); } diff --git a/vod/src/model/ListAITemplateResult.cc b/vod/src/model/ListAITemplateResult.cc index 6cc06ff33..0a97487ca 100644 --- a/vod/src/model/ListAITemplateResult.cc +++ b/vod/src/model/ListAITemplateResult.cc @@ -43,20 +43,20 @@ void ListAITemplateResult::parse(const std::string &payload) for (auto valueTemplateInfoListTemplateInfoListItem : allTemplateInfoListNode) { TemplateInfoListItem templateInfoListObject; - if(!valueTemplateInfoListTemplateInfoListItem["TemplateId"].isNull()) - templateInfoListObject.templateId = valueTemplateInfoListTemplateInfoListItem["TemplateId"].asString(); - if(!valueTemplateInfoListTemplateInfoListItem["TemplateType"].isNull()) - templateInfoListObject.templateType = valueTemplateInfoListTemplateInfoListItem["TemplateType"].asString(); - if(!valueTemplateInfoListTemplateInfoListItem["TemplateName"].isNull()) - templateInfoListObject.templateName = valueTemplateInfoListTemplateInfoListItem["TemplateName"].asString(); - if(!valueTemplateInfoListTemplateInfoListItem["TemplateConfig"].isNull()) - templateInfoListObject.templateConfig = valueTemplateInfoListTemplateInfoListItem["TemplateConfig"].asString(); - if(!valueTemplateInfoListTemplateInfoListItem["Source"].isNull()) - templateInfoListObject.source = valueTemplateInfoListTemplateInfoListItem["Source"].asString(); - if(!valueTemplateInfoListTemplateInfoListItem["IsDefault"].isNull()) - templateInfoListObject.isDefault = valueTemplateInfoListTemplateInfoListItem["IsDefault"].asString(); if(!valueTemplateInfoListTemplateInfoListItem["CreationTime"].isNull()) templateInfoListObject.creationTime = valueTemplateInfoListTemplateInfoListItem["CreationTime"].asString(); + if(!valueTemplateInfoListTemplateInfoListItem["IsDefault"].isNull()) + templateInfoListObject.isDefault = valueTemplateInfoListTemplateInfoListItem["IsDefault"].asString(); + if(!valueTemplateInfoListTemplateInfoListItem["TemplateType"].isNull()) + templateInfoListObject.templateType = valueTemplateInfoListTemplateInfoListItem["TemplateType"].asString(); + if(!valueTemplateInfoListTemplateInfoListItem["TemplateConfig"].isNull()) + templateInfoListObject.templateConfig = valueTemplateInfoListTemplateInfoListItem["TemplateConfig"].asString(); + if(!valueTemplateInfoListTemplateInfoListItem["TemplateName"].isNull()) + templateInfoListObject.templateName = valueTemplateInfoListTemplateInfoListItem["TemplateName"].asString(); + if(!valueTemplateInfoListTemplateInfoListItem["Source"].isNull()) + templateInfoListObject.source = valueTemplateInfoListTemplateInfoListItem["Source"].asString(); + if(!valueTemplateInfoListTemplateInfoListItem["TemplateId"].isNull()) + templateInfoListObject.templateId = valueTemplateInfoListTemplateInfoListItem["TemplateId"].asString(); if(!valueTemplateInfoListTemplateInfoListItem["ModifyTime"].isNull()) templateInfoListObject.modifyTime = valueTemplateInfoListTemplateInfoListItem["ModifyTime"].asString(); templateInfoList_.push_back(templateInfoListObject); diff --git a/vod/src/model/ListAppInfoRequest.cc b/vod/src/model/ListAppInfoRequest.cc index 9182797c9..7588632ae 100644 --- a/vod/src/model/ListAppInfoRequest.cc +++ b/vod/src/model/ListAppInfoRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListAppInfoRequest; - -ListAppInfoRequest::ListAppInfoRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListAppInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAppInfoRequest::~ListAppInfoRequest() -{} - -long ListAppInfoRequest::getResourceRealOwnerId()const -{ - return resourceRealOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListAppInfoRequest; + +ListAppInfoRequest::ListAppInfoRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListAppInfo") { + setMethod(HttpRequest::Method::Post); } -void ListAppInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId) -{ - resourceRealOwnerId_ = resourceRealOwnerId; - setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId)); +ListAppInfoRequest::~ListAppInfoRequest() {} + +long ListAppInfoRequest::getResourceRealOwnerId() const { + return resourceRealOwnerId_; } -std::string ListAppInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void ListAppInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId) { + resourceRealOwnerId_ = resourceRealOwnerId; + setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId)); } -void ListAppInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string ListAppInfoRequest::getAccessKeyId() const { + return accessKeyId_; } -int ListAppInfoRequest::getPageNo()const -{ - return pageNo_; +void ListAppInfoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void ListAppInfoRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int ListAppInfoRequest::getPageNo() const { + return pageNo_; } -int ListAppInfoRequest::getPageSize()const -{ - return pageSize_; +void ListAppInfoRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } -void ListAppInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListAppInfoRequest::getPageSize() const { + return pageSize_; } -std::string ListAppInfoRequest::getStatus()const -{ - return status_; +void ListAppInfoRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListAppInfoRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string ListAppInfoRequest::getStatus() const { + return status_; +} + +void ListAppInfoRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/vod/src/model/ListAppInfoResult.cc b/vod/src/model/ListAppInfoResult.cc index c11436243..e4ef191d8 100644 --- a/vod/src/model/ListAppInfoResult.cc +++ b/vod/src/model/ListAppInfoResult.cc @@ -43,18 +43,18 @@ void ListAppInfoResult::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); diff --git a/vod/src/model/ListAppPoliciesForIdentityRequest.cc b/vod/src/model/ListAppPoliciesForIdentityRequest.cc index 6911a32f2..bed9bee89 100644 --- a/vod/src/model/ListAppPoliciesForIdentityRequest.cc +++ b/vod/src/model/ListAppPoliciesForIdentityRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListAppPoliciesForIdentityRequest; - -ListAppPoliciesForIdentityRequest::ListAppPoliciesForIdentityRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListAppPoliciesForIdentity") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAppPoliciesForIdentityRequest::~ListAppPoliciesForIdentityRequest() -{} - -std::string ListAppPoliciesForIdentityRequest::getIdentityType()const -{ - return identityType_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListAppPoliciesForIdentityRequest; + +ListAppPoliciesForIdentityRequest::ListAppPoliciesForIdentityRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListAppPoliciesForIdentity") { + setMethod(HttpRequest::Method::Post); } -void ListAppPoliciesForIdentityRequest::setIdentityType(const std::string& identityType) -{ - identityType_ = identityType; - setParameter("IdentityType", identityType); +ListAppPoliciesForIdentityRequest::~ListAppPoliciesForIdentityRequest() {} + +std::string ListAppPoliciesForIdentityRequest::getIdentityType() const { + return identityType_; } -std::string ListAppPoliciesForIdentityRequest::getIdentityName()const -{ - return identityName_; +void ListAppPoliciesForIdentityRequest::setIdentityType(const std::string &identityType) { + identityType_ = identityType; + setParameter(std::string("IdentityType"), identityType); } -void ListAppPoliciesForIdentityRequest::setIdentityName(const std::string& identityName) -{ - identityName_ = identityName; - setParameter("IdentityName", identityName); +std::string ListAppPoliciesForIdentityRequest::getIdentityName() const { + return identityName_; } -std::string ListAppPoliciesForIdentityRequest::getAppId()const -{ - return appId_; +void ListAppPoliciesForIdentityRequest::setIdentityName(const std::string &identityName) { + identityName_ = identityName; + setParameter(std::string("IdentityName"), identityName); } -void ListAppPoliciesForIdentityRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string ListAppPoliciesForIdentityRequest::getAppId() const { + return appId_; +} + +void ListAppPoliciesForIdentityRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/vod/src/model/ListAppPoliciesForIdentityResult.cc b/vod/src/model/ListAppPoliciesForIdentityResult.cc index e52037913..c7d1637d4 100644 --- a/vod/src/model/ListAppPoliciesForIdentityResult.cc +++ b/vod/src/model/ListAppPoliciesForIdentityResult.cc @@ -43,20 +43,20 @@ void ListAppPoliciesForIdentityResult::parse(const std::string &payload) for (auto valueAppPolicyListAppPolicy : allAppPolicyListNode) { AppPolicy appPolicyListObject; - if(!valueAppPolicyListAppPolicy["AppId"].isNull()) - appPolicyListObject.appId = valueAppPolicyListAppPolicy["AppId"].asString(); if(!valueAppPolicyListAppPolicy["CreationTime"].isNull()) appPolicyListObject.creationTime = valueAppPolicyListAppPolicy["CreationTime"].asString(); - if(!valueAppPolicyListAppPolicy["PolicyName"].isNull()) - appPolicyListObject.policyName = valueAppPolicyListAppPolicy["PolicyName"].asString(); - if(!valueAppPolicyListAppPolicy["PolicyType"].isNull()) - appPolicyListObject.policyType = valueAppPolicyListAppPolicy["PolicyType"].asString(); - if(!valueAppPolicyListAppPolicy["PolicyValue"].isNull()) - appPolicyListObject.policyValue = valueAppPolicyListAppPolicy["PolicyValue"].asString(); if(!valueAppPolicyListAppPolicy["Description"].isNull()) appPolicyListObject.description = valueAppPolicyListAppPolicy["Description"].asString(); + if(!valueAppPolicyListAppPolicy["AppId"].isNull()) + appPolicyListObject.appId = valueAppPolicyListAppPolicy["AppId"].asString(); + if(!valueAppPolicyListAppPolicy["PolicyValue"].isNull()) + appPolicyListObject.policyValue = valueAppPolicyListAppPolicy["PolicyValue"].asString(); + if(!valueAppPolicyListAppPolicy["PolicyName"].isNull()) + appPolicyListObject.policyName = valueAppPolicyListAppPolicy["PolicyName"].asString(); if(!valueAppPolicyListAppPolicy["ModificationTime"].isNull()) appPolicyListObject.modificationTime = valueAppPolicyListAppPolicy["ModificationTime"].asString(); + if(!valueAppPolicyListAppPolicy["PolicyType"].isNull()) + appPolicyListObject.policyType = valueAppPolicyListAppPolicy["PolicyType"].asString(); appPolicyList_.push_back(appPolicyListObject); } diff --git a/vod/src/model/ListAuditSecurityIpRequest.cc b/vod/src/model/ListAuditSecurityIpRequest.cc index 16851ab45..c74a2aa0c 100644 --- a/vod/src/model/ListAuditSecurityIpRequest.cc +++ b/vod/src/model/ListAuditSecurityIpRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListAuditSecurityIpRequest; - -ListAuditSecurityIpRequest::ListAuditSecurityIpRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListAuditSecurityIp") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAuditSecurityIpRequest::~ListAuditSecurityIpRequest() -{} - -std::string ListAuditSecurityIpRequest::getSecurityGroupName()const -{ - return securityGroupName_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListAuditSecurityIpRequest; + +ListAuditSecurityIpRequest::ListAuditSecurityIpRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListAuditSecurityIp") { + setMethod(HttpRequest::Method::Post); } -void ListAuditSecurityIpRequest::setSecurityGroupName(const std::string& securityGroupName) -{ - securityGroupName_ = securityGroupName; - setParameter("SecurityGroupName", securityGroupName); +ListAuditSecurityIpRequest::~ListAuditSecurityIpRequest() {} + +std::string ListAuditSecurityIpRequest::getSecurityGroupName() const { + return securityGroupName_; +} + +void ListAuditSecurityIpRequest::setSecurityGroupName(const std::string &securityGroupName) { + securityGroupName_ = securityGroupName; + setParameter(std::string("SecurityGroupName"), securityGroupName); } diff --git a/vod/src/model/ListAuditSecurityIpResult.cc b/vod/src/model/ListAuditSecurityIpResult.cc index a9c481c9b..6d887fd6b 100644 --- a/vod/src/model/ListAuditSecurityIpResult.cc +++ b/vod/src/model/ListAuditSecurityIpResult.cc @@ -43,14 +43,14 @@ void ListAuditSecurityIpResult::parse(const std::string &payload) for (auto valueSecurityIpListSecurityIp : allSecurityIpListNode) { SecurityIp securityIpListObject; - if(!valueSecurityIpListSecurityIp["SecurityGroupName"].isNull()) - securityIpListObject.securityGroupName = valueSecurityIpListSecurityIp["SecurityGroupName"].asString(); - if(!valueSecurityIpListSecurityIp["Ips"].isNull()) - securityIpListObject.ips = valueSecurityIpListSecurityIp["Ips"].asString(); if(!valueSecurityIpListSecurityIp["CreationTime"].isNull()) securityIpListObject.creationTime = valueSecurityIpListSecurityIp["CreationTime"].asString(); + if(!valueSecurityIpListSecurityIp["Ips"].isNull()) + securityIpListObject.ips = valueSecurityIpListSecurityIp["Ips"].asString(); if(!valueSecurityIpListSecurityIp["ModificationTime"].isNull()) securityIpListObject.modificationTime = valueSecurityIpListSecurityIp["ModificationTime"].asString(); + if(!valueSecurityIpListSecurityIp["SecurityGroupName"].isNull()) + securityIpListObject.securityGroupName = valueSecurityIpListSecurityIp["SecurityGroupName"].asString(); securityIpList_.push_back(securityIpListObject); } diff --git a/vod/src/model/ListDynamicImageRequest.cc b/vod/src/model/ListDynamicImageRequest.cc index 5ecd7fd48..99cc57729 100644 --- a/vod/src/model/ListDynamicImageRequest.cc +++ b/vod/src/model/ListDynamicImageRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListDynamicImageRequest; - -ListDynamicImageRequest::ListDynamicImageRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListDynamicImage") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDynamicImageRequest::~ListDynamicImageRequest() -{} - -std::string ListDynamicImageRequest::getVideoId()const -{ - return videoId_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListDynamicImageRequest; + +ListDynamicImageRequest::ListDynamicImageRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListDynamicImage") { + setMethod(HttpRequest::Method::Post); } -void ListDynamicImageRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +ListDynamicImageRequest::~ListDynamicImageRequest() {} + +std::string ListDynamicImageRequest::getVideoId() const { + return videoId_; } -std::string ListDynamicImageRequest::getAccessKeyId()const -{ - return accessKeyId_; +void ListDynamicImageRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void ListDynamicImageRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string ListDynamicImageRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void ListDynamicImageRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } diff --git a/vod/src/model/ListDynamicImageResult.cc b/vod/src/model/ListDynamicImageResult.cc index 90a038aaa..4a6c2ca60 100644 --- a/vod/src/model/ListDynamicImageResult.cc +++ b/vod/src/model/ListDynamicImageResult.cc @@ -43,28 +43,28 @@ void ListDynamicImageResult::parse(const std::string &payload) for (auto valueDynamicImageListDynamicImage : allDynamicImageListNode) { DynamicImage dynamicImageListObject; - if(!valueDynamicImageListDynamicImage["VideoId"].isNull()) - dynamicImageListObject.videoId = valueDynamicImageListDynamicImage["VideoId"].asString(); - if(!valueDynamicImageListDynamicImage["DynamicImageId"].isNull()) - dynamicImageListObject.dynamicImageId = valueDynamicImageListDynamicImage["DynamicImageId"].asString(); - if(!valueDynamicImageListDynamicImage["JobId"].isNull()) - dynamicImageListObject.jobId = valueDynamicImageListDynamicImage["JobId"].asString(); + if(!valueDynamicImageListDynamicImage["CreationTime"].isNull()) + dynamicImageListObject.creationTime = valueDynamicImageListDynamicImage["CreationTime"].asString(); if(!valueDynamicImageListDynamicImage["FileURL"].isNull()) dynamicImageListObject.fileURL = valueDynamicImageListDynamicImage["FileURL"].asString(); + if(!valueDynamicImageListDynamicImage["VideoId"].isNull()) + dynamicImageListObject.videoId = valueDynamicImageListDynamicImage["VideoId"].asString(); if(!valueDynamicImageListDynamicImage["Width"].isNull()) dynamicImageListObject.width = valueDynamicImageListDynamicImage["Width"].asString(); + if(!valueDynamicImageListDynamicImage["JobId"].isNull()) + dynamicImageListObject.jobId = valueDynamicImageListDynamicImage["JobId"].asString(); if(!valueDynamicImageListDynamicImage["Height"].isNull()) dynamicImageListObject.height = valueDynamicImageListDynamicImage["Height"].asString(); + if(!valueDynamicImageListDynamicImage["Fps"].isNull()) + dynamicImageListObject.fps = valueDynamicImageListDynamicImage["Fps"].asString(); if(!valueDynamicImageListDynamicImage["Duration"].isNull()) dynamicImageListObject.duration = valueDynamicImageListDynamicImage["Duration"].asString(); if(!valueDynamicImageListDynamicImage["Format"].isNull()) dynamicImageListObject.format = valueDynamicImageListDynamicImage["Format"].asString(); + if(!valueDynamicImageListDynamicImage["DynamicImageId"].isNull()) + dynamicImageListObject.dynamicImageId = valueDynamicImageListDynamicImage["DynamicImageId"].asString(); if(!valueDynamicImageListDynamicImage["FileSize"].isNull()) dynamicImageListObject.fileSize = valueDynamicImageListDynamicImage["FileSize"].asString(); - if(!valueDynamicImageListDynamicImage["Fps"].isNull()) - dynamicImageListObject.fps = valueDynamicImageListDynamicImage["Fps"].asString(); - if(!valueDynamicImageListDynamicImage["CreationTime"].isNull()) - dynamicImageListObject.creationTime = valueDynamicImageListDynamicImage["CreationTime"].asString(); dynamicImageList_.push_back(dynamicImageListObject); } diff --git a/vod/src/model/ListLiveRecordVideoRequest.cc b/vod/src/model/ListLiveRecordVideoRequest.cc index 6843fde4a..808392cf0 100644 --- a/vod/src/model/ListLiveRecordVideoRequest.cc +++ b/vod/src/model/ListLiveRecordVideoRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Vod::Model::ListLiveRecordVideoRequest; - -ListLiveRecordVideoRequest::ListLiveRecordVideoRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListLiveRecordVideo") -{ - setMethod(HttpRequest::Method::Post); -} - -ListLiveRecordVideoRequest::~ListLiveRecordVideoRequest() -{} - -std::string ListLiveRecordVideoRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListLiveRecordVideoRequest; + +ListLiveRecordVideoRequest::ListLiveRecordVideoRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListLiveRecordVideo") { + setMethod(HttpRequest::Method::Post); } -void ListLiveRecordVideoRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +ListLiveRecordVideoRequest::~ListLiveRecordVideoRequest() {} + +std::string ListLiveRecordVideoRequest::getStartTime() const { + return startTime_; } -std::string ListLiveRecordVideoRequest::getAppName()const -{ - return appName_; +void ListLiveRecordVideoRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void ListLiveRecordVideoRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string ListLiveRecordVideoRequest::getAppName() const { + return appName_; } -int ListLiveRecordVideoRequest::getPageSize()const -{ - return pageSize_; +void ListLiveRecordVideoRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void ListLiveRecordVideoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListLiveRecordVideoRequest::getPageSize() const { + return pageSize_; } -std::string ListLiveRecordVideoRequest::getStreamName()const -{ - return streamName_; +void ListLiveRecordVideoRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListLiveRecordVideoRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string ListLiveRecordVideoRequest::getStreamName() const { + return streamName_; } -std::string ListLiveRecordVideoRequest::getQueryType()const -{ - return queryType_; +void ListLiveRecordVideoRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void ListLiveRecordVideoRequest::setQueryType(const std::string& queryType) -{ - queryType_ = queryType; - setParameter("QueryType", queryType); +std::string ListLiveRecordVideoRequest::getQueryType() const { + return queryType_; } -std::string ListLiveRecordVideoRequest::getDomainName()const -{ - return domainName_; +void ListLiveRecordVideoRequest::setQueryType(const std::string &queryType) { + queryType_ = queryType; + setParameter(std::string("QueryType"), queryType); } -void ListLiveRecordVideoRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string ListLiveRecordVideoRequest::getDomainName() const { + return domainName_; } -std::string ListLiveRecordVideoRequest::getEndTime()const -{ - return endTime_; +void ListLiveRecordVideoRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void ListLiveRecordVideoRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string ListLiveRecordVideoRequest::getEndTime() const { + return endTime_; } -int ListLiveRecordVideoRequest::getPageNo()const -{ - return pageNo_; +void ListLiveRecordVideoRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void ListLiveRecordVideoRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int ListLiveRecordVideoRequest::getPageNo() const { + return pageNo_; } -std::string ListLiveRecordVideoRequest::getSortBy()const -{ - return sortBy_; +void ListLiveRecordVideoRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } -void ListLiveRecordVideoRequest::setSortBy(const std::string& sortBy) -{ - sortBy_ = sortBy; - setParameter("SortBy", sortBy); +std::string ListLiveRecordVideoRequest::getSortBy() const { + return sortBy_; +} + +void ListLiveRecordVideoRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); } diff --git a/vod/src/model/ListLiveRecordVideoResult.cc b/vod/src/model/ListLiveRecordVideoResult.cc index 5abe4a161..7b21d1773 100644 --- a/vod/src/model/ListLiveRecordVideoResult.cc +++ b/vod/src/model/ListLiveRecordVideoResult.cc @@ -43,89 +43,89 @@ void ListLiveRecordVideoResult::parse(const std::string &payload) for (auto valueLiveRecordVideoListLiveRecordVideo : allLiveRecordVideoListNode) { LiveRecordVideo liveRecordVideoListObject; - if(!valueLiveRecordVideoListLiveRecordVideo["StreamName"].isNull()) - liveRecordVideoListObject.streamName = valueLiveRecordVideoListLiveRecordVideo["StreamName"].asString(); - if(!valueLiveRecordVideoListLiveRecordVideo["DomainName"].isNull()) - liveRecordVideoListObject.domainName = valueLiveRecordVideoListLiveRecordVideo["DomainName"].asString(); if(!valueLiveRecordVideoListLiveRecordVideo["AppName"].isNull()) liveRecordVideoListObject.appName = valueLiveRecordVideoListLiveRecordVideo["AppName"].asString(); if(!valueLiveRecordVideoListLiveRecordVideo["PlaylistId"].isNull()) liveRecordVideoListObject.playlistId = valueLiveRecordVideoListLiveRecordVideo["PlaylistId"].asString(); - if(!valueLiveRecordVideoListLiveRecordVideo["RecordStartTime"].isNull()) - liveRecordVideoListObject.recordStartTime = valueLiveRecordVideoListLiveRecordVideo["RecordStartTime"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideo["StreamName"].isNull()) + liveRecordVideoListObject.streamName = valueLiveRecordVideoListLiveRecordVideo["StreamName"].asString(); if(!valueLiveRecordVideoListLiveRecordVideo["RecordEndTime"].isNull()) liveRecordVideoListObject.recordEndTime = valueLiveRecordVideoListLiveRecordVideo["RecordEndTime"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideo["RecordStartTime"].isNull()) + liveRecordVideoListObject.recordStartTime = valueLiveRecordVideoListLiveRecordVideo["RecordStartTime"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideo["DomainName"].isNull()) + liveRecordVideoListObject.domainName = valueLiveRecordVideoListLiveRecordVideo["DomainName"].asString(); auto allPlayInfoListNode = valueLiveRecordVideoListLiveRecordVideo["PlayInfoList"]["PlayInfo"]; for (auto valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo : allPlayInfoListNode) { LiveRecordVideo::PlayInfo playInfoListObject; - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Width"].isNull()) - playInfoListObject.width = std::stol(valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Width"].asString()); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Height"].isNull()) - playInfoListObject.height = std::stol(valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Height"].asString()); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Size"].isNull()) - playInfoListObject.size = std::stol(valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Size"].asString()); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["PlayURL"].isNull()) - playInfoListObject.playURL = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["PlayURL"].asString(); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Bitrate"].isNull()) - playInfoListObject.bitrate = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Bitrate"].asString(); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Definition"].isNull()) - playInfoListObject.definition = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Definition"].asString(); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Duration"].isNull()) - playInfoListObject.duration = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Duration"].asString(); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Format"].isNull()) - playInfoListObject.format = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Format"].asString(); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Fps"].isNull()) - playInfoListObject.fps = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Fps"].asString(); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Encrypt"].isNull()) - playInfoListObject.encrypt = std::stol(valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Encrypt"].asString()); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Plaintext"].isNull()) - playInfoListObject.plaintext = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Plaintext"].asString(); if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Complexity"].isNull()) playInfoListObject.complexity = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Complexity"].asString(); - if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["StreamType"].isNull()) - playInfoListObject.streamType = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["StreamType"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Height"].isNull()) + playInfoListObject.height = std::stol(valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Height"].asString()); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Bitrate"].isNull()) + playInfoListObject.bitrate = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Bitrate"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Encrypt"].isNull()) + playInfoListObject.encrypt = std::stol(valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Encrypt"].asString()); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Definition"].isNull()) + playInfoListObject.definition = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Definition"].asString(); if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Rand"].isNull()) playInfoListObject.rand = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Rand"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["StreamType"].isNull()) + playInfoListObject.streamType = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["StreamType"].asString(); if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["JobId"].isNull()) playInfoListObject.jobId = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["JobId"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Width"].isNull()) + playInfoListObject.width = std::stol(valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Width"].asString()); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Size"].isNull()) + playInfoListObject.size = std::stol(valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Size"].asString()); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Plaintext"].isNull()) + playInfoListObject.plaintext = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Plaintext"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["PlayURL"].isNull()) + playInfoListObject.playURL = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["PlayURL"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Duration"].isNull()) + playInfoListObject.duration = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Duration"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Fps"].isNull()) + playInfoListObject.fps = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Fps"].asString(); + if(!valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Format"].isNull()) + playInfoListObject.format = valueLiveRecordVideoListLiveRecordVideoPlayInfoListPlayInfo["Format"].asString(); liveRecordVideoListObject.playInfoList.push_back(playInfoListObject); } auto videoNode = value["Video"]; - if(!videoNode["VideoId"].isNull()) - liveRecordVideoListObject.video.videoId = videoNode["VideoId"].asString(); - if(!videoNode["Title"].isNull()) - liveRecordVideoListObject.video.title = videoNode["Title"].asString(); - if(!videoNode["Tags"].isNull()) - liveRecordVideoListObject.video.tags = videoNode["Tags"].asString(); - if(!videoNode["Status"].isNull()) - liveRecordVideoListObject.video.status = videoNode["Status"].asString(); - if(!videoNode["Size"].isNull()) - liveRecordVideoListObject.video.size = std::stol(videoNode["Size"].asString()); - if(!videoNode["Privilege"].isNull()) - liveRecordVideoListObject.video.privilege = std::stoi(videoNode["Privilege"].asString()); - if(!videoNode["Duration"].isNull()) - liveRecordVideoListObject.video.duration = std::stof(videoNode["Duration"].asString()); - if(!videoNode["Description"].isNull()) - liveRecordVideoListObject.video.description = videoNode["Description"].asString(); - if(!videoNode["CustomerId"].isNull()) - liveRecordVideoListObject.video.customerId = std::stol(videoNode["CustomerId"].asString()); - if(!videoNode["CreateTime"].isNull()) - liveRecordVideoListObject.video.createTime = videoNode["CreateTime"].asString(); if(!videoNode["CreationTime"].isNull()) liveRecordVideoListObject.video.creationTime = videoNode["CreationTime"].asString(); - if(!videoNode["ModifyTime"].isNull()) - liveRecordVideoListObject.video.modifyTime = videoNode["ModifyTime"].asString(); - if(!videoNode["CoverURL"].isNull()) - liveRecordVideoListObject.video.coverURL = videoNode["CoverURL"].asString(); + if(!videoNode["Status"].isNull()) + liveRecordVideoListObject.video.status = videoNode["Status"].asString(); if(!videoNode["CateId"].isNull()) liveRecordVideoListObject.video.cateId = std::stoi(videoNode["CateId"].asString()); - if(!videoNode["CateName"].isNull()) - liveRecordVideoListObject.video.cateName = videoNode["CateName"].asString(); + if(!videoNode["Privilege"].isNull()) + liveRecordVideoListObject.video.privilege = std::stoi(videoNode["Privilege"].asString()); + if(!videoNode["VideoId"].isNull()) + liveRecordVideoListObject.video.videoId = videoNode["VideoId"].asString(); + if(!videoNode["CreateTime"].isNull()) + liveRecordVideoListObject.video.createTime = videoNode["CreateTime"].asString(); if(!videoNode["DownloadSwitch"].isNull()) liveRecordVideoListObject.video.downloadSwitch = videoNode["DownloadSwitch"].asString(); + if(!videoNode["Tags"].isNull()) + liveRecordVideoListObject.video.tags = videoNode["Tags"].asString(); + if(!videoNode["CateName"].isNull()) + liveRecordVideoListObject.video.cateName = videoNode["CateName"].asString(); + if(!videoNode["Description"].isNull()) + liveRecordVideoListObject.video.description = videoNode["Description"].asString(); + if(!videoNode["Size"].isNull()) + liveRecordVideoListObject.video.size = std::stol(videoNode["Size"].asString()); + if(!videoNode["CoverURL"].isNull()) + liveRecordVideoListObject.video.coverURL = videoNode["CoverURL"].asString(); if(!videoNode["TemplateGroupId"].isNull()) liveRecordVideoListObject.video.templateGroupId = videoNode["TemplateGroupId"].asString(); + if(!videoNode["CustomerId"].isNull()) + liveRecordVideoListObject.video.customerId = std::stol(videoNode["CustomerId"].asString()); + if(!videoNode["Duration"].isNull()) + liveRecordVideoListObject.video.duration = std::stof(videoNode["Duration"].asString()); + if(!videoNode["Title"].isNull()) + liveRecordVideoListObject.video.title = videoNode["Title"].asString(); + if(!videoNode["ModifyTime"].isNull()) + liveRecordVideoListObject.video.modifyTime = videoNode["ModifyTime"].asString(); auto allSnapshots = videoNode["Snapshots"]["Snapshot"]; for (auto value : allSnapshots) liveRecordVideoListObject.video.snapshots.push_back(value.asString()); diff --git a/vod/src/model/ListSnapshotsRequest.cc b/vod/src/model/ListSnapshotsRequest.cc index ab04f92f2..c73842c30 100644 --- a/vod/src/model/ListSnapshotsRequest.cc +++ b/vod/src/model/ListSnapshotsRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListSnapshotsRequest; - -ListSnapshotsRequest::ListSnapshotsRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListSnapshots") -{ - setMethod(HttpRequest::Method::Post); -} - -ListSnapshotsRequest::~ListSnapshotsRequest() -{} - -std::string ListSnapshotsRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListSnapshotsRequest; + +ListSnapshotsRequest::ListSnapshotsRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListSnapshots") { + setMethod(HttpRequest::Method::Post); } -void ListSnapshotsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +ListSnapshotsRequest::~ListSnapshotsRequest() {} + +std::string ListSnapshotsRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string ListSnapshotsRequest::getPageSize()const -{ - return pageSize_; +void ListSnapshotsRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void ListSnapshotsRequest::setPageSize(const std::string& pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", pageSize); +std::string ListSnapshotsRequest::getPageSize() const { + return pageSize_; } -std::string ListSnapshotsRequest::getAuthTimeout()const -{ - return authTimeout_; +void ListSnapshotsRequest::setPageSize(const std::string &pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), pageSize); } -void ListSnapshotsRequest::setAuthTimeout(const std::string& authTimeout) -{ - authTimeout_ = authTimeout; - setParameter("AuthTimeout", authTimeout); +std::string ListSnapshotsRequest::getAuthTimeout() const { + return authTimeout_; } -std::string ListSnapshotsRequest::getVideoId()const -{ - return videoId_; +void ListSnapshotsRequest::setAuthTimeout(const std::string &authTimeout) { + authTimeout_ = authTimeout; + setParameter(std::string("AuthTimeout"), authTimeout); } -void ListSnapshotsRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string ListSnapshotsRequest::getVideoId() const { + return videoId_; } -std::string ListSnapshotsRequest::getSnapshotType()const -{ - return snapshotType_; +void ListSnapshotsRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void ListSnapshotsRequest::setSnapshotType(const std::string& snapshotType) -{ - snapshotType_ = snapshotType; - setParameter("SnapshotType", snapshotType); +std::string ListSnapshotsRequest::getSnapshotType() const { + return snapshotType_; } -std::string ListSnapshotsRequest::getPageNo()const -{ - return pageNo_; +void ListSnapshotsRequest::setSnapshotType(const std::string &snapshotType) { + snapshotType_ = snapshotType; + setParameter(std::string("SnapshotType"), snapshotType); } -void ListSnapshotsRequest::setPageNo(const std::string& pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", pageNo); +std::string ListSnapshotsRequest::getPageNo() const { + return pageNo_; +} + +void ListSnapshotsRequest::setPageNo(const std::string &pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), pageNo); } diff --git a/vod/src/model/ListSnapshotsResult.cc b/vod/src/model/ListSnapshotsResult.cc index 226fd73fa..ff45d5b62 100644 --- a/vod/src/model/ListSnapshotsResult.cc +++ b/vod/src/model/ListSnapshotsResult.cc @@ -40,12 +40,12 @@ void ListSnapshotsResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto mediaSnapshotNode = value["MediaSnapshot"]; - if(!mediaSnapshotNode["Total"].isNull()) - mediaSnapshot_.total = std::stol(mediaSnapshotNode["Total"].asString()); - if(!mediaSnapshotNode["Regular"].isNull()) - mediaSnapshot_.regular = mediaSnapshotNode["Regular"].asString(); if(!mediaSnapshotNode["CreationTime"].isNull()) mediaSnapshot_.creationTime = mediaSnapshotNode["CreationTime"].asString(); + if(!mediaSnapshotNode["Regular"].isNull()) + mediaSnapshot_.regular = mediaSnapshotNode["Regular"].asString(); + if(!mediaSnapshotNode["Total"].isNull()) + mediaSnapshot_.total = std::stol(mediaSnapshotNode["Total"].asString()); if(!mediaSnapshotNode["JobId"].isNull()) mediaSnapshot_.jobId = mediaSnapshotNode["JobId"].asString(); auto allSnapshotsNode = mediaSnapshotNode["Snapshots"]["Snapshot"]; diff --git a/vod/src/model/ListTranscodeTaskRequest.cc b/vod/src/model/ListTranscodeTaskRequest.cc index f775c70cb..2624c3d29 100644 --- a/vod/src/model/ListTranscodeTaskRequest.cc +++ b/vod/src/model/ListTranscodeTaskRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListTranscodeTaskRequest; - -ListTranscodeTaskRequest::ListTranscodeTaskRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListTranscodeTask") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTranscodeTaskRequest::~ListTranscodeTaskRequest() -{} - -std::string ListTranscodeTaskRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListTranscodeTaskRequest; + +ListTranscodeTaskRequest::ListTranscodeTaskRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListTranscodeTask") { + setMethod(HttpRequest::Method::Post); } -void ListTranscodeTaskRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +ListTranscodeTaskRequest::~ListTranscodeTaskRequest() {} + +std::string ListTranscodeTaskRequest::getStartTime() const { + return startTime_; } -std::string ListTranscodeTaskRequest::getAccessKeyId()const -{ - return accessKeyId_; +void ListTranscodeTaskRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void ListTranscodeTaskRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string ListTranscodeTaskRequest::getAccessKeyId() const { + return accessKeyId_; } -int ListTranscodeTaskRequest::getPageSize()const -{ - return pageSize_; +void ListTranscodeTaskRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void ListTranscodeTaskRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListTranscodeTaskRequest::getPageSize() const { + return pageSize_; } -std::string ListTranscodeTaskRequest::getEndTime()const -{ - return endTime_; +void ListTranscodeTaskRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListTranscodeTaskRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string ListTranscodeTaskRequest::getEndTime() const { + return endTime_; } -std::string ListTranscodeTaskRequest::getVideoId()const -{ - return videoId_; +void ListTranscodeTaskRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void ListTranscodeTaskRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string ListTranscodeTaskRequest::getVideoId() const { + return videoId_; } -int ListTranscodeTaskRequest::getPageNo()const -{ - return pageNo_; +void ListTranscodeTaskRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void ListTranscodeTaskRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int ListTranscodeTaskRequest::getPageNo() const { + return pageNo_; +} + +void ListTranscodeTaskRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } diff --git a/vod/src/model/ListTranscodeTaskResult.cc b/vod/src/model/ListTranscodeTaskResult.cc index ea0f9588f..49b963c1a 100644 --- a/vod/src/model/ListTranscodeTaskResult.cc +++ b/vod/src/model/ListTranscodeTaskResult.cc @@ -43,20 +43,20 @@ void ListTranscodeTaskResult::parse(const std::string &payload) for (auto valueTranscodeTaskListTranscodeTask : allTranscodeTaskListNode) { TranscodeTask transcodeTaskListObject; - if(!valueTranscodeTaskListTranscodeTask["TranscodeTaskId"].isNull()) - transcodeTaskListObject.transcodeTaskId = valueTranscodeTaskListTranscodeTask["TranscodeTaskId"].asString(); - if(!valueTranscodeTaskListTranscodeTask["VideoId"].isNull()) - transcodeTaskListObject.videoId = valueTranscodeTaskListTranscodeTask["VideoId"].asString(); - if(!valueTranscodeTaskListTranscodeTask["TaskStatus"].isNull()) - transcodeTaskListObject.taskStatus = valueTranscodeTaskListTranscodeTask["TaskStatus"].asString(); - if(!valueTranscodeTaskListTranscodeTask["TranscodeTemplateGroupId"].isNull()) - transcodeTaskListObject.transcodeTemplateGroupId = valueTranscodeTaskListTranscodeTask["TranscodeTemplateGroupId"].asString(); if(!valueTranscodeTaskListTranscodeTask["CreationTime"].isNull()) transcodeTaskListObject.creationTime = valueTranscodeTaskListTranscodeTask["CreationTime"].asString(); - if(!valueTranscodeTaskListTranscodeTask["CompleteTime"].isNull()) - transcodeTaskListObject.completeTime = valueTranscodeTaskListTranscodeTask["CompleteTime"].asString(); if(!valueTranscodeTaskListTranscodeTask["Trigger"].isNull()) transcodeTaskListObject.trigger = valueTranscodeTaskListTranscodeTask["Trigger"].asString(); + if(!valueTranscodeTaskListTranscodeTask["TaskStatus"].isNull()) + transcodeTaskListObject.taskStatus = valueTranscodeTaskListTranscodeTask["TaskStatus"].asString(); + if(!valueTranscodeTaskListTranscodeTask["VideoId"].isNull()) + transcodeTaskListObject.videoId = valueTranscodeTaskListTranscodeTask["VideoId"].asString(); + if(!valueTranscodeTaskListTranscodeTask["CompleteTime"].isNull()) + transcodeTaskListObject.completeTime = valueTranscodeTaskListTranscodeTask["CompleteTime"].asString(); + if(!valueTranscodeTaskListTranscodeTask["TranscodeTemplateGroupId"].isNull()) + transcodeTaskListObject.transcodeTemplateGroupId = valueTranscodeTaskListTranscodeTask["TranscodeTemplateGroupId"].asString(); + if(!valueTranscodeTaskListTranscodeTask["TranscodeTaskId"].isNull()) + transcodeTaskListObject.transcodeTaskId = valueTranscodeTaskListTranscodeTask["TranscodeTaskId"].asString(); transcodeTaskList_.push_back(transcodeTaskListObject); } diff --git a/vod/src/model/ListTranscodeTemplateGroupRequest.cc b/vod/src/model/ListTranscodeTemplateGroupRequest.cc index 8f60ce6da..c6e5d054a 100644 --- a/vod/src/model/ListTranscodeTemplateGroupRequest.cc +++ b/vod/src/model/ListTranscodeTemplateGroupRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListTranscodeTemplateGroupRequest; - -ListTranscodeTemplateGroupRequest::ListTranscodeTemplateGroupRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListTranscodeTemplateGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTranscodeTemplateGroupRequest::~ListTranscodeTemplateGroupRequest() -{} - -std::string ListTranscodeTemplateGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListTranscodeTemplateGroupRequest; + +ListTranscodeTemplateGroupRequest::ListTranscodeTemplateGroupRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListTranscodeTemplateGroup") { + setMethod(HttpRequest::Method::Post); } -void ListTranscodeTemplateGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +ListTranscodeTemplateGroupRequest::~ListTranscodeTemplateGroupRequest() {} + +std::string ListTranscodeTemplateGroupRequest::getAccessKeyId() const { + return accessKeyId_; } -int ListTranscodeTemplateGroupRequest::getPageNo()const -{ - return pageNo_; +void ListTranscodeTemplateGroupRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void ListTranscodeTemplateGroupRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int ListTranscodeTemplateGroupRequest::getPageNo() const { + return pageNo_; } -std::string ListTranscodeTemplateGroupRequest::getAppId()const -{ - return appId_; +void ListTranscodeTemplateGroupRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } -void ListTranscodeTemplateGroupRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string ListTranscodeTemplateGroupRequest::getAppId() const { + return appId_; } -int ListTranscodeTemplateGroupRequest::getPageSize()const -{ - return pageSize_; +void ListTranscodeTemplateGroupRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void ListTranscodeTemplateGroupRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListTranscodeTemplateGroupRequest::getPageSize() const { + return pageSize_; +} + +void ListTranscodeTemplateGroupRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/vod/src/model/ListTranscodeTemplateGroupResult.cc b/vod/src/model/ListTranscodeTemplateGroupResult.cc index 150780be5..efc690f82 100644 --- a/vod/src/model/ListTranscodeTemplateGroupResult.cc +++ b/vod/src/model/ListTranscodeTemplateGroupResult.cc @@ -45,20 +45,20 @@ void ListTranscodeTemplateGroupResult::parse(const std::string &payload) TranscodeTemplateGroup transcodeTemplateGroupListObject; if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["CreationTime"].isNull()) transcodeTemplateGroupListObject.creationTime = valueTranscodeTemplateGroupListTranscodeTemplateGroup["CreationTime"].asString(); - if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["ModifyTime"].isNull()) - transcodeTemplateGroupListObject.modifyTime = valueTranscodeTemplateGroupListTranscodeTemplateGroup["ModifyTime"].asString(); - if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["Name"].isNull()) - transcodeTemplateGroupListObject.name = valueTranscodeTemplateGroupListTranscodeTemplateGroup["Name"].asString(); - if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["IsDefault"].isNull()) - transcodeTemplateGroupListObject.isDefault = valueTranscodeTemplateGroupListTranscodeTemplateGroup["IsDefault"].asString(); - if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["Locked"].isNull()) - transcodeTemplateGroupListObject.locked = valueTranscodeTemplateGroupListTranscodeTemplateGroup["Locked"].asString(); - if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["TranscodeTemplateGroupId"].isNull()) - transcodeTemplateGroupListObject.transcodeTemplateGroupId = valueTranscodeTemplateGroupListTranscodeTemplateGroup["TranscodeTemplateGroupId"].asString(); if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["TranscodeMode"].isNull()) transcodeTemplateGroupListObject.transcodeMode = valueTranscodeTemplateGroupListTranscodeTemplateGroup["TranscodeMode"].asString(); + if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["IsDefault"].isNull()) + transcodeTemplateGroupListObject.isDefault = valueTranscodeTemplateGroupListTranscodeTemplateGroup["IsDefault"].asString(); if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["AppId"].isNull()) transcodeTemplateGroupListObject.appId = valueTranscodeTemplateGroupListTranscodeTemplateGroup["AppId"].asString(); + if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["TranscodeTemplateGroupId"].isNull()) + transcodeTemplateGroupListObject.transcodeTemplateGroupId = valueTranscodeTemplateGroupListTranscodeTemplateGroup["TranscodeTemplateGroupId"].asString(); + if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["Name"].isNull()) + transcodeTemplateGroupListObject.name = valueTranscodeTemplateGroupListTranscodeTemplateGroup["Name"].asString(); + if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["ModifyTime"].isNull()) + transcodeTemplateGroupListObject.modifyTime = valueTranscodeTemplateGroupListTranscodeTemplateGroup["ModifyTime"].asString(); + if(!valueTranscodeTemplateGroupListTranscodeTemplateGroup["Locked"].isNull()) + transcodeTemplateGroupListObject.locked = valueTranscodeTemplateGroupListTranscodeTemplateGroup["Locked"].asString(); transcodeTemplateGroupList_.push_back(transcodeTemplateGroupListObject); } diff --git a/vod/src/model/ListVodTemplateRequest.cc b/vod/src/model/ListVodTemplateRequest.cc index 688b2ab93..e0e2c32f5 100644 --- a/vod/src/model/ListVodTemplateRequest.cc +++ b/vod/src/model/ListVodTemplateRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListVodTemplateRequest; - -ListVodTemplateRequest::ListVodTemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListVodTemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -ListVodTemplateRequest::~ListVodTemplateRequest() -{} - -std::string ListVodTemplateRequest::getTemplateType()const -{ - return templateType_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListVodTemplateRequest; + +ListVodTemplateRequest::ListVodTemplateRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListVodTemplate") { + setMethod(HttpRequest::Method::Post); } -void ListVodTemplateRequest::setTemplateType(const std::string& templateType) -{ - templateType_ = templateType; - setParameter("TemplateType", templateType); +ListVodTemplateRequest::~ListVodTemplateRequest() {} + +std::string ListVodTemplateRequest::getTemplateType() const { + return templateType_; } -std::string ListVodTemplateRequest::getAppId()const -{ - return appId_; +void ListVodTemplateRequest::setTemplateType(const std::string &templateType) { + templateType_ = templateType; + setParameter(std::string("TemplateType"), templateType); } -void ListVodTemplateRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string ListVodTemplateRequest::getAppId() const { + return appId_; +} + +void ListVodTemplateRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/vod/src/model/ListVodTemplateResult.cc b/vod/src/model/ListVodTemplateResult.cc index 24062b77c..ba8491095 100644 --- a/vod/src/model/ListVodTemplateResult.cc +++ b/vod/src/model/ListVodTemplateResult.cc @@ -43,26 +43,26 @@ void ListVodTemplateResult::parse(const std::string &payload) for (auto valueVodTemplateInfoListVodTemplateInfo : allVodTemplateInfoListNode) { VodTemplateInfo vodTemplateInfoListObject; - if(!valueVodTemplateInfoListVodTemplateInfo["Name"].isNull()) - vodTemplateInfoListObject.name = valueVodTemplateInfoListVodTemplateInfo["Name"].asString(); - if(!valueVodTemplateInfoListVodTemplateInfo["VodTemplateId"].isNull()) - vodTemplateInfoListObject.vodTemplateId = valueVodTemplateInfoListVodTemplateInfo["VodTemplateId"].asString(); - if(!valueVodTemplateInfoListVodTemplateInfo["TemplateType"].isNull()) - vodTemplateInfoListObject.templateType = valueVodTemplateInfoListVodTemplateInfo["TemplateType"].asString(); - if(!valueVodTemplateInfoListVodTemplateInfo["SubTemplateType"].isNull()) - vodTemplateInfoListObject.subTemplateType = valueVodTemplateInfoListVodTemplateInfo["SubTemplateType"].asString(); - if(!valueVodTemplateInfoListVodTemplateInfo["Source"].isNull()) - vodTemplateInfoListObject.source = valueVodTemplateInfoListVodTemplateInfo["Source"].asString(); - if(!valueVodTemplateInfoListVodTemplateInfo["IsDefault"].isNull()) - vodTemplateInfoListObject.isDefault = valueVodTemplateInfoListVodTemplateInfo["IsDefault"].asString(); - if(!valueVodTemplateInfoListVodTemplateInfo["TemplateConfig"].isNull()) - vodTemplateInfoListObject.templateConfig = valueVodTemplateInfoListVodTemplateInfo["TemplateConfig"].asString(); if(!valueVodTemplateInfoListVodTemplateInfo["CreationTime"].isNull()) vodTemplateInfoListObject.creationTime = valueVodTemplateInfoListVodTemplateInfo["CreationTime"].asString(); - if(!valueVodTemplateInfoListVodTemplateInfo["ModifyTime"].isNull()) - vodTemplateInfoListObject.modifyTime = valueVodTemplateInfoListVodTemplateInfo["ModifyTime"].asString(); + if(!valueVodTemplateInfoListVodTemplateInfo["IsDefault"].isNull()) + vodTemplateInfoListObject.isDefault = valueVodTemplateInfoListVodTemplateInfo["IsDefault"].asString(); if(!valueVodTemplateInfoListVodTemplateInfo["AppId"].isNull()) vodTemplateInfoListObject.appId = valueVodTemplateInfoListVodTemplateInfo["AppId"].asString(); + if(!valueVodTemplateInfoListVodTemplateInfo["TemplateType"].isNull()) + vodTemplateInfoListObject.templateType = valueVodTemplateInfoListVodTemplateInfo["TemplateType"].asString(); + if(!valueVodTemplateInfoListVodTemplateInfo["VodTemplateId"].isNull()) + vodTemplateInfoListObject.vodTemplateId = valueVodTemplateInfoListVodTemplateInfo["VodTemplateId"].asString(); + if(!valueVodTemplateInfoListVodTemplateInfo["TemplateConfig"].isNull()) + vodTemplateInfoListObject.templateConfig = valueVodTemplateInfoListVodTemplateInfo["TemplateConfig"].asString(); + if(!valueVodTemplateInfoListVodTemplateInfo["Source"].isNull()) + vodTemplateInfoListObject.source = valueVodTemplateInfoListVodTemplateInfo["Source"].asString(); + if(!valueVodTemplateInfoListVodTemplateInfo["Name"].isNull()) + vodTemplateInfoListObject.name = valueVodTemplateInfoListVodTemplateInfo["Name"].asString(); + if(!valueVodTemplateInfoListVodTemplateInfo["ModifyTime"].isNull()) + vodTemplateInfoListObject.modifyTime = valueVodTemplateInfoListVodTemplateInfo["ModifyTime"].asString(); + if(!valueVodTemplateInfoListVodTemplateInfo["SubTemplateType"].isNull()) + vodTemplateInfoListObject.subTemplateType = valueVodTemplateInfoListVodTemplateInfo["SubTemplateType"].asString(); vodTemplateInfoList_.push_back(vodTemplateInfoListObject); } diff --git a/vod/src/model/ListWatermarkRequest.cc b/vod/src/model/ListWatermarkRequest.cc index 1f315ea66..bcdd060c5 100644 --- a/vod/src/model/ListWatermarkRequest.cc +++ b/vod/src/model/ListWatermarkRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ListWatermarkRequest; - -ListWatermarkRequest::ListWatermarkRequest() : - RpcServiceRequest("vod", "2017-03-21", "ListWatermark") -{ - setMethod(HttpRequest::Method::Post); -} - -ListWatermarkRequest::~ListWatermarkRequest() -{} - -std::string ListWatermarkRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::ListWatermarkRequest; + +ListWatermarkRequest::ListWatermarkRequest() + : RpcServiceRequest("vod", "2017-03-21", "ListWatermark") { + setMethod(HttpRequest::Method::Post); } -void ListWatermarkRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +ListWatermarkRequest::~ListWatermarkRequest() {} + +std::string ListWatermarkRequest::getAccessKeyId() const { + return accessKeyId_; } -int ListWatermarkRequest::getPageNo()const -{ - return pageNo_; +void ListWatermarkRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void ListWatermarkRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int ListWatermarkRequest::getPageNo() const { + return pageNo_; } -std::string ListWatermarkRequest::getAppId()const -{ - return appId_; +void ListWatermarkRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } -void ListWatermarkRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string ListWatermarkRequest::getAppId() const { + return appId_; } -int ListWatermarkRequest::getPageSize()const -{ - return pageSize_; +void ListWatermarkRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void ListWatermarkRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListWatermarkRequest::getPageSize() const { + return pageSize_; +} + +void ListWatermarkRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/vod/src/model/ListWatermarkResult.cc b/vod/src/model/ListWatermarkResult.cc index befa13fc1..f5cf3025e 100644 --- a/vod/src/model/ListWatermarkResult.cc +++ b/vod/src/model/ListWatermarkResult.cc @@ -49,16 +49,16 @@ void ListWatermarkResult::parse(const std::string &payload) watermarkInfosObject.type = valueWatermarkInfosWatermarkInfo["Type"].asString(); if(!valueWatermarkInfosWatermarkInfo["IsDefault"].isNull()) watermarkInfosObject.isDefault = valueWatermarkInfosWatermarkInfo["IsDefault"].asString(); - if(!valueWatermarkInfosWatermarkInfo["WatermarkId"].isNull()) - watermarkInfosObject.watermarkId = valueWatermarkInfosWatermarkInfo["WatermarkId"].asString(); - if(!valueWatermarkInfosWatermarkInfo["Name"].isNull()) - watermarkInfosObject.name = valueWatermarkInfosWatermarkInfo["Name"].asString(); if(!valueWatermarkInfosWatermarkInfo["FileUrl"].isNull()) watermarkInfosObject.fileUrl = valueWatermarkInfosWatermarkInfo["FileUrl"].asString(); - if(!valueWatermarkInfosWatermarkInfo["WatermarkConfig"].isNull()) - watermarkInfosObject.watermarkConfig = valueWatermarkInfosWatermarkInfo["WatermarkConfig"].asString(); if(!valueWatermarkInfosWatermarkInfo["AppId"].isNull()) watermarkInfosObject.appId = valueWatermarkInfosWatermarkInfo["AppId"].asString(); + if(!valueWatermarkInfosWatermarkInfo["WatermarkConfig"].isNull()) + watermarkInfosObject.watermarkConfig = valueWatermarkInfosWatermarkInfo["WatermarkConfig"].asString(); + if(!valueWatermarkInfosWatermarkInfo["Name"].isNull()) + watermarkInfosObject.name = valueWatermarkInfosWatermarkInfo["Name"].asString(); + if(!valueWatermarkInfosWatermarkInfo["WatermarkId"].isNull()) + watermarkInfosObject.watermarkId = valueWatermarkInfosWatermarkInfo["WatermarkId"].asString(); watermarkInfos_.push_back(watermarkInfosObject); } diff --git a/vod/src/model/MoveAppResourceRequest.cc b/vod/src/model/MoveAppResourceRequest.cc index fe68cad4d..fcf45ed8a 100644 --- a/vod/src/model/MoveAppResourceRequest.cc +++ b/vod/src/model/MoveAppResourceRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::MoveAppResourceRequest; - -MoveAppResourceRequest::MoveAppResourceRequest() : - RpcServiceRequest("vod", "2017-03-21", "MoveAppResource") -{ - setMethod(HttpRequest::Method::Post); -} - -MoveAppResourceRequest::~MoveAppResourceRequest() -{} - -long MoveAppResourceRequest::getResourceRealOwnerId()const -{ - return resourceRealOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::MoveAppResourceRequest; + +MoveAppResourceRequest::MoveAppResourceRequest() + : RpcServiceRequest("vod", "2017-03-21", "MoveAppResource") { + setMethod(HttpRequest::Method::Post); } -void MoveAppResourceRequest::setResourceRealOwnerId(long resourceRealOwnerId) -{ - resourceRealOwnerId_ = resourceRealOwnerId; - setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId)); +MoveAppResourceRequest::~MoveAppResourceRequest() {} + +long MoveAppResourceRequest::getResourceRealOwnerId() const { + return resourceRealOwnerId_; } -std::string MoveAppResourceRequest::getResourceType()const -{ - return resourceType_; +void MoveAppResourceRequest::setResourceRealOwnerId(long resourceRealOwnerId) { + resourceRealOwnerId_ = resourceRealOwnerId; + setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId)); } -void MoveAppResourceRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +std::string MoveAppResourceRequest::getResourceType() const { + return resourceType_; } -std::string MoveAppResourceRequest::getAccessKeyId()const -{ - return accessKeyId_; +void MoveAppResourceRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); } -void MoveAppResourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string MoveAppResourceRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string MoveAppResourceRequest::getTargetAppId()const -{ - return targetAppId_; +void MoveAppResourceRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void MoveAppResourceRequest::setTargetAppId(const std::string& targetAppId) -{ - targetAppId_ = targetAppId; - setParameter("TargetAppId", targetAppId); +std::string MoveAppResourceRequest::getTargetAppId() const { + return targetAppId_; } -std::string MoveAppResourceRequest::getResourceIds()const -{ - return resourceIds_; +void MoveAppResourceRequest::setTargetAppId(const std::string &targetAppId) { + targetAppId_ = targetAppId; + setParameter(std::string("TargetAppId"), targetAppId); } -void MoveAppResourceRequest::setResourceIds(const std::string& resourceIds) -{ - resourceIds_ = resourceIds; - setParameter("ResourceIds", resourceIds); +std::string MoveAppResourceRequest::getResourceIds() const { + return resourceIds_; +} + +void MoveAppResourceRequest::setResourceIds(const std::string &resourceIds) { + resourceIds_ = resourceIds; + setParameter(std::string("ResourceIds"), resourceIds); } diff --git a/vod/src/model/PreloadVodObjectCachesRequest.cc b/vod/src/model/PreloadVodObjectCachesRequest.cc index 11104e4ee..23ee27444 100644 --- a/vod/src/model/PreloadVodObjectCachesRequest.cc +++ b/vod/src/model/PreloadVodObjectCachesRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::PreloadVodObjectCachesRequest; - -PreloadVodObjectCachesRequest::PreloadVodObjectCachesRequest() : - RpcServiceRequest("vod", "2017-03-21", "PreloadVodObjectCaches") -{ - setMethod(HttpRequest::Method::Post); -} - -PreloadVodObjectCachesRequest::~PreloadVodObjectCachesRequest() -{} - -std::string PreloadVodObjectCachesRequest::getObjectPath()const -{ - return objectPath_; + */ + +#include + +using AlibabaCloud::Vod::Model::PreloadVodObjectCachesRequest; + +PreloadVodObjectCachesRequest::PreloadVodObjectCachesRequest() + : RpcServiceRequest("vod", "2017-03-21", "PreloadVodObjectCaches") { + setMethod(HttpRequest::Method::Post); } -void PreloadVodObjectCachesRequest::setObjectPath(const std::string& objectPath) -{ - objectPath_ = objectPath; - setParameter("ObjectPath", objectPath); +PreloadVodObjectCachesRequest::~PreloadVodObjectCachesRequest() {} + +std::string PreloadVodObjectCachesRequest::getObjectPath() const { + return objectPath_; } -long PreloadVodObjectCachesRequest::getOwnerId()const -{ - return ownerId_; +void PreloadVodObjectCachesRequest::setObjectPath(const std::string &objectPath) { + objectPath_ = objectPath; + setParameter(std::string("ObjectPath"), objectPath); } -void PreloadVodObjectCachesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long PreloadVodObjectCachesRequest::getOwnerId() const { + return ownerId_; } -std::string PreloadVodObjectCachesRequest::getSecurityToken()const -{ - return securityToken_; +void PreloadVodObjectCachesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void PreloadVodObjectCachesRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string PreloadVodObjectCachesRequest::getSecurityToken() const { + return securityToken_; +} + +void PreloadVodObjectCachesRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/vod/src/model/ProduceEditingProjectVideoRequest.cc b/vod/src/model/ProduceEditingProjectVideoRequest.cc index 8dcdb49ef..a49e08fbc 100644 --- a/vod/src/model/ProduceEditingProjectVideoRequest.cc +++ b/vod/src/model/ProduceEditingProjectVideoRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::ProduceEditingProjectVideoRequest; - -ProduceEditingProjectVideoRequest::ProduceEditingProjectVideoRequest() : - RpcServiceRequest("vod", "2017-03-21", "ProduceEditingProjectVideo") -{ - setMethod(HttpRequest::Method::Post); -} - -ProduceEditingProjectVideoRequest::~ProduceEditingProjectVideoRequest() -{} - -long ProduceEditingProjectVideoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::ProduceEditingProjectVideoRequest; + +ProduceEditingProjectVideoRequest::ProduceEditingProjectVideoRequest() + : RpcServiceRequest("vod", "2017-03-21", "ProduceEditingProjectVideo") { + setMethod(HttpRequest::Method::Post); } -void ProduceEditingProjectVideoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +ProduceEditingProjectVideoRequest::~ProduceEditingProjectVideoRequest() {} + +long ProduceEditingProjectVideoRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string ProduceEditingProjectVideoRequest::getDescription()const -{ - return description_; +void ProduceEditingProjectVideoRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void ProduceEditingProjectVideoRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string ProduceEditingProjectVideoRequest::getDescription() const { + return description_; } -std::string ProduceEditingProjectVideoRequest::getTitle()const -{ - return title_; +void ProduceEditingProjectVideoRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void ProduceEditingProjectVideoRequest::setTitle(const std::string& title) -{ - title_ = title; - setParameter("Title", title); +std::string ProduceEditingProjectVideoRequest::getTitle() const { + return title_; } -std::string ProduceEditingProjectVideoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void ProduceEditingProjectVideoRequest::setTitle(const std::string &title) { + title_ = title; + setParameter(std::string("Title"), title); } -void ProduceEditingProjectVideoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string ProduceEditingProjectVideoRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string ProduceEditingProjectVideoRequest::getCoverURL()const -{ - return coverURL_; +void ProduceEditingProjectVideoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void ProduceEditingProjectVideoRequest::setCoverURL(const std::string& coverURL) -{ - coverURL_ = coverURL; - setParameter("CoverURL", coverURL); +std::string ProduceEditingProjectVideoRequest::getCoverURL() const { + return coverURL_; } -std::string ProduceEditingProjectVideoRequest::getUserData()const -{ - return userData_; +void ProduceEditingProjectVideoRequest::setCoverURL(const std::string &coverURL) { + coverURL_ = coverURL; + setParameter(std::string("CoverURL"), coverURL); } -void ProduceEditingProjectVideoRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +std::string ProduceEditingProjectVideoRequest::getUserData() const { + return userData_; } -std::string ProduceEditingProjectVideoRequest::getProduceConfig()const -{ - return produceConfig_; +void ProduceEditingProjectVideoRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void ProduceEditingProjectVideoRequest::setProduceConfig(const std::string& produceConfig) -{ - produceConfig_ = produceConfig; - setParameter("ProduceConfig", produceConfig); +std::string ProduceEditingProjectVideoRequest::getProduceConfig() const { + return produceConfig_; } -std::string ProduceEditingProjectVideoRequest::getProjectId()const -{ - return projectId_; +void ProduceEditingProjectVideoRequest::setProduceConfig(const std::string &produceConfig) { + produceConfig_ = produceConfig; + setParameter(std::string("ProduceConfig"), produceConfig); } -void ProduceEditingProjectVideoRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", projectId); +std::string ProduceEditingProjectVideoRequest::getProjectId() const { + return projectId_; } -std::string ProduceEditingProjectVideoRequest::getMediaMetadata()const -{ - return mediaMetadata_; +void ProduceEditingProjectVideoRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); } -void ProduceEditingProjectVideoRequest::setMediaMetadata(const std::string& mediaMetadata) -{ - mediaMetadata_ = mediaMetadata; - setParameter("MediaMetadata", mediaMetadata); +std::string ProduceEditingProjectVideoRequest::getMediaMetadata() const { + return mediaMetadata_; } -std::string ProduceEditingProjectVideoRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void ProduceEditingProjectVideoRequest::setMediaMetadata(const std::string &mediaMetadata) { + mediaMetadata_ = mediaMetadata; + setParameter(std::string("MediaMetadata"), mediaMetadata); } -void ProduceEditingProjectVideoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string ProduceEditingProjectVideoRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long ProduceEditingProjectVideoRequest::getOwnerId()const -{ - return ownerId_; +void ProduceEditingProjectVideoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void ProduceEditingProjectVideoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ProduceEditingProjectVideoRequest::getOwnerId() const { + return ownerId_; } -std::string ProduceEditingProjectVideoRequest::getTimeline()const -{ - return timeline_; +void ProduceEditingProjectVideoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ProduceEditingProjectVideoRequest::setTimeline(const std::string& timeline) -{ - timeline_ = timeline; - setParameter("Timeline", timeline); +std::string ProduceEditingProjectVideoRequest::getTimeline() const { + return timeline_; +} + +void ProduceEditingProjectVideoRequest::setTimeline(const std::string &timeline) { + timeline_ = timeline; + setParameter(std::string("Timeline"), timeline); } diff --git a/vod/src/model/RefreshMediaPlayUrlsRequest.cc b/vod/src/model/RefreshMediaPlayUrlsRequest.cc new file mode 100644 index 000000000..8a789487c --- /dev/null +++ b/vod/src/model/RefreshMediaPlayUrlsRequest.cc @@ -0,0 +1,108 @@ +/* + * 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 + +using AlibabaCloud::Vod::Model::RefreshMediaPlayUrlsRequest; + +RefreshMediaPlayUrlsRequest::RefreshMediaPlayUrlsRequest() + : RpcServiceRequest("vod", "2017-03-21", "RefreshMediaPlayUrls") { + setMethod(HttpRequest::Method::Post); +} + +RefreshMediaPlayUrlsRequest::~RefreshMediaPlayUrlsRequest() {} + +std::string RefreshMediaPlayUrlsRequest::getFormats() const { + return formats_; +} + +void RefreshMediaPlayUrlsRequest::setFormats(const std::string &formats) { + formats_ = formats; + setParameter(std::string("Formats"), formats); +} + +std::string RefreshMediaPlayUrlsRequest::getUserData() const { + return userData_; +} + +void RefreshMediaPlayUrlsRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); +} + +std::string RefreshMediaPlayUrlsRequest::getMediaIds() const { + return mediaIds_; +} + +void RefreshMediaPlayUrlsRequest::setMediaIds(const std::string &mediaIds) { + mediaIds_ = mediaIds; + setParameter(std::string("MediaIds"), mediaIds); +} + +std::string RefreshMediaPlayUrlsRequest::getDefinitions() const { + return definitions_; +} + +void RefreshMediaPlayUrlsRequest::setDefinitions(const std::string &definitions) { + definitions_ = definitions; + setParameter(std::string("Definitions"), definitions); +} + +std::string RefreshMediaPlayUrlsRequest::getStreamType() const { + return streamType_; +} + +void RefreshMediaPlayUrlsRequest::setStreamType(const std::string &streamType) { + streamType_ = streamType; + setParameter(std::string("StreamType"), streamType); +} + +std::string RefreshMediaPlayUrlsRequest::getTaskType() const { + return taskType_; +} + +void RefreshMediaPlayUrlsRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); +} + +bool RefreshMediaPlayUrlsRequest::getSliceFlag() const { + return sliceFlag_; +} + +void RefreshMediaPlayUrlsRequest::setSliceFlag(bool sliceFlag) { + sliceFlag_ = sliceFlag; + setParameter(std::string("SliceFlag"), sliceFlag ? "true" : "false"); +} + +std::string RefreshMediaPlayUrlsRequest::getResultType() const { + return resultType_; +} + +void RefreshMediaPlayUrlsRequest::setResultType(const std::string &resultType) { + resultType_ = resultType; + setParameter(std::string("ResultType"), resultType); +} + +int RefreshMediaPlayUrlsRequest::getSliceCount() const { + return sliceCount_; +} + +void RefreshMediaPlayUrlsRequest::setSliceCount(int sliceCount) { + sliceCount_ = sliceCount; + setParameter(std::string("SliceCount"), std::to_string(sliceCount)); +} + diff --git a/vod/src/model/RefreshMediaPlayUrlsResult.cc b/vod/src/model/RefreshMediaPlayUrlsResult.cc new file mode 100644 index 000000000..769ff379c --- /dev/null +++ b/vod/src/model/RefreshMediaPlayUrlsResult.cc @@ -0,0 +1,65 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Vod; +using namespace AlibabaCloud::Vod::Model; + +RefreshMediaPlayUrlsResult::RefreshMediaPlayUrlsResult() : + ServiceResult() +{} + +RefreshMediaPlayUrlsResult::RefreshMediaPlayUrlsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RefreshMediaPlayUrlsResult::~RefreshMediaPlayUrlsResult() +{} + +void RefreshMediaPlayUrlsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["MediaRefreshJobId"].isNull()) + mediaRefreshJobId_ = value["MediaRefreshJobId"].asString(); + if(!value["NonExistMediaIds"].isNull()) + nonExistMediaIds_ = value["NonExistMediaIds"].asString(); + if(!value["ForbiddenMediaIds"].isNull()) + forbiddenMediaIds_ = value["ForbiddenMediaIds"].asString(); + +} + +std::string RefreshMediaPlayUrlsResult::getNonExistMediaIds()const +{ + return nonExistMediaIds_; +} + +std::string RefreshMediaPlayUrlsResult::getMediaRefreshJobId()const +{ + return mediaRefreshJobId_; +} + +std::string RefreshMediaPlayUrlsResult::getForbiddenMediaIds()const +{ + return forbiddenMediaIds_; +} + diff --git a/vod/src/model/RefreshUploadVideoRequest.cc b/vod/src/model/RefreshUploadVideoRequest.cc index f5bac0480..ea984e14b 100644 --- a/vod/src/model/RefreshUploadVideoRequest.cc +++ b/vod/src/model/RefreshUploadVideoRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::RefreshUploadVideoRequest; - -RefreshUploadVideoRequest::RefreshUploadVideoRequest() : - RpcServiceRequest("vod", "2017-03-21", "RefreshUploadVideo") -{ - setMethod(HttpRequest::Method::Post); -} - -RefreshUploadVideoRequest::~RefreshUploadVideoRequest() -{} - -long RefreshUploadVideoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::RefreshUploadVideoRequest; + +RefreshUploadVideoRequest::RefreshUploadVideoRequest() + : RpcServiceRequest("vod", "2017-03-21", "RefreshUploadVideo") { + setMethod(HttpRequest::Method::Post); } -void RefreshUploadVideoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +RefreshUploadVideoRequest::~RefreshUploadVideoRequest() {} + +long RefreshUploadVideoRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string RefreshUploadVideoRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void RefreshUploadVideoRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void RefreshUploadVideoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string RefreshUploadVideoRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string RefreshUploadVideoRequest::getVideoId()const -{ - return videoId_; +void RefreshUploadVideoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void RefreshUploadVideoRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string RefreshUploadVideoRequest::getVideoId() const { + return videoId_; } -long RefreshUploadVideoRequest::getOwnerId()const -{ - return ownerId_; +void RefreshUploadVideoRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void RefreshUploadVideoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long RefreshUploadVideoRequest::getOwnerId() const { + return ownerId_; +} + +void RefreshUploadVideoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/vod/src/model/RefreshUploadVideoResult.cc b/vod/src/model/RefreshUploadVideoResult.cc index 9a846fde1..1440b9dca 100644 --- a/vod/src/model/RefreshUploadVideoResult.cc +++ b/vod/src/model/RefreshUploadVideoResult.cc @@ -39,12 +39,12 @@ void RefreshUploadVideoResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["UploadAuth"].isNull()) - uploadAuth_ = value["UploadAuth"].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(); } diff --git a/vod/src/model/RefreshVodObjectCachesRequest.cc b/vod/src/model/RefreshVodObjectCachesRequest.cc index 638887f19..94deefc60 100644 --- a/vod/src/model/RefreshVodObjectCachesRequest.cc +++ b/vod/src/model/RefreshVodObjectCachesRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::RefreshVodObjectCachesRequest; - -RefreshVodObjectCachesRequest::RefreshVodObjectCachesRequest() : - RpcServiceRequest("vod", "2017-03-21", "RefreshVodObjectCaches") -{ - setMethod(HttpRequest::Method::Post); -} - -RefreshVodObjectCachesRequest::~RefreshVodObjectCachesRequest() -{} - -std::string RefreshVodObjectCachesRequest::getObjectPath()const -{ - return objectPath_; + */ + +#include + +using AlibabaCloud::Vod::Model::RefreshVodObjectCachesRequest; + +RefreshVodObjectCachesRequest::RefreshVodObjectCachesRequest() + : RpcServiceRequest("vod", "2017-03-21", "RefreshVodObjectCaches") { + setMethod(HttpRequest::Method::Post); } -void RefreshVodObjectCachesRequest::setObjectPath(const std::string& objectPath) -{ - objectPath_ = objectPath; - setParameter("ObjectPath", objectPath); +RefreshVodObjectCachesRequest::~RefreshVodObjectCachesRequest() {} + +std::string RefreshVodObjectCachesRequest::getObjectPath() const { + return objectPath_; } -long RefreshVodObjectCachesRequest::getOwnerId()const -{ - return ownerId_; +void RefreshVodObjectCachesRequest::setObjectPath(const std::string &objectPath) { + objectPath_ = objectPath; + setParameter(std::string("ObjectPath"), objectPath); } -void RefreshVodObjectCachesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long RefreshVodObjectCachesRequest::getOwnerId() const { + return ownerId_; } -std::string RefreshVodObjectCachesRequest::getSecurityToken()const -{ - return securityToken_; +void RefreshVodObjectCachesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void RefreshVodObjectCachesRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string RefreshVodObjectCachesRequest::getSecurityToken() const { + return securityToken_; } -std::string RefreshVodObjectCachesRequest::getObjectType()const -{ - return objectType_; +void RefreshVodObjectCachesRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void RefreshVodObjectCachesRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setParameter("ObjectType", objectType); +std::string RefreshVodObjectCachesRequest::getObjectType() const { + return objectType_; +} + +void RefreshVodObjectCachesRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setParameter(std::string("ObjectType"), objectType); } diff --git a/vod/src/model/RegisterMediaRequest.cc b/vod/src/model/RegisterMediaRequest.cc index 7f3c56acb..2523e1bb5 100644 --- a/vod/src/model/RegisterMediaRequest.cc +++ b/vod/src/model/RegisterMediaRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::RegisterMediaRequest; - -RegisterMediaRequest::RegisterMediaRequest() : - RpcServiceRequest("vod", "2017-03-21", "RegisterMedia") -{ - setMethod(HttpRequest::Method::Post); -} - -RegisterMediaRequest::~RegisterMediaRequest() -{} - -std::string RegisterMediaRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::RegisterMediaRequest; + +RegisterMediaRequest::RegisterMediaRequest() + : RpcServiceRequest("vod", "2017-03-21", "RegisterMedia") { + setMethod(HttpRequest::Method::Post); } -void RegisterMediaRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +RegisterMediaRequest::~RegisterMediaRequest() {} + +std::string RegisterMediaRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string RegisterMediaRequest::getUserData()const -{ - return userData_; +void RegisterMediaRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void RegisterMediaRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +std::string RegisterMediaRequest::getUserData() const { + return userData_; } -std::string RegisterMediaRequest::getTemplateGroupId()const -{ - return templateGroupId_; +void RegisterMediaRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void RegisterMediaRequest::setTemplateGroupId(const std::string& templateGroupId) -{ - templateGroupId_ = templateGroupId; - setParameter("TemplateGroupId", templateGroupId); +std::string RegisterMediaRequest::getTemplateGroupId() const { + return templateGroupId_; } -std::string RegisterMediaRequest::getRegisterMetadatas()const -{ - return registerMetadatas_; +void RegisterMediaRequest::setTemplateGroupId(const std::string &templateGroupId) { + templateGroupId_ = templateGroupId; + setParameter(std::string("TemplateGroupId"), templateGroupId); } -void RegisterMediaRequest::setRegisterMetadatas(const std::string& registerMetadatas) -{ - registerMetadatas_ = registerMetadatas; - setParameter("RegisterMetadatas", registerMetadatas); +std::string RegisterMediaRequest::getRegisterMetadatas() const { + return registerMetadatas_; } -std::string RegisterMediaRequest::getWorkflowId()const -{ - return workflowId_; +void RegisterMediaRequest::setRegisterMetadatas(const std::string ®isterMetadatas) { + registerMetadatas_ = registerMetadatas; + setParameter(std::string("RegisterMetadatas"), registerMetadatas); } -void RegisterMediaRequest::setWorkflowId(const std::string& workflowId) -{ - workflowId_ = workflowId; - setParameter("WorkflowId", workflowId); +std::string RegisterMediaRequest::getWorkflowId() const { + return workflowId_; +} + +void RegisterMediaRequest::setWorkflowId(const std::string &workflowId) { + workflowId_ = workflowId; + setParameter(std::string("WorkflowId"), workflowId); } diff --git a/vod/src/model/SearchEditingProjectRequest.cc b/vod/src/model/SearchEditingProjectRequest.cc index 2c7feadc9..49f63cca8 100644 --- a/vod/src/model/SearchEditingProjectRequest.cc +++ b/vod/src/model/SearchEditingProjectRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SearchEditingProjectRequest; - -SearchEditingProjectRequest::SearchEditingProjectRequest() : - RpcServiceRequest("vod", "2017-03-21", "SearchEditingProject") -{ - setMethod(HttpRequest::Method::Post); -} - -SearchEditingProjectRequest::~SearchEditingProjectRequest() -{} - -std::string SearchEditingProjectRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SearchEditingProjectRequest; + +SearchEditingProjectRequest::SearchEditingProjectRequest() + : RpcServiceRequest("vod", "2017-03-21", "SearchEditingProject") { + setMethod(HttpRequest::Method::Post); } -void SearchEditingProjectRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +SearchEditingProjectRequest::~SearchEditingProjectRequest() {} + +std::string SearchEditingProjectRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string SearchEditingProjectRequest::getStartTime()const -{ - return startTime_; +void SearchEditingProjectRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void SearchEditingProjectRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string SearchEditingProjectRequest::getStartTime() const { + return startTime_; } -std::string SearchEditingProjectRequest::getTitle()const -{ - return title_; +void SearchEditingProjectRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void SearchEditingProjectRequest::setTitle(const std::string& title) -{ - title_ = title; - setParameter("Title", title); +std::string SearchEditingProjectRequest::getTitle() const { + return title_; } -std::string SearchEditingProjectRequest::getAccessKeyId()const -{ - return accessKeyId_; +void SearchEditingProjectRequest::setTitle(const std::string &title) { + title_ = title; + setParameter(std::string("Title"), title); } -void SearchEditingProjectRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string SearchEditingProjectRequest::getAccessKeyId() const { + return accessKeyId_; } -int SearchEditingProjectRequest::getPageSize()const -{ - return pageSize_; +void SearchEditingProjectRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SearchEditingProjectRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int SearchEditingProjectRequest::getPageSize() const { + return pageSize_; } -std::string SearchEditingProjectRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void SearchEditingProjectRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void SearchEditingProjectRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string SearchEditingProjectRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string SearchEditingProjectRequest::getOwnerAccount()const -{ - return ownerAccount_; +void SearchEditingProjectRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void SearchEditingProjectRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string SearchEditingProjectRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string SearchEditingProjectRequest::getEndTime()const -{ - return endTime_; +void SearchEditingProjectRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void SearchEditingProjectRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string SearchEditingProjectRequest::getEndTime() const { + return endTime_; } -std::string SearchEditingProjectRequest::getOwnerId()const -{ - return ownerId_; +void SearchEditingProjectRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void SearchEditingProjectRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string SearchEditingProjectRequest::getOwnerId() const { + return ownerId_; } -int SearchEditingProjectRequest::getPageNo()const -{ - return pageNo_; +void SearchEditingProjectRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void SearchEditingProjectRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int SearchEditingProjectRequest::getPageNo() const { + return pageNo_; } -std::string SearchEditingProjectRequest::getSortBy()const -{ - return sortBy_; +void SearchEditingProjectRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } -void SearchEditingProjectRequest::setSortBy(const std::string& sortBy) -{ - sortBy_ = sortBy; - setParameter("SortBy", sortBy); +std::string SearchEditingProjectRequest::getSortBy() const { + return sortBy_; } -std::string SearchEditingProjectRequest::getStatus()const -{ - return status_; +void SearchEditingProjectRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); } -void SearchEditingProjectRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string SearchEditingProjectRequest::getStatus() const { + return status_; +} + +void SearchEditingProjectRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/vod/src/model/SearchEditingProjectResult.cc b/vod/src/model/SearchEditingProjectResult.cc index ec0917e29..0ac8d9d55 100644 --- a/vod/src/model/SearchEditingProjectResult.cc +++ b/vod/src/model/SearchEditingProjectResult.cc @@ -43,26 +43,26 @@ void SearchEditingProjectResult::parse(const std::string &payload) for (auto valueProjectListProject : allProjectListNode) { Project projectListObject; - if(!valueProjectListProject["ProjectId"].isNull()) - projectListObject.projectId = valueProjectListProject["ProjectId"].asString(); + if(!valueProjectListProject["StorageLocation"].isNull()) + projectListObject.storageLocation = valueProjectListProject["StorageLocation"].asString(); + if(!valueProjectListProject["Status"].isNull()) + projectListObject.status = valueProjectListProject["Status"].asString(); if(!valueProjectListProject["CreationTime"].isNull()) projectListObject.creationTime = valueProjectListProject["CreationTime"].asString(); if(!valueProjectListProject["ModifiedTime"].isNull()) projectListObject.modifiedTime = valueProjectListProject["ModifiedTime"].asString(); - if(!valueProjectListProject["Status"].isNull()) - projectListObject.status = valueProjectListProject["Status"].asString(); if(!valueProjectListProject["Description"].isNull()) projectListObject.description = valueProjectListProject["Description"].asString(); - if(!valueProjectListProject["Title"].isNull()) - projectListObject.title = valueProjectListProject["Title"].asString(); if(!valueProjectListProject["CoverURL"].isNull()) projectListObject.coverURL = valueProjectListProject["CoverURL"].asString(); - if(!valueProjectListProject["StorageLocation"].isNull()) - projectListObject.storageLocation = valueProjectListProject["StorageLocation"].asString(); - if(!valueProjectListProject["RegionId"].isNull()) - projectListObject.regionId = valueProjectListProject["RegionId"].asString(); + if(!valueProjectListProject["ProjectId"].isNull()) + projectListObject.projectId = valueProjectListProject["ProjectId"].asString(); if(!valueProjectListProject["Duration"].isNull()) projectListObject.duration = std::stof(valueProjectListProject["Duration"].asString()); + if(!valueProjectListProject["Title"].isNull()) + projectListObject.title = valueProjectListProject["Title"].asString(); + if(!valueProjectListProject["RegionId"].isNull()) + projectListObject.regionId = valueProjectListProject["RegionId"].asString(); projectList_.push_back(projectListObject); } if(!value["Total"].isNull()) diff --git a/vod/src/model/SearchMediaRequest.cc b/vod/src/model/SearchMediaRequest.cc index 0a5a1356f..6a638e793 100644 --- a/vod/src/model/SearchMediaRequest.cc +++ b/vod/src/model/SearchMediaRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Vod::Model::SearchMediaRequest; - -SearchMediaRequest::SearchMediaRequest() : - RpcServiceRequest("vod", "2017-03-21", "SearchMedia") -{ - setMethod(HttpRequest::Method::Post); -} - -SearchMediaRequest::~SearchMediaRequest() -{} - -std::string SearchMediaRequest::getSessionId()const -{ - return sessionId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SearchMediaRequest; + +SearchMediaRequest::SearchMediaRequest() + : RpcServiceRequest("vod", "2017-03-21", "SearchMedia") { + setMethod(HttpRequest::Method::Post); } -void SearchMediaRequest::setSessionId(const std::string& sessionId) -{ - sessionId_ = sessionId; - setParameter("SessionId", sessionId); +SearchMediaRequest::~SearchMediaRequest() {} + +std::string SearchMediaRequest::getSessionId() const { + return sessionId_; } -std::string SearchMediaRequest::getScrollToken()const -{ - return scrollToken_; +void SearchMediaRequest::setSessionId(const std::string &sessionId) { + sessionId_ = sessionId; + setParameter(std::string("SessionId"), sessionId); } -void SearchMediaRequest::setScrollToken(const std::string& scrollToken) -{ - scrollToken_ = scrollToken; - setParameter("ScrollToken", scrollToken); +std::string SearchMediaRequest::getScrollToken() const { + return scrollToken_; } -std::string SearchMediaRequest::getSearchType()const -{ - return searchType_; +void SearchMediaRequest::setScrollToken(const std::string &scrollToken) { + scrollToken_ = scrollToken; + setParameter(std::string("ScrollToken"), scrollToken); } -void SearchMediaRequest::setSearchType(const std::string& searchType) -{ - searchType_ = searchType; - setParameter("SearchType", searchType); +std::string SearchMediaRequest::getSearchType() const { + return searchType_; } -int SearchMediaRequest::getPageSize()const -{ - return pageSize_; +void SearchMediaRequest::setSearchType(const std::string &searchType) { + searchType_ = searchType; + setParameter(std::string("SearchType"), searchType); } -void SearchMediaRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int SearchMediaRequest::getPageSize() const { + return pageSize_; } -std::string SearchMediaRequest::getResultTypes()const -{ - return resultTypes_; +void SearchMediaRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void SearchMediaRequest::setResultTypes(const std::string& resultTypes) -{ - resultTypes_ = resultTypes; - setParameter("ResultTypes", resultTypes); +std::string SearchMediaRequest::getResultTypes() const { + return resultTypes_; } -std::string SearchMediaRequest::getMatch()const -{ - return match_; +void SearchMediaRequest::setResultTypes(const std::string &resultTypes) { + resultTypes_ = resultTypes; + setParameter(std::string("ResultTypes"), resultTypes); } -void SearchMediaRequest::setMatch(const std::string& match) -{ - match_ = match; - setParameter("Match", match); +std::string SearchMediaRequest::getMatch() const { + return match_; } -int SearchMediaRequest::getPageNo()const -{ - return pageNo_; +void SearchMediaRequest::setMatch(const std::string &match) { + match_ = match; + setParameter(std::string("Match"), match); } -void SearchMediaRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int SearchMediaRequest::getPageNo() const { + return pageNo_; } -std::string SearchMediaRequest::getSortBy()const -{ - return sortBy_; +void SearchMediaRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } -void SearchMediaRequest::setSortBy(const std::string& sortBy) -{ - sortBy_ = sortBy; - setParameter("SortBy", sortBy); +std::string SearchMediaRequest::getSortBy() const { + return sortBy_; } -std::string SearchMediaRequest::getFields()const -{ - return fields_; +void SearchMediaRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); } -void SearchMediaRequest::setFields(const std::string& fields) -{ - fields_ = fields; - setParameter("Fields", fields); +std::string SearchMediaRequest::getFields() const { + return fields_; +} + +void SearchMediaRequest::setFields(const std::string &fields) { + fields_ = fields; + setParameter(std::string("Fields"), fields); } diff --git a/vod/src/model/SearchMediaResult.cc b/vod/src/model/SearchMediaResult.cc index 782e3d4a5..dd7692ba8 100644 --- a/vod/src/model/SearchMediaResult.cc +++ b/vod/src/model/SearchMediaResult.cc @@ -43,286 +43,286 @@ void SearchMediaResult::parse(const std::string &payload) for (auto valueMediaListMedia : allMediaListNode) { Media mediaListObject; - if(!valueMediaListMedia["MediaType"].isNull()) - mediaListObject.mediaType = valueMediaListMedia["MediaType"].asString(); if(!valueMediaListMedia["CreationTime"].isNull()) mediaListObject.creationTime = valueMediaListMedia["CreationTime"].asString(); + if(!valueMediaListMedia["MediaType"].isNull()) + mediaListObject.mediaType = valueMediaListMedia["MediaType"].asString(); if(!valueMediaListMedia["MediaId"].isNull()) mediaListObject.mediaId = valueMediaListMedia["MediaId"].asString(); auto videoNode = value["Video"]; - if(!videoNode["VideoId"].isNull()) - mediaListObject.video.videoId = videoNode["VideoId"].asString(); - if(!videoNode["MediaSource"].isNull()) - mediaListObject.video.mediaSource = videoNode["MediaSource"].asString(); - if(!videoNode["MediaType"].isNull()) - mediaListObject.video.mediaType = videoNode["MediaType"].asString(); - if(!videoNode["Title"].isNull()) - mediaListObject.video.title = videoNode["Title"].asString(); - if(!videoNode["Tags"].isNull()) - mediaListObject.video.tags = videoNode["Tags"].asString(); if(!videoNode["Status"].isNull()) mediaListObject.video.status = videoNode["Status"].asString(); - if(!videoNode["Size"].isNull()) - mediaListObject.video.size = std::stol(videoNode["Size"].asString()); - if(!videoNode["Duration"].isNull()) - mediaListObject.video.duration = std::stof(videoNode["Duration"].asString()); - if(!videoNode["Description"].isNull()) - mediaListObject.video.description = videoNode["Description"].asString(); - if(!videoNode["ModificationTime"].isNull()) - mediaListObject.video.modificationTime = videoNode["ModificationTime"].asString(); if(!videoNode["CreationTime"].isNull()) mediaListObject.video.creationTime = videoNode["CreationTime"].asString(); - if(!videoNode["CoverURL"].isNull()) - mediaListObject.video.coverURL = videoNode["CoverURL"].asString(); - if(!videoNode["CateId"].isNull()) - mediaListObject.video.cateId = std::stol(videoNode["CateId"].asString()); - if(!videoNode["CateName"].isNull()) - mediaListObject.video.cateName = videoNode["CateName"].asString(); - if(!videoNode["DownloadSwitch"].isNull()) - mediaListObject.video.downloadSwitch = videoNode["DownloadSwitch"].asString(); - if(!videoNode["PreprocessStatus"].isNull()) - mediaListObject.video.preprocessStatus = videoNode["PreprocessStatus"].asString(); if(!videoNode["StorageLocation"].isNull()) mediaListObject.video.storageLocation = videoNode["StorageLocation"].asString(); - if(!videoNode["RegionId"].isNull()) - mediaListObject.video.regionId = videoNode["RegionId"].asString(); - if(!videoNode["TranscodeMode"].isNull()) - mediaListObject.video.transcodeMode = videoNode["TranscodeMode"].asString(); + if(!videoNode["CateId"].isNull()) + mediaListObject.video.cateId = std::stol(videoNode["CateId"].asString()); + if(!videoNode["AuditTemplateId"].isNull()) + mediaListObject.video.auditTemplateId = videoNode["AuditTemplateId"].asString(); + if(!videoNode["Tags"].isNull()) + mediaListObject.video.tags = videoNode["Tags"].asString(); + if(!videoNode["ModificationTime"].isNull()) + mediaListObject.video.modificationTime = videoNode["ModificationTime"].asString(); + if(!videoNode["AuditManualStatus"].isNull()) + mediaListObject.video.auditManualStatus = videoNode["AuditManualStatus"].asString(); + if(!videoNode["MediaType"].isNull()) + mediaListObject.video.mediaType = videoNode["MediaType"].asString(); + if(!videoNode["MediaSource"].isNull()) + mediaListObject.video.mediaSource = videoNode["MediaSource"].asString(); + if(!videoNode["Description"].isNull()) + mediaListObject.video.description = videoNode["Description"].asString(); + if(!videoNode["AppId"].isNull()) + mediaListObject.video.appId = videoNode["AppId"].asString(); + if(!videoNode["CoverURL"].isNull()) + mediaListObject.video.coverURL = videoNode["CoverURL"].asString(); if(!videoNode["AuditStatus"].isNull()) mediaListObject.video.auditStatus = videoNode["AuditStatus"].asString(); if(!videoNode["AuditAIStatus"].isNull()) mediaListObject.video.auditAIStatus = videoNode["AuditAIStatus"].asString(); - if(!videoNode["AuditManualStatus"].isNull()) - mediaListObject.video.auditManualStatus = videoNode["AuditManualStatus"].asString(); - if(!videoNode["AuditAIResult"].isNull()) - mediaListObject.video.auditAIResult = videoNode["AuditAIResult"].asString(); - if(!videoNode["AuditTemplateId"].isNull()) - mediaListObject.video.auditTemplateId = videoNode["AuditTemplateId"].asString(); - if(!videoNode["CustomMediaInfo"].isNull()) - mediaListObject.video.customMediaInfo = videoNode["CustomMediaInfo"].asString(); - if(!videoNode["AppId"].isNull()) - mediaListObject.video.appId = videoNode["AppId"].asString(); - if(!videoNode["AuditAbnormalModules"].isNull()) - mediaListObject.video.auditAbnormalModules = videoNode["AuditAbnormalModules"].asString(); + if(!videoNode["VideoId"].isNull()) + mediaListObject.video.videoId = videoNode["VideoId"].asString(); if(!videoNode["AuditLabel"].isNull()) mediaListObject.video.auditLabel = videoNode["AuditLabel"].asString(); + if(!videoNode["DownloadSwitch"].isNull()) + mediaListObject.video.downloadSwitch = videoNode["DownloadSwitch"].asString(); + if(!videoNode["RegionId"].isNull()) + mediaListObject.video.regionId = videoNode["RegionId"].asString(); + if(!videoNode["AuditAbnormalModules"].isNull()) + mediaListObject.video.auditAbnormalModules = videoNode["AuditAbnormalModules"].asString(); + if(!videoNode["CustomMediaInfo"].isNull()) + mediaListObject.video.customMediaInfo = videoNode["CustomMediaInfo"].asString(); + if(!videoNode["CateName"].isNull()) + mediaListObject.video.cateName = videoNode["CateName"].asString(); + if(!videoNode["TranscodeMode"].isNull()) + mediaListObject.video.transcodeMode = videoNode["TranscodeMode"].asString(); + if(!videoNode["AuditAIResult"].isNull()) + mediaListObject.video.auditAIResult = videoNode["AuditAIResult"].asString(); + if(!videoNode["PreprocessStatus"].isNull()) + mediaListObject.video.preprocessStatus = videoNode["PreprocessStatus"].asString(); + if(!videoNode["Size"].isNull()) + mediaListObject.video.size = std::stol(videoNode["Size"].asString()); + if(!videoNode["Duration"].isNull()) + mediaListObject.video.duration = std::stof(videoNode["Duration"].asString()); + if(!videoNode["Title"].isNull()) + mediaListObject.video.title = videoNode["Title"].asString(); auto allPlayInfoListNode = videoNode["PlayInfoList"]["PlayInfo"]; for (auto videoNodePlayInfoListPlayInfo : allPlayInfoListNode) { Media::Video::PlayInfo playInfoObject; - if(!videoNodePlayInfoListPlayInfo["Width"].isNull()) - playInfoObject.width = videoNodePlayInfoListPlayInfo["Width"].asString(); - if(!videoNodePlayInfoListPlayInfo["Height"].isNull()) - playInfoObject.height = videoNodePlayInfoListPlayInfo["Height"].asString(); - if(!videoNodePlayInfoListPlayInfo["Size"].isNull()) - playInfoObject.size = videoNodePlayInfoListPlayInfo["Size"].asString(); - if(!videoNodePlayInfoListPlayInfo["PlayURL"].isNull()) - playInfoObject.playURL = videoNodePlayInfoListPlayInfo["PlayURL"].asString(); - if(!videoNodePlayInfoListPlayInfo["Bitrate"].isNull()) - playInfoObject.bitrate = videoNodePlayInfoListPlayInfo["Bitrate"].asString(); - if(!videoNodePlayInfoListPlayInfo["Definition"].isNull()) - playInfoObject.definition = videoNodePlayInfoListPlayInfo["Definition"].asString(); - if(!videoNodePlayInfoListPlayInfo["Duration"].isNull()) - playInfoObject.duration = videoNodePlayInfoListPlayInfo["Duration"].asString(); - if(!videoNodePlayInfoListPlayInfo["Format"].isNull()) - playInfoObject.format = videoNodePlayInfoListPlayInfo["Format"].asString(); - if(!videoNodePlayInfoListPlayInfo["Fps"].isNull()) - playInfoObject.fps = videoNodePlayInfoListPlayInfo["Fps"].asString(); - if(!videoNodePlayInfoListPlayInfo["Encrypt"].isNull()) - playInfoObject.encrypt = std::stol(videoNodePlayInfoListPlayInfo["Encrypt"].asString()); - if(!videoNodePlayInfoListPlayInfo["Plaintext"].isNull()) - playInfoObject.plaintext = videoNodePlayInfoListPlayInfo["Plaintext"].asString(); if(!videoNodePlayInfoListPlayInfo["Complexity"].isNull()) playInfoObject.complexity = videoNodePlayInfoListPlayInfo["Complexity"].asString(); - if(!videoNodePlayInfoListPlayInfo["StreamType"].isNull()) - playInfoObject.streamType = videoNodePlayInfoListPlayInfo["StreamType"].asString(); + if(!videoNodePlayInfoListPlayInfo["Height"].isNull()) + playInfoObject.height = videoNodePlayInfoListPlayInfo["Height"].asString(); + if(!videoNodePlayInfoListPlayInfo["Bitrate"].isNull()) + playInfoObject.bitrate = videoNodePlayInfoListPlayInfo["Bitrate"].asString(); + if(!videoNodePlayInfoListPlayInfo["Encrypt"].isNull()) + playInfoObject.encrypt = std::stol(videoNodePlayInfoListPlayInfo["Encrypt"].asString()); + if(!videoNodePlayInfoListPlayInfo["Definition"].isNull()) + playInfoObject.definition = videoNodePlayInfoListPlayInfo["Definition"].asString(); if(!videoNodePlayInfoListPlayInfo["Rand"].isNull()) playInfoObject.rand = videoNodePlayInfoListPlayInfo["Rand"].asString(); + if(!videoNodePlayInfoListPlayInfo["StreamType"].isNull()) + playInfoObject.streamType = videoNodePlayInfoListPlayInfo["StreamType"].asString(); if(!videoNodePlayInfoListPlayInfo["JobId"].isNull()) playInfoObject.jobId = videoNodePlayInfoListPlayInfo["JobId"].asString(); + if(!videoNodePlayInfoListPlayInfo["Width"].isNull()) + playInfoObject.width = videoNodePlayInfoListPlayInfo["Width"].asString(); + if(!videoNodePlayInfoListPlayInfo["Size"].isNull()) + playInfoObject.size = videoNodePlayInfoListPlayInfo["Size"].asString(); + if(!videoNodePlayInfoListPlayInfo["Plaintext"].isNull()) + playInfoObject.plaintext = videoNodePlayInfoListPlayInfo["Plaintext"].asString(); + if(!videoNodePlayInfoListPlayInfo["PlayURL"].isNull()) + playInfoObject.playURL = videoNodePlayInfoListPlayInfo["PlayURL"].asString(); + if(!videoNodePlayInfoListPlayInfo["Duration"].isNull()) + playInfoObject.duration = videoNodePlayInfoListPlayInfo["Duration"].asString(); + if(!videoNodePlayInfoListPlayInfo["Fps"].isNull()) + playInfoObject.fps = videoNodePlayInfoListPlayInfo["Fps"].asString(); + if(!videoNodePlayInfoListPlayInfo["Format"].isNull()) + playInfoObject.format = videoNodePlayInfoListPlayInfo["Format"].asString(); mediaListObject.video.playInfoList.push_back(playInfoObject); } - auto allSnapshots = videoNode["Snapshots"]["Snapshot"]; - for (auto value : allSnapshots) - mediaListObject.video.snapshots.push_back(value.asString()); auto allSpriteSnapshots = videoNode["SpriteSnapshots"]["SpriteSnapshot"]; for (auto value : allSpriteSnapshots) mediaListObject.video.spriteSnapshots.push_back(value.asString()); + auto allSnapshots = videoNode["Snapshots"]["Snapshot"]; + for (auto value : allSnapshots) + mediaListObject.video.snapshots.push_back(value.asString()); auto audioNode = value["Audio"]; - if(!audioNode["AudioId"].isNull()) - mediaListObject.audio.audioId = audioNode["AudioId"].asString(); - if(!audioNode["MediaSource"].isNull()) - mediaListObject.audio.mediaSource = audioNode["MediaSource"].asString(); - if(!audioNode["Title"].isNull()) - mediaListObject.audio.title = audioNode["Title"].asString(); - if(!audioNode["Tags"].isNull()) - mediaListObject.audio.tags = audioNode["Tags"].asString(); if(!audioNode["Status"].isNull()) mediaListObject.audio.status = audioNode["Status"].asString(); - if(!audioNode["Size"].isNull()) - mediaListObject.audio.size = std::stol(audioNode["Size"].asString()); - if(!audioNode["Duration"].isNull()) - mediaListObject.audio.duration = std::stof(audioNode["Duration"].asString()); - if(!audioNode["Description"].isNull()) - mediaListObject.audio.description = audioNode["Description"].asString(); - if(!audioNode["ModificationTime"].isNull()) - mediaListObject.audio.modificationTime = audioNode["ModificationTime"].asString(); if(!audioNode["CreationTime"].isNull()) mediaListObject.audio.creationTime = audioNode["CreationTime"].asString(); - if(!audioNode["CoverURL"].isNull()) - mediaListObject.audio.coverURL = audioNode["CoverURL"].asString(); - if(!audioNode["CateId"].isNull()) - mediaListObject.audio.cateId = std::stol(audioNode["CateId"].asString()); - if(!audioNode["CateName"].isNull()) - mediaListObject.audio.cateName = audioNode["CateName"].asString(); - if(!audioNode["DownloadSwitch"].isNull()) - mediaListObject.audio.downloadSwitch = audioNode["DownloadSwitch"].asString(); - if(!audioNode["PreprocessStatus"].isNull()) - mediaListObject.audio.preprocessStatus = audioNode["PreprocessStatus"].asString(); if(!audioNode["StorageLocation"].isNull()) mediaListObject.audio.storageLocation = audioNode["StorageLocation"].asString(); - if(!audioNode["RegionId"].isNull()) - mediaListObject.audio.regionId = audioNode["RegionId"].asString(); - if(!audioNode["TranscodeMode"].isNull()) - mediaListObject.audio.transcodeMode = audioNode["TranscodeMode"].asString(); + if(!audioNode["CateId"].isNull()) + mediaListObject.audio.cateId = std::stol(audioNode["CateId"].asString()); + if(!audioNode["AuditTemplateId"].isNull()) + mediaListObject.audio.auditTemplateId = audioNode["AuditTemplateId"].asString(); + if(!audioNode["Tags"].isNull()) + mediaListObject.audio.tags = audioNode["Tags"].asString(); + if(!audioNode["ModificationTime"].isNull()) + mediaListObject.audio.modificationTime = audioNode["ModificationTime"].asString(); + if(!audioNode["AuditManualStatus"].isNull()) + mediaListObject.audio.auditManualStatus = audioNode["AuditManualStatus"].asString(); + if(!audioNode["MediaSource"].isNull()) + mediaListObject.audio.mediaSource = audioNode["MediaSource"].asString(); + if(!audioNode["Description"].isNull()) + mediaListObject.audio.description = audioNode["Description"].asString(); + if(!audioNode["AppId"].isNull()) + mediaListObject.audio.appId = audioNode["AppId"].asString(); + if(!audioNode["CoverURL"].isNull()) + mediaListObject.audio.coverURL = audioNode["CoverURL"].asString(); + if(!audioNode["AudioId"].isNull()) + mediaListObject.audio.audioId = audioNode["AudioId"].asString(); if(!audioNode["AuditStatus"].isNull()) mediaListObject.audio.auditStatus = audioNode["AuditStatus"].asString(); if(!audioNode["AuditAIStatus"].isNull()) mediaListObject.audio.auditAIStatus = audioNode["AuditAIStatus"].asString(); - if(!audioNode["AuditManualStatus"].isNull()) - mediaListObject.audio.auditManualStatus = audioNode["AuditManualStatus"].asString(); - if(!audioNode["AuditAIResult"].isNull()) - mediaListObject.audio.auditAIResult = audioNode["AuditAIResult"].asString(); - if(!audioNode["AuditTemplateId"].isNull()) - mediaListObject.audio.auditTemplateId = audioNode["AuditTemplateId"].asString(); + if(!audioNode["DownloadSwitch"].isNull()) + mediaListObject.audio.downloadSwitch = audioNode["DownloadSwitch"].asString(); + if(!audioNode["RegionId"].isNull()) + mediaListObject.audio.regionId = audioNode["RegionId"].asString(); + if(!audioNode["CateName"].isNull()) + mediaListObject.audio.cateName = audioNode["CateName"].asString(); + if(!audioNode["TranscodeMode"].isNull()) + mediaListObject.audio.transcodeMode = audioNode["TranscodeMode"].asString(); if(!audioNode["CustomMediaInfo"].isNull()) mediaListObject.audio.customMediaInfo = audioNode["CustomMediaInfo"].asString(); - if(!audioNode["AppId"].isNull()) - mediaListObject.audio.appId = audioNode["AppId"].asString(); + if(!audioNode["AuditAIResult"].isNull()) + mediaListObject.audio.auditAIResult = audioNode["AuditAIResult"].asString(); + if(!audioNode["PreprocessStatus"].isNull()) + mediaListObject.audio.preprocessStatus = audioNode["PreprocessStatus"].asString(); + if(!audioNode["Size"].isNull()) + mediaListObject.audio.size = std::stol(audioNode["Size"].asString()); + if(!audioNode["Duration"].isNull()) + mediaListObject.audio.duration = std::stof(audioNode["Duration"].asString()); + if(!audioNode["Title"].isNull()) + mediaListObject.audio.title = audioNode["Title"].asString(); auto allPlayInfoList3Node = audioNode["PlayInfoList"]["PlayInfo"]; for (auto audioNodePlayInfoListPlayInfo : allPlayInfoList3Node) { Media::Audio::PlayInfo4 playInfo4Object; - if(!audioNodePlayInfoListPlayInfo["Width"].isNull()) - playInfo4Object.width = audioNodePlayInfoListPlayInfo["Width"].asString(); - if(!audioNodePlayInfoListPlayInfo["Height"].isNull()) - playInfo4Object.height = audioNodePlayInfoListPlayInfo["Height"].asString(); - if(!audioNodePlayInfoListPlayInfo["Size"].isNull()) - playInfo4Object.size = audioNodePlayInfoListPlayInfo["Size"].asString(); - if(!audioNodePlayInfoListPlayInfo["PlayURL"].isNull()) - playInfo4Object.playURL = audioNodePlayInfoListPlayInfo["PlayURL"].asString(); - if(!audioNodePlayInfoListPlayInfo["Bitrate"].isNull()) - playInfo4Object.bitrate = audioNodePlayInfoListPlayInfo["Bitrate"].asString(); - if(!audioNodePlayInfoListPlayInfo["Definition"].isNull()) - playInfo4Object.definition = audioNodePlayInfoListPlayInfo["Definition"].asString(); - if(!audioNodePlayInfoListPlayInfo["Duration"].isNull()) - playInfo4Object.duration = audioNodePlayInfoListPlayInfo["Duration"].asString(); - if(!audioNodePlayInfoListPlayInfo["Format"].isNull()) - playInfo4Object.format = audioNodePlayInfoListPlayInfo["Format"].asString(); - if(!audioNodePlayInfoListPlayInfo["Fps"].isNull()) - playInfo4Object.fps = audioNodePlayInfoListPlayInfo["Fps"].asString(); - if(!audioNodePlayInfoListPlayInfo["Encrypt"].isNull()) - playInfo4Object.encrypt = std::stol(audioNodePlayInfoListPlayInfo["Encrypt"].asString()); - if(!audioNodePlayInfoListPlayInfo["Plaintext"].isNull()) - playInfo4Object.plaintext = audioNodePlayInfoListPlayInfo["Plaintext"].asString(); if(!audioNodePlayInfoListPlayInfo["Complexity"].isNull()) playInfo4Object.complexity = audioNodePlayInfoListPlayInfo["Complexity"].asString(); - if(!audioNodePlayInfoListPlayInfo["StreamType"].isNull()) - playInfo4Object.streamType = audioNodePlayInfoListPlayInfo["StreamType"].asString(); + if(!audioNodePlayInfoListPlayInfo["Height"].isNull()) + playInfo4Object.height = audioNodePlayInfoListPlayInfo["Height"].asString(); + if(!audioNodePlayInfoListPlayInfo["Bitrate"].isNull()) + playInfo4Object.bitrate = audioNodePlayInfoListPlayInfo["Bitrate"].asString(); + if(!audioNodePlayInfoListPlayInfo["Encrypt"].isNull()) + playInfo4Object.encrypt = std::stol(audioNodePlayInfoListPlayInfo["Encrypt"].asString()); + if(!audioNodePlayInfoListPlayInfo["Definition"].isNull()) + playInfo4Object.definition = audioNodePlayInfoListPlayInfo["Definition"].asString(); if(!audioNodePlayInfoListPlayInfo["Rand"].isNull()) playInfo4Object.rand = audioNodePlayInfoListPlayInfo["Rand"].asString(); + if(!audioNodePlayInfoListPlayInfo["StreamType"].isNull()) + playInfo4Object.streamType = audioNodePlayInfoListPlayInfo["StreamType"].asString(); if(!audioNodePlayInfoListPlayInfo["JobId"].isNull()) playInfo4Object.jobId = audioNodePlayInfoListPlayInfo["JobId"].asString(); + if(!audioNodePlayInfoListPlayInfo["Width"].isNull()) + playInfo4Object.width = audioNodePlayInfoListPlayInfo["Width"].asString(); + if(!audioNodePlayInfoListPlayInfo["Size"].isNull()) + playInfo4Object.size = audioNodePlayInfoListPlayInfo["Size"].asString(); + if(!audioNodePlayInfoListPlayInfo["Plaintext"].isNull()) + playInfo4Object.plaintext = audioNodePlayInfoListPlayInfo["Plaintext"].asString(); + if(!audioNodePlayInfoListPlayInfo["PlayURL"].isNull()) + playInfo4Object.playURL = audioNodePlayInfoListPlayInfo["PlayURL"].asString(); + if(!audioNodePlayInfoListPlayInfo["Duration"].isNull()) + playInfo4Object.duration = audioNodePlayInfoListPlayInfo["Duration"].asString(); + if(!audioNodePlayInfoListPlayInfo["Fps"].isNull()) + playInfo4Object.fps = audioNodePlayInfoListPlayInfo["Fps"].asString(); + if(!audioNodePlayInfoListPlayInfo["Format"].isNull()) + playInfo4Object.format = audioNodePlayInfoListPlayInfo["Format"].asString(); mediaListObject.audio.playInfoList3.push_back(playInfo4Object); } - auto allSnapshots1 = audioNode["Snapshots"]["Snapshot"]; - for (auto value : allSnapshots1) - mediaListObject.audio.snapshots1.push_back(value.asString()); - auto allSpriteSnapshots2 = audioNode["SpriteSnapshots"]["SpriteSnapshot"]; - for (auto value : allSpriteSnapshots2) - mediaListObject.audio.spriteSnapshots2.push_back(value.asString()); + auto allSpriteSnapshots1 = audioNode["SpriteSnapshots"]["SpriteSnapshot"]; + for (auto value : allSpriteSnapshots1) + mediaListObject.audio.spriteSnapshots1.push_back(value.asString()); + auto allSnapshots2 = audioNode["Snapshots"]["Snapshot"]; + for (auto value : allSnapshots2) + mediaListObject.audio.snapshots2.push_back(value.asString()); auto imageNode = value["Image"]; - if(!imageNode["Title"].isNull()) - mediaListObject.image.title = imageNode["Title"].asString(); - if(!imageNode["ImageId"].isNull()) - mediaListObject.image.imageId = imageNode["ImageId"].asString(); - if(!imageNode["CateId"].isNull()) - mediaListObject.image.cateId = std::stol(imageNode["CateId"].asString()); - if(!imageNode["CateName"].isNull()) - mediaListObject.image.cateName = imageNode["CateName"].asString(); - if(!imageNode["Ext"].isNull()) - mediaListObject.image.ext = imageNode["Ext"].asString(); - if(!imageNode["CreationTime"].isNull()) - mediaListObject.image.creationTime = imageNode["CreationTime"].asString(); - if(!imageNode["ModificationTime"].isNull()) - mediaListObject.image.modificationTime = imageNode["ModificationTime"].asString(); - if(!imageNode["Tags"].isNull()) - mediaListObject.image.tags = imageNode["Tags"].asString(); - if(!imageNode["Type"].isNull()) - mediaListObject.image.type = imageNode["Type"].asString(); - if(!imageNode["URL"].isNull()) - mediaListObject.image.uRL = imageNode["URL"].asString(); - if(!imageNode["Status"].isNull()) - mediaListObject.image.status = imageNode["Status"].asString(); - if(!imageNode["Description"].isNull()) - mediaListObject.image.description = imageNode["Description"].asString(); if(!imageNode["StorageLocation"].isNull()) mediaListObject.image.storageLocation = imageNode["StorageLocation"].asString(); + if(!imageNode["CreationTime"].isNull()) + mediaListObject.image.creationTime = imageNode["CreationTime"].asString(); + if(!imageNode["Type"].isNull()) + mediaListObject.image.type = imageNode["Type"].asString(); + if(!imageNode["Status"].isNull()) + mediaListObject.image.status = imageNode["Status"].asString(); + if(!imageNode["CateId"].isNull()) + mediaListObject.image.cateId = std::stol(imageNode["CateId"].asString()); + if(!imageNode["Tags"].isNull()) + mediaListObject.image.tags = imageNode["Tags"].asString(); + if(!imageNode["ModificationTime"].isNull()) + mediaListObject.image.modificationTime = imageNode["ModificationTime"].asString(); if(!imageNode["RegionId"].isNull()) mediaListObject.image.regionId = imageNode["RegionId"].asString(); + if(!imageNode["CateName"].isNull()) + mediaListObject.image.cateName = imageNode["CateName"].asString(); + if(!imageNode["Description"].isNull()) + mediaListObject.image.description = imageNode["Description"].asString(); if(!imageNode["AppId"].isNull()) mediaListObject.image.appId = imageNode["AppId"].asString(); + if(!imageNode["URL"].isNull()) + mediaListObject.image.uRL = imageNode["URL"].asString(); + if(!imageNode["Title"].isNull()) + mediaListObject.image.title = imageNode["Title"].asString(); + if(!imageNode["Ext"].isNull()) + mediaListObject.image.ext = imageNode["Ext"].asString(); + if(!imageNode["ImageId"].isNull()) + mediaListObject.image.imageId = imageNode["ImageId"].asString(); auto attachedMediaNode = value["AttachedMedia"]; - if(!attachedMediaNode["Title"].isNull()) - mediaListObject.attachedMedia.title = attachedMediaNode["Title"].asString(); - if(!attachedMediaNode["MediaId"].isNull()) - mediaListObject.attachedMedia.mediaId = attachedMediaNode["MediaId"].asString(); - if(!attachedMediaNode["Ext"].isNull()) - mediaListObject.attachedMedia.ext = attachedMediaNode["Ext"].asString(); if(!attachedMediaNode["CreationTime"].isNull()) mediaListObject.attachedMedia.creationTime = attachedMediaNode["CreationTime"].asString(); - if(!attachedMediaNode["ModificationTime"].isNull()) - mediaListObject.attachedMedia.modificationTime = attachedMediaNode["ModificationTime"].asString(); - if(!attachedMediaNode["Tags"].isNull()) - mediaListObject.attachedMedia.tags = attachedMediaNode["Tags"].asString(); - if(!attachedMediaNode["BusinessType"].isNull()) - mediaListObject.attachedMedia.businessType = attachedMediaNode["BusinessType"].asString(); - if(!attachedMediaNode["URL"].isNull()) - mediaListObject.attachedMedia.uRL = attachedMediaNode["URL"].asString(); if(!attachedMediaNode["Status"].isNull()) mediaListObject.attachedMedia.status = attachedMediaNode["Status"].asString(); - if(!attachedMediaNode["Description"].isNull()) - mediaListObject.attachedMedia.description = attachedMediaNode["Description"].asString(); if(!attachedMediaNode["StorageLocation"].isNull()) mediaListObject.attachedMedia.storageLocation = attachedMediaNode["StorageLocation"].asString(); - if(!attachedMediaNode["RegionId"].isNull()) - mediaListObject.attachedMedia.regionId = attachedMediaNode["RegionId"].asString(); - if(!attachedMediaNode["AppId"].isNull()) - mediaListObject.attachedMedia.appId = attachedMediaNode["AppId"].asString(); if(!attachedMediaNode["Icon"].isNull()) mediaListObject.attachedMedia.icon = attachedMediaNode["Icon"].asString(); + if(!attachedMediaNode["Tags"].isNull()) + mediaListObject.attachedMedia.tags = attachedMediaNode["Tags"].asString(); + if(!attachedMediaNode["ModificationTime"].isNull()) + mediaListObject.attachedMedia.modificationTime = attachedMediaNode["ModificationTime"].asString(); + if(!attachedMediaNode["MediaId"].isNull()) + mediaListObject.attachedMedia.mediaId = attachedMediaNode["MediaId"].asString(); + if(!attachedMediaNode["BusinessType"].isNull()) + mediaListObject.attachedMedia.businessType = attachedMediaNode["BusinessType"].asString(); + if(!attachedMediaNode["RegionId"].isNull()) + mediaListObject.attachedMedia.regionId = attachedMediaNode["RegionId"].asString(); + if(!attachedMediaNode["Description"].isNull()) + mediaListObject.attachedMedia.description = attachedMediaNode["Description"].asString(); + if(!attachedMediaNode["AppId"].isNull()) + mediaListObject.attachedMedia.appId = attachedMediaNode["AppId"].asString(); + if(!attachedMediaNode["URL"].isNull()) + mediaListObject.attachedMedia.uRL = attachedMediaNode["URL"].asString(); + if(!attachedMediaNode["Title"].isNull()) + mediaListObject.attachedMedia.title = attachedMediaNode["Title"].asString(); + if(!attachedMediaNode["Ext"].isNull()) + mediaListObject.attachedMedia.ext = attachedMediaNode["Ext"].asString(); if(!attachedMediaNode["OnlineStatus"].isNull()) mediaListObject.attachedMedia.onlineStatus = attachedMediaNode["OnlineStatus"].asString(); auto allCategoriesNode = attachedMediaNode["Categories"]["Category"]; for (auto attachedMediaNodeCategoriesCategory : allCategoriesNode) { Media::AttachedMedia::Category categoryObject; - if(!attachedMediaNodeCategoriesCategory["CateId"].isNull()) - categoryObject.cateId = std::stol(attachedMediaNodeCategoriesCategory["CateId"].asString()); - if(!attachedMediaNodeCategoriesCategory["CateName"].isNull()) - categoryObject.cateName = attachedMediaNodeCategoriesCategory["CateName"].asString(); - if(!attachedMediaNodeCategoriesCategory["Level"].isNull()) - categoryObject.level = std::stol(attachedMediaNodeCategoriesCategory["Level"].asString()); if(!attachedMediaNodeCategoriesCategory["ParentId"].isNull()) categoryObject.parentId = std::stol(attachedMediaNodeCategoriesCategory["ParentId"].asString()); + if(!attachedMediaNodeCategoriesCategory["CateName"].isNull()) + categoryObject.cateName = attachedMediaNodeCategoriesCategory["CateName"].asString(); + if(!attachedMediaNodeCategoriesCategory["CateId"].isNull()) + categoryObject.cateId = std::stol(attachedMediaNodeCategoriesCategory["CateId"].asString()); + if(!attachedMediaNodeCategoriesCategory["Level"].isNull()) + categoryObject.level = std::stol(attachedMediaNodeCategoriesCategory["Level"].asString()); mediaListObject.attachedMedia.categories.push_back(categoryObject); } mediaList_.push_back(mediaListObject); } - if(!value["ScrollToken"].isNull()) - scrollToken_ = value["ScrollToken"].asString(); if(!value["Total"].isNull()) total_ = std::stol(value["Total"].asString()); + if(!value["ScrollToken"].isNull()) + scrollToken_ = value["ScrollToken"].asString(); } diff --git a/vod/src/model/SetAuditSecurityIpRequest.cc b/vod/src/model/SetAuditSecurityIpRequest.cc index 7b8dc8e06..f36d39c7e 100644 --- a/vod/src/model/SetAuditSecurityIpRequest.cc +++ b/vod/src/model/SetAuditSecurityIpRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SetAuditSecurityIpRequest; - -SetAuditSecurityIpRequest::SetAuditSecurityIpRequest() : - RpcServiceRequest("vod", "2017-03-21", "SetAuditSecurityIp") -{ - setMethod(HttpRequest::Method::Post); -} - -SetAuditSecurityIpRequest::~SetAuditSecurityIpRequest() -{} - -std::string SetAuditSecurityIpRequest::getSecurityGroupName()const -{ - return securityGroupName_; + */ + +#include + +using AlibabaCloud::Vod::Model::SetAuditSecurityIpRequest; + +SetAuditSecurityIpRequest::SetAuditSecurityIpRequest() + : RpcServiceRequest("vod", "2017-03-21", "SetAuditSecurityIp") { + setMethod(HttpRequest::Method::Post); } -void SetAuditSecurityIpRequest::setSecurityGroupName(const std::string& securityGroupName) -{ - securityGroupName_ = securityGroupName; - setParameter("SecurityGroupName", securityGroupName); +SetAuditSecurityIpRequest::~SetAuditSecurityIpRequest() {} + +std::string SetAuditSecurityIpRequest::getSecurityGroupName() const { + return securityGroupName_; } -std::string SetAuditSecurityIpRequest::getOperateMode()const -{ - return operateMode_; +void SetAuditSecurityIpRequest::setSecurityGroupName(const std::string &securityGroupName) { + securityGroupName_ = securityGroupName; + setParameter(std::string("SecurityGroupName"), securityGroupName); } -void SetAuditSecurityIpRequest::setOperateMode(const std::string& operateMode) -{ - operateMode_ = operateMode; - setParameter("OperateMode", operateMode); +std::string SetAuditSecurityIpRequest::getOperateMode() const { + return operateMode_; } -std::string SetAuditSecurityIpRequest::getIps()const -{ - return ips_; +void SetAuditSecurityIpRequest::setOperateMode(const std::string &operateMode) { + operateMode_ = operateMode; + setParameter(std::string("OperateMode"), operateMode); } -void SetAuditSecurityIpRequest::setIps(const std::string& ips) -{ - ips_ = ips; - setParameter("Ips", ips); +std::string SetAuditSecurityIpRequest::getIps() const { + return ips_; +} + +void SetAuditSecurityIpRequest::setIps(const std::string &ips) { + ips_ = ips; + setParameter(std::string("Ips"), ips); } diff --git a/vod/src/model/SetCrossdomainContentRequest.cc b/vod/src/model/SetCrossdomainContentRequest.cc index 11077c484..4f5f9e31d 100644 --- a/vod/src/model/SetCrossdomainContentRequest.cc +++ b/vod/src/model/SetCrossdomainContentRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SetCrossdomainContentRequest; - -SetCrossdomainContentRequest::SetCrossdomainContentRequest() : - RpcServiceRequest("vod", "2017-03-21", "SetCrossdomainContent") -{ - setMethod(HttpRequest::Method::Post); -} - -SetCrossdomainContentRequest::~SetCrossdomainContentRequest() -{} - -std::string SetCrossdomainContentRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SetCrossdomainContentRequest; + +SetCrossdomainContentRequest::SetCrossdomainContentRequest() + : RpcServiceRequest("vod", "2017-03-21", "SetCrossdomainContent") { + setMethod(HttpRequest::Method::Post); } -void SetCrossdomainContentRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +SetCrossdomainContentRequest::~SetCrossdomainContentRequest() {} + +std::string SetCrossdomainContentRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string SetCrossdomainContentRequest::getResourceRealOwnerId()const -{ - return resourceRealOwnerId_; +void SetCrossdomainContentRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void SetCrossdomainContentRequest::setResourceRealOwnerId(const std::string& resourceRealOwnerId) -{ - resourceRealOwnerId_ = resourceRealOwnerId; - setParameter("ResourceRealOwnerId", resourceRealOwnerId); +std::string SetCrossdomainContentRequest::getResourceRealOwnerId() const { + return resourceRealOwnerId_; } -std::string SetCrossdomainContentRequest::getContent()const -{ - return content_; +void SetCrossdomainContentRequest::setResourceRealOwnerId(const std::string &resourceRealOwnerId) { + resourceRealOwnerId_ = resourceRealOwnerId; + setParameter(std::string("ResourceRealOwnerId"), resourceRealOwnerId); } -void SetCrossdomainContentRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); +std::string SetCrossdomainContentRequest::getContent() const { + return content_; } -std::string SetCrossdomainContentRequest::getAccessKeyId()const -{ - return accessKeyId_; +void SetCrossdomainContentRequest::setContent(const std::string &content) { + content_ = content; + setParameter(std::string("Content"), content); } -void SetCrossdomainContentRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string SetCrossdomainContentRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SetCrossdomainContentRequest::getStorageLocation()const -{ - return storageLocation_; +void SetCrossdomainContentRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SetCrossdomainContentRequest::setStorageLocation(const std::string& storageLocation) -{ - storageLocation_ = storageLocation; - setParameter("StorageLocation", storageLocation); +std::string SetCrossdomainContentRequest::getStorageLocation() const { + return storageLocation_; } -std::string SetCrossdomainContentRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void SetCrossdomainContentRequest::setStorageLocation(const std::string &storageLocation) { + storageLocation_ = storageLocation; + setParameter(std::string("StorageLocation"), storageLocation); } -void SetCrossdomainContentRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string SetCrossdomainContentRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string SetCrossdomainContentRequest::getOwnerAccount()const -{ - return ownerAccount_; +void SetCrossdomainContentRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void SetCrossdomainContentRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string SetCrossdomainContentRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string SetCrossdomainContentRequest::getOwnerId()const -{ - return ownerId_; +void SetCrossdomainContentRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void SetCrossdomainContentRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string SetCrossdomainContentRequest::getOwnerId() const { + return ownerId_; +} + +void SetCrossdomainContentRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } diff --git a/vod/src/model/SetDefaultAITemplateRequest.cc b/vod/src/model/SetDefaultAITemplateRequest.cc index c44b650ab..3c7e868ee 100644 --- a/vod/src/model/SetDefaultAITemplateRequest.cc +++ b/vod/src/model/SetDefaultAITemplateRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SetDefaultAITemplateRequest; - -SetDefaultAITemplateRequest::SetDefaultAITemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "SetDefaultAITemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDefaultAITemplateRequest::~SetDefaultAITemplateRequest() -{} - -std::string SetDefaultAITemplateRequest::getTemplateId()const -{ - return templateId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SetDefaultAITemplateRequest; + +SetDefaultAITemplateRequest::SetDefaultAITemplateRequest() + : RpcServiceRequest("vod", "2017-03-21", "SetDefaultAITemplate") { + setMethod(HttpRequest::Method::Post); } -void SetDefaultAITemplateRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); +SetDefaultAITemplateRequest::~SetDefaultAITemplateRequest() {} + +std::string SetDefaultAITemplateRequest::getTemplateId() const { + return templateId_; +} + +void SetDefaultAITemplateRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); } diff --git a/vod/src/model/SetDefaultTranscodeTemplateGroupRequest.cc b/vod/src/model/SetDefaultTranscodeTemplateGroupRequest.cc index 4c285dbec..1339fd2eb 100644 --- a/vod/src/model/SetDefaultTranscodeTemplateGroupRequest.cc +++ b/vod/src/model/SetDefaultTranscodeTemplateGroupRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SetDefaultTranscodeTemplateGroupRequest; - -SetDefaultTranscodeTemplateGroupRequest::SetDefaultTranscodeTemplateGroupRequest() : - RpcServiceRequest("vod", "2017-03-21", "SetDefaultTranscodeTemplateGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDefaultTranscodeTemplateGroupRequest::~SetDefaultTranscodeTemplateGroupRequest() -{} - -std::string SetDefaultTranscodeTemplateGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SetDefaultTranscodeTemplateGroupRequest; + +SetDefaultTranscodeTemplateGroupRequest::SetDefaultTranscodeTemplateGroupRequest() + : RpcServiceRequest("vod", "2017-03-21", "SetDefaultTranscodeTemplateGroup") { + setMethod(HttpRequest::Method::Post); } -void SetDefaultTranscodeTemplateGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +SetDefaultTranscodeTemplateGroupRequest::~SetDefaultTranscodeTemplateGroupRequest() {} + +std::string SetDefaultTranscodeTemplateGroupRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SetDefaultTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId()const -{ - return transcodeTemplateGroupId_; +void SetDefaultTranscodeTemplateGroupRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SetDefaultTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId) -{ - transcodeTemplateGroupId_ = transcodeTemplateGroupId; - setParameter("TranscodeTemplateGroupId", transcodeTemplateGroupId); +std::string SetDefaultTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId() const { + return transcodeTemplateGroupId_; +} + +void SetDefaultTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string &transcodeTemplateGroupId) { + transcodeTemplateGroupId_ = transcodeTemplateGroupId; + setParameter(std::string("TranscodeTemplateGroupId"), transcodeTemplateGroupId); } diff --git a/vod/src/model/SetDefaultWatermarkRequest.cc b/vod/src/model/SetDefaultWatermarkRequest.cc index 8bbd98471..f07b83c26 100644 --- a/vod/src/model/SetDefaultWatermarkRequest.cc +++ b/vod/src/model/SetDefaultWatermarkRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SetDefaultWatermarkRequest; - -SetDefaultWatermarkRequest::SetDefaultWatermarkRequest() : - RpcServiceRequest("vod", "2017-03-21", "SetDefaultWatermark") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDefaultWatermarkRequest::~SetDefaultWatermarkRequest() -{} - -std::string SetDefaultWatermarkRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SetDefaultWatermarkRequest; + +SetDefaultWatermarkRequest::SetDefaultWatermarkRequest() + : RpcServiceRequest("vod", "2017-03-21", "SetDefaultWatermark") { + setMethod(HttpRequest::Method::Post); } -void SetDefaultWatermarkRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +SetDefaultWatermarkRequest::~SetDefaultWatermarkRequest() {} + +std::string SetDefaultWatermarkRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SetDefaultWatermarkRequest::getWatermarkId()const -{ - return watermarkId_; +void SetDefaultWatermarkRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SetDefaultWatermarkRequest::setWatermarkId(const std::string& watermarkId) -{ - watermarkId_ = watermarkId; - setParameter("WatermarkId", watermarkId); +std::string SetDefaultWatermarkRequest::getWatermarkId() const { + return watermarkId_; +} + +void SetDefaultWatermarkRequest::setWatermarkId(const std::string &watermarkId) { + watermarkId_ = watermarkId; + setParameter(std::string("WatermarkId"), watermarkId); } diff --git a/vod/src/model/SetEditingProjectMaterialsRequest.cc b/vod/src/model/SetEditingProjectMaterialsRequest.cc index d71d8ebbe..f4cf392e0 100644 --- a/vod/src/model/SetEditingProjectMaterialsRequest.cc +++ b/vod/src/model/SetEditingProjectMaterialsRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SetEditingProjectMaterialsRequest; - -SetEditingProjectMaterialsRequest::SetEditingProjectMaterialsRequest() : - RpcServiceRequest("vod", "2017-03-21", "SetEditingProjectMaterials") -{ - setMethod(HttpRequest::Method::Post); -} - -SetEditingProjectMaterialsRequest::~SetEditingProjectMaterialsRequest() -{} - -std::string SetEditingProjectMaterialsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SetEditingProjectMaterialsRequest; + +SetEditingProjectMaterialsRequest::SetEditingProjectMaterialsRequest() + : RpcServiceRequest("vod", "2017-03-21", "SetEditingProjectMaterials") { + setMethod(HttpRequest::Method::Post); } -void SetEditingProjectMaterialsRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +SetEditingProjectMaterialsRequest::~SetEditingProjectMaterialsRequest() {} + +std::string SetEditingProjectMaterialsRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string SetEditingProjectMaterialsRequest::getAccessKeyId()const -{ - return accessKeyId_; +void SetEditingProjectMaterialsRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void SetEditingProjectMaterialsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string SetEditingProjectMaterialsRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SetEditingProjectMaterialsRequest::getProjectId()const -{ - return projectId_; +void SetEditingProjectMaterialsRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SetEditingProjectMaterialsRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", projectId); +std::string SetEditingProjectMaterialsRequest::getProjectId() const { + return projectId_; } -std::string SetEditingProjectMaterialsRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void SetEditingProjectMaterialsRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); } -void SetEditingProjectMaterialsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string SetEditingProjectMaterialsRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string SetEditingProjectMaterialsRequest::getOwnerAccount()const -{ - return ownerAccount_; +void SetEditingProjectMaterialsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void SetEditingProjectMaterialsRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string SetEditingProjectMaterialsRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string SetEditingProjectMaterialsRequest::getOwnerId()const -{ - return ownerId_; +void SetEditingProjectMaterialsRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void SetEditingProjectMaterialsRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string SetEditingProjectMaterialsRequest::getOwnerId() const { + return ownerId_; } -std::string SetEditingProjectMaterialsRequest::getMaterialIds()const -{ - return materialIds_; +void SetEditingProjectMaterialsRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void SetEditingProjectMaterialsRequest::setMaterialIds(const std::string& materialIds) -{ - materialIds_ = materialIds; - setParameter("MaterialIds", materialIds); +std::string SetEditingProjectMaterialsRequest::getMaterialIds() const { + return materialIds_; +} + +void SetEditingProjectMaterialsRequest::setMaterialIds(const std::string &materialIds) { + materialIds_ = materialIds; + setParameter(std::string("MaterialIds"), materialIds); } diff --git a/vod/src/model/SetMessageCallbackRequest.cc b/vod/src/model/SetMessageCallbackRequest.cc index e9b5f241c..8116a96da 100644 --- a/vod/src/model/SetMessageCallbackRequest.cc +++ b/vod/src/model/SetMessageCallbackRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SetMessageCallbackRequest; - -SetMessageCallbackRequest::SetMessageCallbackRequest() : - RpcServiceRequest("vod", "2017-03-21", "SetMessageCallback") -{ - setMethod(HttpRequest::Method::Post); -} - -SetMessageCallbackRequest::~SetMessageCallbackRequest() -{} - -std::string SetMessageCallbackRequest::getAuthKey()const -{ - return authKey_; + */ + +#include + +using AlibabaCloud::Vod::Model::SetMessageCallbackRequest; + +SetMessageCallbackRequest::SetMessageCallbackRequest() + : RpcServiceRequest("vod", "2017-03-21", "SetMessageCallback") { + setMethod(HttpRequest::Method::Post); } -void SetMessageCallbackRequest::setAuthKey(const std::string& authKey) -{ - authKey_ = authKey; - setParameter("AuthKey", authKey); +SetMessageCallbackRequest::~SetMessageCallbackRequest() {} + +std::string SetMessageCallbackRequest::getAuthKey() const { + return authKey_; } -long SetMessageCallbackRequest::getResourceRealOwnerId()const -{ - return resourceRealOwnerId_; +void SetMessageCallbackRequest::setAuthKey(const std::string &authKey) { + authKey_ = authKey; + setParameter(std::string("AuthKey"), authKey); } -void SetMessageCallbackRequest::setResourceRealOwnerId(long resourceRealOwnerId) -{ - resourceRealOwnerId_ = resourceRealOwnerId; - setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId)); +long SetMessageCallbackRequest::getResourceRealOwnerId() const { + return resourceRealOwnerId_; } -std::string SetMessageCallbackRequest::getAccessKeyId()const -{ - return accessKeyId_; +void SetMessageCallbackRequest::setResourceRealOwnerId(long resourceRealOwnerId) { + resourceRealOwnerId_ = resourceRealOwnerId; + setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId)); } -void SetMessageCallbackRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string SetMessageCallbackRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SetMessageCallbackRequest::getCallbackType()const -{ - return callbackType_; +void SetMessageCallbackRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SetMessageCallbackRequest::setCallbackType(const std::string& callbackType) -{ - callbackType_ = callbackType; - setParameter("CallbackType", callbackType); +std::string SetMessageCallbackRequest::getCallbackType() const { + return callbackType_; } -std::string SetMessageCallbackRequest::getCallbackSwitch()const -{ - return callbackSwitch_; +void SetMessageCallbackRequest::setCallbackType(const std::string &callbackType) { + callbackType_ = callbackType; + setParameter(std::string("CallbackType"), callbackType); } -void SetMessageCallbackRequest::setCallbackSwitch(const std::string& callbackSwitch) -{ - callbackSwitch_ = callbackSwitch; - setParameter("CallbackSwitch", callbackSwitch); +std::string SetMessageCallbackRequest::getCallbackSwitch() const { + return callbackSwitch_; } -std::string SetMessageCallbackRequest::getOwnerAccount()const -{ - return ownerAccount_; +void SetMessageCallbackRequest::setCallbackSwitch(const std::string &callbackSwitch) { + callbackSwitch_ = callbackSwitch; + setParameter(std::string("CallbackSwitch"), callbackSwitch); } -void SetMessageCallbackRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string SetMessageCallbackRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string SetMessageCallbackRequest::getEventTypeList()const -{ - return eventTypeList_; +void SetMessageCallbackRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void SetMessageCallbackRequest::setEventTypeList(const std::string& eventTypeList) -{ - eventTypeList_ = eventTypeList; - setParameter("EventTypeList", eventTypeList); +std::string SetMessageCallbackRequest::getEventTypeList() const { + return eventTypeList_; } -std::string SetMessageCallbackRequest::getMnsQueueName()const -{ - return mnsQueueName_; +void SetMessageCallbackRequest::setEventTypeList(const std::string &eventTypeList) { + eventTypeList_ = eventTypeList; + setParameter(std::string("EventTypeList"), eventTypeList); } -void SetMessageCallbackRequest::setMnsQueueName(const std::string& mnsQueueName) -{ - mnsQueueName_ = mnsQueueName; - setParameter("MnsQueueName", mnsQueueName); +std::string SetMessageCallbackRequest::getMnsQueueName() const { + return mnsQueueName_; } -std::string SetMessageCallbackRequest::getMnsEndpoint()const -{ - return mnsEndpoint_; +void SetMessageCallbackRequest::setMnsQueueName(const std::string &mnsQueueName) { + mnsQueueName_ = mnsQueueName; + setParameter(std::string("MnsQueueName"), mnsQueueName); } -void SetMessageCallbackRequest::setMnsEndpoint(const std::string& mnsEndpoint) -{ - mnsEndpoint_ = mnsEndpoint; - setParameter("MnsEndpoint", mnsEndpoint); +std::string SetMessageCallbackRequest::getMnsEndpoint() const { + return mnsEndpoint_; } -std::string SetMessageCallbackRequest::getAppId()const -{ - return appId_; +void SetMessageCallbackRequest::setMnsEndpoint(const std::string &mnsEndpoint) { + mnsEndpoint_ = mnsEndpoint; + setParameter(std::string("MnsEndpoint"), mnsEndpoint); } -void SetMessageCallbackRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string SetMessageCallbackRequest::getAppId() const { + return appId_; } -std::string SetMessageCallbackRequest::getAuthSwitch()const -{ - return authSwitch_; +void SetMessageCallbackRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void SetMessageCallbackRequest::setAuthSwitch(const std::string& authSwitch) -{ - authSwitch_ = authSwitch; - setParameter("AuthSwitch", authSwitch); +std::string SetMessageCallbackRequest::getAuthSwitch() const { + return authSwitch_; } -std::string SetMessageCallbackRequest::getCallbackURL()const -{ - return callbackURL_; +void SetMessageCallbackRequest::setAuthSwitch(const std::string &authSwitch) { + authSwitch_ = authSwitch; + setParameter(std::string("AuthSwitch"), authSwitch); } -void SetMessageCallbackRequest::setCallbackURL(const std::string& callbackURL) -{ - callbackURL_ = callbackURL; - setParameter("CallbackURL", callbackURL); +std::string SetMessageCallbackRequest::getCallbackURL() const { + return callbackURL_; +} + +void SetMessageCallbackRequest::setCallbackURL(const std::string &callbackURL) { + callbackURL_ = callbackURL; + setParameter(std::string("CallbackURL"), callbackURL); } diff --git a/vod/src/model/SetVodDomainCertificateRequest.cc b/vod/src/model/SetVodDomainCertificateRequest.cc index 575fd5dd9..91fad7f89 100644 --- a/vod/src/model/SetVodDomainCertificateRequest.cc +++ b/vod/src/model/SetVodDomainCertificateRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SetVodDomainCertificateRequest; - -SetVodDomainCertificateRequest::SetVodDomainCertificateRequest() : - RpcServiceRequest("vod", "2017-03-21", "SetVodDomainCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -SetVodDomainCertificateRequest::~SetVodDomainCertificateRequest() -{} - -std::string SetVodDomainCertificateRequest::getSSLProtocol()const -{ - return sSLProtocol_; + */ + +#include + +using AlibabaCloud::Vod::Model::SetVodDomainCertificateRequest; + +SetVodDomainCertificateRequest::SetVodDomainCertificateRequest() + : RpcServiceRequest("vod", "2017-03-21", "SetVodDomainCertificate") { + setMethod(HttpRequest::Method::Post); } -void SetVodDomainCertificateRequest::setSSLProtocol(const std::string& sSLProtocol) -{ - sSLProtocol_ = sSLProtocol; - setParameter("SSLProtocol", sSLProtocol); +SetVodDomainCertificateRequest::~SetVodDomainCertificateRequest() {} + +std::string SetVodDomainCertificateRequest::getSSLProtocol() const { + return sSLProtocol_; } -std::string SetVodDomainCertificateRequest::getSecurityToken()const -{ - return securityToken_; +void SetVodDomainCertificateRequest::setSSLProtocol(const std::string &sSLProtocol) { + sSLProtocol_ = sSLProtocol; + setParameter(std::string("SSLProtocol"), sSLProtocol); } -void SetVodDomainCertificateRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string SetVodDomainCertificateRequest::getSecurityToken() const { + return securityToken_; } -std::string SetVodDomainCertificateRequest::getSSLPri()const -{ - return sSLPri_; +void SetVodDomainCertificateRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void SetVodDomainCertificateRequest::setSSLPri(const std::string& sSLPri) -{ - sSLPri_ = sSLPri; - setParameter("SSLPri", sSLPri); +std::string SetVodDomainCertificateRequest::getSSLPri() const { + return sSLPri_; } -std::string SetVodDomainCertificateRequest::getCertName()const -{ - return certName_; +void SetVodDomainCertificateRequest::setSSLPri(const std::string &sSLPri) { + sSLPri_ = sSLPri; + setParameter(std::string("SSLPri"), sSLPri); } -void SetVodDomainCertificateRequest::setCertName(const std::string& certName) -{ - certName_ = certName; - setParameter("CertName", certName); +std::string SetVodDomainCertificateRequest::getCertName() const { + return certName_; } -std::string SetVodDomainCertificateRequest::getDomainName()const -{ - return domainName_; +void SetVodDomainCertificateRequest::setCertName(const std::string &certName) { + certName_ = certName; + setParameter(std::string("CertName"), certName); } -void SetVodDomainCertificateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetVodDomainCertificateRequest::getDomainName() const { + return domainName_; } -long SetVodDomainCertificateRequest::getOwnerId()const -{ - return ownerId_; +void SetVodDomainCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetVodDomainCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetVodDomainCertificateRequest::getOwnerId() const { + return ownerId_; } -std::string SetVodDomainCertificateRequest::getSSLPub()const -{ - return sSLPub_; +void SetVodDomainCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetVodDomainCertificateRequest::setSSLPub(const std::string& sSLPub) -{ - sSLPub_ = sSLPub; - setParameter("SSLPub", sSLPub); +std::string SetVodDomainCertificateRequest::getSSLPub() const { + return sSLPub_; } -std::string SetVodDomainCertificateRequest::getRegion()const -{ - return region_; +void SetVodDomainCertificateRequest::setSSLPub(const std::string &sSLPub) { + sSLPub_ = sSLPub; + setParameter(std::string("SSLPub"), sSLPub); } -void SetVodDomainCertificateRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string SetVodDomainCertificateRequest::getRegion() const { + return region_; +} + +void SetVodDomainCertificateRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } diff --git a/vod/src/model/SubmitAIImageAuditJobRequest.cc b/vod/src/model/SubmitAIImageAuditJobRequest.cc index 134096a20..f601bb23e 100644 --- a/vod/src/model/SubmitAIImageAuditJobRequest.cc +++ b/vod/src/model/SubmitAIImageAuditJobRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SubmitAIImageAuditJobRequest; - -SubmitAIImageAuditJobRequest::SubmitAIImageAuditJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitAIImageAuditJob") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitAIImageAuditJobRequest::~SubmitAIImageAuditJobRequest() -{} - -std::string SubmitAIImageAuditJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SubmitAIImageAuditJobRequest; + +SubmitAIImageAuditJobRequest::SubmitAIImageAuditJobRequest() + : RpcServiceRequest("vod", "2017-03-21", "SubmitAIImageAuditJob") { + setMethod(HttpRequest::Method::Post); } -void SubmitAIImageAuditJobRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +SubmitAIImageAuditJobRequest::~SubmitAIImageAuditJobRequest() {} + +std::string SubmitAIImageAuditJobRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string SubmitAIImageAuditJobRequest::getAccessKeyId()const -{ - return accessKeyId_; +void SubmitAIImageAuditJobRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void SubmitAIImageAuditJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string SubmitAIImageAuditJobRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SubmitAIImageAuditJobRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void SubmitAIImageAuditJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SubmitAIImageAuditJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string SubmitAIImageAuditJobRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string SubmitAIImageAuditJobRequest::getOwnerAccount()const -{ - return ownerAccount_; +void SubmitAIImageAuditJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void SubmitAIImageAuditJobRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string SubmitAIImageAuditJobRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string SubmitAIImageAuditJobRequest::getOwnerId()const -{ - return ownerId_; +void SubmitAIImageAuditJobRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void SubmitAIImageAuditJobRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string SubmitAIImageAuditJobRequest::getOwnerId() const { + return ownerId_; } -std::string SubmitAIImageAuditJobRequest::getMediaId()const -{ - return mediaId_; +void SubmitAIImageAuditJobRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void SubmitAIImageAuditJobRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +std::string SubmitAIImageAuditJobRequest::getMediaId() const { + return mediaId_; } -std::string SubmitAIImageAuditJobRequest::getTemplateId()const -{ - return templateId_; +void SubmitAIImageAuditJobRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } -void SubmitAIImageAuditJobRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); +std::string SubmitAIImageAuditJobRequest::getTemplateId() const { + return templateId_; } -std::string SubmitAIImageAuditJobRequest::getMediaAuditConfiguration()const -{ - return mediaAuditConfiguration_; +void SubmitAIImageAuditJobRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); } -void SubmitAIImageAuditJobRequest::setMediaAuditConfiguration(const std::string& mediaAuditConfiguration) -{ - mediaAuditConfiguration_ = mediaAuditConfiguration; - setParameter("MediaAuditConfiguration", mediaAuditConfiguration); +std::string SubmitAIImageAuditJobRequest::getMediaAuditConfiguration() const { + return mediaAuditConfiguration_; +} + +void SubmitAIImageAuditJobRequest::setMediaAuditConfiguration(const std::string &mediaAuditConfiguration) { + mediaAuditConfiguration_ = mediaAuditConfiguration; + setParameter(std::string("MediaAuditConfiguration"), mediaAuditConfiguration); } diff --git a/vod/src/model/SubmitAIImageJobRequest.cc b/vod/src/model/SubmitAIImageJobRequest.cc index f1e31e121..ef98167e1 100644 --- a/vod/src/model/SubmitAIImageJobRequest.cc +++ b/vod/src/model/SubmitAIImageJobRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Vod::Model::SubmitAIImageJobRequest; - -SubmitAIImageJobRequest::SubmitAIImageJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitAIImageJob") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitAIImageJobRequest::~SubmitAIImageJobRequest() -{} - -std::string SubmitAIImageJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SubmitAIImageJobRequest; + +SubmitAIImageJobRequest::SubmitAIImageJobRequest() + : RpcServiceRequest("vod", "2017-03-21", "SubmitAIImageJob") { + setMethod(HttpRequest::Method::Post); } -void SubmitAIImageJobRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +SubmitAIImageJobRequest::~SubmitAIImageJobRequest() {} + +std::string SubmitAIImageJobRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string SubmitAIImageJobRequest::getAIPipelineId()const -{ - return aIPipelineId_; +void SubmitAIImageJobRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void SubmitAIImageJobRequest::setAIPipelineId(const std::string& aIPipelineId) -{ - aIPipelineId_ = aIPipelineId; - setParameter("AIPipelineId", aIPipelineId); +std::string SubmitAIImageJobRequest::getAIPipelineId() const { + return aIPipelineId_; } -std::string SubmitAIImageJobRequest::getAccessKeyId()const -{ - return accessKeyId_; +void SubmitAIImageJobRequest::setAIPipelineId(const std::string &aIPipelineId) { + aIPipelineId_ = aIPipelineId; + setParameter(std::string("AIPipelineId"), aIPipelineId); } -void SubmitAIImageJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string SubmitAIImageJobRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SubmitAIImageJobRequest::getUserData()const -{ - return userData_; +void SubmitAIImageJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SubmitAIImageJobRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +std::string SubmitAIImageJobRequest::getUserData() const { + return userData_; } -std::string SubmitAIImageJobRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void SubmitAIImageJobRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void SubmitAIImageJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string SubmitAIImageJobRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string SubmitAIImageJobRequest::getOwnerAccount()const -{ - return ownerAccount_; +void SubmitAIImageJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void SubmitAIImageJobRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string SubmitAIImageJobRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string SubmitAIImageJobRequest::getVideoId()const -{ - return videoId_; +void SubmitAIImageJobRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void SubmitAIImageJobRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string SubmitAIImageJobRequest::getVideoId() const { + return videoId_; } -std::string SubmitAIImageJobRequest::getAITemplateId()const -{ - return aITemplateId_; +void SubmitAIImageJobRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void SubmitAIImageJobRequest::setAITemplateId(const std::string& aITemplateId) -{ - aITemplateId_ = aITemplateId; - setParameter("AITemplateId", aITemplateId); +std::string SubmitAIImageJobRequest::getAITemplateId() const { + return aITemplateId_; } -std::string SubmitAIImageJobRequest::getOwnerId()const -{ - return ownerId_; +void SubmitAIImageJobRequest::setAITemplateId(const std::string &aITemplateId) { + aITemplateId_ = aITemplateId; + setParameter(std::string("AITemplateId"), aITemplateId); } -void SubmitAIImageJobRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string SubmitAIImageJobRequest::getOwnerId() const { + return ownerId_; +} + +void SubmitAIImageJobRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } diff --git a/vod/src/model/SubmitAIJobRequest.cc b/vod/src/model/SubmitAIJobRequest.cc index a5e3354fc..913dabeff 100644 --- a/vod/src/model/SubmitAIJobRequest.cc +++ b/vod/src/model/SubmitAIJobRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Vod::Model::SubmitAIJobRequest; - -SubmitAIJobRequest::SubmitAIJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitAIJob") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitAIJobRequest::~SubmitAIJobRequest() -{} - -std::string SubmitAIJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SubmitAIJobRequest; + +SubmitAIJobRequest::SubmitAIJobRequest() + : RpcServiceRequest("vod", "2017-03-21", "SubmitAIJob") { + setMethod(HttpRequest::Method::Post); } -void SubmitAIJobRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +SubmitAIJobRequest::~SubmitAIJobRequest() {} + +std::string SubmitAIJobRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string SubmitAIJobRequest::getAccessKeyId()const -{ - return accessKeyId_; +void SubmitAIJobRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void SubmitAIJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string SubmitAIJobRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SubmitAIJobRequest::getUserData()const -{ - return userData_; +void SubmitAIJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SubmitAIJobRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +std::string SubmitAIJobRequest::getUserData() const { + return userData_; } -std::string SubmitAIJobRequest::getTypes()const -{ - return types_; +void SubmitAIJobRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void SubmitAIJobRequest::setTypes(const std::string& types) -{ - types_ = types; - setParameter("Types", types); +std::string SubmitAIJobRequest::getTypes() const { + return types_; } -std::string SubmitAIJobRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void SubmitAIJobRequest::setTypes(const std::string &types) { + types_ = types; + setParameter(std::string("Types"), types); } -void SubmitAIJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string SubmitAIJobRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string SubmitAIJobRequest::getOwnerAccount()const -{ - return ownerAccount_; +void SubmitAIJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void SubmitAIJobRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string SubmitAIJobRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string SubmitAIJobRequest::getOwnerId()const -{ - return ownerId_; +void SubmitAIJobRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void SubmitAIJobRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string SubmitAIJobRequest::getOwnerId() const { + return ownerId_; } -std::string SubmitAIJobRequest::getMediaId()const -{ - return mediaId_; +void SubmitAIJobRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void SubmitAIJobRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +std::string SubmitAIJobRequest::getMediaId() const { + return mediaId_; } -std::string SubmitAIJobRequest::getInput()const -{ - return input_; +void SubmitAIJobRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } -void SubmitAIJobRequest::setInput(const std::string& input) -{ - input_ = input; - setParameter("Input", input); +std::string SubmitAIJobRequest::getInput() const { + return input_; } -std::string SubmitAIJobRequest::getConfig()const -{ - return config_; +void SubmitAIJobRequest::setInput(const std::string &input) { + input_ = input; + setParameter(std::string("Input"), input); } -void SubmitAIJobRequest::setConfig(const std::string& config) -{ - config_ = config; - setParameter("Config", config); +std::string SubmitAIJobRequest::getConfig() const { + return config_; +} + +void SubmitAIJobRequest::setConfig(const std::string &config) { + config_ = config; + setParameter(std::string("Config"), config); } diff --git a/vod/src/model/SubmitAIJobResult.cc b/vod/src/model/SubmitAIJobResult.cc index 1154d30ed..5f150bcc2 100644 --- a/vod/src/model/SubmitAIJobResult.cc +++ b/vod/src/model/SubmitAIJobResult.cc @@ -43,22 +43,22 @@ void SubmitAIJobResult::parse(const std::string &payload) for (auto valueAIJobListAIJob : allAIJobListNode) { AIJob aIJobListObject; - if(!valueAIJobListAIJob["JobId"].isNull()) - aIJobListObject.jobId = valueAIJobListAIJob["JobId"].asString(); + if(!valueAIJobListAIJob["CreationTime"].isNull()) + aIJobListObject.creationTime = valueAIJobListAIJob["CreationTime"].asString(); if(!valueAIJobListAIJob["Type"].isNull()) aIJobListObject.type = valueAIJobListAIJob["Type"].asString(); - if(!valueAIJobListAIJob["MediaId"].isNull()) - aIJobListObject.mediaId = valueAIJobListAIJob["MediaId"].asString(); if(!valueAIJobListAIJob["Status"].isNull()) aIJobListObject.status = valueAIJobListAIJob["Status"].asString(); + if(!valueAIJobListAIJob["Data"].isNull()) + aIJobListObject.data = valueAIJobListAIJob["Data"].asString(); + if(!valueAIJobListAIJob["JobId"].isNull()) + aIJobListObject.jobId = valueAIJobListAIJob["JobId"].asString(); if(!valueAIJobListAIJob["Code"].isNull()) aIJobListObject.code = valueAIJobListAIJob["Code"].asString(); if(!valueAIJobListAIJob["Message"].isNull()) aIJobListObject.message = valueAIJobListAIJob["Message"].asString(); - if(!valueAIJobListAIJob["CreationTime"].isNull()) - aIJobListObject.creationTime = valueAIJobListAIJob["CreationTime"].asString(); - if(!valueAIJobListAIJob["Data"].isNull()) - aIJobListObject.data = valueAIJobListAIJob["Data"].asString(); + if(!valueAIJobListAIJob["MediaId"].isNull()) + aIJobListObject.mediaId = valueAIJobListAIJob["MediaId"].asString(); aIJobList_.push_back(aIJobListObject); } diff --git a/vod/src/model/SubmitAIMediaAuditJobRequest.cc b/vod/src/model/SubmitAIMediaAuditJobRequest.cc index a50ea430c..f6efdb2f3 100644 --- a/vod/src/model/SubmitAIMediaAuditJobRequest.cc +++ b/vod/src/model/SubmitAIMediaAuditJobRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SubmitAIMediaAuditJobRequest; - -SubmitAIMediaAuditJobRequest::SubmitAIMediaAuditJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitAIMediaAuditJob") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitAIMediaAuditJobRequest::~SubmitAIMediaAuditJobRequest() -{} - -std::string SubmitAIMediaAuditJobRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SubmitAIMediaAuditJobRequest; + +SubmitAIMediaAuditJobRequest::SubmitAIMediaAuditJobRequest() + : RpcServiceRequest("vod", "2017-03-21", "SubmitAIMediaAuditJob") { + setMethod(HttpRequest::Method::Post); } -void SubmitAIMediaAuditJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +SubmitAIMediaAuditJobRequest::~SubmitAIMediaAuditJobRequest() {} + +std::string SubmitAIMediaAuditJobRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SubmitAIMediaAuditJobRequest::getUserData()const -{ - return userData_; +void SubmitAIMediaAuditJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SubmitAIMediaAuditJobRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +std::string SubmitAIMediaAuditJobRequest::getUserData() const { + return userData_; } -std::string SubmitAIMediaAuditJobRequest::getMediaId()const -{ - return mediaId_; +void SubmitAIMediaAuditJobRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void SubmitAIMediaAuditJobRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +std::string SubmitAIMediaAuditJobRequest::getMediaId() const { + return mediaId_; } -std::string SubmitAIMediaAuditJobRequest::getTemplateId()const -{ - return templateId_; +void SubmitAIMediaAuditJobRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } -void SubmitAIMediaAuditJobRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); +std::string SubmitAIMediaAuditJobRequest::getTemplateId() const { + return templateId_; } -std::string SubmitAIMediaAuditJobRequest::getMediaAuditConfiguration()const -{ - return mediaAuditConfiguration_; +void SubmitAIMediaAuditJobRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); } -void SubmitAIMediaAuditJobRequest::setMediaAuditConfiguration(const std::string& mediaAuditConfiguration) -{ - mediaAuditConfiguration_ = mediaAuditConfiguration; - setParameter("MediaAuditConfiguration", mediaAuditConfiguration); +std::string SubmitAIMediaAuditJobRequest::getMediaAuditConfiguration() const { + return mediaAuditConfiguration_; } -std::string SubmitAIMediaAuditJobRequest::getMediaType()const -{ - return mediaType_; +void SubmitAIMediaAuditJobRequest::setMediaAuditConfiguration(const std::string &mediaAuditConfiguration) { + mediaAuditConfiguration_ = mediaAuditConfiguration; + setParameter(std::string("MediaAuditConfiguration"), mediaAuditConfiguration); } -void SubmitAIMediaAuditJobRequest::setMediaType(const std::string& mediaType) -{ - mediaType_ = mediaType; - setParameter("MediaType", mediaType); +std::string SubmitAIMediaAuditJobRequest::getMediaType() const { + return mediaType_; +} + +void SubmitAIMediaAuditJobRequest::setMediaType(const std::string &mediaType) { + mediaType_ = mediaType; + setParameter(std::string("MediaType"), mediaType); } diff --git a/vod/src/model/SubmitDynamicImageJobRequest.cc b/vod/src/model/SubmitDynamicImageJobRequest.cc index 6b4fc0b84..70e078765 100644 --- a/vod/src/model/SubmitDynamicImageJobRequest.cc +++ b/vod/src/model/SubmitDynamicImageJobRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SubmitDynamicImageJobRequest; - -SubmitDynamicImageJobRequest::SubmitDynamicImageJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitDynamicImageJob") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitDynamicImageJobRequest::~SubmitDynamicImageJobRequest() -{} - -std::string SubmitDynamicImageJobRequest::getDynamicImageTemplateId()const -{ - return dynamicImageTemplateId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SubmitDynamicImageJobRequest; + +SubmitDynamicImageJobRequest::SubmitDynamicImageJobRequest() + : RpcServiceRequest("vod", "2017-03-21", "SubmitDynamicImageJob") { + setMethod(HttpRequest::Method::Post); } -void SubmitDynamicImageJobRequest::setDynamicImageTemplateId(const std::string& dynamicImageTemplateId) -{ - dynamicImageTemplateId_ = dynamicImageTemplateId; - setParameter("DynamicImageTemplateId", dynamicImageTemplateId); +SubmitDynamicImageJobRequest::~SubmitDynamicImageJobRequest() {} + +std::string SubmitDynamicImageJobRequest::getDynamicImageTemplateId() const { + return dynamicImageTemplateId_; } -std::string SubmitDynamicImageJobRequest::getVideoId()const -{ - return videoId_; +void SubmitDynamicImageJobRequest::setDynamicImageTemplateId(const std::string &dynamicImageTemplateId) { + dynamicImageTemplateId_ = dynamicImageTemplateId; + setParameter(std::string("DynamicImageTemplateId"), dynamicImageTemplateId); } -void SubmitDynamicImageJobRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string SubmitDynamicImageJobRequest::getVideoId() const { + return videoId_; } -std::string SubmitDynamicImageJobRequest::getOverrideParams()const -{ - return overrideParams_; +void SubmitDynamicImageJobRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void SubmitDynamicImageJobRequest::setOverrideParams(const std::string& overrideParams) -{ - overrideParams_ = overrideParams; - setParameter("OverrideParams", overrideParams); +std::string SubmitDynamicImageJobRequest::getOverrideParams() const { + return overrideParams_; } -std::string SubmitDynamicImageJobRequest::getAccessKeyId()const -{ - return accessKeyId_; +void SubmitDynamicImageJobRequest::setOverrideParams(const std::string &overrideParams) { + overrideParams_ = overrideParams; + setParameter(std::string("OverrideParams"), overrideParams); } -void SubmitDynamicImageJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string SubmitDynamicImageJobRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void SubmitDynamicImageJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } diff --git a/vod/src/model/SubmitMediaDNADeleteJobRequest.cc b/vod/src/model/SubmitMediaDNADeleteJobRequest.cc index e5f60dc43..8693cf498 100644 --- a/vod/src/model/SubmitMediaDNADeleteJobRequest.cc +++ b/vod/src/model/SubmitMediaDNADeleteJobRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SubmitMediaDNADeleteJobRequest; - -SubmitMediaDNADeleteJobRequest::SubmitMediaDNADeleteJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitMediaDNADeleteJob") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitMediaDNADeleteJobRequest::~SubmitMediaDNADeleteJobRequest() -{} - -std::string SubmitMediaDNADeleteJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SubmitMediaDNADeleteJobRequest; + +SubmitMediaDNADeleteJobRequest::SubmitMediaDNADeleteJobRequest() + : RpcServiceRequest("vod", "2017-03-21", "SubmitMediaDNADeleteJob") { + setMethod(HttpRequest::Method::Post); } -void SubmitMediaDNADeleteJobRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +SubmitMediaDNADeleteJobRequest::~SubmitMediaDNADeleteJobRequest() {} + +std::string SubmitMediaDNADeleteJobRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string SubmitMediaDNADeleteJobRequest::getFpDBId()const -{ - return fpDBId_; +void SubmitMediaDNADeleteJobRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void SubmitMediaDNADeleteJobRequest::setFpDBId(const std::string& fpDBId) -{ - fpDBId_ = fpDBId; - setParameter("FpDBId", fpDBId); +std::string SubmitMediaDNADeleteJobRequest::getFpDBId() const { + return fpDBId_; } -std::string SubmitMediaDNADeleteJobRequest::getAccessKeyId()const -{ - return accessKeyId_; +void SubmitMediaDNADeleteJobRequest::setFpDBId(const std::string &fpDBId) { + fpDBId_ = fpDBId; + setParameter(std::string("FpDBId"), fpDBId); } -void SubmitMediaDNADeleteJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string SubmitMediaDNADeleteJobRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SubmitMediaDNADeleteJobRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void SubmitMediaDNADeleteJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SubmitMediaDNADeleteJobRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string SubmitMediaDNADeleteJobRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string SubmitMediaDNADeleteJobRequest::getOwnerAccount()const -{ - return ownerAccount_; +void SubmitMediaDNADeleteJobRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void SubmitMediaDNADeleteJobRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string SubmitMediaDNADeleteJobRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string SubmitMediaDNADeleteJobRequest::getOwnerId()const -{ - return ownerId_; +void SubmitMediaDNADeleteJobRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void SubmitMediaDNADeleteJobRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string SubmitMediaDNADeleteJobRequest::getOwnerId() const { + return ownerId_; } -std::string SubmitMediaDNADeleteJobRequest::getMediaId()const -{ - return mediaId_; +void SubmitMediaDNADeleteJobRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void SubmitMediaDNADeleteJobRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +std::string SubmitMediaDNADeleteJobRequest::getMediaId() const { + return mediaId_; +} + +void SubmitMediaDNADeleteJobRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } diff --git a/vod/src/model/SubmitPreprocessJobsRequest.cc b/vod/src/model/SubmitPreprocessJobsRequest.cc index 4effd1c3c..38674fca2 100644 --- a/vod/src/model/SubmitPreprocessJobsRequest.cc +++ b/vod/src/model/SubmitPreprocessJobsRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SubmitPreprocessJobsRequest; - -SubmitPreprocessJobsRequest::SubmitPreprocessJobsRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitPreprocessJobs") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitPreprocessJobsRequest::~SubmitPreprocessJobsRequest() -{} - -std::string SubmitPreprocessJobsRequest::getVideoId()const -{ - return videoId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SubmitPreprocessJobsRequest; + +SubmitPreprocessJobsRequest::SubmitPreprocessJobsRequest() + : RpcServiceRequest("vod", "2017-03-21", "SubmitPreprocessJobs") { + setMethod(HttpRequest::Method::Post); } -void SubmitPreprocessJobsRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +SubmitPreprocessJobsRequest::~SubmitPreprocessJobsRequest() {} + +std::string SubmitPreprocessJobsRequest::getVideoId() const { + return videoId_; } -std::string SubmitPreprocessJobsRequest::getAccessKeyId()const -{ - return accessKeyId_; +void SubmitPreprocessJobsRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void SubmitPreprocessJobsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string SubmitPreprocessJobsRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SubmitPreprocessJobsRequest::getPreprocessType()const -{ - return preprocessType_; +void SubmitPreprocessJobsRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SubmitPreprocessJobsRequest::setPreprocessType(const std::string& preprocessType) -{ - preprocessType_ = preprocessType; - setParameter("PreprocessType", preprocessType); +std::string SubmitPreprocessJobsRequest::getPreprocessType() const { + return preprocessType_; +} + +void SubmitPreprocessJobsRequest::setPreprocessType(const std::string &preprocessType) { + preprocessType_ = preprocessType; + setParameter(std::string("PreprocessType"), preprocessType); } diff --git a/vod/src/model/SubmitSnapshotJobRequest.cc b/vod/src/model/SubmitSnapshotJobRequest.cc index 766f12aa9..47314afb4 100644 --- a/vod/src/model/SubmitSnapshotJobRequest.cc +++ b/vod/src/model/SubmitSnapshotJobRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SubmitSnapshotJobRequest; - -SubmitSnapshotJobRequest::SubmitSnapshotJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitSnapshotJob") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitSnapshotJobRequest::~SubmitSnapshotJobRequest() -{} - -std::string SubmitSnapshotJobRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SubmitSnapshotJobRequest; + +SubmitSnapshotJobRequest::SubmitSnapshotJobRequest() + : RpcServiceRequest("vod", "2017-03-21", "SubmitSnapshotJob") { + setMethod(HttpRequest::Method::Post); } -void SubmitSnapshotJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +SubmitSnapshotJobRequest::~SubmitSnapshotJobRequest() {} + +std::string SubmitSnapshotJobRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SubmitSnapshotJobRequest::getUserData()const -{ - return userData_; +void SubmitSnapshotJobRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SubmitSnapshotJobRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +std::string SubmitSnapshotJobRequest::getUserData() const { + return userData_; } -long SubmitSnapshotJobRequest::getSpecifiedOffsetTime()const -{ - return specifiedOffsetTime_; +void SubmitSnapshotJobRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void SubmitSnapshotJobRequest::setSpecifiedOffsetTime(long specifiedOffsetTime) -{ - specifiedOffsetTime_ = specifiedOffsetTime; - setParameter("SpecifiedOffsetTime", std::to_string(specifiedOffsetTime)); +long SubmitSnapshotJobRequest::getSpecifiedOffsetTime() const { + return specifiedOffsetTime_; } -std::string SubmitSnapshotJobRequest::getSpriteSnapshotConfig()const -{ - return spriteSnapshotConfig_; +void SubmitSnapshotJobRequest::setSpecifiedOffsetTime(long specifiedOffsetTime) { + specifiedOffsetTime_ = specifiedOffsetTime; + setParameter(std::string("SpecifiedOffsetTime"), std::to_string(specifiedOffsetTime)); } -void SubmitSnapshotJobRequest::setSpriteSnapshotConfig(const std::string& spriteSnapshotConfig) -{ - spriteSnapshotConfig_ = spriteSnapshotConfig; - setParameter("SpriteSnapshotConfig", spriteSnapshotConfig); +std::string SubmitSnapshotJobRequest::getSpriteSnapshotConfig() const { + return spriteSnapshotConfig_; } -std::string SubmitSnapshotJobRequest::getSnapshotTemplateId()const -{ - return snapshotTemplateId_; +void SubmitSnapshotJobRequest::setSpriteSnapshotConfig(const std::string &spriteSnapshotConfig) { + spriteSnapshotConfig_ = spriteSnapshotConfig; + setParameter(std::string("SpriteSnapshotConfig"), spriteSnapshotConfig); } -void SubmitSnapshotJobRequest::setSnapshotTemplateId(const std::string& snapshotTemplateId) -{ - snapshotTemplateId_ = snapshotTemplateId; - setParameter("SnapshotTemplateId", snapshotTemplateId); +std::string SubmitSnapshotJobRequest::getSnapshotTemplateId() const { + return snapshotTemplateId_; } -std::string SubmitSnapshotJobRequest::getHeight()const -{ - return height_; +void SubmitSnapshotJobRequest::setSnapshotTemplateId(const std::string &snapshotTemplateId) { + snapshotTemplateId_ = snapshotTemplateId; + setParameter(std::string("SnapshotTemplateId"), snapshotTemplateId); } -void SubmitSnapshotJobRequest::setHeight(const std::string& height) -{ - height_ = height; - setParameter("Height", height); +std::string SubmitSnapshotJobRequest::getHeight() const { + return height_; } -long SubmitSnapshotJobRequest::getCount()const -{ - return count_; +void SubmitSnapshotJobRequest::setHeight(const std::string &height) { + height_ = height; + setParameter(std::string("Height"), height); } -void SubmitSnapshotJobRequest::setCount(long count) -{ - count_ = count; - setParameter("Count", std::to_string(count)); +long SubmitSnapshotJobRequest::getCount() const { + return count_; } -std::string SubmitSnapshotJobRequest::getVideoId()const -{ - return videoId_; +void SubmitSnapshotJobRequest::setCount(long count) { + count_ = count; + setParameter(std::string("Count"), std::to_string(count)); } -void SubmitSnapshotJobRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string SubmitSnapshotJobRequest::getVideoId() const { + return videoId_; } -std::string SubmitSnapshotJobRequest::getWidth()const -{ - return width_; +void SubmitSnapshotJobRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void SubmitSnapshotJobRequest::setWidth(const std::string& width) -{ - width_ = width; - setParameter("Width", width); +std::string SubmitSnapshotJobRequest::getWidth() const { + return width_; } -std::string SubmitSnapshotJobRequest::getFileUrl()const -{ - return fileUrl_; +void SubmitSnapshotJobRequest::setWidth(const std::string &width) { + width_ = width; + setParameter(std::string("Width"), width); } -void SubmitSnapshotJobRequest::setFileUrl(const std::string& fileUrl) -{ - fileUrl_ = fileUrl; - setParameter("FileUrl", fileUrl); +std::string SubmitSnapshotJobRequest::getFileUrl() const { + return fileUrl_; } -long SubmitSnapshotJobRequest::getInterval()const -{ - return interval_; +void SubmitSnapshotJobRequest::setFileUrl(const std::string &fileUrl) { + fileUrl_ = fileUrl; + setParameter(std::string("FileUrl"), fileUrl); } -void SubmitSnapshotJobRequest::setInterval(long interval) -{ - interval_ = interval; - setParameter("Interval", std::to_string(interval)); +long SubmitSnapshotJobRequest::getInterval() const { + return interval_; +} + +void SubmitSnapshotJobRequest::setInterval(long interval) { + interval_ = interval; + setParameter(std::string("Interval"), std::to_string(interval)); } diff --git a/vod/src/model/SubmitTranscodeJobsRequest.cc b/vod/src/model/SubmitTranscodeJobsRequest.cc index 53b570ba5..b1a4110f3 100644 --- a/vod/src/model/SubmitTranscodeJobsRequest.cc +++ b/vod/src/model/SubmitTranscodeJobsRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Vod::Model::SubmitTranscodeJobsRequest; - -SubmitTranscodeJobsRequest::SubmitTranscodeJobsRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitTranscodeJobs") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitTranscodeJobsRequest::~SubmitTranscodeJobsRequest() -{} - -std::string SubmitTranscodeJobsRequest::getAccessKeyId()const -{ - return accessKeyId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SubmitTranscodeJobsRequest; + +SubmitTranscodeJobsRequest::SubmitTranscodeJobsRequest() + : RpcServiceRequest("vod", "2017-03-21", "SubmitTranscodeJobs") { + setMethod(HttpRequest::Method::Post); } -void SubmitTranscodeJobsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +SubmitTranscodeJobsRequest::~SubmitTranscodeJobsRequest() {} + +std::string SubmitTranscodeJobsRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string SubmitTranscodeJobsRequest::getUserData()const -{ - return userData_; +void SubmitTranscodeJobsRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void SubmitTranscodeJobsRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +std::string SubmitTranscodeJobsRequest::getUserData() const { + return userData_; } -std::string SubmitTranscodeJobsRequest::getVideoId()const -{ - return videoId_; +void SubmitTranscodeJobsRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void SubmitTranscodeJobsRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string SubmitTranscodeJobsRequest::getVideoId() const { + return videoId_; } -std::string SubmitTranscodeJobsRequest::getOverrideParams()const -{ - return overrideParams_; +void SubmitTranscodeJobsRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void SubmitTranscodeJobsRequest::setOverrideParams(const std::string& overrideParams) -{ - overrideParams_ = overrideParams; - setParameter("OverrideParams", overrideParams); +std::string SubmitTranscodeJobsRequest::getOverrideParams() const { + return overrideParams_; } -std::string SubmitTranscodeJobsRequest::getPriority()const -{ - return priority_; +void SubmitTranscodeJobsRequest::setOverrideParams(const std::string &overrideParams) { + overrideParams_ = overrideParams; + setParameter(std::string("OverrideParams"), overrideParams); } -void SubmitTranscodeJobsRequest::setPriority(const std::string& priority) -{ - priority_ = priority; - setParameter("Priority", priority); +std::string SubmitTranscodeJobsRequest::getPriority() const { + return priority_; } -std::string SubmitTranscodeJobsRequest::getPipelineId()const -{ - return pipelineId_; +void SubmitTranscodeJobsRequest::setPriority(const std::string &priority) { + priority_ = priority; + setParameter(std::string("Priority"), priority); } -void SubmitTranscodeJobsRequest::setPipelineId(const std::string& pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", pipelineId); +std::string SubmitTranscodeJobsRequest::getPipelineId() const { + return pipelineId_; } -std::string SubmitTranscodeJobsRequest::getTemplateGroupId()const -{ - return templateGroupId_; +void SubmitTranscodeJobsRequest::setPipelineId(const std::string &pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), pipelineId); } -void SubmitTranscodeJobsRequest::setTemplateGroupId(const std::string& templateGroupId) -{ - templateGroupId_ = templateGroupId; - setParameter("TemplateGroupId", templateGroupId); +std::string SubmitTranscodeJobsRequest::getTemplateGroupId() const { + return templateGroupId_; } -std::string SubmitTranscodeJobsRequest::getFileUrl()const -{ - return fileUrl_; +void SubmitTranscodeJobsRequest::setTemplateGroupId(const std::string &templateGroupId) { + templateGroupId_ = templateGroupId; + setParameter(std::string("TemplateGroupId"), templateGroupId); } -void SubmitTranscodeJobsRequest::setFileUrl(const std::string& fileUrl) -{ - fileUrl_ = fileUrl; - setParameter("FileUrl", fileUrl); +std::string SubmitTranscodeJobsRequest::getFileUrl() const { + return fileUrl_; } -std::string SubmitTranscodeJobsRequest::getEncryptConfig()const -{ - return encryptConfig_; +void SubmitTranscodeJobsRequest::setFileUrl(const std::string &fileUrl) { + fileUrl_ = fileUrl; + setParameter(std::string("FileUrl"), fileUrl); } -void SubmitTranscodeJobsRequest::setEncryptConfig(const std::string& encryptConfig) -{ - encryptConfig_ = encryptConfig; - setParameter("EncryptConfig", encryptConfig); +std::string SubmitTranscodeJobsRequest::getEncryptConfig() const { + return encryptConfig_; +} + +void SubmitTranscodeJobsRequest::setEncryptConfig(const std::string &encryptConfig) { + encryptConfig_ = encryptConfig; + setParameter(std::string("EncryptConfig"), encryptConfig); } diff --git a/vod/src/model/SubmitWorkflowJobRequest.cc b/vod/src/model/SubmitWorkflowJobRequest.cc index 0861f6cd7..6f7196147 100644 --- a/vod/src/model/SubmitWorkflowJobRequest.cc +++ b/vod/src/model/SubmitWorkflowJobRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::SubmitWorkflowJobRequest; - -SubmitWorkflowJobRequest::SubmitWorkflowJobRequest() : - RpcServiceRequest("vod", "2017-03-21", "SubmitWorkflowJob") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitWorkflowJobRequest::~SubmitWorkflowJobRequest() -{} - -std::string SubmitWorkflowJobRequest::getMediaId()const -{ - return mediaId_; + */ + +#include + +using AlibabaCloud::Vod::Model::SubmitWorkflowJobRequest; + +SubmitWorkflowJobRequest::SubmitWorkflowJobRequest() + : RpcServiceRequest("vod", "2017-03-21", "SubmitWorkflowJob") { + setMethod(HttpRequest::Method::Post); } -void SubmitWorkflowJobRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +SubmitWorkflowJobRequest::~SubmitWorkflowJobRequest() {} + +std::string SubmitWorkflowJobRequest::getMediaId() const { + return mediaId_; } -std::string SubmitWorkflowJobRequest::getFileUrl()const -{ - return fileUrl_; +void SubmitWorkflowJobRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } -void SubmitWorkflowJobRequest::setFileUrl(const std::string& fileUrl) -{ - fileUrl_ = fileUrl; - setParameter("FileUrl", fileUrl); +std::string SubmitWorkflowJobRequest::getFileUrl() const { + return fileUrl_; } -std::string SubmitWorkflowJobRequest::getWorkflowId()const -{ - return workflowId_; +void SubmitWorkflowJobRequest::setFileUrl(const std::string &fileUrl) { + fileUrl_ = fileUrl; + setParameter(std::string("FileUrl"), fileUrl); } -void SubmitWorkflowJobRequest::setWorkflowId(const std::string& workflowId) -{ - workflowId_ = workflowId; - setParameter("WorkflowId", workflowId); +std::string SubmitWorkflowJobRequest::getWorkflowId() const { + return workflowId_; +} + +void SubmitWorkflowJobRequest::setWorkflowId(const std::string &workflowId) { + workflowId_ = workflowId; + setParameter(std::string("WorkflowId"), workflowId); } diff --git a/vod/src/model/UpdateAITemplateRequest.cc b/vod/src/model/UpdateAITemplateRequest.cc index 8b928618a..d2639fd02 100644 --- a/vod/src/model/UpdateAITemplateRequest.cc +++ b/vod/src/model/UpdateAITemplateRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateAITemplateRequest; - -UpdateAITemplateRequest::UpdateAITemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateAITemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateAITemplateRequest::~UpdateAITemplateRequest() -{} - -std::string UpdateAITemplateRequest::getTemplateId()const -{ - return templateId_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateAITemplateRequest; + +UpdateAITemplateRequest::UpdateAITemplateRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateAITemplate") { + setMethod(HttpRequest::Method::Post); } -void UpdateAITemplateRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); +UpdateAITemplateRequest::~UpdateAITemplateRequest() {} + +std::string UpdateAITemplateRequest::getTemplateId() const { + return templateId_; } -std::string UpdateAITemplateRequest::getTemplateConfig()const -{ - return templateConfig_; +void UpdateAITemplateRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); } -void UpdateAITemplateRequest::setTemplateConfig(const std::string& templateConfig) -{ - templateConfig_ = templateConfig; - setParameter("TemplateConfig", templateConfig); +std::string UpdateAITemplateRequest::getTemplateConfig() const { + return templateConfig_; } -std::string UpdateAITemplateRequest::getTemplateName()const -{ - return templateName_; +void UpdateAITemplateRequest::setTemplateConfig(const std::string &templateConfig) { + templateConfig_ = templateConfig; + setParameter(std::string("TemplateConfig"), templateConfig); } -void UpdateAITemplateRequest::setTemplateName(const std::string& templateName) -{ - templateName_ = templateName; - setParameter("TemplateName", templateName); +std::string UpdateAITemplateRequest::getTemplateName() const { + return templateName_; +} + +void UpdateAITemplateRequest::setTemplateName(const std::string &templateName) { + templateName_ = templateName; + setParameter(std::string("TemplateName"), templateName); } diff --git a/vod/src/model/UpdateAppInfoRequest.cc b/vod/src/model/UpdateAppInfoRequest.cc index 464152216..539f4b717 100644 --- a/vod/src/model/UpdateAppInfoRequest.cc +++ b/vod/src/model/UpdateAppInfoRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateAppInfoRequest; - -UpdateAppInfoRequest::UpdateAppInfoRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateAppInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateAppInfoRequest::~UpdateAppInfoRequest() -{} - -std::string UpdateAppInfoRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateAppInfoRequest; + +UpdateAppInfoRequest::UpdateAppInfoRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateAppInfo") { + setMethod(HttpRequest::Method::Post); } -void UpdateAppInfoRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +UpdateAppInfoRequest::~UpdateAppInfoRequest() {} + +std::string UpdateAppInfoRequest::getDescription() const { + return description_; } -long UpdateAppInfoRequest::getResourceRealOwnerId()const -{ - return resourceRealOwnerId_; +void UpdateAppInfoRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateAppInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId) -{ - resourceRealOwnerId_ = resourceRealOwnerId; - setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId)); +long UpdateAppInfoRequest::getResourceRealOwnerId() const { + return resourceRealOwnerId_; } -std::string UpdateAppInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UpdateAppInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId) { + resourceRealOwnerId_ = resourceRealOwnerId; + setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId)); } -void UpdateAppInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UpdateAppInfoRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string UpdateAppInfoRequest::getAppName()const -{ - return appName_; +void UpdateAppInfoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void UpdateAppInfoRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string UpdateAppInfoRequest::getAppName() const { + return appName_; } -std::string UpdateAppInfoRequest::getAppId()const -{ - return appId_; +void UpdateAppInfoRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void UpdateAppInfoRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string UpdateAppInfoRequest::getAppId() const { + return appId_; } -std::string UpdateAppInfoRequest::getStatus()const -{ - return status_; +void UpdateAppInfoRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void UpdateAppInfoRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string UpdateAppInfoRequest::getStatus() const { + return status_; +} + +void UpdateAppInfoRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/vod/src/model/UpdateAttachedMediaInfosRequest.cc b/vod/src/model/UpdateAttachedMediaInfosRequest.cc index 4a7dc7f92..abbcfe80a 100644 --- a/vod/src/model/UpdateAttachedMediaInfosRequest.cc +++ b/vod/src/model/UpdateAttachedMediaInfosRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateAttachedMediaInfosRequest; - -UpdateAttachedMediaInfosRequest::UpdateAttachedMediaInfosRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateAttachedMediaInfos") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateAttachedMediaInfosRequest::~UpdateAttachedMediaInfosRequest() -{} - -std::string UpdateAttachedMediaInfosRequest::getUpdateContent()const -{ - return updateContent_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateAttachedMediaInfosRequest; + +UpdateAttachedMediaInfosRequest::UpdateAttachedMediaInfosRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateAttachedMediaInfos") { + setMethod(HttpRequest::Method::Post); } -void UpdateAttachedMediaInfosRequest::setUpdateContent(const std::string& updateContent) -{ - updateContent_ = updateContent; - setParameter("UpdateContent", updateContent); +UpdateAttachedMediaInfosRequest::~UpdateAttachedMediaInfosRequest() {} + +std::string UpdateAttachedMediaInfosRequest::getUpdateContent() const { + return updateContent_; } -long UpdateAttachedMediaInfosRequest::getResourceRealOwnerId()const -{ - return resourceRealOwnerId_; +void UpdateAttachedMediaInfosRequest::setUpdateContent(const std::string &updateContent) { + updateContent_ = updateContent; + setParameter(std::string("UpdateContent"), updateContent); } -void UpdateAttachedMediaInfosRequest::setResourceRealOwnerId(long resourceRealOwnerId) -{ - resourceRealOwnerId_ = resourceRealOwnerId; - setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId)); +long UpdateAttachedMediaInfosRequest::getResourceRealOwnerId() const { + return resourceRealOwnerId_; } -std::string UpdateAttachedMediaInfosRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UpdateAttachedMediaInfosRequest::setResourceRealOwnerId(long resourceRealOwnerId) { + resourceRealOwnerId_ = resourceRealOwnerId; + setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId)); } -void UpdateAttachedMediaInfosRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UpdateAttachedMediaInfosRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void UpdateAttachedMediaInfosRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } diff --git a/vod/src/model/UpdateCategoryRequest.cc b/vod/src/model/UpdateCategoryRequest.cc index dee6fdb24..70c46a0d2 100644 --- a/vod/src/model/UpdateCategoryRequest.cc +++ b/vod/src/model/UpdateCategoryRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateCategoryRequest; - -UpdateCategoryRequest::UpdateCategoryRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateCategory") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateCategoryRequest::~UpdateCategoryRequest() -{} - -long UpdateCategoryRequest::getCateId()const -{ - return cateId_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateCategoryRequest; + +UpdateCategoryRequest::UpdateCategoryRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateCategory") { + setMethod(HttpRequest::Method::Post); } -void UpdateCategoryRequest::setCateId(long cateId) -{ - cateId_ = cateId; - setParameter("CateId", std::to_string(cateId)); +UpdateCategoryRequest::~UpdateCategoryRequest() {} + +long UpdateCategoryRequest::getCateId() const { + return cateId_; } -std::string UpdateCategoryRequest::getCateName()const -{ - return cateName_; +void UpdateCategoryRequest::setCateId(long cateId) { + cateId_ = cateId; + setParameter(std::string("CateId"), std::to_string(cateId)); } -void UpdateCategoryRequest::setCateName(const std::string& cateName) -{ - cateName_ = cateName; - setParameter("CateName", cateName); +std::string UpdateCategoryRequest::getCateName() const { + return cateName_; +} + +void UpdateCategoryRequest::setCateName(const std::string &cateName) { + cateName_ = cateName; + setParameter(std::string("CateName"), cateName); } diff --git a/vod/src/model/UpdateEditingProjectRequest.cc b/vod/src/model/UpdateEditingProjectRequest.cc index 61c74aff7..06232119d 100644 --- a/vod/src/model/UpdateEditingProjectRequest.cc +++ b/vod/src/model/UpdateEditingProjectRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateEditingProjectRequest; - -UpdateEditingProjectRequest::UpdateEditingProjectRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateEditingProject") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateEditingProjectRequest::~UpdateEditingProjectRequest() -{} - -std::string UpdateEditingProjectRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateEditingProjectRequest; + +UpdateEditingProjectRequest::UpdateEditingProjectRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateEditingProject") { + setMethod(HttpRequest::Method::Post); } -void UpdateEditingProjectRequest::setResourceOwnerId(const std::string& resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", resourceOwnerId); +UpdateEditingProjectRequest::~UpdateEditingProjectRequest() {} + +std::string UpdateEditingProjectRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string UpdateEditingProjectRequest::getDescription()const -{ - return description_; +void UpdateEditingProjectRequest::setResourceOwnerId(const std::string &resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), resourceOwnerId); } -void UpdateEditingProjectRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string UpdateEditingProjectRequest::getDescription() const { + return description_; } -std::string UpdateEditingProjectRequest::getTitle()const -{ - return title_; +void UpdateEditingProjectRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateEditingProjectRequest::setTitle(const std::string& title) -{ - title_ = title; - setParameter("Title", title); +std::string UpdateEditingProjectRequest::getTitle() const { + return title_; } -std::string UpdateEditingProjectRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UpdateEditingProjectRequest::setTitle(const std::string &title) { + title_ = title; + setParameter(std::string("Title"), title); } -void UpdateEditingProjectRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UpdateEditingProjectRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string UpdateEditingProjectRequest::getCoverURL()const -{ - return coverURL_; +void UpdateEditingProjectRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void UpdateEditingProjectRequest::setCoverURL(const std::string& coverURL) -{ - coverURL_ = coverURL; - setParameter("CoverURL", coverURL); +std::string UpdateEditingProjectRequest::getCoverURL() const { + return coverURL_; } -float UpdateEditingProjectRequest::getDuration()const -{ - return duration_; +void UpdateEditingProjectRequest::setCoverURL(const std::string &coverURL) { + coverURL_ = coverURL; + setParameter(std::string("CoverURL"), coverURL); } -void UpdateEditingProjectRequest::setDuration(float duration) -{ - duration_ = duration; - setParameter("Duration", std::to_string(duration)); +float UpdateEditingProjectRequest::getDuration() const { + return duration_; } -std::string UpdateEditingProjectRequest::getProjectId()const -{ - return projectId_; +void UpdateEditingProjectRequest::setDuration(float duration) { + duration_ = duration; + setParameter(std::string("Duration"), std::to_string(duration)); } -void UpdateEditingProjectRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", projectId); +std::string UpdateEditingProjectRequest::getProjectId() const { + return projectId_; } -std::string UpdateEditingProjectRequest::getFEExtend()const -{ - return fEExtend_; +void UpdateEditingProjectRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); } -void UpdateEditingProjectRequest::setFEExtend(const std::string& fEExtend) -{ - fEExtend_ = fEExtend; - setParameter("FEExtend", fEExtend); +std::string UpdateEditingProjectRequest::getFEExtend() const { + return fEExtend_; } -std::string UpdateEditingProjectRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void UpdateEditingProjectRequest::setFEExtend(const std::string &fEExtend) { + fEExtend_ = fEExtend; + setParameter(std::string("FEExtend"), fEExtend); } -void UpdateEditingProjectRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string UpdateEditingProjectRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string UpdateEditingProjectRequest::getOwnerAccount()const -{ - return ownerAccount_; +void UpdateEditingProjectRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void UpdateEditingProjectRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string UpdateEditingProjectRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string UpdateEditingProjectRequest::getOwnerId()const -{ - return ownerId_; +void UpdateEditingProjectRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void UpdateEditingProjectRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string UpdateEditingProjectRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateEditingProjectRequest::getTimeline()const -{ - return timeline_; +void UpdateEditingProjectRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void UpdateEditingProjectRequest::setTimeline(const std::string& timeline) -{ - timeline_ = timeline; - setParameter("Timeline", timeline); +std::string UpdateEditingProjectRequest::getTimeline() const { + return timeline_; +} + +void UpdateEditingProjectRequest::setTimeline(const std::string &timeline) { + timeline_ = timeline; + setParameter(std::string("Timeline"), timeline); } diff --git a/vod/src/model/UpdateImageInfosRequest.cc b/vod/src/model/UpdateImageInfosRequest.cc index ba3e2a44e..72a53c233 100644 --- a/vod/src/model/UpdateImageInfosRequest.cc +++ b/vod/src/model/UpdateImageInfosRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateImageInfosRequest; - -UpdateImageInfosRequest::UpdateImageInfosRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateImageInfos") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateImageInfosRequest::~UpdateImageInfosRequest() -{} - -std::string UpdateImageInfosRequest::getUpdateContent()const -{ - return updateContent_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateImageInfosRequest; + +UpdateImageInfosRequest::UpdateImageInfosRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateImageInfos") { + setMethod(HttpRequest::Method::Post); } -void UpdateImageInfosRequest::setUpdateContent(const std::string& updateContent) -{ - updateContent_ = updateContent; - setParameter("UpdateContent", updateContent); +UpdateImageInfosRequest::~UpdateImageInfosRequest() {} + +std::string UpdateImageInfosRequest::getUpdateContent() const { + return updateContent_; } -long UpdateImageInfosRequest::getResourceRealOwnerId()const -{ - return resourceRealOwnerId_; +void UpdateImageInfosRequest::setUpdateContent(const std::string &updateContent) { + updateContent_ = updateContent; + setParameter(std::string("UpdateContent"), updateContent); } -void UpdateImageInfosRequest::setResourceRealOwnerId(long resourceRealOwnerId) -{ - resourceRealOwnerId_ = resourceRealOwnerId; - setParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId)); +long UpdateImageInfosRequest::getResourceRealOwnerId() const { + return resourceRealOwnerId_; } -std::string UpdateImageInfosRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UpdateImageInfosRequest::setResourceRealOwnerId(long resourceRealOwnerId) { + resourceRealOwnerId_ = resourceRealOwnerId; + setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId)); } -void UpdateImageInfosRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UpdateImageInfosRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void UpdateImageInfosRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } diff --git a/vod/src/model/UpdateTranscodeTemplateGroupRequest.cc b/vod/src/model/UpdateTranscodeTemplateGroupRequest.cc index d86dc08a4..8fae19b17 100644 --- a/vod/src/model/UpdateTranscodeTemplateGroupRequest.cc +++ b/vod/src/model/UpdateTranscodeTemplateGroupRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateTranscodeTemplateGroupRequest; - -UpdateTranscodeTemplateGroupRequest::UpdateTranscodeTemplateGroupRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateTranscodeTemplateGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTranscodeTemplateGroupRequest::~UpdateTranscodeTemplateGroupRequest() -{} - -std::string UpdateTranscodeTemplateGroupRequest::getTranscodeTemplateList()const -{ - return transcodeTemplateList_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateTranscodeTemplateGroupRequest; + +UpdateTranscodeTemplateGroupRequest::UpdateTranscodeTemplateGroupRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateTranscodeTemplateGroup") { + setMethod(HttpRequest::Method::Post); } -void UpdateTranscodeTemplateGroupRequest::setTranscodeTemplateList(const std::string& transcodeTemplateList) -{ - transcodeTemplateList_ = transcodeTemplateList; - setParameter("TranscodeTemplateList", transcodeTemplateList); +UpdateTranscodeTemplateGroupRequest::~UpdateTranscodeTemplateGroupRequest() {} + +std::string UpdateTranscodeTemplateGroupRequest::getTranscodeTemplateList() const { + return transcodeTemplateList_; } -std::string UpdateTranscodeTemplateGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UpdateTranscodeTemplateGroupRequest::setTranscodeTemplateList(const std::string &transcodeTemplateList) { + transcodeTemplateList_ = transcodeTemplateList; + setParameter(std::string("TranscodeTemplateList"), transcodeTemplateList); } -void UpdateTranscodeTemplateGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UpdateTranscodeTemplateGroupRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string UpdateTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId()const -{ - return transcodeTemplateGroupId_; +void UpdateTranscodeTemplateGroupRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void UpdateTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string& transcodeTemplateGroupId) -{ - transcodeTemplateGroupId_ = transcodeTemplateGroupId; - setParameter("TranscodeTemplateGroupId", transcodeTemplateGroupId); +std::string UpdateTranscodeTemplateGroupRequest::getTranscodeTemplateGroupId() const { + return transcodeTemplateGroupId_; } -std::string UpdateTranscodeTemplateGroupRequest::getName()const -{ - return name_; +void UpdateTranscodeTemplateGroupRequest::setTranscodeTemplateGroupId(const std::string &transcodeTemplateGroupId) { + transcodeTemplateGroupId_ = transcodeTemplateGroupId; + setParameter(std::string("TranscodeTemplateGroupId"), transcodeTemplateGroupId); } -void UpdateTranscodeTemplateGroupRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string UpdateTranscodeTemplateGroupRequest::getName() const { + return name_; } -std::string UpdateTranscodeTemplateGroupRequest::getLocked()const -{ - return locked_; +void UpdateTranscodeTemplateGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void UpdateTranscodeTemplateGroupRequest::setLocked(const std::string& locked) -{ - locked_ = locked; - setParameter("Locked", locked); +std::string UpdateTranscodeTemplateGroupRequest::getLocked() const { + return locked_; +} + +void UpdateTranscodeTemplateGroupRequest::setLocked(const std::string &locked) { + locked_ = locked; + setParameter(std::string("Locked"), locked); } diff --git a/vod/src/model/UpdateVideoInfoRequest.cc b/vod/src/model/UpdateVideoInfoRequest.cc index adac5f65a..507036345 100644 --- a/vod/src/model/UpdateVideoInfoRequest.cc +++ b/vod/src/model/UpdateVideoInfoRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Vod::Model::UpdateVideoInfoRequest; - -UpdateVideoInfoRequest::UpdateVideoInfoRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateVideoInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateVideoInfoRequest::~UpdateVideoInfoRequest() -{} - -std::string UpdateVideoInfoRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateVideoInfoRequest; + +UpdateVideoInfoRequest::UpdateVideoInfoRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateVideoInfo") { + setMethod(HttpRequest::Method::Post); } -void UpdateVideoInfoRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +UpdateVideoInfoRequest::~UpdateVideoInfoRequest() {} + +std::string UpdateVideoInfoRequest::getDescription() const { + return description_; } -std::string UpdateVideoInfoRequest::getTitle()const -{ - return title_; +void UpdateVideoInfoRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateVideoInfoRequest::setTitle(const std::string& title) -{ - title_ = title; - setParameter("Title", title); +std::string UpdateVideoInfoRequest::getTitle() const { + return title_; } -std::string UpdateVideoInfoRequest::getCoverURL()const -{ - return coverURL_; +void UpdateVideoInfoRequest::setTitle(const std::string &title) { + title_ = title; + setParameter(std::string("Title"), title); } -void UpdateVideoInfoRequest::setCoverURL(const std::string& coverURL) -{ - coverURL_ = coverURL; - setParameter("CoverURL", coverURL); +std::string UpdateVideoInfoRequest::getCoverURL() const { + return coverURL_; } -std::string UpdateVideoInfoRequest::getDownloadSwitch()const -{ - return downloadSwitch_; +void UpdateVideoInfoRequest::setCoverURL(const std::string &coverURL) { + coverURL_ = coverURL; + setParameter(std::string("CoverURL"), coverURL); } -void UpdateVideoInfoRequest::setDownloadSwitch(const std::string& downloadSwitch) -{ - downloadSwitch_ = downloadSwitch; - setParameter("DownloadSwitch", downloadSwitch); +std::string UpdateVideoInfoRequest::getDownloadSwitch() const { + return downloadSwitch_; } -long UpdateVideoInfoRequest::getCateId()const -{ - return cateId_; +void UpdateVideoInfoRequest::setDownloadSwitch(const std::string &downloadSwitch) { + downloadSwitch_ = downloadSwitch; + setParameter(std::string("DownloadSwitch"), downloadSwitch); } -void UpdateVideoInfoRequest::setCateId(long cateId) -{ - cateId_ = cateId; - setParameter("CateId", std::to_string(cateId)); +long UpdateVideoInfoRequest::getCateId() const { + return cateId_; } -std::string UpdateVideoInfoRequest::getCustomMediaInfo()const -{ - return customMediaInfo_; +void UpdateVideoInfoRequest::setCateId(long cateId) { + cateId_ = cateId; + setParameter(std::string("CateId"), std::to_string(cateId)); } -void UpdateVideoInfoRequest::setCustomMediaInfo(const std::string& customMediaInfo) -{ - customMediaInfo_ = customMediaInfo; - setParameter("CustomMediaInfo", customMediaInfo); +std::string UpdateVideoInfoRequest::getCustomMediaInfo() const { + return customMediaInfo_; } -std::string UpdateVideoInfoRequest::getVideoId()const -{ - return videoId_; +void UpdateVideoInfoRequest::setCustomMediaInfo(const std::string &customMediaInfo) { + customMediaInfo_ = customMediaInfo; + setParameter(std::string("CustomMediaInfo"), customMediaInfo); } -void UpdateVideoInfoRequest::setVideoId(const std::string& videoId) -{ - videoId_ = videoId; - setParameter("VideoId", videoId); +std::string UpdateVideoInfoRequest::getVideoId() const { + return videoId_; } -std::string UpdateVideoInfoRequest::getTags()const -{ - return tags_; +void UpdateVideoInfoRequest::setVideoId(const std::string &videoId) { + videoId_ = videoId; + setParameter(std::string("VideoId"), videoId); } -void UpdateVideoInfoRequest::setTags(const std::string& tags) -{ - tags_ = tags; - setParameter("Tags", tags); +std::string UpdateVideoInfoRequest::getTags() const { + return tags_; } -std::string UpdateVideoInfoRequest::getStatus()const -{ - return status_; +void UpdateVideoInfoRequest::setTags(const std::string &tags) { + tags_ = tags; + setParameter(std::string("Tags"), tags); } -void UpdateVideoInfoRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string UpdateVideoInfoRequest::getStatus() const { + return status_; +} + +void UpdateVideoInfoRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/vod/src/model/UpdateVideoInfosRequest.cc b/vod/src/model/UpdateVideoInfosRequest.cc index 94ddd4efb..acba58883 100644 --- a/vod/src/model/UpdateVideoInfosRequest.cc +++ b/vod/src/model/UpdateVideoInfosRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateVideoInfosRequest; - -UpdateVideoInfosRequest::UpdateVideoInfosRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateVideoInfos") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateVideoInfosRequest::~UpdateVideoInfosRequest() -{} - -std::string UpdateVideoInfosRequest::getUpdateContent()const -{ - return updateContent_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateVideoInfosRequest; + +UpdateVideoInfosRequest::UpdateVideoInfosRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateVideoInfos") { + setMethod(HttpRequest::Method::Post); } -void UpdateVideoInfosRequest::setUpdateContent(const std::string& updateContent) -{ - updateContent_ = updateContent; - setParameter("UpdateContent", updateContent); +UpdateVideoInfosRequest::~UpdateVideoInfosRequest() {} + +std::string UpdateVideoInfosRequest::getUpdateContent() const { + return updateContent_; +} + +void UpdateVideoInfosRequest::setUpdateContent(const std::string &updateContent) { + updateContent_ = updateContent; + setParameter(std::string("UpdateContent"), updateContent); } diff --git a/vod/src/model/UpdateVideoInfosResult.cc b/vod/src/model/UpdateVideoInfosResult.cc index 026cd3f7b..eec5c59c1 100644 --- a/vod/src/model/UpdateVideoInfosResult.cc +++ b/vod/src/model/UpdateVideoInfosResult.cc @@ -39,12 +39,12 @@ void UpdateVideoInfosResult::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()); } diff --git a/vod/src/model/UpdateVodDomainRequest.cc b/vod/src/model/UpdateVodDomainRequest.cc index 9fbc438ed..d0bb97b54 100644 --- a/vod/src/model/UpdateVodDomainRequest.cc +++ b/vod/src/model/UpdateVodDomainRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateVodDomainRequest; - -UpdateVodDomainRequest::UpdateVodDomainRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateVodDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateVodDomainRequest::~UpdateVodDomainRequest() -{} - -std::string UpdateVodDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateVodDomainRequest; + +UpdateVodDomainRequest::UpdateVodDomainRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateVodDomain") { + setMethod(HttpRequest::Method::Post); } -void UpdateVodDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); +UpdateVodDomainRequest::~UpdateVodDomainRequest() {} + +std::string UpdateVodDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; } -std::string UpdateVodDomainRequest::getSources()const -{ - return sources_; +void UpdateVodDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); } -void UpdateVodDomainRequest::setSources(const std::string& sources) -{ - sources_ = sources; - setParameter("Sources", sources); +std::string UpdateVodDomainRequest::getSources() const { + return sources_; } -std::string UpdateVodDomainRequest::getDomainName()const -{ - return domainName_; +void UpdateVodDomainRequest::setSources(const std::string &sources) { + sources_ = sources; + setParameter(std::string("Sources"), sources); } -void UpdateVodDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateVodDomainRequest::getDomainName() const { + return domainName_; } -long UpdateVodDomainRequest::getOwnerId()const -{ - return ownerId_; +void UpdateVodDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateVodDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateVodDomainRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateVodDomainRequest::getSecurityToken()const -{ - return securityToken_; +void UpdateVodDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateVodDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string UpdateVodDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void UpdateVodDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/vod/src/model/UpdateVodTemplateRequest.cc b/vod/src/model/UpdateVodTemplateRequest.cc index 419d55205..a61bcf3bb 100644 --- a/vod/src/model/UpdateVodTemplateRequest.cc +++ b/vod/src/model/UpdateVodTemplateRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateVodTemplateRequest; - -UpdateVodTemplateRequest::UpdateVodTemplateRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateVodTemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateVodTemplateRequest::~UpdateVodTemplateRequest() -{} - -std::string UpdateVodTemplateRequest::getTemplateConfig()const -{ - return templateConfig_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateVodTemplateRequest; + +UpdateVodTemplateRequest::UpdateVodTemplateRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateVodTemplate") { + setMethod(HttpRequest::Method::Post); } -void UpdateVodTemplateRequest::setTemplateConfig(const std::string& templateConfig) -{ - templateConfig_ = templateConfig; - setParameter("TemplateConfig", templateConfig); +UpdateVodTemplateRequest::~UpdateVodTemplateRequest() {} + +std::string UpdateVodTemplateRequest::getTemplateConfig() const { + return templateConfig_; } -std::string UpdateVodTemplateRequest::getName()const -{ - return name_; +void UpdateVodTemplateRequest::setTemplateConfig(const std::string &templateConfig) { + templateConfig_ = templateConfig; + setParameter(std::string("TemplateConfig"), templateConfig); } -void UpdateVodTemplateRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string UpdateVodTemplateRequest::getName() const { + return name_; } -std::string UpdateVodTemplateRequest::getVodTemplateId()const -{ - return vodTemplateId_; +void UpdateVodTemplateRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void UpdateVodTemplateRequest::setVodTemplateId(const std::string& vodTemplateId) -{ - vodTemplateId_ = vodTemplateId; - setParameter("VodTemplateId", vodTemplateId); +std::string UpdateVodTemplateRequest::getVodTemplateId() const { + return vodTemplateId_; +} + +void UpdateVodTemplateRequest::setVodTemplateId(const std::string &vodTemplateId) { + vodTemplateId_ = vodTemplateId; + setParameter(std::string("VodTemplateId"), vodTemplateId); } diff --git a/vod/src/model/UpdateWatermarkRequest.cc b/vod/src/model/UpdateWatermarkRequest.cc index 8b47fa1f2..d5973620f 100644 --- a/vod/src/model/UpdateWatermarkRequest.cc +++ b/vod/src/model/UpdateWatermarkRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UpdateWatermarkRequest; - -UpdateWatermarkRequest::UpdateWatermarkRequest() : - RpcServiceRequest("vod", "2017-03-21", "UpdateWatermark") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateWatermarkRequest::~UpdateWatermarkRequest() -{} - -std::string UpdateWatermarkRequest::getWatermarkConfig()const -{ - return watermarkConfig_; + */ + +#include + +using AlibabaCloud::Vod::Model::UpdateWatermarkRequest; + +UpdateWatermarkRequest::UpdateWatermarkRequest() + : RpcServiceRequest("vod", "2017-03-21", "UpdateWatermark") { + setMethod(HttpRequest::Method::Post); } -void UpdateWatermarkRequest::setWatermarkConfig(const std::string& watermarkConfig) -{ - watermarkConfig_ = watermarkConfig; - setParameter("WatermarkConfig", watermarkConfig); +UpdateWatermarkRequest::~UpdateWatermarkRequest() {} + +std::string UpdateWatermarkRequest::getWatermarkConfig() const { + return watermarkConfig_; } -std::string UpdateWatermarkRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UpdateWatermarkRequest::setWatermarkConfig(const std::string &watermarkConfig) { + watermarkConfig_ = watermarkConfig; + setParameter(std::string("WatermarkConfig"), watermarkConfig); } -void UpdateWatermarkRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UpdateWatermarkRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string UpdateWatermarkRequest::getWatermarkId()const -{ - return watermarkId_; +void UpdateWatermarkRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void UpdateWatermarkRequest::setWatermarkId(const std::string& watermarkId) -{ - watermarkId_ = watermarkId; - setParameter("WatermarkId", watermarkId); +std::string UpdateWatermarkRequest::getWatermarkId() const { + return watermarkId_; } -std::string UpdateWatermarkRequest::getName()const -{ - return name_; +void UpdateWatermarkRequest::setWatermarkId(const std::string &watermarkId) { + watermarkId_ = watermarkId; + setParameter(std::string("WatermarkId"), watermarkId); } -void UpdateWatermarkRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string UpdateWatermarkRequest::getName() const { + return name_; +} + +void UpdateWatermarkRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/vod/src/model/UpdateWatermarkResult.cc b/vod/src/model/UpdateWatermarkResult.cc index 761d63304..5fe51e5b3 100644 --- a/vod/src/model/UpdateWatermarkResult.cc +++ b/vod/src/model/UpdateWatermarkResult.cc @@ -46,14 +46,14 @@ void UpdateWatermarkResult::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(); } diff --git a/vod/src/model/UploadMediaByURLRequest.cc b/vod/src/model/UploadMediaByURLRequest.cc index fbecf4aa7..494e679b5 100644 --- a/vod/src/model/UploadMediaByURLRequest.cc +++ b/vod/src/model/UploadMediaByURLRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Vod::Model::UploadMediaByURLRequest; - -UploadMediaByURLRequest::UploadMediaByURLRequest() : - RpcServiceRequest("vod", "2017-03-21", "UploadMediaByURL") -{ - setMethod(HttpRequest::Method::Post); -} - -UploadMediaByURLRequest::~UploadMediaByURLRequest() -{} - -std::string UploadMediaByURLRequest::getMessageCallback()const -{ - return messageCallback_; + */ + +#include + +using AlibabaCloud::Vod::Model::UploadMediaByURLRequest; + +UploadMediaByURLRequest::UploadMediaByURLRequest() + : RpcServiceRequest("vod", "2017-03-21", "UploadMediaByURL") { + setMethod(HttpRequest::Method::Post); } -void UploadMediaByURLRequest::setMessageCallback(const std::string& messageCallback) -{ - messageCallback_ = messageCallback; - setParameter("MessageCallback", messageCallback); +UploadMediaByURLRequest::~UploadMediaByURLRequest() {} + +std::string UploadMediaByURLRequest::getMessageCallback() const { + return messageCallback_; } -std::string UploadMediaByURLRequest::getStorageLocation()const -{ - return storageLocation_; +void UploadMediaByURLRequest::setMessageCallback(const std::string &messageCallback) { + messageCallback_ = messageCallback; + setParameter(std::string("MessageCallback"), messageCallback); } -void UploadMediaByURLRequest::setStorageLocation(const std::string& storageLocation) -{ - storageLocation_ = storageLocation; - setParameter("StorageLocation", storageLocation); +std::string UploadMediaByURLRequest::getStorageLocation() const { + return storageLocation_; } -std::string UploadMediaByURLRequest::getUserData()const -{ - return userData_; +void UploadMediaByURLRequest::setStorageLocation(const std::string &storageLocation) { + storageLocation_ = storageLocation; + setParameter(std::string("StorageLocation"), storageLocation); } -void UploadMediaByURLRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +std::string UploadMediaByURLRequest::getUserData() const { + return userData_; } -std::string UploadMediaByURLRequest::getWorkflowId()const -{ - return workflowId_; +void UploadMediaByURLRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void UploadMediaByURLRequest::setWorkflowId(const std::string& workflowId) -{ - workflowId_ = workflowId; - setParameter("WorkflowId", workflowId); +std::string UploadMediaByURLRequest::getWorkflowId() const { + return workflowId_; } -std::string UploadMediaByURLRequest::getS3UploadInfo()const -{ - return s3UploadInfo_; +void UploadMediaByURLRequest::setWorkflowId(const std::string &workflowId) { + workflowId_ = workflowId; + setParameter(std::string("WorkflowId"), workflowId); } -void UploadMediaByURLRequest::setS3UploadInfo(const std::string& s3UploadInfo) -{ - s3UploadInfo_ = s3UploadInfo; - setParameter("S3UploadInfo", s3UploadInfo); +std::string UploadMediaByURLRequest::getS3UploadInfo() const { + return s3UploadInfo_; } -std::string UploadMediaByURLRequest::getPriority()const -{ - return priority_; +void UploadMediaByURLRequest::setS3UploadInfo(const std::string &s3UploadInfo) { + s3UploadInfo_ = s3UploadInfo; + setParameter(std::string("S3UploadInfo"), s3UploadInfo); } -void UploadMediaByURLRequest::setPriority(const std::string& priority) -{ - priority_ = priority; - setParameter("Priority", priority); +std::string UploadMediaByURLRequest::getPriority() const { + return priority_; } -std::string UploadMediaByURLRequest::getTemplateGroupId()const -{ - return templateGroupId_; +void UploadMediaByURLRequest::setPriority(const std::string &priority) { + priority_ = priority; + setParameter(std::string("Priority"), priority); } -void UploadMediaByURLRequest::setTemplateGroupId(const std::string& templateGroupId) -{ - templateGroupId_ = templateGroupId; - setParameter("TemplateGroupId", templateGroupId); +std::string UploadMediaByURLRequest::getTemplateGroupId() const { + return templateGroupId_; } -std::string UploadMediaByURLRequest::getUploadMetadatas()const -{ - return uploadMetadatas_; +void UploadMediaByURLRequest::setTemplateGroupId(const std::string &templateGroupId) { + templateGroupId_ = templateGroupId; + setParameter(std::string("TemplateGroupId"), templateGroupId); } -void UploadMediaByURLRequest::setUploadMetadatas(const std::string& uploadMetadatas) -{ - uploadMetadatas_ = uploadMetadatas; - setParameter("UploadMetadatas", uploadMetadatas); +std::string UploadMediaByURLRequest::getUploadMetadatas() const { + return uploadMetadatas_; } -std::string UploadMediaByURLRequest::getUploadURLs()const -{ - return uploadURLs_; +void UploadMediaByURLRequest::setUploadMetadatas(const std::string &uploadMetadatas) { + uploadMetadatas_ = uploadMetadatas; + setParameter(std::string("UploadMetadatas"), uploadMetadatas); } -void UploadMediaByURLRequest::setUploadURLs(const std::string& uploadURLs) -{ - uploadURLs_ = uploadURLs; - setParameter("UploadURLs", uploadURLs); +std::string UploadMediaByURLRequest::getUploadURLs() const { + return uploadURLs_; } -std::string UploadMediaByURLRequest::getAppId()const -{ - return appId_; +void UploadMediaByURLRequest::setUploadURLs(const std::string &uploadURLs) { + uploadURLs_ = uploadURLs; + setParameter(std::string("UploadURLs"), uploadURLs); } -void UploadMediaByURLRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string UploadMediaByURLRequest::getAppId() const { + return appId_; +} + +void UploadMediaByURLRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/vod/src/model/UploadStreamByURLRequest.cc b/vod/src/model/UploadStreamByURLRequest.cc index 8f401247e..c8e0bc78e 100644 --- a/vod/src/model/UploadStreamByURLRequest.cc +++ b/vod/src/model/UploadStreamByURLRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::UploadStreamByURLRequest; - -UploadStreamByURLRequest::UploadStreamByURLRequest() : - RpcServiceRequest("vod", "2017-03-21", "UploadStreamByURL") -{ - setMethod(HttpRequest::Method::Post); -} - -UploadStreamByURLRequest::~UploadStreamByURLRequest() -{} - -std::string UploadStreamByURLRequest::getFileExtension()const -{ - return fileExtension_; + */ + +#include + +using AlibabaCloud::Vod::Model::UploadStreamByURLRequest; + +UploadStreamByURLRequest::UploadStreamByURLRequest() + : RpcServiceRequest("vod", "2017-03-21", "UploadStreamByURL") { + setMethod(HttpRequest::Method::Post); } -void UploadStreamByURLRequest::setFileExtension(const std::string& fileExtension) -{ - fileExtension_ = fileExtension; - setParameter("FileExtension", fileExtension); +UploadStreamByURLRequest::~UploadStreamByURLRequest() {} + +std::string UploadStreamByURLRequest::getFileExtension() const { + return fileExtension_; } -std::string UploadStreamByURLRequest::getUserData()const -{ - return userData_; +void UploadStreamByURLRequest::setFileExtension(const std::string &fileExtension) { + fileExtension_ = fileExtension; + setParameter(std::string("FileExtension"), fileExtension); } -void UploadStreamByURLRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +std::string UploadStreamByURLRequest::getUserData() const { + return userData_; } -std::string UploadStreamByURLRequest::getHDRType()const -{ - return hDRType_; +void UploadStreamByURLRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void UploadStreamByURLRequest::setHDRType(const std::string& hDRType) -{ - hDRType_ = hDRType; - setParameter("HDRType", hDRType); +std::string UploadStreamByURLRequest::getHDRType() const { + return hDRType_; } -std::string UploadStreamByURLRequest::getDefinition()const -{ - return definition_; +void UploadStreamByURLRequest::setHDRType(const std::string &hDRType) { + hDRType_ = hDRType; + setParameter(std::string("HDRType"), hDRType); } -void UploadStreamByURLRequest::setDefinition(const std::string& definition) -{ - definition_ = definition; - setParameter("Definition", definition); +std::string UploadStreamByURLRequest::getDefinition() const { + return definition_; } -std::string UploadStreamByURLRequest::getStreamURL()const -{ - return streamURL_; +void UploadStreamByURLRequest::setDefinition(const std::string &definition) { + definition_ = definition; + setParameter(std::string("Definition"), definition); } -void UploadStreamByURLRequest::setStreamURL(const std::string& streamURL) -{ - streamURL_ = streamURL; - setParameter("StreamURL", streamURL); +std::string UploadStreamByURLRequest::getStreamURL() const { + return streamURL_; } -std::string UploadStreamByURLRequest::getMediaId()const -{ - return mediaId_; +void UploadStreamByURLRequest::setStreamURL(const std::string &streamURL) { + streamURL_ = streamURL; + setParameter(std::string("StreamURL"), streamURL); } -void UploadStreamByURLRequest::setMediaId(const std::string& mediaId) -{ - mediaId_ = mediaId; - setParameter("MediaId", mediaId); +std::string UploadStreamByURLRequest::getMediaId() const { + return mediaId_; +} + +void UploadStreamByURLRequest::setMediaId(const std::string &mediaId) { + mediaId_ = mediaId; + setParameter(std::string("MediaId"), mediaId); } diff --git a/vod/src/model/VerifyVodDomainOwnerRequest.cc b/vod/src/model/VerifyVodDomainOwnerRequest.cc index 6c41442f2..36b227a5f 100644 --- a/vod/src/model/VerifyVodDomainOwnerRequest.cc +++ b/vod/src/model/VerifyVodDomainOwnerRequest.cc @@ -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 - -using AlibabaCloud::Vod::Model::VerifyVodDomainOwnerRequest; - -VerifyVodDomainOwnerRequest::VerifyVodDomainOwnerRequest() : - RpcServiceRequest("vod", "2017-03-21", "VerifyVodDomainOwner") -{ - setMethod(HttpRequest::Method::Post); -} - -VerifyVodDomainOwnerRequest::~VerifyVodDomainOwnerRequest() -{} - -std::string VerifyVodDomainOwnerRequest::getVerifyType()const -{ - return verifyType_; + */ + +#include + +using AlibabaCloud::Vod::Model::VerifyVodDomainOwnerRequest; + +VerifyVodDomainOwnerRequest::VerifyVodDomainOwnerRequest() + : RpcServiceRequest("vod", "2017-03-21", "VerifyVodDomainOwner") { + setMethod(HttpRequest::Method::Post); } -void VerifyVodDomainOwnerRequest::setVerifyType(const std::string& verifyType) -{ - verifyType_ = verifyType; - setParameter("VerifyType", verifyType); +VerifyVodDomainOwnerRequest::~VerifyVodDomainOwnerRequest() {} + +std::string VerifyVodDomainOwnerRequest::getVerifyType() const { + return verifyType_; } -std::string VerifyVodDomainOwnerRequest::getDomainName()const -{ - return domainName_; +void VerifyVodDomainOwnerRequest::setVerifyType(const std::string &verifyType) { + verifyType_ = verifyType; + setParameter(std::string("VerifyType"), verifyType); } -void VerifyVodDomainOwnerRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string VerifyVodDomainOwnerRequest::getDomainName() const { + return domainName_; } -long VerifyVodDomainOwnerRequest::getOwnerId()const -{ - return ownerId_; +void VerifyVodDomainOwnerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void VerifyVodDomainOwnerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long VerifyVodDomainOwnerRequest::getOwnerId() const { + return ownerId_; +} + +void VerifyVodDomainOwnerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); }