Compare commits

..

1 Commits

Author SHA1 Message Date
sdk-team
9e2ee6d530 Generated 2017-03-21 for vod. 2025-12-08 11:26:17 +00:00
110 changed files with 2483 additions and 183 deletions

View File

@@ -1 +1 @@
1.36.2120
1.36.2121

View File

@@ -163,6 +163,12 @@ set(vod_public_header_model
include/alibabacloud/vod/model/DescribeVodEditingUsageDataResult.h
include/alibabacloud/vod/model/DescribeVodMediaPlayDataRequest.h
include/alibabacloud/vod/model/DescribeVodMediaPlayDataResult.h
include/alibabacloud/vod/model/DescribeVodPlayerCollectDataRequest.h
include/alibabacloud/vod/model/DescribeVodPlayerCollectDataResult.h
include/alibabacloud/vod/model/DescribeVodPlayerDimensionDataRequest.h
include/alibabacloud/vod/model/DescribeVodPlayerDimensionDataResult.h
include/alibabacloud/vod/model/DescribeVodPlayerMetricDataRequest.h
include/alibabacloud/vod/model/DescribeVodPlayerMetricDataResult.h
include/alibabacloud/vod/model/DescribeVodRangeDataByLocateAndIspServiceRequest.h
include/alibabacloud/vod/model/DescribeVodRangeDataByLocateAndIspServiceResult.h
include/alibabacloud/vod/model/DescribeVodRefreshQuotaRequest.h
@@ -181,6 +187,8 @@ set(vod_public_header_model
include/alibabacloud/vod/model/DescribeVodTranscodeDataResult.h
include/alibabacloud/vod/model/DescribeVodUserDomainsRequest.h
include/alibabacloud/vod/model/DescribeVodUserDomainsResult.h
include/alibabacloud/vod/model/DescribeVodUserVipsByDomainRequest.h
include/alibabacloud/vod/model/DescribeVodUserVipsByDomainResult.h
include/alibabacloud/vod/model/DescribeVodVerifyContentRequest.h
include/alibabacloud/vod/model/DescribeVodVerifyContentResult.h
include/alibabacloud/vod/model/DetachAppPolicyFromIdentityRequest.h
@@ -199,6 +207,8 @@ set(vod_public_header_model
include/alibabacloud/vod/model/GetAIVideoTagResultResult.h
include/alibabacloud/vod/model/GetAppInfosRequest.h
include/alibabacloud/vod/model/GetAppInfosResult.h
include/alibabacloud/vod/model/GetAppPlayKeyRequest.h
include/alibabacloud/vod/model/GetAppPlayKeyResult.h
include/alibabacloud/vod/model/GetAttachedMediaInfoRequest.h
include/alibabacloud/vod/model/GetAttachedMediaInfoResult.h
include/alibabacloud/vod/model/GetAuditHistoryRequest.h
@@ -309,6 +319,8 @@ set(vod_public_header_model
include/alibabacloud/vod/model/SearchEditingProjectResult.h
include/alibabacloud/vod/model/SearchMediaRequest.h
include/alibabacloud/vod/model/SearchMediaResult.h
include/alibabacloud/vod/model/SetAppPlayKeyRequest.h
include/alibabacloud/vod/model/SetAppPlayKeyResult.h
include/alibabacloud/vod/model/SetAuditSecurityIpRequest.h
include/alibabacloud/vod/model/SetAuditSecurityIpResult.h
include/alibabacloud/vod/model/SetCrossdomainContentRequest.h
@@ -526,6 +538,12 @@ set(vod_src
src/model/DescribeVodEditingUsageDataResult.cc
src/model/DescribeVodMediaPlayDataRequest.cc
src/model/DescribeVodMediaPlayDataResult.cc
src/model/DescribeVodPlayerCollectDataRequest.cc
src/model/DescribeVodPlayerCollectDataResult.cc
src/model/DescribeVodPlayerDimensionDataRequest.cc
src/model/DescribeVodPlayerDimensionDataResult.cc
src/model/DescribeVodPlayerMetricDataRequest.cc
src/model/DescribeVodPlayerMetricDataResult.cc
src/model/DescribeVodRangeDataByLocateAndIspServiceRequest.cc
src/model/DescribeVodRangeDataByLocateAndIspServiceResult.cc
src/model/DescribeVodRefreshQuotaRequest.cc
@@ -544,6 +562,8 @@ set(vod_src
src/model/DescribeVodTranscodeDataResult.cc
src/model/DescribeVodUserDomainsRequest.cc
src/model/DescribeVodUserDomainsResult.cc
src/model/DescribeVodUserVipsByDomainRequest.cc
src/model/DescribeVodUserVipsByDomainResult.cc
src/model/DescribeVodVerifyContentRequest.cc
src/model/DescribeVodVerifyContentResult.cc
src/model/DetachAppPolicyFromIdentityRequest.cc
@@ -562,6 +582,8 @@ set(vod_src
src/model/GetAIVideoTagResultResult.cc
src/model/GetAppInfosRequest.cc
src/model/GetAppInfosResult.cc
src/model/GetAppPlayKeyRequest.cc
src/model/GetAppPlayKeyResult.cc
src/model/GetAttachedMediaInfoRequest.cc
src/model/GetAttachedMediaInfoResult.cc
src/model/GetAuditHistoryRequest.cc
@@ -672,6 +694,8 @@ set(vod_src
src/model/SearchEditingProjectResult.cc
src/model/SearchMediaRequest.cc
src/model/SearchMediaResult.cc
src/model/SetAppPlayKeyRequest.cc
src/model/SetAppPlayKeyResult.cc
src/model/SetAuditSecurityIpRequest.cc
src/model/SetAuditSecurityIpResult.cc
src/model/SetCrossdomainContentRequest.cc

View File

@@ -164,6 +164,12 @@
#include "model/DescribeVodEditingUsageDataResult.h"
#include "model/DescribeVodMediaPlayDataRequest.h"
#include "model/DescribeVodMediaPlayDataResult.h"
#include "model/DescribeVodPlayerCollectDataRequest.h"
#include "model/DescribeVodPlayerCollectDataResult.h"
#include "model/DescribeVodPlayerDimensionDataRequest.h"
#include "model/DescribeVodPlayerDimensionDataResult.h"
#include "model/DescribeVodPlayerMetricDataRequest.h"
#include "model/DescribeVodPlayerMetricDataResult.h"
#include "model/DescribeVodRangeDataByLocateAndIspServiceRequest.h"
#include "model/DescribeVodRangeDataByLocateAndIspServiceResult.h"
#include "model/DescribeVodRefreshQuotaRequest.h"
@@ -182,6 +188,8 @@
#include "model/DescribeVodTranscodeDataResult.h"
#include "model/DescribeVodUserDomainsRequest.h"
#include "model/DescribeVodUserDomainsResult.h"
#include "model/DescribeVodUserVipsByDomainRequest.h"
#include "model/DescribeVodUserVipsByDomainResult.h"
#include "model/DescribeVodVerifyContentRequest.h"
#include "model/DescribeVodVerifyContentResult.h"
#include "model/DetachAppPolicyFromIdentityRequest.h"
@@ -200,6 +208,8 @@
#include "model/GetAIVideoTagResultResult.h"
#include "model/GetAppInfosRequest.h"
#include "model/GetAppInfosResult.h"
#include "model/GetAppPlayKeyRequest.h"
#include "model/GetAppPlayKeyResult.h"
#include "model/GetAttachedMediaInfoRequest.h"
#include "model/GetAttachedMediaInfoResult.h"
#include "model/GetAuditHistoryRequest.h"
@@ -310,6 +320,8 @@
#include "model/SearchEditingProjectResult.h"
#include "model/SearchMediaRequest.h"
#include "model/SearchMediaResult.h"
#include "model/SetAppPlayKeyRequest.h"
#include "model/SetAppPlayKeyResult.h"
#include "model/SetAuditSecurityIpRequest.h"
#include "model/SetAuditSecurityIpResult.h"
#include "model/SetCrossdomainContentRequest.h"
@@ -604,6 +616,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeVodMediaPlayDataResult> DescribeVodMediaPlayDataOutcome;
typedef std::future<DescribeVodMediaPlayDataOutcome> DescribeVodMediaPlayDataOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodMediaPlayDataRequest&, const DescribeVodMediaPlayDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodMediaPlayDataAsyncHandler;
typedef Outcome<Error, Model::DescribeVodPlayerCollectDataResult> DescribeVodPlayerCollectDataOutcome;
typedef std::future<DescribeVodPlayerCollectDataOutcome> DescribeVodPlayerCollectDataOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodPlayerCollectDataRequest&, const DescribeVodPlayerCollectDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodPlayerCollectDataAsyncHandler;
typedef Outcome<Error, Model::DescribeVodPlayerDimensionDataResult> DescribeVodPlayerDimensionDataOutcome;
typedef std::future<DescribeVodPlayerDimensionDataOutcome> DescribeVodPlayerDimensionDataOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodPlayerDimensionDataRequest&, const DescribeVodPlayerDimensionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodPlayerDimensionDataAsyncHandler;
typedef Outcome<Error, Model::DescribeVodPlayerMetricDataResult> DescribeVodPlayerMetricDataOutcome;
typedef std::future<DescribeVodPlayerMetricDataOutcome> DescribeVodPlayerMetricDataOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodPlayerMetricDataRequest&, const DescribeVodPlayerMetricDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodPlayerMetricDataAsyncHandler;
typedef Outcome<Error, Model::DescribeVodRangeDataByLocateAndIspServiceResult> DescribeVodRangeDataByLocateAndIspServiceOutcome;
typedef std::future<DescribeVodRangeDataByLocateAndIspServiceOutcome> DescribeVodRangeDataByLocateAndIspServiceOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodRangeDataByLocateAndIspServiceRequest&, const DescribeVodRangeDataByLocateAndIspServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodRangeDataByLocateAndIspServiceAsyncHandler;
@@ -631,6 +652,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeVodUserDomainsResult> DescribeVodUserDomainsOutcome;
typedef std::future<DescribeVodUserDomainsOutcome> DescribeVodUserDomainsOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodUserDomainsRequest&, const DescribeVodUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodUserDomainsAsyncHandler;
typedef Outcome<Error, Model::DescribeVodUserVipsByDomainResult> DescribeVodUserVipsByDomainOutcome;
typedef std::future<DescribeVodUserVipsByDomainOutcome> DescribeVodUserVipsByDomainOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodUserVipsByDomainRequest&, const DescribeVodUserVipsByDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodUserVipsByDomainAsyncHandler;
typedef Outcome<Error, Model::DescribeVodVerifyContentResult> DescribeVodVerifyContentOutcome;
typedef std::future<DescribeVodVerifyContentOutcome> DescribeVodVerifyContentOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeVodVerifyContentRequest&, const DescribeVodVerifyContentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVodVerifyContentAsyncHandler;
@@ -658,6 +682,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetAppInfosResult> GetAppInfosOutcome;
typedef std::future<GetAppInfosOutcome> GetAppInfosOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::GetAppInfosRequest&, const GetAppInfosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppInfosAsyncHandler;
typedef Outcome<Error, Model::GetAppPlayKeyResult> GetAppPlayKeyOutcome;
typedef std::future<GetAppPlayKeyOutcome> GetAppPlayKeyOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::GetAppPlayKeyRequest&, const GetAppPlayKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppPlayKeyAsyncHandler;
typedef Outcome<Error, Model::GetAttachedMediaInfoResult> GetAttachedMediaInfoOutcome;
typedef std::future<GetAttachedMediaInfoOutcome> GetAttachedMediaInfoOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::GetAttachedMediaInfoRequest&, const GetAttachedMediaInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAttachedMediaInfoAsyncHandler;
@@ -823,6 +850,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SearchMediaResult> SearchMediaOutcome;
typedef std::future<SearchMediaOutcome> SearchMediaOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SearchMediaRequest&, const SearchMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchMediaAsyncHandler;
typedef Outcome<Error, Model::SetAppPlayKeyResult> SetAppPlayKeyOutcome;
typedef std::future<SetAppPlayKeyOutcome> SetAppPlayKeyOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SetAppPlayKeyRequest&, const SetAppPlayKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetAppPlayKeyAsyncHandler;
typedef Outcome<Error, Model::SetAuditSecurityIpResult> SetAuditSecurityIpOutcome;
typedef std::future<SetAuditSecurityIpOutcome> SetAuditSecurityIpOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SetAuditSecurityIpRequest&, const SetAuditSecurityIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetAuditSecurityIpAsyncHandler;
@@ -1149,6 +1179,15 @@ namespace AlibabaCloud
DescribeVodMediaPlayDataOutcome describeVodMediaPlayData(const Model::DescribeVodMediaPlayDataRequest &request)const;
void describeVodMediaPlayDataAsync(const Model::DescribeVodMediaPlayDataRequest& request, const DescribeVodMediaPlayDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodMediaPlayDataOutcomeCallable describeVodMediaPlayDataCallable(const Model::DescribeVodMediaPlayDataRequest& request) const;
DescribeVodPlayerCollectDataOutcome describeVodPlayerCollectData(const Model::DescribeVodPlayerCollectDataRequest &request)const;
void describeVodPlayerCollectDataAsync(const Model::DescribeVodPlayerCollectDataRequest& request, const DescribeVodPlayerCollectDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodPlayerCollectDataOutcomeCallable describeVodPlayerCollectDataCallable(const Model::DescribeVodPlayerCollectDataRequest& request) const;
DescribeVodPlayerDimensionDataOutcome describeVodPlayerDimensionData(const Model::DescribeVodPlayerDimensionDataRequest &request)const;
void describeVodPlayerDimensionDataAsync(const Model::DescribeVodPlayerDimensionDataRequest& request, const DescribeVodPlayerDimensionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodPlayerDimensionDataOutcomeCallable describeVodPlayerDimensionDataCallable(const Model::DescribeVodPlayerDimensionDataRequest& request) const;
DescribeVodPlayerMetricDataOutcome describeVodPlayerMetricData(const Model::DescribeVodPlayerMetricDataRequest &request)const;
void describeVodPlayerMetricDataAsync(const Model::DescribeVodPlayerMetricDataRequest& request, const DescribeVodPlayerMetricDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodPlayerMetricDataOutcomeCallable describeVodPlayerMetricDataCallable(const Model::DescribeVodPlayerMetricDataRequest& request) const;
DescribeVodRangeDataByLocateAndIspServiceOutcome describeVodRangeDataByLocateAndIspService(const Model::DescribeVodRangeDataByLocateAndIspServiceRequest &request)const;
void describeVodRangeDataByLocateAndIspServiceAsync(const Model::DescribeVodRangeDataByLocateAndIspServiceRequest& request, const DescribeVodRangeDataByLocateAndIspServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodRangeDataByLocateAndIspServiceOutcomeCallable describeVodRangeDataByLocateAndIspServiceCallable(const Model::DescribeVodRangeDataByLocateAndIspServiceRequest& request) const;
@@ -1176,6 +1215,9 @@ namespace AlibabaCloud
DescribeVodUserDomainsOutcome describeVodUserDomains(const Model::DescribeVodUserDomainsRequest &request)const;
void describeVodUserDomainsAsync(const Model::DescribeVodUserDomainsRequest& request, const DescribeVodUserDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodUserDomainsOutcomeCallable describeVodUserDomainsCallable(const Model::DescribeVodUserDomainsRequest& request) const;
DescribeVodUserVipsByDomainOutcome describeVodUserVipsByDomain(const Model::DescribeVodUserVipsByDomainRequest &request)const;
void describeVodUserVipsByDomainAsync(const Model::DescribeVodUserVipsByDomainRequest& request, const DescribeVodUserVipsByDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodUserVipsByDomainOutcomeCallable describeVodUserVipsByDomainCallable(const Model::DescribeVodUserVipsByDomainRequest& request) const;
DescribeVodVerifyContentOutcome describeVodVerifyContent(const Model::DescribeVodVerifyContentRequest &request)const;
void describeVodVerifyContentAsync(const Model::DescribeVodVerifyContentRequest& request, const DescribeVodVerifyContentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVodVerifyContentOutcomeCallable describeVodVerifyContentCallable(const Model::DescribeVodVerifyContentRequest& request) const;
@@ -1203,6 +1245,9 @@ namespace AlibabaCloud
GetAppInfosOutcome getAppInfos(const Model::GetAppInfosRequest &request)const;
void getAppInfosAsync(const Model::GetAppInfosRequest& request, const GetAppInfosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAppInfosOutcomeCallable getAppInfosCallable(const Model::GetAppInfosRequest& request) const;
GetAppPlayKeyOutcome getAppPlayKey(const Model::GetAppPlayKeyRequest &request)const;
void getAppPlayKeyAsync(const Model::GetAppPlayKeyRequest& request, const GetAppPlayKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAppPlayKeyOutcomeCallable getAppPlayKeyCallable(const Model::GetAppPlayKeyRequest& request) const;
GetAttachedMediaInfoOutcome getAttachedMediaInfo(const Model::GetAttachedMediaInfoRequest &request)const;
void getAttachedMediaInfoAsync(const Model::GetAttachedMediaInfoRequest& request, const GetAttachedMediaInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAttachedMediaInfoOutcomeCallable getAttachedMediaInfoCallable(const Model::GetAttachedMediaInfoRequest& request) const;
@@ -1368,6 +1413,9 @@ namespace AlibabaCloud
SearchMediaOutcome searchMedia(const Model::SearchMediaRequest &request)const;
void searchMediaAsync(const Model::SearchMediaRequest& request, const SearchMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchMediaOutcomeCallable searchMediaCallable(const Model::SearchMediaRequest& request) const;
SetAppPlayKeyOutcome setAppPlayKey(const Model::SetAppPlayKeyRequest &request)const;
void setAppPlayKeyAsync(const Model::SetAppPlayKeyRequest& request, const SetAppPlayKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetAppPlayKeyOutcomeCallable setAppPlayKeyCallable(const Model::SetAppPlayKeyRequest& request) const;
SetAuditSecurityIpOutcome setAuditSecurityIp(const Model::SetAuditSecurityIpRequest &request)const;
void setAuditSecurityIpAsync(const Model::SetAuditSecurityIpRequest& request, const SetAuditSecurityIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetAuditSecurityIpOutcomeCallable setAuditSecurityIpCallable(const Model::SetAuditSecurityIpRequest& request) const;

View File

@@ -30,10 +30,13 @@ class ALIBABACLOUD_VOD_EXPORT BatchGetMediaInfosRequest : public RpcServiceReque
public:
BatchGetMediaInfosRequest();
~BatchGetMediaInfosRequest();
std::string getReferenceIds() const;
void setReferenceIds(const std::string &referenceIds);
std::string getMediaIds() const;
void setMediaIds(const std::string &mediaIds);
private:
std::string referenceIds_;
std::string mediaIds_;
};
} // namespace Model

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
std::string restoreExpiration;
std::string mediaId;
std::string appId;
std::string referenceId;
std::string creationTime;
std::string coverURL;
std::string regionId;
@@ -107,6 +108,7 @@ namespace AlibabaCloud
std::string width;
};
std::string status;
std::string fileMD5;
std::string cRC64;
long size;
std::string fileName;
@@ -167,6 +169,7 @@ namespace AlibabaCloud
~BatchGetMediaInfosResult();
std::vector<std::string> getNonExistMediaIds()const;
std::vector<MediaBasicInfo> getMediaInfos()const;
std::vector<std::string> getNonExistReferenceIds()const;
std::vector<std::string> getForbiddenMediaIds()const;
protected:
@@ -174,6 +177,7 @@ namespace AlibabaCloud
private:
std::vector<std::string> nonExistMediaIds_;
std::vector<MediaBasicInfo> mediaInfos_;
std::vector<std::string> nonExistReferenceIds_;
std::vector<std::string> forbiddenMediaIds_;
};

View File

@@ -44,8 +44,8 @@ public:
void setResourceGroupId(const std::string &resourceGroupId);
std::string getAppName() const;
void setAppName(const std::string &appName);
Tag getTag() const;
void setTag(const Tag &tag);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
private:
std::string description_;
@@ -53,7 +53,7 @@ private:
std::string accessKeyId_;
std::string resourceGroupId_;
std::string appName_;
Tag tag_;
std::vector<Tag> tag_;
};
} // namespace Model
} // namespace Vod

View File

@@ -52,6 +52,8 @@ public:
void setCustomMediaInfo(const std::string &customMediaInfo);
std::string getIP() const;
void setIP(const std::string &iP);
std::string getReferenceId() const;
void setReferenceId(const std::string &referenceId);
std::string getTags() const;
void setTags(const std::string &tags);
std::string getFileName() const;
@@ -73,6 +75,7 @@ private:
std::string workflowId_;
std::string customMediaInfo_;
std::string iP_;
std::string referenceId_;
std::string tags_;
std::string fileName_;
std::string templateGroupId_;

View File

@@ -32,6 +32,8 @@ public:
~DeleteEditingProjectRequest();
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;
@@ -40,16 +42,14 @@ public:
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 accessKeyId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string projectIds_;
std::string ownerId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace Vod

View File

@@ -30,12 +30,15 @@ class ALIBABACLOUD_VOD_EXPORT DeleteMezzaninesRequest : public RpcServiceRequest
public:
DeleteMezzaninesRequest();
~DeleteMezzaninesRequest();
std::string getReferenceIds() const;
void setReferenceIds(const std::string &referenceIds);
bool getForce() const;
void setForce(bool force);
std::string getVideoIds() const;
void setVideoIds(const std::string &videoIds);
private:
std::string referenceIds_;
bool force_;
std::string videoIds_;
};

View File

@@ -39,12 +39,14 @@ namespace AlibabaCloud
~DeleteMezzaninesResult();
std::vector<std::string> getNonExistVideoIds()const;
std::vector<std::string> getUnRemoveableVideoIds()const;
std::vector<std::string> getNonExistReferenceIds()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> nonExistVideoIds_;
std::vector<std::string> unRemoveableVideoIds_;
std::vector<std::string> nonExistReferenceIds_;
};
}

View File

@@ -30,22 +30,22 @@ class ALIBABACLOUD_VOD_EXPORT DeleteMultipartUploadRequest : public RpcServiceRe
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 getOwnerAccount() const;
void setOwnerAccount(const std::string &ownerAccount);
std::string getMediaId() const;
void setMediaId(const std::string &mediaId);
std::string getMediaType() const;
void setMediaType(const std::string &mediaType);
private:
std::string ownerAccount_;
long resourceRealOwnerId_;
std::string mediaId_;
std::string accessKeyId_;
std::string ownerAccount_;
std::string mediaId_;
std::string mediaType_;
};
} // namespace Model

View File

@@ -32,11 +32,14 @@ public:
~DeleteStreamRequest();
std::string getVideoId() const;
void setVideoId(const std::string &videoId);
std::string getReferenceId() const;
void setReferenceId(const std::string &referenceId);
std::string getJobIds() const;
void setJobIds(const std::string &jobIds);
private:
std::string videoId_;
std::string referenceId_;
std::string jobIds_;
};
} // namespace Model

View File

@@ -30,10 +30,13 @@ class ALIBABACLOUD_VOD_EXPORT DeleteVideoRequest : public RpcServiceRequest {
public:
DeleteVideoRequest();
~DeleteVideoRequest();
std::string getReferenceIds() const;
void setReferenceIds(const std::string &referenceIds);
std::string getVideoIds() const;
void setVideoIds(const std::string &videoIds);
private:
std::string referenceIds_;
std::string videoIds_;
};
} // namespace Model

View File

@@ -39,12 +39,14 @@ namespace AlibabaCloud
~DeleteVideoResult();
std::vector<std::string> getForbiddenVideoIds()const;
std::vector<std::string> getNonExistVideoIds()const;
std::vector<std::string> getNonExistReferenceIds()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> forbiddenVideoIds_;
std::vector<std::string> nonExistVideoIds_;
std::vector<std::string> nonExistReferenceIds_;
};
}

View File

@@ -30,18 +30,18 @@ class ALIBABACLOUD_VOD_EXPORT DescribeMediaDistributionRequest : public RpcServi
public:
DescribeMediaDistributionRequest();
~DescribeMediaDistributionRequest();
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getStorageClass() const;
void setStorageClass(const std::string &storageClass);
std::string getInterval() const;
void setInterval(const std::string &interval);
private:
std::string endTime_;
std::string startTime_;
std::string endTime_;
std::string storageClass_;
std::string interval_;
};

View File

@@ -0,0 +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_DESCRIBEVODPLAYERCOLLECTDATAREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERCOLLECTDATAREQUEST_H_
#include <alibabacloud/vod/VodExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Vod {
namespace Model {
class ALIBABACLOUD_VOD_EXPORT DescribeVodPlayerCollectDataRequest : public RpcServiceRequest {
public:
DescribeVodPlayerCollectDataRequest();
~DescribeVodPlayerCollectDataRequest();
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getPeriod() const;
void setPeriod(const std::string &period);
std::string getOs() const;
void setOs(const std::string &os);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getAppId() const;
void setAppId(const std::string &appId);
std::string getInterval() const;
void setInterval(const std::string &interval);
std::string getMetrics() const;
void setMetrics(const std::string &metrics);
std::string getTerminalType() const;
void setTerminalType(const std::string &terminalType);
private:
std::string startTime_;
std::string period_;
std::string os_;
std::string endTime_;
std::string appId_;
std::string interval_;
std::string metrics_;
std::string terminalType_;
};
} // namespace Model
} // namespace Vod
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERCOLLECTDATAREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEVODPLAYERCOLLECTDATARESULT_H_
#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERCOLLECTDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT DescribeVodPlayerCollectDataResult : public ServiceResult
{
public:
struct Datas
{
double valueRefer;
double valueRatio;
double value;
std::string metric;
};
DescribeVodPlayerCollectDataResult();
explicit DescribeVodPlayerCollectDataResult(const std::string &payload);
~DescribeVodPlayerCollectDataResult();
std::vector<Datas> getDataList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Datas> dataList_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERCOLLECTDATARESULT_H_

View File

@@ -0,0 +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_DESCRIBEVODPLAYERDIMENSIONDATAREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERDIMENSIONDATAREQUEST_H_
#include <alibabacloud/vod/VodExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Vod {
namespace Model {
class ALIBABACLOUD_VOD_EXPORT DescribeVodPlayerDimensionDataRequest : public RpcServiceRequest {
public:
DescribeVodPlayerDimensionDataRequest();
~DescribeVodPlayerDimensionDataRequest();
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getDimension() const;
void setDimension(const std::string &dimension);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getAppId() const;
void setAppId(const std::string &appId);
std::string getRegion() const;
void setRegion(const std::string &region);
private:
std::string startTime_;
std::string dimension_;
std::string endTime_;
std::string appId_;
std::string region_;
};
} // namespace Model
} // namespace Vod
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERDIMENSIONDATAREQUEST_H_

View File

@@ -0,0 +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_DESCRIBEVODPLAYERDIMENSIONDATARESULT_H_
#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERDIMENSIONDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT DescribeVodPlayerDimensionDataResult : public ServiceResult
{
public:
DescribeVodPlayerDimensionDataResult();
explicit DescribeVodPlayerDimensionDataResult(const std::string &payload);
~DescribeVodPlayerDimensionDataResult();
std::vector<std::string> getDataList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> dataList_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERDIMENSIONDATARESULT_H_

View File

@@ -0,0 +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_DESCRIBEVODPLAYERMETRICDATAREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERMETRICDATAREQUEST_H_
#include <alibabacloud/vod/VodExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Vod {
namespace Model {
class ALIBABACLOUD_VOD_EXPORT DescribeVodPlayerMetricDataRequest : public RpcServiceRequest {
public:
DescribeVodPlayerMetricDataRequest();
~DescribeVodPlayerMetricDataRequest();
std::string getLanguage() const;
void setLanguage(const std::string &language);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
long getPageNumber() const;
void setPageNumber(long pageNumber);
long getTop() const;
void setTop(long top);
long getPageSize() const;
void setPageSize(long pageSize);
std::string getOs() const;
void setOs(const std::string &os);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getFilters() const;
void setFilters(const std::string &filters);
std::string getAppId() const;
void setAppId(const std::string &appId);
std::string getInterval() const;
void setInterval(const std::string &interval);
std::string getMetrics() const;
void setMetrics(const std::string &metrics);
std::string getTerminalType() const;
void setTerminalType(const std::string &terminalType);
private:
std::string language_;
std::string startTime_;
long pageNumber_;
long top_;
long pageSize_;
std::string os_;
std::string endTime_;
std::string filters_;
std::string appId_;
std::string interval_;
std::string metrics_;
std::string terminalType_;
};
} // namespace Model
} // namespace Vod
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERMETRICDATAREQUEST_H_

View File

@@ -0,0 +1,94 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEVODPLAYERMETRICDATARESULT_H_
#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERMETRICDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT DescribeVodPlayerMetricDataResult : public ServiceResult
{
public:
struct Extend
{
std::string actualStartTime;
std::string actualEndTime;
long intervalSeconds;
};
struct Datds
{
double uv;
double completionVv;
double avgPlayDuration;
double seekDuration;
double stuckDuration100s;
double avgPerVv;
double seedFailRate;
double avgPlayBitrate;
std::string stuckCount100s;
double vv;
double completionRate;
double errorCount100s;
double slowPlayRate;
double firstFrame;
double avgPerPlayDuration;
double avgStartBitrate;
std::string dimension;
double stuckCountRate;
double playFailRate;
std::string timeStamp;
double totalPlayDuration;
double realVv;
double avgPerCompletionVv;
double jumpRate5s;
double secondPlayRate;
double avgVideoDuration;
};
DescribeVodPlayerMetricDataResult();
explicit DescribeVodPlayerMetricDataResult(const std::string &payload);
~DescribeVodPlayerMetricDataResult();
std::vector<Datds> getDataList()const;
long getPageSize()const;
long getTotalCnt()const;
Extend getExtend()const;
long getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Datds> dataList_;
long pageSize_;
long totalCnt_;
Extend extend_;
long pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODPLAYERMETRICDATARESULT_H_

View File

@@ -0,0 +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_DESCRIBEVODUSERVIPSBYDOMAINREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODUSERVIPSBYDOMAINREQUEST_H_
#include <alibabacloud/vod/VodExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Vod {
namespace Model {
class ALIBABACLOUD_VOD_EXPORT DescribeVodUserVipsByDomainRequest : public RpcServiceRequest {
public:
DescribeVodUserVipsByDomainRequest();
~DescribeVodUserVipsByDomainRequest();
std::string getAvailable() const;
void setAvailable(const std::string &available);
std::string getDomainName() const;
void setDomainName(const std::string &domainName);
long getOwnerId() const;
void setOwnerId(long ownerId);
private:
std::string available_;
std::string domainName_;
long ownerId_;
};
} // namespace Model
} // namespace Vod
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODUSERVIPSBYDOMAINREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEVODUSERVIPSBYDOMAINRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_DESCRIBEVODUSERVIPSBYDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT DescribeVodUserVipsByDomainResult : public ServiceResult
{
public:
DescribeVodUserVipsByDomainResult();
explicit DescribeVodUserVipsByDomainResult(const std::string &payload);
~DescribeVodUserVipsByDomainResult();
std::string getDomainName()const;
std::vector<std::string> getVips()const;
protected:
void parse(const std::string &payload);
private:
std::string domainName_;
std::vector<std::string> vips_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_DESCRIBEVODUSERVIPSBYDOMAINRESULT_H_

View File

@@ -30,19 +30,19 @@ class ALIBABACLOUD_VOD_EXPORT DetachAppPolicyFromIdentityRequest : public RpcSer
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 getIdentityType() const;
void setIdentityType(const std::string &identityType);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
std::string identityType_;
std::string policyNames_;
std::string identityName_;
std::string identityType_;
std::string appId_;
};
} // namespace Model

View File

@@ -32,23 +32,23 @@ public:
~GetAIImageJobsRequest();
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 getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getJobIds() const;
void setJobIds(const std::string &jobIds);
private:
std::string resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string ownerId_;
std::string accessKeyId_;
std::string jobIds_;
};
} // namespace Model

View File

@@ -32,6 +32,8 @@ public:
~GetAIVideoTagResultRequest();
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;
@@ -40,16 +42,14 @@ public:
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 accessKeyId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string ownerId_;
std::string mediaId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace Vod

View File

@@ -34,6 +34,11 @@ namespace AlibabaCloud
public:
struct AppInfo
{
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string status;
std::string type;
std::string description;
@@ -41,6 +46,7 @@ namespace AlibabaCloud
std::string resourceGroupId;
std::string creationTime;
std::string modificationTime;
std::vector<AppInfo::Tag> tags;
std::string appName;
};

View File

@@ -0,0 +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_GETAPPPLAYKEYREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_GETAPPPLAYKEYREQUEST_H_
#include <alibabacloud/vod/VodExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Vod {
namespace Model {
class ALIBABACLOUD_VOD_EXPORT GetAppPlayKeyRequest : public RpcServiceRequest {
public:
GetAppPlayKeyRequest();
~GetAppPlayKeyRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
long getResourceRealOwnerId() const;
void setResourceRealOwnerId(long resourceRealOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
long resourceOwnerId_;
long resourceRealOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string appId_;
};
} // namespace Model
} // namespace Vod
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOD_MODEL_GETAPPPLAYKEYREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_GETAPPPLAYKEYRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_GETAPPPLAYKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT GetAppPlayKeyResult : public ServiceResult
{
public:
struct AppPlayKey
{
std::string appId;
std::string playKey;
std::string creationTime;
std::string modificationTime;
};
GetAppPlayKeyResult();
explicit GetAppPlayKeyResult(const std::string &payload);
~GetAppPlayKeyResult();
AppPlayKey getAppPlayKey()const;
protected:
void parse(const std::string &payload);
private:
AppPlayKey appPlayKey_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_GETAPPPLAYKEYRESULT_H_

View File

@@ -67,6 +67,27 @@ namespace AlibabaCloud
std::string completeTime;
std::string jobId;
};
struct WorkflowTaskDetail
{
struct Workflow
{
std::string status;
std::string type;
std::string modifiedTime;
std::string appId;
std::string createTime;
std::string workflowId;
std::string name;
};
std::string status;
std::string taskId;
std::string activityResults;
std::string taskInput;
std::string finishTime;
std::string userData;
std::string createTime;
Workflow workflow;
};
GetJobDetailResult();
@@ -76,6 +97,7 @@ namespace AlibabaCloud
SnapshotJobDetail getSnapshotJobDetail()const;
TranscodeJobDetail getTranscodeJobDetail()const;
AIJobDetail getAIJobDetail()const;
WorkflowTaskDetail getWorkflowTaskDetail()const;
protected:
void parse(const std::string &payload);
@@ -84,6 +106,7 @@ namespace AlibabaCloud
SnapshotJobDetail snapshotJobDetail_;
TranscodeJobDetail transcodeJobDetail_;
AIJobDetail aIJobDetail_;
WorkflowTaskDetail workflowTaskDetail_;
};
}

View File

@@ -32,6 +32,8 @@ public:
~GetMediaDNAResultRequest();
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;
@@ -40,16 +42,14 @@ public:
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 accessKeyId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string ownerId_;
std::string mediaId_;
std::string accessKeyId_;
};
} // namespace Model
} // namespace Vod

View File

@@ -36,6 +36,8 @@ public:
void setAuthTimeout(long authTimeout);
std::string getVideoId() const;
void setVideoId(const std::string &videoId);
std::string getReferenceId() const;
void setReferenceId(const std::string &referenceId);
bool getPreviewSegment() const;
void setPreviewSegment(bool previewSegment);
std::string getAdditionType() const;
@@ -45,6 +47,7 @@ private:
std::string outputType_;
long authTimeout_;
std::string videoId_;
std::string referenceId_;
bool previewSegment_;
std::string additionType_;
};

View File

@@ -81,6 +81,7 @@ namespace AlibabaCloud
std::string width;
};
std::string status;
std::string fileMD5;
std::string videoId;
std::string cRC64;
long size;

View File

@@ -58,6 +58,8 @@ public:
void setVideoId(const std::string &videoId);
std::string getResultType() const;
void setResultType(const std::string &resultType);
std::string getReferenceId() const;
void setReferenceId(const std::string &referenceId);
std::string getAdditionType() const;
void setAdditionType(const std::string &additionType);
std::string getAuthInfo() const;
@@ -78,6 +80,7 @@ private:
std::string streamType_;
std::string videoId_;
std::string resultType_;
std::string referenceId_;
std::string additionType_;
std::string authInfo_;
};

View File

@@ -30,17 +30,20 @@ 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);
std::string getVideoId() const;
void setVideoId(const std::string &videoId);
std::string getReferenceId() const;
void setReferenceId(const std::string &referenceId);
std::string getAdditionType() const;
void setAdditionType(const std::string &additionType);
private:
std::string videoId_;
std::string additionType_;
std::string resultTypes_;
std::string videoId_;
std::string referenceId_;
std::string additionType_;
};
} // namespace Model
} // namespace Vod

View File

@@ -47,6 +47,7 @@ namespace AlibabaCloud
std::string cateName;
std::string restoreStatus;
std::string preprocessStatus;
std::string referenceId;
std::string storageLocation;
std::vector<std::string> snapshots;
std::string tags;

View File

@@ -30,12 +30,15 @@ class ALIBABACLOUD_VOD_EXPORT GetVideoInfosRequest : public RpcServiceRequest {
public:
GetVideoInfosRequest();
~GetVideoInfosRequest();
std::string getReferenceIds() const;
void setReferenceIds(const std::string &referenceIds);
std::string getAdditionType() const;
void setAdditionType(const std::string &additionType);
std::string getVideoIds() const;
void setVideoIds(const std::string &videoIds);
private:
std::string referenceIds_;
std::string additionType_;
std::string videoIds_;
};

View File

@@ -46,6 +46,7 @@ namespace AlibabaCloud
std::string cateName;
std::string restoreStatus;
std::string preprocessStatus;
std::string referenceId;
std::string storageLocation;
std::vector<std::string> snapshots;
std::string tags;
@@ -71,12 +72,14 @@ namespace AlibabaCloud
~GetVideoInfosResult();
std::vector<Video> getVideoList()const;
std::vector<std::string> getNonExistVideoIds()const;
std::vector<std::string> getNonExistReferenceIds()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Video> videoList_;
std::vector<std::string> nonExistVideoIds_;
std::vector<std::string> nonExistReferenceIds_;
};
}

View File

@@ -30,6 +30,8 @@ class ALIBABACLOUD_VOD_EXPORT GetVideoListRequest : public RpcServiceRequest {
public:
GetVideoListRequest();
~GetVideoListRequest();
std::string getReferenceIds() const;
void setReferenceIds(const std::string &referenceIds);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getStorageLocation() const;
@@ -48,6 +50,7 @@ public:
void setStatus(const std::string &status);
private:
std::string referenceIds_;
std::string startTime_;
std::string storageLocation_;
long cateId_;

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
std::string restoreStatus;
std::string restoreExpiration;
std::string appId;
std::string referenceId;
std::string creationTime;
std::string coverURL;
std::string storageLocation;

View File

@@ -38,6 +38,8 @@ public:
void setVideoId(const std::string &videoId);
std::string getApiVersion() const;
void setApiVersion(const std::string &apiVersion);
std::string getReferenceId() const;
void setReferenceId(const std::string &referenceId);
long getAuthInfoTimeout() const;
void setAuthInfoTimeout(long authInfoTimeout);
@@ -46,6 +48,7 @@ private:
std::string playConfig_;
std::string videoId_;
std::string apiVersion_;
std::string referenceId_;
long authInfoTimeout_;
};
} // namespace Model

View File

@@ -32,23 +32,23 @@ public:
~ListAIJobRequest();
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 getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getJobIds() const;
void setJobIds(const std::string &jobIds);
private:
std::string resourceOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string ownerId_;
std::string accessKeyId_;
std::string jobIds_;
};
} // namespace Model

View File

@@ -42,8 +42,8 @@ public:
void setResourceGroupId(const std::string &resourceGroupId);
int getPageSize() const;
void setPageSize(int pageSize);
Tag getTag() const;
void setTag(const Tag &tag);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
int getPageNo() const;
void setPageNo(int pageNo);
std::string getStatus() const;
@@ -54,7 +54,7 @@ private:
std::string accessKeyId_;
std::string resourceGroupId_;
int pageSize_;
Tag tag_;
std::vector<Tag> tag_;
int pageNo_;
std::string status_;
};

View File

@@ -34,7 +34,7 @@ namespace AlibabaCloud
public:
struct AppInfo
{
struct TagsItem
struct Tag
{
std::string tagKey;
std::string tagValue;
@@ -47,7 +47,7 @@ namespace AlibabaCloud
std::string creationTime;
std::string modificationTime;
std::string regionId;
std::vector<AppInfo::TagsItem> tags;
std::vector<AppInfo::Tag> tags;
std::string appName;
};

View File

@@ -32,20 +32,20 @@ public:
~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 getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getResourceIds() const;
void setResourceIds(const std::string &resourceIds);
private:
long resourceRealOwnerId_;
std::string resourceType_;
std::string accessKeyId_;
std::string targetAppId_;
std::string resourceType_;
std::string resourceIds_;
};
} // namespace Model

View File

@@ -38,12 +38,15 @@ public:
void setVideoId(const std::string &videoId);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getReferenceId() const;
void setReferenceId(const std::string &referenceId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string videoId_;
long ownerId_;
std::string referenceId_;
};
} // namespace Model
} // namespace Vod

View File

@@ -34,19 +34,19 @@ public:
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);
std::string getTemplateGroupId() const;
void setTemplateGroupId(const std::string &templateGroupId);
private:
std::string accessKeyId_;
std::string userData_;
std::string templateGroupId_;
std::string registerMetadatas_;
std::string workflowId_;
std::string templateGroupId_;
};
} // namespace Model
} // namespace Vod

View File

@@ -64,6 +64,7 @@ namespace AlibabaCloud
std::string restoreStatus;
std::string preprocessStatus;
std::string auditAIResult;
std::string referenceId;
std::string mediaType;
std::string auditTemplateId;
std::string auditManualStatus;
@@ -118,6 +119,7 @@ namespace AlibabaCloud
std::string restoreStatus;
std::string preprocessStatus;
std::string auditAIResult;
std::string referenceId;
std::vector<std::string> spriteSnapshots1;
std::string auditTemplateId;
std::string auditManualStatus;

View File

@@ -0,0 +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_SETAPPPLAYKEYREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_SETAPPPLAYKEYREQUEST_H_
#include <alibabacloud/vod/VodExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Vod {
namespace Model {
class ALIBABACLOUD_VOD_EXPORT SetAppPlayKeyRequest : public RpcServiceRequest {
public:
SetAppPlayKeyRequest();
~SetAppPlayKeyRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
long getResourceRealOwnerId() const;
void setResourceRealOwnerId(long resourceRealOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAppId() const;
void setAppId(const std::string &appId);
std::string getPlayKey() const;
void setPlayKey(const std::string &playKey);
private:
long resourceOwnerId_;
long resourceRealOwnerId_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string appId_;
std::string playKey_;
};
} // namespace Model
} // namespace Vod
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VOD_MODEL_SETAPPPLAYKEYREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_SETAPPPLAYKEYRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_SETAPPPLAYKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT SetAppPlayKeyResult : public ServiceResult
{
public:
SetAppPlayKeyResult();
explicit SetAppPlayKeyResult(const std::string &payload);
~SetAppPlayKeyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_SETAPPPLAYKEYRESULT_H_

View File

@@ -48,6 +48,8 @@ public:
void setCount(long count);
std::string getVideoId() const;
void setVideoId(const std::string &videoId);
std::string getReferenceId() const;
void setReferenceId(const std::string &referenceId);
std::string getWidth() const;
void setWidth(const std::string &width);
std::string getFileUrl() const;
@@ -65,6 +67,7 @@ private:
std::string height_;
long count_;
std::string videoId_;
std::string referenceId_;
std::string width_;
std::string fileUrl_;
long interval_;

View File

@@ -42,6 +42,8 @@ public:
void setOverrideParams(const std::string &overrideParams);
std::string getPriority() const;
void setPriority(const std::string &priority);
std::string getReferenceId() const;
void setReferenceId(const std::string &referenceId);
std::string getPipelineId() const;
void setPipelineId(const std::string &pipelineId);
std::string getTemplateGroupId() const;
@@ -58,6 +60,7 @@ private:
std::string videoId_;
std::string overrideParams_;
std::string priority_;
std::string referenceId_;
std::string pipelineId_;
std::string templateGroupId_;
std::string fileUrl_;

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
SubmitWorkflowJobResult();
explicit SubmitWorkflowJobResult(const std::string &payload);
~SubmitWorkflowJobResult();
std::string getTaskId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
};
}

View File

@@ -34,19 +34,19 @@ public:
void setTranscodeTemplateList(const std::string &transcodeTemplateList);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getLocked() const;
void setLocked(const std::string &locked);
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 locked_;
std::string transcodeTemplateGroupId_;
std::string name_;
std::string locked_;
};
} // namespace Model
} // namespace Vod

View File

@@ -46,6 +46,8 @@ public:
void setCustomMediaInfo(const std::string &customMediaInfo);
std::string getVideoId() const;
void setVideoId(const std::string &videoId);
std::string getReferenceId() const;
void setReferenceId(const std::string &referenceId);
std::string getTags() const;
void setTags(const std::string &tags);
std::string getStatus() const;
@@ -60,6 +62,7 @@ private:
long cateId_;
std::string customMediaInfo_;
std::string videoId_;
std::string referenceId_;
std::string tags_;
std::string status_;
};

View File

@@ -39,12 +39,14 @@ namespace AlibabaCloud
~UpdateVideoInfosResult();
std::vector<std::string> getForbiddenVideoIds()const;
std::vector<std::string> getNonExistVideoIds()const;
std::vector<std::string> getNonExistReferenceIds()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> forbiddenVideoIds_;
std::vector<std::string> nonExistVideoIds_;
std::vector<std::string> nonExistReferenceIds_;
};
}

View File

@@ -2607,6 +2607,114 @@ VodClient::DescribeVodMediaPlayDataOutcomeCallable VodClient::describeVodMediaPl
return task->get_future();
}
VodClient::DescribeVodPlayerCollectDataOutcome VodClient::describeVodPlayerCollectData(const DescribeVodPlayerCollectDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVodPlayerCollectDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeVodPlayerCollectDataOutcome(DescribeVodPlayerCollectDataResult(outcome.result()));
else
return DescribeVodPlayerCollectDataOutcome(outcome.error());
}
void VodClient::describeVodPlayerCollectDataAsync(const DescribeVodPlayerCollectDataRequest& request, const DescribeVodPlayerCollectDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeVodPlayerCollectData(request), context);
};
asyncExecute(new Runnable(fn));
}
VodClient::DescribeVodPlayerCollectDataOutcomeCallable VodClient::describeVodPlayerCollectDataCallable(const DescribeVodPlayerCollectDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeVodPlayerCollectDataOutcome()>>(
[this, request]()
{
return this->describeVodPlayerCollectData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VodClient::DescribeVodPlayerDimensionDataOutcome VodClient::describeVodPlayerDimensionData(const DescribeVodPlayerDimensionDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVodPlayerDimensionDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeVodPlayerDimensionDataOutcome(DescribeVodPlayerDimensionDataResult(outcome.result()));
else
return DescribeVodPlayerDimensionDataOutcome(outcome.error());
}
void VodClient::describeVodPlayerDimensionDataAsync(const DescribeVodPlayerDimensionDataRequest& request, const DescribeVodPlayerDimensionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeVodPlayerDimensionData(request), context);
};
asyncExecute(new Runnable(fn));
}
VodClient::DescribeVodPlayerDimensionDataOutcomeCallable VodClient::describeVodPlayerDimensionDataCallable(const DescribeVodPlayerDimensionDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeVodPlayerDimensionDataOutcome()>>(
[this, request]()
{
return this->describeVodPlayerDimensionData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VodClient::DescribeVodPlayerMetricDataOutcome VodClient::describeVodPlayerMetricData(const DescribeVodPlayerMetricDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVodPlayerMetricDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeVodPlayerMetricDataOutcome(DescribeVodPlayerMetricDataResult(outcome.result()));
else
return DescribeVodPlayerMetricDataOutcome(outcome.error());
}
void VodClient::describeVodPlayerMetricDataAsync(const DescribeVodPlayerMetricDataRequest& request, const DescribeVodPlayerMetricDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeVodPlayerMetricData(request), context);
};
asyncExecute(new Runnable(fn));
}
VodClient::DescribeVodPlayerMetricDataOutcomeCallable VodClient::describeVodPlayerMetricDataCallable(const DescribeVodPlayerMetricDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeVodPlayerMetricDataOutcome()>>(
[this, request]()
{
return this->describeVodPlayerMetricData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VodClient::DescribeVodRangeDataByLocateAndIspServiceOutcome VodClient::describeVodRangeDataByLocateAndIspService(const DescribeVodRangeDataByLocateAndIspServiceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2931,6 +3039,42 @@ VodClient::DescribeVodUserDomainsOutcomeCallable VodClient::describeVodUserDomai
return task->get_future();
}
VodClient::DescribeVodUserVipsByDomainOutcome VodClient::describeVodUserVipsByDomain(const DescribeVodUserVipsByDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeVodUserVipsByDomainOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeVodUserVipsByDomainOutcome(DescribeVodUserVipsByDomainResult(outcome.result()));
else
return DescribeVodUserVipsByDomainOutcome(outcome.error());
}
void VodClient::describeVodUserVipsByDomainAsync(const DescribeVodUserVipsByDomainRequest& request, const DescribeVodUserVipsByDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeVodUserVipsByDomain(request), context);
};
asyncExecute(new Runnable(fn));
}
VodClient::DescribeVodUserVipsByDomainOutcomeCallable VodClient::describeVodUserVipsByDomainCallable(const DescribeVodUserVipsByDomainRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeVodUserVipsByDomainOutcome()>>(
[this, request]()
{
return this->describeVodUserVipsByDomain(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VodClient::DescribeVodVerifyContentOutcome VodClient::describeVodVerifyContent(const DescribeVodVerifyContentRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3255,6 +3399,42 @@ VodClient::GetAppInfosOutcomeCallable VodClient::getAppInfosCallable(const GetAp
return task->get_future();
}
VodClient::GetAppPlayKeyOutcome VodClient::getAppPlayKey(const GetAppPlayKeyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAppPlayKeyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAppPlayKeyOutcome(GetAppPlayKeyResult(outcome.result()));
else
return GetAppPlayKeyOutcome(outcome.error());
}
void VodClient::getAppPlayKeyAsync(const GetAppPlayKeyRequest& request, const GetAppPlayKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAppPlayKey(request), context);
};
asyncExecute(new Runnable(fn));
}
VodClient::GetAppPlayKeyOutcomeCallable VodClient::getAppPlayKeyCallable(const GetAppPlayKeyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAppPlayKeyOutcome()>>(
[this, request]()
{
return this->getAppPlayKey(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VodClient::GetAttachedMediaInfoOutcome VodClient::getAttachedMediaInfo(const GetAttachedMediaInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5235,6 +5415,42 @@ VodClient::SearchMediaOutcomeCallable VodClient::searchMediaCallable(const Searc
return task->get_future();
}
VodClient::SetAppPlayKeyOutcome VodClient::setAppPlayKey(const SetAppPlayKeyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetAppPlayKeyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetAppPlayKeyOutcome(SetAppPlayKeyResult(outcome.result()));
else
return SetAppPlayKeyOutcome(outcome.error());
}
void VodClient::setAppPlayKeyAsync(const SetAppPlayKeyRequest& request, const SetAppPlayKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setAppPlayKey(request), context);
};
asyncExecute(new Runnable(fn));
}
VodClient::SetAppPlayKeyOutcomeCallable VodClient::setAppPlayKeyCallable(const SetAppPlayKeyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetAppPlayKeyOutcome()>>(
[this, request]()
{
return this->setAppPlayKey(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
VodClient::SetAuditSecurityIpOutcome VodClient::setAuditSecurityIp(const SetAuditSecurityIpRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -25,6 +25,15 @@ BatchGetMediaInfosRequest::BatchGetMediaInfosRequest()
BatchGetMediaInfosRequest::~BatchGetMediaInfosRequest() {}
std::string BatchGetMediaInfosRequest::getReferenceIds() const {
return referenceIds_;
}
void BatchGetMediaInfosRequest::setReferenceIds(const std::string &referenceIds) {
referenceIds_ = referenceIds;
setParameter(std::string("ReferenceIds"), referenceIds);
}
std::string BatchGetMediaInfosRequest::getMediaIds() const {
return mediaIds_;
}

View File

@@ -154,6 +154,8 @@ void BatchGetMediaInfosResult::parse(const std::string &payload)
mediaInfosObject.mediaInfo.restoreExpiration = mediaInfoNode["RestoreExpiration"].asString();
if(!mediaInfoNode["UserData"].isNull())
mediaInfosObject.mediaInfo.userData = mediaInfoNode["UserData"].asString();
if(!mediaInfoNode["ReferenceId"].isNull())
mediaInfosObject.mediaInfo.referenceId = mediaInfoNode["ReferenceId"].asString();
auto allSnapshots = mediaInfoNode["Snapshots"]["Snapshot"];
for (auto value : allSnapshots)
mediaInfosObject.mediaInfo.snapshots.push_back(value.asString());
@@ -182,6 +184,8 @@ void BatchGetMediaInfosResult::parse(const std::string &payload)
mediaInfosObject.mezzanineInfo.duration = mezzanineInfoNode["Duration"].asString();
if(!mezzanineInfoNode["Fps"].isNull())
mediaInfosObject.mezzanineInfo.fps = mezzanineInfoNode["Fps"].asString();
if(!mezzanineInfoNode["FileMD5"].isNull())
mediaInfosObject.mezzanineInfo.fileMD5 = mezzanineInfoNode["FileMD5"].asString();
auto allAudioStreamListNode = mezzanineInfoNode["AudioStreamList"]["AudioStream"];
for (auto mezzanineInfoNodeAudioStreamListAudioStream : allAudioStreamListNode)
{
@@ -279,6 +283,9 @@ void BatchGetMediaInfosResult::parse(const std::string &payload)
auto allNonExistMediaIds = value["NonExistMediaIds"]["MediaId"];
for (const auto &item : allNonExistMediaIds)
nonExistMediaIds_.push_back(item.asString());
auto allNonExistReferenceIds = value["NonExistReferenceIds"]["ReferenceId"];
for (const auto &item : allNonExistReferenceIds)
nonExistReferenceIds_.push_back(item.asString());
auto allForbiddenMediaIds = value["ForbiddenMediaIds"]["MediaId"];
for (const auto &item : allForbiddenMediaIds)
forbiddenMediaIds_.push_back(item.asString());
@@ -295,6 +302,11 @@ std::vector<BatchGetMediaInfosResult::MediaBasicInfo> BatchGetMediaInfosResult::
return mediaInfos_;
}
std::vector<std::string> BatchGetMediaInfosResult::getNonExistReferenceIds()const
{
return nonExistReferenceIds_;
}
std::vector<std::string> BatchGetMediaInfosResult::getForbiddenMediaIds()const
{
return forbiddenMediaIds_;

View File

@@ -70,13 +70,17 @@ void CreateAppInfoRequest::setAppName(const std::string &appName) {
setParameter(std::string("AppName"), appName);
}
CreateAppInfoRequest::Tag CreateAppInfoRequest::getTag() const {
std::vector<CreateAppInfoRequest::Tag> CreateAppInfoRequest::getTag() const {
return tag_;
}
void CreateAppInfoRequest::setTag(const CreateAppInfoRequest::Tag &tag) {
void CreateAppInfoRequest::setTag(const std::vector<CreateAppInfoRequest::Tag> &tag) {
tag_ = tag;
setParameter(std::string("Tag") + ".Value", tag.value);
setParameter(std::string("Tag") + ".Key", tag.key);
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);
}
}

View File

@@ -124,6 +124,15 @@ void CreateUploadVideoRequest::setIP(const std::string &iP) {
setParameter(std::string("IP"), iP);
}
std::string CreateUploadVideoRequest::getReferenceId() const {
return referenceId_;
}
void CreateUploadVideoRequest::setReferenceId(const std::string &referenceId) {
referenceId_ = referenceId;
setParameter(std::string("ReferenceId"), referenceId);
}
std::string CreateUploadVideoRequest::getTags() const {
return tags_;
}

View File

@@ -34,6 +34,15 @@ void DeleteEditingProjectRequest::setResourceOwnerId(const std::string &resource
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
}
std::string DeleteEditingProjectRequest::getAccessKeyId() const {
return accessKeyId_;
}
void DeleteEditingProjectRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string DeleteEditingProjectRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
@@ -70,12 +79,3 @@ void DeleteEditingProjectRequest::setOwnerId(const std::string &ownerId) {
setParameter(std::string("OwnerId"), ownerId);
}
std::string DeleteEditingProjectRequest::getAccessKeyId() const {
return accessKeyId_;
}
void DeleteEditingProjectRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}

View File

@@ -25,6 +25,15 @@ DeleteMezzaninesRequest::DeleteMezzaninesRequest()
DeleteMezzaninesRequest::~DeleteMezzaninesRequest() {}
std::string DeleteMezzaninesRequest::getReferenceIds() const {
return referenceIds_;
}
void DeleteMezzaninesRequest::setReferenceIds(const std::string &referenceIds) {
referenceIds_ = referenceIds;
setParameter(std::string("ReferenceIds"), referenceIds);
}
bool DeleteMezzaninesRequest::getForce() const {
return force_;
}

View File

@@ -45,6 +45,9 @@ void DeleteMezzaninesResult::parse(const std::string &payload)
auto allNonExistVideoIds = value["NonExistVideoIds"]["VideoId"];
for (const auto &item : allNonExistVideoIds)
nonExistVideoIds_.push_back(item.asString());
auto allNonExistReferenceIds = value["NonExistReferenceIds"]["ReferenceId"];
for (const auto &item : allNonExistReferenceIds)
nonExistReferenceIds_.push_back(item.asString());
}
@@ -58,3 +61,8 @@ std::vector<std::string> DeleteMezzaninesResult::getUnRemoveableVideoIds()const
return unRemoveableVideoIds_;
}
std::vector<std::string> DeleteMezzaninesResult::getNonExistReferenceIds()const
{
return nonExistReferenceIds_;
}

View File

@@ -25,15 +25,6 @@ DeleteMultipartUploadRequest::DeleteMultipartUploadRequest()
DeleteMultipartUploadRequest::~DeleteMultipartUploadRequest() {}
std::string DeleteMultipartUploadRequest::getOwnerAccount() const {
return ownerAccount_;
}
void DeleteMultipartUploadRequest::setOwnerAccount(const std::string &ownerAccount) {
ownerAccount_ = ownerAccount;
setParameter(std::string("OwnerAccount"), ownerAccount);
}
long DeleteMultipartUploadRequest::getResourceRealOwnerId() const {
return resourceRealOwnerId_;
}
@@ -43,15 +34,6 @@ void DeleteMultipartUploadRequest::setResourceRealOwnerId(long resourceRealOwner
setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId));
}
std::string DeleteMultipartUploadRequest::getMediaId() const {
return mediaId_;
}
void DeleteMultipartUploadRequest::setMediaId(const std::string &mediaId) {
mediaId_ = mediaId;
setParameter(std::string("MediaId"), mediaId);
}
std::string DeleteMultipartUploadRequest::getAccessKeyId() const {
return accessKeyId_;
}
@@ -61,6 +43,24 @@ void DeleteMultipartUploadRequest::setAccessKeyId(const std::string &accessKeyId
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string DeleteMultipartUploadRequest::getOwnerAccount() const {
return ownerAccount_;
}
void DeleteMultipartUploadRequest::setOwnerAccount(const std::string &ownerAccount) {
ownerAccount_ = ownerAccount;
setParameter(std::string("OwnerAccount"), ownerAccount);
}
std::string DeleteMultipartUploadRequest::getMediaId() const {
return mediaId_;
}
void DeleteMultipartUploadRequest::setMediaId(const std::string &mediaId) {
mediaId_ = mediaId;
setParameter(std::string("MediaId"), mediaId);
}
std::string DeleteMultipartUploadRequest::getMediaType() const {
return mediaType_;
}

View File

@@ -34,6 +34,15 @@ void DeleteStreamRequest::setVideoId(const std::string &videoId) {
setParameter(std::string("VideoId"), videoId);
}
std::string DeleteStreamRequest::getReferenceId() const {
return referenceId_;
}
void DeleteStreamRequest::setReferenceId(const std::string &referenceId) {
referenceId_ = referenceId;
setParameter(std::string("ReferenceId"), referenceId);
}
std::string DeleteStreamRequest::getJobIds() const {
return jobIds_;
}

View File

@@ -25,6 +25,15 @@ DeleteVideoRequest::DeleteVideoRequest()
DeleteVideoRequest::~DeleteVideoRequest() {}
std::string DeleteVideoRequest::getReferenceIds() const {
return referenceIds_;
}
void DeleteVideoRequest::setReferenceIds(const std::string &referenceIds) {
referenceIds_ = referenceIds;
setParameter(std::string("ReferenceIds"), referenceIds);
}
std::string DeleteVideoRequest::getVideoIds() const {
return videoIds_;
}

View File

@@ -45,6 +45,9 @@ void DeleteVideoResult::parse(const std::string &payload)
auto allNonExistVideoIds = value["NonExistVideoIds"]["VideoId"];
for (const auto &item : allNonExistVideoIds)
nonExistVideoIds_.push_back(item.asString());
auto allNonExistReferenceIds = value["NonExistReferenceIds"]["ReferenceId"];
for (const auto &item : allNonExistReferenceIds)
nonExistReferenceIds_.push_back(item.asString());
}
@@ -58,3 +61,8 @@ std::vector<std::string> DeleteVideoResult::getNonExistVideoIds()const
return nonExistVideoIds_;
}
std::vector<std::string> DeleteVideoResult::getNonExistReferenceIds()const
{
return nonExistReferenceIds_;
}

View File

@@ -25,15 +25,6 @@ DescribeMediaDistributionRequest::DescribeMediaDistributionRequest()
DescribeMediaDistributionRequest::~DescribeMediaDistributionRequest() {}
std::string DescribeMediaDistributionRequest::getEndTime() const {
return endTime_;
}
void DescribeMediaDistributionRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("EndTime"), endTime);
}
std::string DescribeMediaDistributionRequest::getStartTime() const {
return startTime_;
}
@@ -43,6 +34,15 @@ void DescribeMediaDistributionRequest::setStartTime(const std::string &startTime
setParameter(std::string("StartTime"), startTime);
}
std::string DescribeMediaDistributionRequest::getEndTime() const {
return endTime_;
}
void DescribeMediaDistributionRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("EndTime"), endTime);
}
std::string DescribeMediaDistributionRequest::getStorageClass() const {
return storageClass_;
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/vod/model/DescribeVodPlayerCollectDataRequest.h>
using AlibabaCloud::Vod::Model::DescribeVodPlayerCollectDataRequest;
DescribeVodPlayerCollectDataRequest::DescribeVodPlayerCollectDataRequest()
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodPlayerCollectData") {
setMethod(HttpRequest::Method::Post);
}
DescribeVodPlayerCollectDataRequest::~DescribeVodPlayerCollectDataRequest() {}
std::string DescribeVodPlayerCollectDataRequest::getStartTime() const {
return startTime_;
}
void DescribeVodPlayerCollectDataRequest::setStartTime(const std::string &startTime) {
startTime_ = startTime;
setParameter(std::string("StartTime"), startTime);
}
std::string DescribeVodPlayerCollectDataRequest::getPeriod() const {
return period_;
}
void DescribeVodPlayerCollectDataRequest::setPeriod(const std::string &period) {
period_ = period;
setParameter(std::string("Period"), period);
}
std::string DescribeVodPlayerCollectDataRequest::getOs() const {
return os_;
}
void DescribeVodPlayerCollectDataRequest::setOs(const std::string &os) {
os_ = os;
setParameter(std::string("Os"), os);
}
std::string DescribeVodPlayerCollectDataRequest::getEndTime() const {
return endTime_;
}
void DescribeVodPlayerCollectDataRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("EndTime"), endTime);
}
std::string DescribeVodPlayerCollectDataRequest::getAppId() const {
return appId_;
}
void DescribeVodPlayerCollectDataRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}
std::string DescribeVodPlayerCollectDataRequest::getInterval() const {
return interval_;
}
void DescribeVodPlayerCollectDataRequest::setInterval(const std::string &interval) {
interval_ = interval;
setParameter(std::string("Interval"), interval);
}
std::string DescribeVodPlayerCollectDataRequest::getMetrics() const {
return metrics_;
}
void DescribeVodPlayerCollectDataRequest::setMetrics(const std::string &metrics) {
metrics_ = metrics;
setParameter(std::string("Metrics"), metrics);
}
std::string DescribeVodPlayerCollectDataRequest::getTerminalType() const {
return terminalType_;
}
void DescribeVodPlayerCollectDataRequest::setTerminalType(const std::string &terminalType) {
terminalType_ = terminalType;
setParameter(std::string("TerminalType"), terminalType);
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/vod/model/DescribeVodPlayerCollectDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vod;
using namespace AlibabaCloud::Vod::Model;
DescribeVodPlayerCollectDataResult::DescribeVodPlayerCollectDataResult() :
ServiceResult()
{}
DescribeVodPlayerCollectDataResult::DescribeVodPlayerCollectDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeVodPlayerCollectDataResult::~DescribeVodPlayerCollectDataResult()
{}
void DescribeVodPlayerCollectDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataListNode = value["DataList"]["Datas"];
for (auto valueDataListDatas : allDataListNode)
{
Datas dataListObject;
if(!valueDataListDatas["Metric"].isNull())
dataListObject.metric = valueDataListDatas["Metric"].asString();
if(!valueDataListDatas["Value"].isNull())
dataListObject.value = valueDataListDatas["Value"].asString();
if(!valueDataListDatas["ValueRefer"].isNull())
dataListObject.valueRefer = valueDataListDatas["ValueRefer"].asString();
if(!valueDataListDatas["ValueRatio"].isNull())
dataListObject.valueRatio = valueDataListDatas["ValueRatio"].asString();
dataList_.push_back(dataListObject);
}
}
std::vector<DescribeVodPlayerCollectDataResult::Datas> DescribeVodPlayerCollectDataResult::getDataList()const
{
return dataList_;
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/vod/model/DescribeVodPlayerDimensionDataRequest.h>
using AlibabaCloud::Vod::Model::DescribeVodPlayerDimensionDataRequest;
DescribeVodPlayerDimensionDataRequest::DescribeVodPlayerDimensionDataRequest()
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodPlayerDimensionData") {
setMethod(HttpRequest::Method::Post);
}
DescribeVodPlayerDimensionDataRequest::~DescribeVodPlayerDimensionDataRequest() {}
std::string DescribeVodPlayerDimensionDataRequest::getStartTime() const {
return startTime_;
}
void DescribeVodPlayerDimensionDataRequest::setStartTime(const std::string &startTime) {
startTime_ = startTime;
setParameter(std::string("StartTime"), startTime);
}
std::string DescribeVodPlayerDimensionDataRequest::getDimension() const {
return dimension_;
}
void DescribeVodPlayerDimensionDataRequest::setDimension(const std::string &dimension) {
dimension_ = dimension;
setParameter(std::string("Dimension"), dimension);
}
std::string DescribeVodPlayerDimensionDataRequest::getEndTime() const {
return endTime_;
}
void DescribeVodPlayerDimensionDataRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("EndTime"), endTime);
}
std::string DescribeVodPlayerDimensionDataRequest::getAppId() const {
return appId_;
}
void DescribeVodPlayerDimensionDataRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}
std::string DescribeVodPlayerDimensionDataRequest::getRegion() const {
return region_;
}
void DescribeVodPlayerDimensionDataRequest::setRegion(const std::string &region) {
region_ = region;
setParameter(std::string("Region"), region);
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/vod/model/DescribeVodPlayerDimensionDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vod;
using namespace AlibabaCloud::Vod::Model;
DescribeVodPlayerDimensionDataResult::DescribeVodPlayerDimensionDataResult() :
ServiceResult()
{}
DescribeVodPlayerDimensionDataResult::DescribeVodPlayerDimensionDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeVodPlayerDimensionDataResult::~DescribeVodPlayerDimensionDataResult()
{}
void DescribeVodPlayerDimensionDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataList = value["DataList"]["Data"];
for (const auto &item : allDataList)
dataList_.push_back(item.asString());
}
std::vector<std::string> DescribeVodPlayerDimensionDataResult::getDataList()const
{
return dataList_;
}

View File

@@ -0,0 +1,135 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/vod/model/DescribeVodPlayerMetricDataRequest.h>
using AlibabaCloud::Vod::Model::DescribeVodPlayerMetricDataRequest;
DescribeVodPlayerMetricDataRequest::DescribeVodPlayerMetricDataRequest()
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodPlayerMetricData") {
setMethod(HttpRequest::Method::Post);
}
DescribeVodPlayerMetricDataRequest::~DescribeVodPlayerMetricDataRequest() {}
std::string DescribeVodPlayerMetricDataRequest::getLanguage() const {
return language_;
}
void DescribeVodPlayerMetricDataRequest::setLanguage(const std::string &language) {
language_ = language;
setParameter(std::string("Language"), language);
}
std::string DescribeVodPlayerMetricDataRequest::getStartTime() const {
return startTime_;
}
void DescribeVodPlayerMetricDataRequest::setStartTime(const std::string &startTime) {
startTime_ = startTime;
setParameter(std::string("StartTime"), startTime);
}
long DescribeVodPlayerMetricDataRequest::getPageNumber() const {
return pageNumber_;
}
void DescribeVodPlayerMetricDataRequest::setPageNumber(long pageNumber) {
pageNumber_ = pageNumber;
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
}
long DescribeVodPlayerMetricDataRequest::getTop() const {
return top_;
}
void DescribeVodPlayerMetricDataRequest::setTop(long top) {
top_ = top;
setParameter(std::string("Top"), std::to_string(top));
}
long DescribeVodPlayerMetricDataRequest::getPageSize() const {
return pageSize_;
}
void DescribeVodPlayerMetricDataRequest::setPageSize(long pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
std::string DescribeVodPlayerMetricDataRequest::getOs() const {
return os_;
}
void DescribeVodPlayerMetricDataRequest::setOs(const std::string &os) {
os_ = os;
setParameter(std::string("Os"), os);
}
std::string DescribeVodPlayerMetricDataRequest::getEndTime() const {
return endTime_;
}
void DescribeVodPlayerMetricDataRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("EndTime"), endTime);
}
std::string DescribeVodPlayerMetricDataRequest::getFilters() const {
return filters_;
}
void DescribeVodPlayerMetricDataRequest::setFilters(const std::string &filters) {
filters_ = filters;
setParameter(std::string("Filters"), filters);
}
std::string DescribeVodPlayerMetricDataRequest::getAppId() const {
return appId_;
}
void DescribeVodPlayerMetricDataRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}
std::string DescribeVodPlayerMetricDataRequest::getInterval() const {
return interval_;
}
void DescribeVodPlayerMetricDataRequest::setInterval(const std::string &interval) {
interval_ = interval;
setParameter(std::string("Interval"), interval);
}
std::string DescribeVodPlayerMetricDataRequest::getMetrics() const {
return metrics_;
}
void DescribeVodPlayerMetricDataRequest::setMetrics(const std::string &metrics) {
metrics_ = metrics;
setParameter(std::string("Metrics"), metrics);
}
std::string DescribeVodPlayerMetricDataRequest::getTerminalType() const {
return terminalType_;
}
void DescribeVodPlayerMetricDataRequest::setTerminalType(const std::string &terminalType) {
terminalType_ = terminalType;
setParameter(std::string("TerminalType"), terminalType);
}

View File

@@ -0,0 +1,140 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/vod/model/DescribeVodPlayerMetricDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vod;
using namespace AlibabaCloud::Vod::Model;
DescribeVodPlayerMetricDataResult::DescribeVodPlayerMetricDataResult() :
ServiceResult()
{}
DescribeVodPlayerMetricDataResult::DescribeVodPlayerMetricDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeVodPlayerMetricDataResult::~DescribeVodPlayerMetricDataResult()
{}
void DescribeVodPlayerMetricDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataListNode = value["DataList"]["datds"];
for (auto valueDataListdatds : allDataListNode)
{
Datds dataListObject;
if(!valueDataListdatds["TimeStamp"].isNull())
dataListObject.timeStamp = valueDataListdatds["TimeStamp"].asString();
if(!valueDataListdatds["Dimension"].isNull())
dataListObject.dimension = valueDataListdatds["Dimension"].asString();
if(!valueDataListdatds["Uv"].isNull())
dataListObject.uv = valueDataListdatds["Uv"].asString();
if(!valueDataListdatds["Vv"].isNull())
dataListObject.vv = valueDataListdatds["Vv"].asString();
if(!valueDataListdatds["RealVv"].isNull())
dataListObject.realVv = valueDataListdatds["RealVv"].asString();
if(!valueDataListdatds["FirstFrame"].isNull())
dataListObject.firstFrame = valueDataListdatds["FirstFrame"].asString();
if(!valueDataListdatds["SecondPlayRate"].isNull())
dataListObject.secondPlayRate = valueDataListdatds["SecondPlayRate"].asString();
if(!valueDataListdatds["SlowPlayRate"].isNull())
dataListObject.slowPlayRate = valueDataListdatds["SlowPlayRate"].asString();
if(!valueDataListdatds["StuckCountRate"].isNull())
dataListObject.stuckCountRate = valueDataListdatds["StuckCountRate"].asString();
if(!valueDataListdatds["SeekDuration"].isNull())
dataListObject.seekDuration = valueDataListdatds["SeekDuration"].asString();
if(!valueDataListdatds["StuckDuration100s"].isNull())
dataListObject.stuckDuration100s = valueDataListdatds["StuckDuration100s"].asString();
if(!valueDataListdatds["PlayFailRate"].isNull())
dataListObject.playFailRate = valueDataListdatds["PlayFailRate"].asString();
if(!valueDataListdatds["SeedFailRate"].isNull())
dataListObject.seedFailRate = valueDataListdatds["SeedFailRate"].asString();
if(!valueDataListdatds["AvgPlayBitrate"].isNull())
dataListObject.avgPlayBitrate = valueDataListdatds["AvgPlayBitrate"].asString();
if(!valueDataListdatds["AvgStartBitrate"].isNull())
dataListObject.avgStartBitrate = valueDataListdatds["AvgStartBitrate"].asString();
if(!valueDataListdatds["ErrorCount100s"].isNull())
dataListObject.errorCount100s = valueDataListdatds["ErrorCount100s"].asString();
if(!valueDataListdatds["AvgPerVv"].isNull())
dataListObject.avgPerVv = valueDataListdatds["AvgPerVv"].asString();
if(!valueDataListdatds["AvgVideoDuration"].isNull())
dataListObject.avgVideoDuration = valueDataListdatds["AvgVideoDuration"].asString();
if(!valueDataListdatds["AvgPerPlayDuration"].isNull())
dataListObject.avgPerPlayDuration = valueDataListdatds["AvgPerPlayDuration"].asString();
if(!valueDataListdatds["AvgPerCompletionVv"].isNull())
dataListObject.avgPerCompletionVv = valueDataListdatds["AvgPerCompletionVv"].asString();
if(!valueDataListdatds["CompletionVv"].isNull())
dataListObject.completionVv = valueDataListdatds["CompletionVv"].asString();
if(!valueDataListdatds["CompletionRate"].isNull())
dataListObject.completionRate = valueDataListdatds["CompletionRate"].asString();
if(!valueDataListdatds["AvgPlayDuration"].isNull())
dataListObject.avgPlayDuration = valueDataListdatds["AvgPlayDuration"].asString();
if(!valueDataListdatds["JumpRate5s"].isNull())
dataListObject.jumpRate5s = valueDataListdatds["JumpRate5s"].asString();
if(!valueDataListdatds["TotalPlayDuration"].isNull())
dataListObject.totalPlayDuration = valueDataListdatds["TotalPlayDuration"].asString();
if(!valueDataListdatds["StuckCount100s"].isNull())
dataListObject.stuckCount100s = valueDataListdatds["StuckCount100s"].asString();
dataList_.push_back(dataListObject);
}
auto extendNode = value["Extend"];
if(!extendNode["ActualStartTime"].isNull())
extend_.actualStartTime = extendNode["ActualStartTime"].asString();
if(!extendNode["ActualEndTime"].isNull())
extend_.actualEndTime = extendNode["ActualEndTime"].asString();
if(!extendNode["IntervalSeconds"].isNull())
extend_.intervalSeconds = std::stol(extendNode["IntervalSeconds"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stol(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stol(value["PageSize"].asString());
if(!value["TotalCnt"].isNull())
totalCnt_ = std::stol(value["TotalCnt"].asString());
}
std::vector<DescribeVodPlayerMetricDataResult::Datds> DescribeVodPlayerMetricDataResult::getDataList()const
{
return dataList_;
}
long DescribeVodPlayerMetricDataResult::getPageSize()const
{
return pageSize_;
}
long DescribeVodPlayerMetricDataResult::getTotalCnt()const
{
return totalCnt_;
}
DescribeVodPlayerMetricDataResult::Extend DescribeVodPlayerMetricDataResult::getExtend()const
{
return extend_;
}
long DescribeVodPlayerMetricDataResult::getPageNumber()const
{
return pageNumber_;
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/vod/model/DescribeVodUserVipsByDomainRequest.h>
using AlibabaCloud::Vod::Model::DescribeVodUserVipsByDomainRequest;
DescribeVodUserVipsByDomainRequest::DescribeVodUserVipsByDomainRequest()
: RpcServiceRequest("vod", "2017-03-21", "DescribeVodUserVipsByDomain") {
setMethod(HttpRequest::Method::Post);
}
DescribeVodUserVipsByDomainRequest::~DescribeVodUserVipsByDomainRequest() {}
std::string DescribeVodUserVipsByDomainRequest::getAvailable() const {
return available_;
}
void DescribeVodUserVipsByDomainRequest::setAvailable(const std::string &available) {
available_ = available;
setParameter(std::string("Available"), available);
}
std::string DescribeVodUserVipsByDomainRequest::getDomainName() const {
return domainName_;
}
void DescribeVodUserVipsByDomainRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
long DescribeVodUserVipsByDomainRequest::getOwnerId() const {
return ownerId_;
}
void DescribeVodUserVipsByDomainRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/vod/model/DescribeVodUserVipsByDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vod;
using namespace AlibabaCloud::Vod::Model;
DescribeVodUserVipsByDomainResult::DescribeVodUserVipsByDomainResult() :
ServiceResult()
{}
DescribeVodUserVipsByDomainResult::DescribeVodUserVipsByDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeVodUserVipsByDomainResult::~DescribeVodUserVipsByDomainResult()
{}
void DescribeVodUserVipsByDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allVips = value["Vips"]["Vip"];
for (const auto &item : allVips)
vips_.push_back(item.asString());
if(!value["DomainName"].isNull())
domainName_ = value["DomainName"].asString();
}
std::string DescribeVodUserVipsByDomainResult::getDomainName()const
{
return domainName_;
}
std::vector<std::string> DescribeVodUserVipsByDomainResult::getVips()const
{
return vips_;
}

View File

@@ -25,15 +25,6 @@ DetachAppPolicyFromIdentityRequest::DetachAppPolicyFromIdentityRequest()
DetachAppPolicyFromIdentityRequest::~DetachAppPolicyFromIdentityRequest() {}
std::string DetachAppPolicyFromIdentityRequest::getIdentityType() const {
return identityType_;
}
void DetachAppPolicyFromIdentityRequest::setIdentityType(const std::string &identityType) {
identityType_ = identityType;
setParameter(std::string("IdentityType"), identityType);
}
std::string DetachAppPolicyFromIdentityRequest::getPolicyNames() const {
return policyNames_;
}
@@ -52,6 +43,15 @@ void DetachAppPolicyFromIdentityRequest::setIdentityName(const std::string &iden
setParameter(std::string("IdentityName"), identityName);
}
std::string DetachAppPolicyFromIdentityRequest::getIdentityType() const {
return identityType_;
}
void DetachAppPolicyFromIdentityRequest::setIdentityType(const std::string &identityType) {
identityType_ = identityType;
setParameter(std::string("IdentityType"), identityType);
}
std::string DetachAppPolicyFromIdentityRequest::getAppId() const {
return appId_;
}

View File

@@ -34,6 +34,15 @@ void GetAIImageJobsRequest::setResourceOwnerId(const std::string &resourceOwnerI
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
}
std::string GetAIImageJobsRequest::getAccessKeyId() const {
return accessKeyId_;
}
void GetAIImageJobsRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string GetAIImageJobsRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
@@ -61,15 +70,6 @@ void GetAIImageJobsRequest::setOwnerId(const std::string &ownerId) {
setParameter(std::string("OwnerId"), ownerId);
}
std::string GetAIImageJobsRequest::getAccessKeyId() const {
return accessKeyId_;
}
void GetAIImageJobsRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string GetAIImageJobsRequest::getJobIds() const {
return jobIds_;
}

View File

@@ -34,6 +34,15 @@ void GetAIVideoTagResultRequest::setResourceOwnerId(const std::string &resourceO
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
}
std::string GetAIVideoTagResultRequest::getAccessKeyId() const {
return accessKeyId_;
}
void GetAIVideoTagResultRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string GetAIVideoTagResultRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
@@ -70,12 +79,3 @@ void GetAIVideoTagResultRequest::setMediaId(const std::string &mediaId) {
setParameter(std::string("MediaId"), mediaId);
}
std::string GetAIVideoTagResultRequest::getAccessKeyId() const {
return accessKeyId_;
}
void GetAIVideoTagResultRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}

View File

@@ -59,6 +59,16 @@ void GetAppInfosResult::parse(const std::string &payload)
appInfoListObject.modificationTime = valueAppInfoListAppInfo["ModificationTime"].asString();
if(!valueAppInfoListAppInfo["ResourceGroupId"].isNull())
appInfoListObject.resourceGroupId = valueAppInfoListAppInfo["ResourceGroupId"].asString();
auto allTagsNode = valueAppInfoListAppInfo["Tags"]["Tag"];
for (auto valueAppInfoListAppInfoTagsTag : allTagsNode)
{
AppInfo::Tag tagsObject;
if(!valueAppInfoListAppInfoTagsTag["TagKey"].isNull())
tagsObject.tagKey = valueAppInfoListAppInfoTagsTag["TagKey"].asString();
if(!valueAppInfoListAppInfoTagsTag["TagValue"].isNull())
tagsObject.tagValue = valueAppInfoListAppInfoTagsTag["TagValue"].asString();
appInfoListObject.tags.push_back(tagsObject);
}
appInfoList_.push_back(appInfoListObject);
}
auto allNonExistAppIds = value["NonExistAppIds"]["AppId"];

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/vod/model/GetAppPlayKeyRequest.h>
using AlibabaCloud::Vod::Model::GetAppPlayKeyRequest;
GetAppPlayKeyRequest::GetAppPlayKeyRequest()
: RpcServiceRequest("vod", "2017-03-21", "GetAppPlayKey") {
setMethod(HttpRequest::Method::Post);
}
GetAppPlayKeyRequest::~GetAppPlayKeyRequest() {}
long GetAppPlayKeyRequest::getResourceOwnerId() const {
return resourceOwnerId_;
}
void GetAppPlayKeyRequest::setResourceOwnerId(long resourceOwnerId) {
resourceOwnerId_ = resourceOwnerId;
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
}
long GetAppPlayKeyRequest::getResourceRealOwnerId() const {
return resourceRealOwnerId_;
}
void GetAppPlayKeyRequest::setResourceRealOwnerId(long resourceRealOwnerId) {
resourceRealOwnerId_ = resourceRealOwnerId;
setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId));
}
std::string GetAppPlayKeyRequest::getAccessKeyId() const {
return accessKeyId_;
}
void GetAppPlayKeyRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string GetAppPlayKeyRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
void GetAppPlayKeyRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
}
long GetAppPlayKeyRequest::getOwnerId() const {
return ownerId_;
}
void GetAppPlayKeyRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string GetAppPlayKeyRequest::getAppId() const {
return appId_;
}
void GetAppPlayKeyRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/vod/model/GetAppPlayKeyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Vod;
using namespace AlibabaCloud::Vod::Model;
GetAppPlayKeyResult::GetAppPlayKeyResult() :
ServiceResult()
{}
GetAppPlayKeyResult::GetAppPlayKeyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAppPlayKeyResult::~GetAppPlayKeyResult()
{}
void GetAppPlayKeyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto appPlayKeyNode = value["AppPlayKey"];
if(!appPlayKeyNode["AppId"].isNull())
appPlayKey_.appId = appPlayKeyNode["AppId"].asString();
if(!appPlayKeyNode["PlayKey"].isNull())
appPlayKey_.playKey = appPlayKeyNode["PlayKey"].asString();
if(!appPlayKeyNode["CreationTime"].isNull())
appPlayKey_.creationTime = appPlayKeyNode["CreationTime"].asString();
if(!appPlayKeyNode["ModificationTime"].isNull())
appPlayKey_.modificationTime = appPlayKeyNode["ModificationTime"].asString();
}
GetAppPlayKeyResult::AppPlayKey GetAppPlayKeyResult::getAppPlayKey()const
{
return appPlayKey_;
}

View File

@@ -94,6 +94,36 @@ void GetJobDetailResult::parse(const std::string &payload)
aIJobDetail_.createTime = aIJobDetailNode["CreateTime"].asString();
if(!aIJobDetailNode["CompleteTime"].isNull())
aIJobDetail_.completeTime = aIJobDetailNode["CompleteTime"].asString();
auto workflowTaskDetailNode = value["WorkflowTaskDetail"];
if(!workflowTaskDetailNode["TaskId"].isNull())
workflowTaskDetail_.taskId = workflowTaskDetailNode["TaskId"].asString();
if(!workflowTaskDetailNode["Status"].isNull())
workflowTaskDetail_.status = workflowTaskDetailNode["Status"].asString();
if(!workflowTaskDetailNode["TaskInput"].isNull())
workflowTaskDetail_.taskInput = workflowTaskDetailNode["TaskInput"].asString();
if(!workflowTaskDetailNode["CreateTime"].isNull())
workflowTaskDetail_.createTime = workflowTaskDetailNode["CreateTime"].asString();
if(!workflowTaskDetailNode["FinishTime"].isNull())
workflowTaskDetail_.finishTime = workflowTaskDetailNode["FinishTime"].asString();
if(!workflowTaskDetailNode["ActivityResults"].isNull())
workflowTaskDetail_.activityResults = workflowTaskDetailNode["ActivityResults"].asString();
if(!workflowTaskDetailNode["UserData"].isNull())
workflowTaskDetail_.userData = workflowTaskDetailNode["UserData"].asString();
auto workflowNode = workflowTaskDetailNode["Workflow"];
if(!workflowNode["WorkflowId"].isNull())
workflowTaskDetail_.workflow.workflowId = workflowNode["WorkflowId"].asString();
if(!workflowNode["Name"].isNull())
workflowTaskDetail_.workflow.name = workflowNode["Name"].asString();
if(!workflowNode["Status"].isNull())
workflowTaskDetail_.workflow.status = workflowNode["Status"].asString();
if(!workflowNode["Type"].isNull())
workflowTaskDetail_.workflow.type = workflowNode["Type"].asString();
if(!workflowNode["CreateTime"].isNull())
workflowTaskDetail_.workflow.createTime = workflowNode["CreateTime"].asString();
if(!workflowNode["ModifiedTime"].isNull())
workflowTaskDetail_.workflow.modifiedTime = workflowNode["ModifiedTime"].asString();
if(!workflowNode["AppId"].isNull())
workflowTaskDetail_.workflow.appId = workflowNode["AppId"].asString();
if(!value["JobType"].isNull())
jobType_ = value["JobType"].asString();
@@ -119,3 +149,8 @@ GetJobDetailResult::AIJobDetail GetJobDetailResult::getAIJobDetail()const
return aIJobDetail_;
}
GetJobDetailResult::WorkflowTaskDetail GetJobDetailResult::getWorkflowTaskDetail()const
{
return workflowTaskDetail_;
}

View File

@@ -34,6 +34,15 @@ void GetMediaDNAResultRequest::setResourceOwnerId(const std::string &resourceOwn
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
}
std::string GetMediaDNAResultRequest::getAccessKeyId() const {
return accessKeyId_;
}
void GetMediaDNAResultRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string GetMediaDNAResultRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
@@ -70,12 +79,3 @@ void GetMediaDNAResultRequest::setMediaId(const std::string &mediaId) {
setParameter(std::string("MediaId"), mediaId);
}
std::string GetMediaDNAResultRequest::getAccessKeyId() const {
return accessKeyId_;
}
void GetMediaDNAResultRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}

View File

@@ -52,6 +52,15 @@ void GetMezzanineInfoRequest::setVideoId(const std::string &videoId) {
setParameter(std::string("VideoId"), videoId);
}
std::string GetMezzanineInfoRequest::getReferenceId() const {
return referenceId_;
}
void GetMezzanineInfoRequest::setReferenceId(const std::string &referenceId) {
referenceId_ = referenceId;
setParameter(std::string("ReferenceId"), referenceId);
}
bool GetMezzanineInfoRequest::getPreviewSegment() const {
return previewSegment_;
}

View File

@@ -74,6 +74,8 @@ void GetMezzanineInfoResult::parse(const std::string &payload)
mezzanine_.restoreStatus = mezzanineNode["RestoreStatus"].asString();
if(!mezzanineNode["RestoreExpiration"].isNull())
mezzanine_.restoreExpiration = mezzanineNode["RestoreExpiration"].asString();
if(!mezzanineNode["FileMD5"].isNull())
mezzanine_.fileMD5 = mezzanineNode["FileMD5"].asString();
auto allAudioStreamListNode = mezzanineNode["AudioStreamList"]["AudioStream"];
for (auto mezzanineNodeAudioStreamListAudioStream : allAudioStreamListNode)
{

View File

@@ -151,6 +151,15 @@ void GetPlayInfoRequest::setResultType(const std::string &resultType) {
setParameter(std::string("ResultType"), resultType);
}
std::string GetPlayInfoRequest::getReferenceId() const {
return referenceId_;
}
void GetPlayInfoRequest::setReferenceId(const std::string &referenceId) {
referenceId_ = referenceId;
setParameter(std::string("ReferenceId"), referenceId);
}
std::string GetPlayInfoRequest::getAdditionType() const {
return additionType_;
}

View File

@@ -25,6 +25,15 @@ GetVideoInfoRequest::GetVideoInfoRequest()
GetVideoInfoRequest::~GetVideoInfoRequest() {}
std::string GetVideoInfoRequest::getResultTypes() const {
return resultTypes_;
}
void GetVideoInfoRequest::setResultTypes(const std::string &resultTypes) {
resultTypes_ = resultTypes;
setParameter(std::string("ResultTypes"), resultTypes);
}
std::string GetVideoInfoRequest::getVideoId() const {
return videoId_;
}
@@ -34,6 +43,15 @@ void GetVideoInfoRequest::setVideoId(const std::string &videoId) {
setParameter(std::string("VideoId"), videoId);
}
std::string GetVideoInfoRequest::getReferenceId() const {
return referenceId_;
}
void GetVideoInfoRequest::setReferenceId(const std::string &referenceId) {
referenceId_ = referenceId;
setParameter(std::string("ReferenceId"), referenceId);
}
std::string GetVideoInfoRequest::getAdditionType() const {
return additionType_;
}
@@ -43,12 +61,3 @@ void GetVideoInfoRequest::setAdditionType(const std::string &additionType) {
setParameter(std::string("AdditionType"), additionType);
}
std::string GetVideoInfoRequest::getResultTypes() const {
return resultTypes_;
}
void GetVideoInfoRequest::setResultTypes(const std::string &resultTypes) {
resultTypes_ = resultTypes;
setParameter(std::string("ResultTypes"), resultTypes);
}

View File

@@ -92,6 +92,8 @@ void GetVideoInfoResult::parse(const std::string &payload)
video_.restoreExpiration = videoNode["RestoreExpiration"].asString();
if(!videoNode["UserData"].isNull())
video_.userData = videoNode["UserData"].asString();
if(!videoNode["ReferenceId"].isNull())
video_.referenceId = videoNode["ReferenceId"].asString();
auto allThumbnailListNode = videoNode["ThumbnailList"]["Thumbnail"];
for (auto videoNodeThumbnailListThumbnail : allThumbnailListNode)
{

View File

@@ -25,6 +25,15 @@ GetVideoInfosRequest::GetVideoInfosRequest()
GetVideoInfosRequest::~GetVideoInfosRequest() {}
std::string GetVideoInfosRequest::getReferenceIds() const {
return referenceIds_;
}
void GetVideoInfosRequest::setReferenceIds(const std::string &referenceIds) {
referenceIds_ = referenceIds;
setParameter(std::string("ReferenceIds"), referenceIds);
}
std::string GetVideoInfosRequest::getAdditionType() const {
return additionType_;
}

View File

@@ -89,6 +89,8 @@ void GetVideoInfosResult::parse(const std::string &payload)
videoListObject.restoreExpiration = valueVideoListVideo["RestoreExpiration"].asString();
if(!valueVideoListVideo["UserData"].isNull())
videoListObject.userData = valueVideoListVideo["UserData"].asString();
if(!valueVideoListVideo["ReferenceId"].isNull())
videoListObject.referenceId = valueVideoListVideo["ReferenceId"].asString();
auto allThumbnailListNode = valueVideoListVideo["ThumbnailList"]["Thumbnail"];
for (auto valueVideoListVideoThumbnailListThumbnail : allThumbnailListNode)
{
@@ -105,6 +107,9 @@ void GetVideoInfosResult::parse(const std::string &payload)
auto allNonExistVideoIds = value["NonExistVideoIds"]["VideoId"];
for (const auto &item : allNonExistVideoIds)
nonExistVideoIds_.push_back(item.asString());
auto allNonExistReferenceIds = value["NonExistReferenceIds"]["ReferenceId"];
for (const auto &item : allNonExistReferenceIds)
nonExistReferenceIds_.push_back(item.asString());
}
@@ -118,3 +123,8 @@ std::vector<std::string> GetVideoInfosResult::getNonExistVideoIds()const
return nonExistVideoIds_;
}
std::vector<std::string> GetVideoInfosResult::getNonExistReferenceIds()const
{
return nonExistReferenceIds_;
}

View File

@@ -25,6 +25,15 @@ GetVideoListRequest::GetVideoListRequest()
GetVideoListRequest::~GetVideoListRequest() {}
std::string GetVideoListRequest::getReferenceIds() const {
return referenceIds_;
}
void GetVideoListRequest::setReferenceIds(const std::string &referenceIds) {
referenceIds_ = referenceIds;
setParameter(std::string("ReferenceIds"), referenceIds);
}
std::string GetVideoListRequest::getStartTime() const {
return startTime_;
}

View File

@@ -83,6 +83,8 @@ void GetVideoListResult::parse(const std::string &payload)
videoListObject.restoreExpiration = valueVideoListVideo["RestoreExpiration"].asString();
if(!valueVideoListVideo["UserData"].isNull())
videoListObject.userData = valueVideoListVideo["UserData"].asString();
if(!valueVideoListVideo["ReferenceId"].isNull())
videoListObject.referenceId = valueVideoListVideo["ReferenceId"].asString();
auto allSnapshots = value["Snapshots"]["Snapshot"];
for (auto value : allSnapshots)
videoListObject.snapshots.push_back(value.asString());

View File

@@ -61,6 +61,15 @@ void GetVideoPlayAuthRequest::setApiVersion(const std::string &apiVersion) {
setParameter(std::string("ApiVersion"), apiVersion);
}
std::string GetVideoPlayAuthRequest::getReferenceId() const {
return referenceId_;
}
void GetVideoPlayAuthRequest::setReferenceId(const std::string &referenceId) {
referenceId_ = referenceId;
setParameter(std::string("ReferenceId"), referenceId);
}
long GetVideoPlayAuthRequest::getAuthInfoTimeout() const {
return authInfoTimeout_;
}

View File

@@ -34,6 +34,15 @@ void ListAIJobRequest::setResourceOwnerId(const std::string &resourceOwnerId) {
setParameter(std::string("ResourceOwnerId"), resourceOwnerId);
}
std::string ListAIJobRequest::getAccessKeyId() const {
return accessKeyId_;
}
void ListAIJobRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string ListAIJobRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
@@ -61,15 +70,6 @@ void ListAIJobRequest::setOwnerId(const std::string &ownerId) {
setParameter(std::string("OwnerId"), ownerId);
}
std::string ListAIJobRequest::getAccessKeyId() const {
return accessKeyId_;
}
void ListAIJobRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string ListAIJobRequest::getJobIds() const {
return jobIds_;
}

View File

@@ -61,14 +61,18 @@ void ListAppInfoRequest::setPageSize(int pageSize) {
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
ListAppInfoRequest::Tag ListAppInfoRequest::getTag() const {
std::vector<ListAppInfoRequest::Tag> ListAppInfoRequest::getTag() const {
return tag_;
}
void ListAppInfoRequest::setTag(const ListAppInfoRequest::Tag &tag) {
void ListAppInfoRequest::setTag(const std::vector<ListAppInfoRequest::Tag> &tag) {
tag_ = tag;
setParameter(std::string("Tag") + ".Value", tag.value);
setParameter(std::string("Tag") + ".Key", tag.key);
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);
}
}
int ListAppInfoRequest::getPageNo() const {

View File

@@ -61,14 +61,14 @@ void ListAppInfoResult::parse(const std::string &payload)
appInfoListObject.regionId = valueAppInfoListAppInfo["RegionId"].asString();
if(!valueAppInfoListAppInfo["ResourceGroupId"].isNull())
appInfoListObject.resourceGroupId = valueAppInfoListAppInfo["ResourceGroupId"].asString();
auto allTagsNode = valueAppInfoListAppInfo["Tags"]["tagsItem"];
for (auto valueAppInfoListAppInfoTagstagsItem : allTagsNode)
auto allTagsNode = valueAppInfoListAppInfo["Tags"]["Tag"];
for (auto valueAppInfoListAppInfoTagsTag : allTagsNode)
{
AppInfo::TagsItem tagsObject;
if(!valueAppInfoListAppInfoTagstagsItem["TagKey"].isNull())
tagsObject.tagKey = valueAppInfoListAppInfoTagstagsItem["TagKey"].asString();
if(!valueAppInfoListAppInfoTagstagsItem["TagValue"].isNull())
tagsObject.tagValue = valueAppInfoListAppInfoTagstagsItem["TagValue"].asString();
AppInfo::Tag tagsObject;
if(!valueAppInfoListAppInfoTagsTag["TagKey"].isNull())
tagsObject.tagKey = valueAppInfoListAppInfoTagsTag["TagKey"].asString();
if(!valueAppInfoListAppInfoTagsTag["TagValue"].isNull())
tagsObject.tagValue = valueAppInfoListAppInfoTagsTag["TagValue"].asString();
appInfoListObject.tags.push_back(tagsObject);
}
appInfoList_.push_back(appInfoListObject);

View File

@@ -34,15 +34,6 @@ void MoveAppResourceRequest::setResourceRealOwnerId(long resourceRealOwnerId) {
setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId));
}
std::string MoveAppResourceRequest::getResourceType() const {
return resourceType_;
}
void MoveAppResourceRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}
std::string MoveAppResourceRequest::getAccessKeyId() const {
return accessKeyId_;
}
@@ -61,6 +52,15 @@ void MoveAppResourceRequest::setTargetAppId(const std::string &targetAppId) {
setParameter(std::string("TargetAppId"), targetAppId);
}
std::string MoveAppResourceRequest::getResourceType() const {
return resourceType_;
}
void MoveAppResourceRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}
std::string MoveAppResourceRequest::getResourceIds() const {
return resourceIds_;
}

View File

@@ -61,3 +61,12 @@ void RefreshUploadVideoRequest::setOwnerId(long ownerId) {
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string RefreshUploadVideoRequest::getReferenceId() const {
return referenceId_;
}
void RefreshUploadVideoRequest::setReferenceId(const std::string &referenceId) {
referenceId_ = referenceId;
setParameter(std::string("ReferenceId"), referenceId);
}

Some files were not shown because too many files have changed in this diff Show More