Add api called SubmitAvatarVideoJob, which render virtual human videos.
This commit is contained in:
@@ -141,6 +141,8 @@ set(ice_public_header_model
|
|||||||
include/alibabacloud/ice/model/DescribeQueryConfigsResult.h
|
include/alibabacloud/ice/model/DescribeQueryConfigsResult.h
|
||||||
include/alibabacloud/ice/model/GetCategoriesRequest.h
|
include/alibabacloud/ice/model/GetCategoriesRequest.h
|
||||||
include/alibabacloud/ice/model/GetCategoriesResult.h
|
include/alibabacloud/ice/model/GetCategoriesResult.h
|
||||||
|
include/alibabacloud/ice/model/GetContentAnalyzeConfigRequest.h
|
||||||
|
include/alibabacloud/ice/model/GetContentAnalyzeConfigResult.h
|
||||||
include/alibabacloud/ice/model/GetCustomTemplateRequest.h
|
include/alibabacloud/ice/model/GetCustomTemplateRequest.h
|
||||||
include/alibabacloud/ice/model/GetCustomTemplateResult.h
|
include/alibabacloud/ice/model/GetCustomTemplateResult.h
|
||||||
include/alibabacloud/ice/model/GetDefaultStorageLocationRequest.h
|
include/alibabacloud/ice/model/GetDefaultStorageLocationRequest.h
|
||||||
@@ -245,6 +247,8 @@ set(ice_public_header_model
|
|||||||
include/alibabacloud/ice/model/ListPublicMediaBasicInfosResult.h
|
include/alibabacloud/ice/model/ListPublicMediaBasicInfosResult.h
|
||||||
include/alibabacloud/ice/model/ListSmartJobsRequest.h
|
include/alibabacloud/ice/model/ListSmartJobsRequest.h
|
||||||
include/alibabacloud/ice/model/ListSmartJobsResult.h
|
include/alibabacloud/ice/model/ListSmartJobsResult.h
|
||||||
|
include/alibabacloud/ice/model/ListSmartSysAvatarModelsRequest.h
|
||||||
|
include/alibabacloud/ice/model/ListSmartSysAvatarModelsResult.h
|
||||||
include/alibabacloud/ice/model/ListSnapshotJobsRequest.h
|
include/alibabacloud/ice/model/ListSnapshotJobsRequest.h
|
||||||
include/alibabacloud/ice/model/ListSnapshotJobsResult.h
|
include/alibabacloud/ice/model/ListSnapshotJobsResult.h
|
||||||
include/alibabacloud/ice/model/ListSystemTemplatesRequest.h
|
include/alibabacloud/ice/model/ListSystemTemplatesRequest.h
|
||||||
@@ -273,12 +277,18 @@ set(ice_public_header_model
|
|||||||
include/alibabacloud/ice/model/SearchEditingProjectResult.h
|
include/alibabacloud/ice/model/SearchEditingProjectResult.h
|
||||||
include/alibabacloud/ice/model/SearchMediaRequest.h
|
include/alibabacloud/ice/model/SearchMediaRequest.h
|
||||||
include/alibabacloud/ice/model/SearchMediaResult.h
|
include/alibabacloud/ice/model/SearchMediaResult.h
|
||||||
|
include/alibabacloud/ice/model/SearchMediaByFaceRequest.h
|
||||||
|
include/alibabacloud/ice/model/SearchMediaByFaceResult.h
|
||||||
|
include/alibabacloud/ice/model/SearchMediaClipByFaceRequest.h
|
||||||
|
include/alibabacloud/ice/model/SearchMediaClipByFaceResult.h
|
||||||
include/alibabacloud/ice/model/SearchPublicMediaInfoRequest.h
|
include/alibabacloud/ice/model/SearchPublicMediaInfoRequest.h
|
||||||
include/alibabacloud/ice/model/SearchPublicMediaInfoResult.h
|
include/alibabacloud/ice/model/SearchPublicMediaInfoResult.h
|
||||||
include/alibabacloud/ice/model/SendLiveSnapshotJobCommandRequest.h
|
include/alibabacloud/ice/model/SendLiveSnapshotJobCommandRequest.h
|
||||||
include/alibabacloud/ice/model/SendLiveSnapshotJobCommandResult.h
|
include/alibabacloud/ice/model/SendLiveSnapshotJobCommandResult.h
|
||||||
include/alibabacloud/ice/model/SendLiveTranscodeJobCommandRequest.h
|
include/alibabacloud/ice/model/SendLiveTranscodeJobCommandRequest.h
|
||||||
include/alibabacloud/ice/model/SendLiveTranscodeJobCommandResult.h
|
include/alibabacloud/ice/model/SendLiveTranscodeJobCommandResult.h
|
||||||
|
include/alibabacloud/ice/model/SetContentAnalyzeConfigRequest.h
|
||||||
|
include/alibabacloud/ice/model/SetContentAnalyzeConfigResult.h
|
||||||
include/alibabacloud/ice/model/SetDefaultCustomTemplateRequest.h
|
include/alibabacloud/ice/model/SetDefaultCustomTemplateRequest.h
|
||||||
include/alibabacloud/ice/model/SetDefaultCustomTemplateResult.h
|
include/alibabacloud/ice/model/SetDefaultCustomTemplateResult.h
|
||||||
include/alibabacloud/ice/model/SetDefaultStorageLocationRequest.h
|
include/alibabacloud/ice/model/SetDefaultStorageLocationRequest.h
|
||||||
@@ -291,6 +301,8 @@ set(ice_public_header_model
|
|||||||
include/alibabacloud/ice/model/SubmitASRJobResult.h
|
include/alibabacloud/ice/model/SubmitASRJobResult.h
|
||||||
include/alibabacloud/ice/model/SubmitAudioProduceJobRequest.h
|
include/alibabacloud/ice/model/SubmitAudioProduceJobRequest.h
|
||||||
include/alibabacloud/ice/model/SubmitAudioProduceJobResult.h
|
include/alibabacloud/ice/model/SubmitAudioProduceJobResult.h
|
||||||
|
include/alibabacloud/ice/model/SubmitAvatarVideoJobRequest.h
|
||||||
|
include/alibabacloud/ice/model/SubmitAvatarVideoJobResult.h
|
||||||
include/alibabacloud/ice/model/SubmitDNAJobRequest.h
|
include/alibabacloud/ice/model/SubmitDNAJobRequest.h
|
||||||
include/alibabacloud/ice/model/SubmitDNAJobResult.h
|
include/alibabacloud/ice/model/SubmitDNAJobResult.h
|
||||||
include/alibabacloud/ice/model/SubmitDynamicChartJobRequest.h
|
include/alibabacloud/ice/model/SubmitDynamicChartJobRequest.h
|
||||||
@@ -476,6 +488,8 @@ set(ice_src
|
|||||||
src/model/DescribeQueryConfigsResult.cc
|
src/model/DescribeQueryConfigsResult.cc
|
||||||
src/model/GetCategoriesRequest.cc
|
src/model/GetCategoriesRequest.cc
|
||||||
src/model/GetCategoriesResult.cc
|
src/model/GetCategoriesResult.cc
|
||||||
|
src/model/GetContentAnalyzeConfigRequest.cc
|
||||||
|
src/model/GetContentAnalyzeConfigResult.cc
|
||||||
src/model/GetCustomTemplateRequest.cc
|
src/model/GetCustomTemplateRequest.cc
|
||||||
src/model/GetCustomTemplateResult.cc
|
src/model/GetCustomTemplateResult.cc
|
||||||
src/model/GetDefaultStorageLocationRequest.cc
|
src/model/GetDefaultStorageLocationRequest.cc
|
||||||
@@ -580,6 +594,8 @@ set(ice_src
|
|||||||
src/model/ListPublicMediaBasicInfosResult.cc
|
src/model/ListPublicMediaBasicInfosResult.cc
|
||||||
src/model/ListSmartJobsRequest.cc
|
src/model/ListSmartJobsRequest.cc
|
||||||
src/model/ListSmartJobsResult.cc
|
src/model/ListSmartJobsResult.cc
|
||||||
|
src/model/ListSmartSysAvatarModelsRequest.cc
|
||||||
|
src/model/ListSmartSysAvatarModelsResult.cc
|
||||||
src/model/ListSnapshotJobsRequest.cc
|
src/model/ListSnapshotJobsRequest.cc
|
||||||
src/model/ListSnapshotJobsResult.cc
|
src/model/ListSnapshotJobsResult.cc
|
||||||
src/model/ListSystemTemplatesRequest.cc
|
src/model/ListSystemTemplatesRequest.cc
|
||||||
@@ -608,12 +624,18 @@ set(ice_src
|
|||||||
src/model/SearchEditingProjectResult.cc
|
src/model/SearchEditingProjectResult.cc
|
||||||
src/model/SearchMediaRequest.cc
|
src/model/SearchMediaRequest.cc
|
||||||
src/model/SearchMediaResult.cc
|
src/model/SearchMediaResult.cc
|
||||||
|
src/model/SearchMediaByFaceRequest.cc
|
||||||
|
src/model/SearchMediaByFaceResult.cc
|
||||||
|
src/model/SearchMediaClipByFaceRequest.cc
|
||||||
|
src/model/SearchMediaClipByFaceResult.cc
|
||||||
src/model/SearchPublicMediaInfoRequest.cc
|
src/model/SearchPublicMediaInfoRequest.cc
|
||||||
src/model/SearchPublicMediaInfoResult.cc
|
src/model/SearchPublicMediaInfoResult.cc
|
||||||
src/model/SendLiveSnapshotJobCommandRequest.cc
|
src/model/SendLiveSnapshotJobCommandRequest.cc
|
||||||
src/model/SendLiveSnapshotJobCommandResult.cc
|
src/model/SendLiveSnapshotJobCommandResult.cc
|
||||||
src/model/SendLiveTranscodeJobCommandRequest.cc
|
src/model/SendLiveTranscodeJobCommandRequest.cc
|
||||||
src/model/SendLiveTranscodeJobCommandResult.cc
|
src/model/SendLiveTranscodeJobCommandResult.cc
|
||||||
|
src/model/SetContentAnalyzeConfigRequest.cc
|
||||||
|
src/model/SetContentAnalyzeConfigResult.cc
|
||||||
src/model/SetDefaultCustomTemplateRequest.cc
|
src/model/SetDefaultCustomTemplateRequest.cc
|
||||||
src/model/SetDefaultCustomTemplateResult.cc
|
src/model/SetDefaultCustomTemplateResult.cc
|
||||||
src/model/SetDefaultStorageLocationRequest.cc
|
src/model/SetDefaultStorageLocationRequest.cc
|
||||||
@@ -626,6 +648,8 @@ set(ice_src
|
|||||||
src/model/SubmitASRJobResult.cc
|
src/model/SubmitASRJobResult.cc
|
||||||
src/model/SubmitAudioProduceJobRequest.cc
|
src/model/SubmitAudioProduceJobRequest.cc
|
||||||
src/model/SubmitAudioProduceJobResult.cc
|
src/model/SubmitAudioProduceJobResult.cc
|
||||||
|
src/model/SubmitAvatarVideoJobRequest.cc
|
||||||
|
src/model/SubmitAvatarVideoJobResult.cc
|
||||||
src/model/SubmitDNAJobRequest.cc
|
src/model/SubmitDNAJobRequest.cc
|
||||||
src/model/SubmitDNAJobResult.cc
|
src/model/SubmitDNAJobResult.cc
|
||||||
src/model/SubmitDynamicChartJobRequest.cc
|
src/model/SubmitDynamicChartJobRequest.cc
|
||||||
|
|||||||
@@ -142,6 +142,8 @@
|
|||||||
#include "model/DescribeQueryConfigsResult.h"
|
#include "model/DescribeQueryConfigsResult.h"
|
||||||
#include "model/GetCategoriesRequest.h"
|
#include "model/GetCategoriesRequest.h"
|
||||||
#include "model/GetCategoriesResult.h"
|
#include "model/GetCategoriesResult.h"
|
||||||
|
#include "model/GetContentAnalyzeConfigRequest.h"
|
||||||
|
#include "model/GetContentAnalyzeConfigResult.h"
|
||||||
#include "model/GetCustomTemplateRequest.h"
|
#include "model/GetCustomTemplateRequest.h"
|
||||||
#include "model/GetCustomTemplateResult.h"
|
#include "model/GetCustomTemplateResult.h"
|
||||||
#include "model/GetDefaultStorageLocationRequest.h"
|
#include "model/GetDefaultStorageLocationRequest.h"
|
||||||
@@ -246,6 +248,8 @@
|
|||||||
#include "model/ListPublicMediaBasicInfosResult.h"
|
#include "model/ListPublicMediaBasicInfosResult.h"
|
||||||
#include "model/ListSmartJobsRequest.h"
|
#include "model/ListSmartJobsRequest.h"
|
||||||
#include "model/ListSmartJobsResult.h"
|
#include "model/ListSmartJobsResult.h"
|
||||||
|
#include "model/ListSmartSysAvatarModelsRequest.h"
|
||||||
|
#include "model/ListSmartSysAvatarModelsResult.h"
|
||||||
#include "model/ListSnapshotJobsRequest.h"
|
#include "model/ListSnapshotJobsRequest.h"
|
||||||
#include "model/ListSnapshotJobsResult.h"
|
#include "model/ListSnapshotJobsResult.h"
|
||||||
#include "model/ListSystemTemplatesRequest.h"
|
#include "model/ListSystemTemplatesRequest.h"
|
||||||
@@ -274,12 +278,18 @@
|
|||||||
#include "model/SearchEditingProjectResult.h"
|
#include "model/SearchEditingProjectResult.h"
|
||||||
#include "model/SearchMediaRequest.h"
|
#include "model/SearchMediaRequest.h"
|
||||||
#include "model/SearchMediaResult.h"
|
#include "model/SearchMediaResult.h"
|
||||||
|
#include "model/SearchMediaByFaceRequest.h"
|
||||||
|
#include "model/SearchMediaByFaceResult.h"
|
||||||
|
#include "model/SearchMediaClipByFaceRequest.h"
|
||||||
|
#include "model/SearchMediaClipByFaceResult.h"
|
||||||
#include "model/SearchPublicMediaInfoRequest.h"
|
#include "model/SearchPublicMediaInfoRequest.h"
|
||||||
#include "model/SearchPublicMediaInfoResult.h"
|
#include "model/SearchPublicMediaInfoResult.h"
|
||||||
#include "model/SendLiveSnapshotJobCommandRequest.h"
|
#include "model/SendLiveSnapshotJobCommandRequest.h"
|
||||||
#include "model/SendLiveSnapshotJobCommandResult.h"
|
#include "model/SendLiveSnapshotJobCommandResult.h"
|
||||||
#include "model/SendLiveTranscodeJobCommandRequest.h"
|
#include "model/SendLiveTranscodeJobCommandRequest.h"
|
||||||
#include "model/SendLiveTranscodeJobCommandResult.h"
|
#include "model/SendLiveTranscodeJobCommandResult.h"
|
||||||
|
#include "model/SetContentAnalyzeConfigRequest.h"
|
||||||
|
#include "model/SetContentAnalyzeConfigResult.h"
|
||||||
#include "model/SetDefaultCustomTemplateRequest.h"
|
#include "model/SetDefaultCustomTemplateRequest.h"
|
||||||
#include "model/SetDefaultCustomTemplateResult.h"
|
#include "model/SetDefaultCustomTemplateResult.h"
|
||||||
#include "model/SetDefaultStorageLocationRequest.h"
|
#include "model/SetDefaultStorageLocationRequest.h"
|
||||||
@@ -292,6 +302,8 @@
|
|||||||
#include "model/SubmitASRJobResult.h"
|
#include "model/SubmitASRJobResult.h"
|
||||||
#include "model/SubmitAudioProduceJobRequest.h"
|
#include "model/SubmitAudioProduceJobRequest.h"
|
||||||
#include "model/SubmitAudioProduceJobResult.h"
|
#include "model/SubmitAudioProduceJobResult.h"
|
||||||
|
#include "model/SubmitAvatarVideoJobRequest.h"
|
||||||
|
#include "model/SubmitAvatarVideoJobResult.h"
|
||||||
#include "model/SubmitDNAJobRequest.h"
|
#include "model/SubmitDNAJobRequest.h"
|
||||||
#include "model/SubmitDNAJobResult.h"
|
#include "model/SubmitDNAJobResult.h"
|
||||||
#include "model/SubmitDynamicChartJobRequest.h"
|
#include "model/SubmitDynamicChartJobRequest.h"
|
||||||
@@ -543,6 +555,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::GetCategoriesResult> GetCategoriesOutcome;
|
typedef Outcome<Error, Model::GetCategoriesResult> GetCategoriesOutcome;
|
||||||
typedef std::future<GetCategoriesOutcome> GetCategoriesOutcomeCallable;
|
typedef std::future<GetCategoriesOutcome> GetCategoriesOutcomeCallable;
|
||||||
typedef std::function<void(const ICEClient*, const Model::GetCategoriesRequest&, const GetCategoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCategoriesAsyncHandler;
|
typedef std::function<void(const ICEClient*, const Model::GetCategoriesRequest&, const GetCategoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCategoriesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetContentAnalyzeConfigResult> GetContentAnalyzeConfigOutcome;
|
||||||
|
typedef std::future<GetContentAnalyzeConfigOutcome> GetContentAnalyzeConfigOutcomeCallable;
|
||||||
|
typedef std::function<void(const ICEClient*, const Model::GetContentAnalyzeConfigRequest&, const GetContentAnalyzeConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetContentAnalyzeConfigAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetCustomTemplateResult> GetCustomTemplateOutcome;
|
typedef Outcome<Error, Model::GetCustomTemplateResult> GetCustomTemplateOutcome;
|
||||||
typedef std::future<GetCustomTemplateOutcome> GetCustomTemplateOutcomeCallable;
|
typedef std::future<GetCustomTemplateOutcome> GetCustomTemplateOutcomeCallable;
|
||||||
typedef std::function<void(const ICEClient*, const Model::GetCustomTemplateRequest&, const GetCustomTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomTemplateAsyncHandler;
|
typedef std::function<void(const ICEClient*, const Model::GetCustomTemplateRequest&, const GetCustomTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomTemplateAsyncHandler;
|
||||||
@@ -699,6 +714,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListSmartJobsResult> ListSmartJobsOutcome;
|
typedef Outcome<Error, Model::ListSmartJobsResult> ListSmartJobsOutcome;
|
||||||
typedef std::future<ListSmartJobsOutcome> ListSmartJobsOutcomeCallable;
|
typedef std::future<ListSmartJobsOutcome> ListSmartJobsOutcomeCallable;
|
||||||
typedef std::function<void(const ICEClient*, const Model::ListSmartJobsRequest&, const ListSmartJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSmartJobsAsyncHandler;
|
typedef std::function<void(const ICEClient*, const Model::ListSmartJobsRequest&, const ListSmartJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSmartJobsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListSmartSysAvatarModelsResult> ListSmartSysAvatarModelsOutcome;
|
||||||
|
typedef std::future<ListSmartSysAvatarModelsOutcome> ListSmartSysAvatarModelsOutcomeCallable;
|
||||||
|
typedef std::function<void(const ICEClient*, const Model::ListSmartSysAvatarModelsRequest&, const ListSmartSysAvatarModelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSmartSysAvatarModelsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListSnapshotJobsResult> ListSnapshotJobsOutcome;
|
typedef Outcome<Error, Model::ListSnapshotJobsResult> ListSnapshotJobsOutcome;
|
||||||
typedef std::future<ListSnapshotJobsOutcome> ListSnapshotJobsOutcomeCallable;
|
typedef std::future<ListSnapshotJobsOutcome> ListSnapshotJobsOutcomeCallable;
|
||||||
typedef std::function<void(const ICEClient*, const Model::ListSnapshotJobsRequest&, const ListSnapshotJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSnapshotJobsAsyncHandler;
|
typedef std::function<void(const ICEClient*, const Model::ListSnapshotJobsRequest&, const ListSnapshotJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSnapshotJobsAsyncHandler;
|
||||||
@@ -741,6 +759,12 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::SearchMediaResult> SearchMediaOutcome;
|
typedef Outcome<Error, Model::SearchMediaResult> SearchMediaOutcome;
|
||||||
typedef std::future<SearchMediaOutcome> SearchMediaOutcomeCallable;
|
typedef std::future<SearchMediaOutcome> SearchMediaOutcomeCallable;
|
||||||
typedef std::function<void(const ICEClient*, const Model::SearchMediaRequest&, const SearchMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchMediaAsyncHandler;
|
typedef std::function<void(const ICEClient*, const Model::SearchMediaRequest&, const SearchMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchMediaAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SearchMediaByFaceResult> SearchMediaByFaceOutcome;
|
||||||
|
typedef std::future<SearchMediaByFaceOutcome> SearchMediaByFaceOutcomeCallable;
|
||||||
|
typedef std::function<void(const ICEClient*, const Model::SearchMediaByFaceRequest&, const SearchMediaByFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchMediaByFaceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SearchMediaClipByFaceResult> SearchMediaClipByFaceOutcome;
|
||||||
|
typedef std::future<SearchMediaClipByFaceOutcome> SearchMediaClipByFaceOutcomeCallable;
|
||||||
|
typedef std::function<void(const ICEClient*, const Model::SearchMediaClipByFaceRequest&, const SearchMediaClipByFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchMediaClipByFaceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::SearchPublicMediaInfoResult> SearchPublicMediaInfoOutcome;
|
typedef Outcome<Error, Model::SearchPublicMediaInfoResult> SearchPublicMediaInfoOutcome;
|
||||||
typedef std::future<SearchPublicMediaInfoOutcome> SearchPublicMediaInfoOutcomeCallable;
|
typedef std::future<SearchPublicMediaInfoOutcome> SearchPublicMediaInfoOutcomeCallable;
|
||||||
typedef std::function<void(const ICEClient*, const Model::SearchPublicMediaInfoRequest&, const SearchPublicMediaInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchPublicMediaInfoAsyncHandler;
|
typedef std::function<void(const ICEClient*, const Model::SearchPublicMediaInfoRequest&, const SearchPublicMediaInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchPublicMediaInfoAsyncHandler;
|
||||||
@@ -750,6 +774,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::SendLiveTranscodeJobCommandResult> SendLiveTranscodeJobCommandOutcome;
|
typedef Outcome<Error, Model::SendLiveTranscodeJobCommandResult> SendLiveTranscodeJobCommandOutcome;
|
||||||
typedef std::future<SendLiveTranscodeJobCommandOutcome> SendLiveTranscodeJobCommandOutcomeCallable;
|
typedef std::future<SendLiveTranscodeJobCommandOutcome> SendLiveTranscodeJobCommandOutcomeCallable;
|
||||||
typedef std::function<void(const ICEClient*, const Model::SendLiveTranscodeJobCommandRequest&, const SendLiveTranscodeJobCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendLiveTranscodeJobCommandAsyncHandler;
|
typedef std::function<void(const ICEClient*, const Model::SendLiveTranscodeJobCommandRequest&, const SendLiveTranscodeJobCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendLiveTranscodeJobCommandAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SetContentAnalyzeConfigResult> SetContentAnalyzeConfigOutcome;
|
||||||
|
typedef std::future<SetContentAnalyzeConfigOutcome> SetContentAnalyzeConfigOutcomeCallable;
|
||||||
|
typedef std::function<void(const ICEClient*, const Model::SetContentAnalyzeConfigRequest&, const SetContentAnalyzeConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetContentAnalyzeConfigAsyncHandler;
|
||||||
typedef Outcome<Error, Model::SetDefaultCustomTemplateResult> SetDefaultCustomTemplateOutcome;
|
typedef Outcome<Error, Model::SetDefaultCustomTemplateResult> SetDefaultCustomTemplateOutcome;
|
||||||
typedef std::future<SetDefaultCustomTemplateOutcome> SetDefaultCustomTemplateOutcomeCallable;
|
typedef std::future<SetDefaultCustomTemplateOutcome> SetDefaultCustomTemplateOutcomeCallable;
|
||||||
typedef std::function<void(const ICEClient*, const Model::SetDefaultCustomTemplateRequest&, const SetDefaultCustomTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDefaultCustomTemplateAsyncHandler;
|
typedef std::function<void(const ICEClient*, const Model::SetDefaultCustomTemplateRequest&, const SetDefaultCustomTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDefaultCustomTemplateAsyncHandler;
|
||||||
@@ -768,6 +795,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::SubmitAudioProduceJobResult> SubmitAudioProduceJobOutcome;
|
typedef Outcome<Error, Model::SubmitAudioProduceJobResult> SubmitAudioProduceJobOutcome;
|
||||||
typedef std::future<SubmitAudioProduceJobOutcome> SubmitAudioProduceJobOutcomeCallable;
|
typedef std::future<SubmitAudioProduceJobOutcome> SubmitAudioProduceJobOutcomeCallable;
|
||||||
typedef std::function<void(const ICEClient*, const Model::SubmitAudioProduceJobRequest&, const SubmitAudioProduceJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAudioProduceJobAsyncHandler;
|
typedef std::function<void(const ICEClient*, const Model::SubmitAudioProduceJobRequest&, const SubmitAudioProduceJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAudioProduceJobAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SubmitAvatarVideoJobResult> SubmitAvatarVideoJobOutcome;
|
||||||
|
typedef std::future<SubmitAvatarVideoJobOutcome> SubmitAvatarVideoJobOutcomeCallable;
|
||||||
|
typedef std::function<void(const ICEClient*, const Model::SubmitAvatarVideoJobRequest&, const SubmitAvatarVideoJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAvatarVideoJobAsyncHandler;
|
||||||
typedef Outcome<Error, Model::SubmitDNAJobResult> SubmitDNAJobOutcome;
|
typedef Outcome<Error, Model::SubmitDNAJobResult> SubmitDNAJobOutcome;
|
||||||
typedef std::future<SubmitDNAJobOutcome> SubmitDNAJobOutcomeCallable;
|
typedef std::future<SubmitDNAJobOutcome> SubmitDNAJobOutcomeCallable;
|
||||||
typedef std::function<void(const ICEClient*, const Model::SubmitDNAJobRequest&, const SubmitDNAJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitDNAJobAsyncHandler;
|
typedef std::function<void(const ICEClient*, const Model::SubmitDNAJobRequest&, const SubmitDNAJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitDNAJobAsyncHandler;
|
||||||
@@ -1046,6 +1076,9 @@ namespace AlibabaCloud
|
|||||||
GetCategoriesOutcome getCategories(const Model::GetCategoriesRequest &request)const;
|
GetCategoriesOutcome getCategories(const Model::GetCategoriesRequest &request)const;
|
||||||
void getCategoriesAsync(const Model::GetCategoriesRequest& request, const GetCategoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getCategoriesAsync(const Model::GetCategoriesRequest& request, const GetCategoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetCategoriesOutcomeCallable getCategoriesCallable(const Model::GetCategoriesRequest& request) const;
|
GetCategoriesOutcomeCallable getCategoriesCallable(const Model::GetCategoriesRequest& request) const;
|
||||||
|
GetContentAnalyzeConfigOutcome getContentAnalyzeConfig(const Model::GetContentAnalyzeConfigRequest &request)const;
|
||||||
|
void getContentAnalyzeConfigAsync(const Model::GetContentAnalyzeConfigRequest& request, const GetContentAnalyzeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetContentAnalyzeConfigOutcomeCallable getContentAnalyzeConfigCallable(const Model::GetContentAnalyzeConfigRequest& request) const;
|
||||||
GetCustomTemplateOutcome getCustomTemplate(const Model::GetCustomTemplateRequest &request)const;
|
GetCustomTemplateOutcome getCustomTemplate(const Model::GetCustomTemplateRequest &request)const;
|
||||||
void getCustomTemplateAsync(const Model::GetCustomTemplateRequest& request, const GetCustomTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getCustomTemplateAsync(const Model::GetCustomTemplateRequest& request, const GetCustomTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetCustomTemplateOutcomeCallable getCustomTemplateCallable(const Model::GetCustomTemplateRequest& request) const;
|
GetCustomTemplateOutcomeCallable getCustomTemplateCallable(const Model::GetCustomTemplateRequest& request) const;
|
||||||
@@ -1202,6 +1235,9 @@ namespace AlibabaCloud
|
|||||||
ListSmartJobsOutcome listSmartJobs(const Model::ListSmartJobsRequest &request)const;
|
ListSmartJobsOutcome listSmartJobs(const Model::ListSmartJobsRequest &request)const;
|
||||||
void listSmartJobsAsync(const Model::ListSmartJobsRequest& request, const ListSmartJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listSmartJobsAsync(const Model::ListSmartJobsRequest& request, const ListSmartJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListSmartJobsOutcomeCallable listSmartJobsCallable(const Model::ListSmartJobsRequest& request) const;
|
ListSmartJobsOutcomeCallable listSmartJobsCallable(const Model::ListSmartJobsRequest& request) const;
|
||||||
|
ListSmartSysAvatarModelsOutcome listSmartSysAvatarModels(const Model::ListSmartSysAvatarModelsRequest &request)const;
|
||||||
|
void listSmartSysAvatarModelsAsync(const Model::ListSmartSysAvatarModelsRequest& request, const ListSmartSysAvatarModelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListSmartSysAvatarModelsOutcomeCallable listSmartSysAvatarModelsCallable(const Model::ListSmartSysAvatarModelsRequest& request) const;
|
||||||
ListSnapshotJobsOutcome listSnapshotJobs(const Model::ListSnapshotJobsRequest &request)const;
|
ListSnapshotJobsOutcome listSnapshotJobs(const Model::ListSnapshotJobsRequest &request)const;
|
||||||
void listSnapshotJobsAsync(const Model::ListSnapshotJobsRequest& request, const ListSnapshotJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listSnapshotJobsAsync(const Model::ListSnapshotJobsRequest& request, const ListSnapshotJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListSnapshotJobsOutcomeCallable listSnapshotJobsCallable(const Model::ListSnapshotJobsRequest& request) const;
|
ListSnapshotJobsOutcomeCallable listSnapshotJobsCallable(const Model::ListSnapshotJobsRequest& request) const;
|
||||||
@@ -1244,6 +1280,12 @@ namespace AlibabaCloud
|
|||||||
SearchMediaOutcome searchMedia(const Model::SearchMediaRequest &request)const;
|
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;
|
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;
|
SearchMediaOutcomeCallable searchMediaCallable(const Model::SearchMediaRequest& request) const;
|
||||||
|
SearchMediaByFaceOutcome searchMediaByFace(const Model::SearchMediaByFaceRequest &request)const;
|
||||||
|
void searchMediaByFaceAsync(const Model::SearchMediaByFaceRequest& request, const SearchMediaByFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SearchMediaByFaceOutcomeCallable searchMediaByFaceCallable(const Model::SearchMediaByFaceRequest& request) const;
|
||||||
|
SearchMediaClipByFaceOutcome searchMediaClipByFace(const Model::SearchMediaClipByFaceRequest &request)const;
|
||||||
|
void searchMediaClipByFaceAsync(const Model::SearchMediaClipByFaceRequest& request, const SearchMediaClipByFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SearchMediaClipByFaceOutcomeCallable searchMediaClipByFaceCallable(const Model::SearchMediaClipByFaceRequest& request) const;
|
||||||
SearchPublicMediaInfoOutcome searchPublicMediaInfo(const Model::SearchPublicMediaInfoRequest &request)const;
|
SearchPublicMediaInfoOutcome searchPublicMediaInfo(const Model::SearchPublicMediaInfoRequest &request)const;
|
||||||
void searchPublicMediaInfoAsync(const Model::SearchPublicMediaInfoRequest& request, const SearchPublicMediaInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void searchPublicMediaInfoAsync(const Model::SearchPublicMediaInfoRequest& request, const SearchPublicMediaInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SearchPublicMediaInfoOutcomeCallable searchPublicMediaInfoCallable(const Model::SearchPublicMediaInfoRequest& request) const;
|
SearchPublicMediaInfoOutcomeCallable searchPublicMediaInfoCallable(const Model::SearchPublicMediaInfoRequest& request) const;
|
||||||
@@ -1253,6 +1295,9 @@ namespace AlibabaCloud
|
|||||||
SendLiveTranscodeJobCommandOutcome sendLiveTranscodeJobCommand(const Model::SendLiveTranscodeJobCommandRequest &request)const;
|
SendLiveTranscodeJobCommandOutcome sendLiveTranscodeJobCommand(const Model::SendLiveTranscodeJobCommandRequest &request)const;
|
||||||
void sendLiveTranscodeJobCommandAsync(const Model::SendLiveTranscodeJobCommandRequest& request, const SendLiveTranscodeJobCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void sendLiveTranscodeJobCommandAsync(const Model::SendLiveTranscodeJobCommandRequest& request, const SendLiveTranscodeJobCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SendLiveTranscodeJobCommandOutcomeCallable sendLiveTranscodeJobCommandCallable(const Model::SendLiveTranscodeJobCommandRequest& request) const;
|
SendLiveTranscodeJobCommandOutcomeCallable sendLiveTranscodeJobCommandCallable(const Model::SendLiveTranscodeJobCommandRequest& request) const;
|
||||||
|
SetContentAnalyzeConfigOutcome setContentAnalyzeConfig(const Model::SetContentAnalyzeConfigRequest &request)const;
|
||||||
|
void setContentAnalyzeConfigAsync(const Model::SetContentAnalyzeConfigRequest& request, const SetContentAnalyzeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SetContentAnalyzeConfigOutcomeCallable setContentAnalyzeConfigCallable(const Model::SetContentAnalyzeConfigRequest& request) const;
|
||||||
SetDefaultCustomTemplateOutcome setDefaultCustomTemplate(const Model::SetDefaultCustomTemplateRequest &request)const;
|
SetDefaultCustomTemplateOutcome setDefaultCustomTemplate(const Model::SetDefaultCustomTemplateRequest &request)const;
|
||||||
void setDefaultCustomTemplateAsync(const Model::SetDefaultCustomTemplateRequest& request, const SetDefaultCustomTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void setDefaultCustomTemplateAsync(const Model::SetDefaultCustomTemplateRequest& request, const SetDefaultCustomTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SetDefaultCustomTemplateOutcomeCallable setDefaultCustomTemplateCallable(const Model::SetDefaultCustomTemplateRequest& request) const;
|
SetDefaultCustomTemplateOutcomeCallable setDefaultCustomTemplateCallable(const Model::SetDefaultCustomTemplateRequest& request) const;
|
||||||
@@ -1271,6 +1316,9 @@ namespace AlibabaCloud
|
|||||||
SubmitAudioProduceJobOutcome submitAudioProduceJob(const Model::SubmitAudioProduceJobRequest &request)const;
|
SubmitAudioProduceJobOutcome submitAudioProduceJob(const Model::SubmitAudioProduceJobRequest &request)const;
|
||||||
void submitAudioProduceJobAsync(const Model::SubmitAudioProduceJobRequest& request, const SubmitAudioProduceJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void submitAudioProduceJobAsync(const Model::SubmitAudioProduceJobRequest& request, const SubmitAudioProduceJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SubmitAudioProduceJobOutcomeCallable submitAudioProduceJobCallable(const Model::SubmitAudioProduceJobRequest& request) const;
|
SubmitAudioProduceJobOutcomeCallable submitAudioProduceJobCallable(const Model::SubmitAudioProduceJobRequest& request) const;
|
||||||
|
SubmitAvatarVideoJobOutcome submitAvatarVideoJob(const Model::SubmitAvatarVideoJobRequest &request)const;
|
||||||
|
void submitAvatarVideoJobAsync(const Model::SubmitAvatarVideoJobRequest& request, const SubmitAvatarVideoJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SubmitAvatarVideoJobOutcomeCallable submitAvatarVideoJobCallable(const Model::SubmitAvatarVideoJobRequest& request) const;
|
||||||
SubmitDNAJobOutcome submitDNAJob(const Model::SubmitDNAJobRequest &request)const;
|
SubmitDNAJobOutcome submitDNAJob(const Model::SubmitDNAJobRequest &request)const;
|
||||||
void submitDNAJobAsync(const Model::SubmitDNAJobRequest& request, const SubmitDNAJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void submitDNAJobAsync(const Model::SubmitDNAJobRequest& request, const SubmitDNAJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SubmitDNAJobOutcomeCallable submitDNAJobCallable(const Model::SubmitDNAJobRequest& request) const;
|
SubmitDNAJobOutcomeCallable submitDNAJobCallable(const Model::SubmitDNAJobRequest& request) const;
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_ICE_MODEL_GETCONTENTANALYZECONFIGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_GETCONTENTANALYZECONFIGREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace ICE {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT GetContentAnalyzeConfigRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
GetContentAnalyzeConfigRequest();
|
||||||
|
~GetContentAnalyzeConfigRequest();
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace ICE
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_GETCONTENTANALYZECONFIGREQUEST_H_
|
||||||
@@ -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_ICE_MODEL_GETCONTENTANALYZECONFIGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_GETCONTENTANALYZECONFIGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ICE
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT GetContentAnalyzeConfigResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct ContentAnalyzeConfig
|
||||||
|
{
|
||||||
|
bool _auto;
|
||||||
|
std::string saveType;
|
||||||
|
std::string templateId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetContentAnalyzeConfigResult();
|
||||||
|
explicit GetContentAnalyzeConfigResult(const std::string &payload);
|
||||||
|
~GetContentAnalyzeConfigResult();
|
||||||
|
ContentAnalyzeConfig getContentAnalyzeConfig()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
ContentAnalyzeConfig contentAnalyzeConfig_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_GETCONTENTANALYZECONFIGRESULT_H_
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ICE_MODEL_LISTSMARTSYSAVATARMODELSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_LISTSMARTSYSAVATARMODELSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace ICE {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT ListSmartSysAvatarModelsRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
ListSmartSysAvatarModelsRequest();
|
||||||
|
~ListSmartSysAvatarModelsRequest();
|
||||||
|
long getPageNo() const;
|
||||||
|
void setPageNo(long pageNo);
|
||||||
|
long getPageSize() const;
|
||||||
|
void setPageSize(long pageSize);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long pageNo_;
|
||||||
|
long pageSize_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace ICE
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_LISTSMARTSYSAVATARMODELSREQUEST_H_
|
||||||
@@ -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_ICE_MODEL_LISTSMARTSYSAVATARMODELSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_LISTSMARTSYSAVATARMODELSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ICE
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT ListSmartSysAvatarModelsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct SmartSysAvatarModelListItem
|
||||||
|
{
|
||||||
|
std::string avatarName;
|
||||||
|
std::string avatarId;
|
||||||
|
std::string coverUrl;
|
||||||
|
std::string videoUrl;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ListSmartSysAvatarModelsResult();
|
||||||
|
explicit ListSmartSysAvatarModelsResult(const std::string &payload);
|
||||||
|
~ListSmartSysAvatarModelsResult();
|
||||||
|
int getTotalCount()const;
|
||||||
|
std::vector<SmartSysAvatarModelListItem> getSmartSysAvatarModelList()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int totalCount_;
|
||||||
|
std::vector<SmartSysAvatarModelListItem> smartSysAvatarModelList_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_LISTSMARTSYSAVATARMODELSRESULT_H_
|
||||||
@@ -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_ICE_MODEL_SEARCHMEDIABYFACEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_SEARCHMEDIABYFACEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace ICE {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT SearchMediaByFaceRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
SearchMediaByFaceRequest();
|
||||||
|
~SearchMediaByFaceRequest();
|
||||||
|
std::string getEntityId() const;
|
||||||
|
void setEntityId(const std::string &entityId);
|
||||||
|
std::string getBiz() const;
|
||||||
|
void setBiz(const std::string &biz);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getPersonImageUrl() const;
|
||||||
|
void setPersonImageUrl(const std::string &personImageUrl);
|
||||||
|
std::string getFaceSearchToken() const;
|
||||||
|
void setFaceSearchToken(const std::string &faceSearchToken);
|
||||||
|
int getPageNo() const;
|
||||||
|
void setPageNo(int pageNo);
|
||||||
|
std::string getAppId() const;
|
||||||
|
void setAppId(const std::string &appId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string entityId_;
|
||||||
|
std::string biz_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string personImageUrl_;
|
||||||
|
std::string faceSearchToken_;
|
||||||
|
int pageNo_;
|
||||||
|
std::string appId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace ICE
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_SEARCHMEDIABYFACEREQUEST_H_
|
||||||
61
ice/include/alibabacloud/ice/model/SearchMediaByFaceResult.h
Normal file
61
ice/include/alibabacloud/ice/model/SearchMediaByFaceResult.h
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_ICE_MODEL_SEARCHMEDIABYFACERESULT_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_SEARCHMEDIABYFACERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ICE
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT SearchMediaByFaceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct MediaInfo
|
||||||
|
{
|
||||||
|
std::string mediaId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
SearchMediaByFaceResult();
|
||||||
|
explicit SearchMediaByFaceResult(const std::string &payload);
|
||||||
|
~SearchMediaByFaceResult();
|
||||||
|
std::vector<MediaInfo> getMediaInfoList()const;
|
||||||
|
long getTotal()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
std::string getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<MediaInfo> mediaInfoList_;
|
||||||
|
long total_;
|
||||||
|
std::string code_;
|
||||||
|
std::string success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_SEARCHMEDIABYFACERESULT_H_
|
||||||
@@ -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_ICE_MODEL_SEARCHMEDIACLIPBYFACEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_SEARCHMEDIACLIPBYFACEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace ICE {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT SearchMediaClipByFaceRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
SearchMediaClipByFaceRequest();
|
||||||
|
~SearchMediaClipByFaceRequest();
|
||||||
|
std::string getEntityId() const;
|
||||||
|
void setEntityId(const std::string &entityId);
|
||||||
|
std::string getBiz() const;
|
||||||
|
void setBiz(const std::string &biz);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getMediaId() const;
|
||||||
|
void setMediaId(const std::string &mediaId);
|
||||||
|
std::string getFaceSearchToken() const;
|
||||||
|
void setFaceSearchToken(const std::string &faceSearchToken);
|
||||||
|
int getPageNo() const;
|
||||||
|
void setPageNo(int pageNo);
|
||||||
|
std::string getAppId() const;
|
||||||
|
void setAppId(const std::string &appId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string entityId_;
|
||||||
|
std::string biz_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string mediaId_;
|
||||||
|
std::string faceSearchToken_;
|
||||||
|
int pageNo_;
|
||||||
|
std::string appId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace ICE
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_SEARCHMEDIACLIPBYFACEREQUEST_H_
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_ICE_MODEL_SEARCHMEDIACLIPBYFACERESULT_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_SEARCHMEDIACLIPBYFACERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ICE
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT SearchMediaClipByFaceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct MediaClip
|
||||||
|
{
|
||||||
|
struct OccurrencesInfo
|
||||||
|
{
|
||||||
|
struct TrackDataItem
|
||||||
|
{
|
||||||
|
struct BoxPosition
|
||||||
|
{
|
||||||
|
int w;
|
||||||
|
int x;
|
||||||
|
int h;
|
||||||
|
int y;
|
||||||
|
};
|
||||||
|
BoxPosition boxPosition;
|
||||||
|
float timestamp;
|
||||||
|
};
|
||||||
|
float endTime;
|
||||||
|
float startTime;
|
||||||
|
std::vector<OccurrencesInfo::TrackDataItem> trackData;
|
||||||
|
};
|
||||||
|
std::string entityId;
|
||||||
|
float score;
|
||||||
|
std::string category;
|
||||||
|
std::string labelName;
|
||||||
|
std::vector<MediaClip::OccurrencesInfo> occurrencesInfos;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
SearchMediaClipByFaceResult();
|
||||||
|
explicit SearchMediaClipByFaceResult(const std::string &payload);
|
||||||
|
~SearchMediaClipByFaceResult();
|
||||||
|
long getTotal()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
std::string getSuccess()const;
|
||||||
|
std::vector<MediaClip> getMediaClipList()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
long total_;
|
||||||
|
std::string code_;
|
||||||
|
std::string success_;
|
||||||
|
std::vector<MediaClip> mediaClipList_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_SEARCHMEDIACLIPBYFACERESULT_H_
|
||||||
@@ -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_ICE_MODEL_SETCONTENTANALYZECONFIGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_SETCONTENTANALYZECONFIGREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace ICE {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT SetContentAnalyzeConfigRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
SetContentAnalyzeConfigRequest();
|
||||||
|
~SetContentAnalyzeConfigRequest();
|
||||||
|
bool get_Auto() const;
|
||||||
|
void set_Auto(bool _auto);
|
||||||
|
std::string getTemplateId() const;
|
||||||
|
void setTemplateId(const std::string &templateId);
|
||||||
|
std::string getSaveType() const;
|
||||||
|
void setSaveType(const std::string &saveType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool _auto_;
|
||||||
|
std::string templateId_;
|
||||||
|
std::string saveType_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace ICE
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_SETCONTENTANALYZECONFIGREQUEST_H_
|
||||||
@@ -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_ICE_MODEL_SETCONTENTANALYZECONFIGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_SETCONTENTANALYZECONFIGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ICE
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT SetContentAnalyzeConfigResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
SetContentAnalyzeConfigResult();
|
||||||
|
explicit SetContentAnalyzeConfigResult(const std::string &payload);
|
||||||
|
~SetContentAnalyzeConfigResult();
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_SETCONTENTANALYZECONFIGRESULT_H_
|
||||||
@@ -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_ICE_MODEL_SUBMITAVATARVIDEOJOBREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_SUBMITAVATARVIDEOJOBREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace ICE {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT SubmitAvatarVideoJobRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
SubmitAvatarVideoJobRequest();
|
||||||
|
~SubmitAvatarVideoJobRequest();
|
||||||
|
std::string getOutputConfig() const;
|
||||||
|
void setOutputConfig(const std::string &outputConfig);
|
||||||
|
std::string getInputConfig() const;
|
||||||
|
void setInputConfig(const std::string &inputConfig);
|
||||||
|
std::string getEditingConfig() const;
|
||||||
|
void setEditingConfig(const std::string &editingConfig);
|
||||||
|
std::string getDescription() const;
|
||||||
|
void setDescription(const std::string &description);
|
||||||
|
std::string getTitle() const;
|
||||||
|
void setTitle(const std::string &title);
|
||||||
|
std::string getUserData() const;
|
||||||
|
void setUserData(const std::string &userData);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string outputConfig_;
|
||||||
|
std::string inputConfig_;
|
||||||
|
std::string editingConfig_;
|
||||||
|
std::string description_;
|
||||||
|
std::string title_;
|
||||||
|
std::string userData_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace ICE
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_SUBMITAVATARVIDEOJOBREQUEST_H_
|
||||||
@@ -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_ICE_MODEL_SUBMITAVATARVIDEOJOBRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ICE_MODEL_SUBMITAVATARVIDEOJOBRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ice/ICEExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace ICE
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ICE_EXPORT SubmitAvatarVideoJobResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
SubmitAvatarVideoJobResult();
|
||||||
|
explicit SubmitAvatarVideoJobResult(const std::string &payload);
|
||||||
|
~SubmitAvatarVideoJobResult();
|
||||||
|
std::string getMediaId()const;
|
||||||
|
std::string getJobId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string mediaId_;
|
||||||
|
std::string jobId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ICE_MODEL_SUBMITAVATARVIDEOJOBRESULT_H_
|
||||||
@@ -2211,6 +2211,42 @@ ICEClient::GetCategoriesOutcomeCallable ICEClient::getCategoriesCallable(const G
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ICEClient::GetContentAnalyzeConfigOutcome ICEClient::getContentAnalyzeConfig(const GetContentAnalyzeConfigRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetContentAnalyzeConfigOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetContentAnalyzeConfigOutcome(GetContentAnalyzeConfigResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetContentAnalyzeConfigOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ICEClient::getContentAnalyzeConfigAsync(const GetContentAnalyzeConfigRequest& request, const GetContentAnalyzeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getContentAnalyzeConfig(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ICEClient::GetContentAnalyzeConfigOutcomeCallable ICEClient::getContentAnalyzeConfigCallable(const GetContentAnalyzeConfigRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetContentAnalyzeConfigOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getContentAnalyzeConfig(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
ICEClient::GetCustomTemplateOutcome ICEClient::getCustomTemplate(const GetCustomTemplateRequest &request) const
|
ICEClient::GetCustomTemplateOutcome ICEClient::getCustomTemplate(const GetCustomTemplateRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -4083,6 +4119,42 @@ ICEClient::ListSmartJobsOutcomeCallable ICEClient::listSmartJobsCallable(const L
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ICEClient::ListSmartSysAvatarModelsOutcome ICEClient::listSmartSysAvatarModels(const ListSmartSysAvatarModelsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ListSmartSysAvatarModelsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ListSmartSysAvatarModelsOutcome(ListSmartSysAvatarModelsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ListSmartSysAvatarModelsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ICEClient::listSmartSysAvatarModelsAsync(const ListSmartSysAvatarModelsRequest& request, const ListSmartSysAvatarModelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, listSmartSysAvatarModels(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ICEClient::ListSmartSysAvatarModelsOutcomeCallable ICEClient::listSmartSysAvatarModelsCallable(const ListSmartSysAvatarModelsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ListSmartSysAvatarModelsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->listSmartSysAvatarModels(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
ICEClient::ListSnapshotJobsOutcome ICEClient::listSnapshotJobs(const ListSnapshotJobsRequest &request) const
|
ICEClient::ListSnapshotJobsOutcome ICEClient::listSnapshotJobs(const ListSnapshotJobsRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -4587,6 +4659,78 @@ ICEClient::SearchMediaOutcomeCallable ICEClient::searchMediaCallable(const Searc
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ICEClient::SearchMediaByFaceOutcome ICEClient::searchMediaByFace(const SearchMediaByFaceRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SearchMediaByFaceOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SearchMediaByFaceOutcome(SearchMediaByFaceResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SearchMediaByFaceOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ICEClient::searchMediaByFaceAsync(const SearchMediaByFaceRequest& request, const SearchMediaByFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, searchMediaByFace(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ICEClient::SearchMediaByFaceOutcomeCallable ICEClient::searchMediaByFaceCallable(const SearchMediaByFaceRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SearchMediaByFaceOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->searchMediaByFace(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
ICEClient::SearchMediaClipByFaceOutcome ICEClient::searchMediaClipByFace(const SearchMediaClipByFaceRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SearchMediaClipByFaceOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SearchMediaClipByFaceOutcome(SearchMediaClipByFaceResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SearchMediaClipByFaceOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ICEClient::searchMediaClipByFaceAsync(const SearchMediaClipByFaceRequest& request, const SearchMediaClipByFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, searchMediaClipByFace(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ICEClient::SearchMediaClipByFaceOutcomeCallable ICEClient::searchMediaClipByFaceCallable(const SearchMediaClipByFaceRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SearchMediaClipByFaceOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->searchMediaClipByFace(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
ICEClient::SearchPublicMediaInfoOutcome ICEClient::searchPublicMediaInfo(const SearchPublicMediaInfoRequest &request) const
|
ICEClient::SearchPublicMediaInfoOutcome ICEClient::searchPublicMediaInfo(const SearchPublicMediaInfoRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -4695,6 +4839,42 @@ ICEClient::SendLiveTranscodeJobCommandOutcomeCallable ICEClient::sendLiveTransco
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ICEClient::SetContentAnalyzeConfigOutcome ICEClient::setContentAnalyzeConfig(const SetContentAnalyzeConfigRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SetContentAnalyzeConfigOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SetContentAnalyzeConfigOutcome(SetContentAnalyzeConfigResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SetContentAnalyzeConfigOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ICEClient::setContentAnalyzeConfigAsync(const SetContentAnalyzeConfigRequest& request, const SetContentAnalyzeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, setContentAnalyzeConfig(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ICEClient::SetContentAnalyzeConfigOutcomeCallable ICEClient::setContentAnalyzeConfigCallable(const SetContentAnalyzeConfigRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SetContentAnalyzeConfigOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->setContentAnalyzeConfig(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
ICEClient::SetDefaultCustomTemplateOutcome ICEClient::setDefaultCustomTemplate(const SetDefaultCustomTemplateRequest &request) const
|
ICEClient::SetDefaultCustomTemplateOutcome ICEClient::setDefaultCustomTemplate(const SetDefaultCustomTemplateRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -4911,6 +5091,42 @@ ICEClient::SubmitAudioProduceJobOutcomeCallable ICEClient::submitAudioProduceJob
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ICEClient::SubmitAvatarVideoJobOutcome ICEClient::submitAvatarVideoJob(const SubmitAvatarVideoJobRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SubmitAvatarVideoJobOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SubmitAvatarVideoJobOutcome(SubmitAvatarVideoJobResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SubmitAvatarVideoJobOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ICEClient::submitAvatarVideoJobAsync(const SubmitAvatarVideoJobRequest& request, const SubmitAvatarVideoJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, submitAvatarVideoJob(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ICEClient::SubmitAvatarVideoJobOutcomeCallable ICEClient::submitAvatarVideoJobCallable(const SubmitAvatarVideoJobRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SubmitAvatarVideoJobOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->submitAvatarVideoJob(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
ICEClient::SubmitDNAJobOutcome ICEClient::submitDNAJob(const SubmitDNAJobRequest &request) const
|
ICEClient::SubmitDNAJobOutcome ICEClient::submitDNAJob(const SubmitDNAJobRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
27
ice/src/model/GetContentAnalyzeConfigRequest.cc
Normal file
27
ice/src/model/GetContentAnalyzeConfigRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/ice/model/GetContentAnalyzeConfigRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::ICE::Model::GetContentAnalyzeConfigRequest;
|
||||||
|
|
||||||
|
GetContentAnalyzeConfigRequest::GetContentAnalyzeConfigRequest()
|
||||||
|
: RpcServiceRequest("ice", "2020-11-09", "GetContentAnalyzeConfig") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetContentAnalyzeConfigRequest::~GetContentAnalyzeConfigRequest() {}
|
||||||
|
|
||||||
56
ice/src/model/GetContentAnalyzeConfigResult.cc
Normal file
56
ice/src/model/GetContentAnalyzeConfigResult.cc
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/ice/model/GetContentAnalyzeConfigResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::ICE;
|
||||||
|
using namespace AlibabaCloud::ICE::Model;
|
||||||
|
|
||||||
|
GetContentAnalyzeConfigResult::GetContentAnalyzeConfigResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetContentAnalyzeConfigResult::GetContentAnalyzeConfigResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetContentAnalyzeConfigResult::~GetContentAnalyzeConfigResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetContentAnalyzeConfigResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto contentAnalyzeConfigNode = value["ContentAnalyzeConfig"];
|
||||||
|
if(!contentAnalyzeConfigNode["Auto"].isNull())
|
||||||
|
contentAnalyzeConfig_._auto = contentAnalyzeConfigNode["Auto"].asString() == "true";
|
||||||
|
if(!contentAnalyzeConfigNode["SaveType"].isNull())
|
||||||
|
contentAnalyzeConfig_.saveType = contentAnalyzeConfigNode["SaveType"].asString();
|
||||||
|
if(!contentAnalyzeConfigNode["TemplateId"].isNull())
|
||||||
|
contentAnalyzeConfig_.templateId = contentAnalyzeConfigNode["TemplateId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
GetContentAnalyzeConfigResult::ContentAnalyzeConfig GetContentAnalyzeConfigResult::getContentAnalyzeConfig()const
|
||||||
|
{
|
||||||
|
return contentAnalyzeConfig_;
|
||||||
|
}
|
||||||
|
|
||||||
45
ice/src/model/ListSmartSysAvatarModelsRequest.cc
Normal file
45
ice/src/model/ListSmartSysAvatarModelsRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/ice/model/ListSmartSysAvatarModelsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::ICE::Model::ListSmartSysAvatarModelsRequest;
|
||||||
|
|
||||||
|
ListSmartSysAvatarModelsRequest::ListSmartSysAvatarModelsRequest()
|
||||||
|
: RpcServiceRequest("ice", "2020-11-09", "ListSmartSysAvatarModels") {
|
||||||
|
setMethod(HttpRequest::Method::Get);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListSmartSysAvatarModelsRequest::~ListSmartSysAvatarModelsRequest() {}
|
||||||
|
|
||||||
|
long ListSmartSysAvatarModelsRequest::getPageNo() const {
|
||||||
|
return pageNo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListSmartSysAvatarModelsRequest::setPageNo(long pageNo) {
|
||||||
|
pageNo_ = pageNo;
|
||||||
|
setParameter(std::string("PageNo"), std::to_string(pageNo));
|
||||||
|
}
|
||||||
|
|
||||||
|
long ListSmartSysAvatarModelsRequest::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListSmartSysAvatarModelsRequest::setPageSize(long pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
70
ice/src/model/ListSmartSysAvatarModelsResult.cc
Normal file
70
ice/src/model/ListSmartSysAvatarModelsResult.cc
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/ice/model/ListSmartSysAvatarModelsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::ICE;
|
||||||
|
using namespace AlibabaCloud::ICE::Model;
|
||||||
|
|
||||||
|
ListSmartSysAvatarModelsResult::ListSmartSysAvatarModelsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ListSmartSysAvatarModelsResult::ListSmartSysAvatarModelsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListSmartSysAvatarModelsResult::~ListSmartSysAvatarModelsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ListSmartSysAvatarModelsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allSmartSysAvatarModelListNode = value["SmartSysAvatarModelList"]["SmartSysAvatarModelListItem"];
|
||||||
|
for (auto valueSmartSysAvatarModelListSmartSysAvatarModelListItem : allSmartSysAvatarModelListNode)
|
||||||
|
{
|
||||||
|
SmartSysAvatarModelListItem smartSysAvatarModelListObject;
|
||||||
|
if(!valueSmartSysAvatarModelListSmartSysAvatarModelListItem["AvatarName"].isNull())
|
||||||
|
smartSysAvatarModelListObject.avatarName = valueSmartSysAvatarModelListSmartSysAvatarModelListItem["AvatarName"].asString();
|
||||||
|
if(!valueSmartSysAvatarModelListSmartSysAvatarModelListItem["AvatarId"].isNull())
|
||||||
|
smartSysAvatarModelListObject.avatarId = valueSmartSysAvatarModelListSmartSysAvatarModelListItem["AvatarId"].asString();
|
||||||
|
if(!valueSmartSysAvatarModelListSmartSysAvatarModelListItem["CoverUrl"].isNull())
|
||||||
|
smartSysAvatarModelListObject.coverUrl = valueSmartSysAvatarModelListSmartSysAvatarModelListItem["CoverUrl"].asString();
|
||||||
|
if(!valueSmartSysAvatarModelListSmartSysAvatarModelListItem["VideoUrl"].isNull())
|
||||||
|
smartSysAvatarModelListObject.videoUrl = valueSmartSysAvatarModelListSmartSysAvatarModelListItem["VideoUrl"].asString();
|
||||||
|
smartSysAvatarModelList_.push_back(smartSysAvatarModelListObject);
|
||||||
|
}
|
||||||
|
if(!value["TotalCount"].isNull())
|
||||||
|
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int ListSmartSysAvatarModelsResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<ListSmartSysAvatarModelsResult::SmartSysAvatarModelListItem> ListSmartSysAvatarModelsResult::getSmartSysAvatarModelList()const
|
||||||
|
{
|
||||||
|
return smartSysAvatarModelList_;
|
||||||
|
}
|
||||||
|
|
||||||
90
ice/src/model/SearchMediaByFaceRequest.cc
Normal file
90
ice/src/model/SearchMediaByFaceRequest.cc
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/ice/model/SearchMediaByFaceRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::ICE::Model::SearchMediaByFaceRequest;
|
||||||
|
|
||||||
|
SearchMediaByFaceRequest::SearchMediaByFaceRequest()
|
||||||
|
: RpcServiceRequest("ice", "2020-11-09", "SearchMediaByFace") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
SearchMediaByFaceRequest::~SearchMediaByFaceRequest() {}
|
||||||
|
|
||||||
|
std::string SearchMediaByFaceRequest::getEntityId() const {
|
||||||
|
return entityId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaByFaceRequest::setEntityId(const std::string &entityId) {
|
||||||
|
entityId_ = entityId;
|
||||||
|
setParameter(std::string("EntityId"), entityId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaByFaceRequest::getBiz() const {
|
||||||
|
return biz_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaByFaceRequest::setBiz(const std::string &biz) {
|
||||||
|
biz_ = biz;
|
||||||
|
setParameter(std::string("Biz"), biz);
|
||||||
|
}
|
||||||
|
|
||||||
|
int SearchMediaByFaceRequest::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaByFaceRequest::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaByFaceRequest::getPersonImageUrl() const {
|
||||||
|
return personImageUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaByFaceRequest::setPersonImageUrl(const std::string &personImageUrl) {
|
||||||
|
personImageUrl_ = personImageUrl;
|
||||||
|
setParameter(std::string("PersonImageUrl"), personImageUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaByFaceRequest::getFaceSearchToken() const {
|
||||||
|
return faceSearchToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaByFaceRequest::setFaceSearchToken(const std::string &faceSearchToken) {
|
||||||
|
faceSearchToken_ = faceSearchToken;
|
||||||
|
setParameter(std::string("FaceSearchToken"), faceSearchToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
int SearchMediaByFaceRequest::getPageNo() const {
|
||||||
|
return pageNo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaByFaceRequest::setPageNo(int pageNo) {
|
||||||
|
pageNo_ = pageNo;
|
||||||
|
setParameter(std::string("PageNo"), std::to_string(pageNo));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaByFaceRequest::getAppId() const {
|
||||||
|
return appId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaByFaceRequest::setAppId(const std::string &appId) {
|
||||||
|
appId_ = appId;
|
||||||
|
setParameter(std::string("AppId"), appId);
|
||||||
|
}
|
||||||
|
|
||||||
78
ice/src/model/SearchMediaByFaceResult.cc
Normal file
78
ice/src/model/SearchMediaByFaceResult.cc
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/ice/model/SearchMediaByFaceResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::ICE;
|
||||||
|
using namespace AlibabaCloud::ICE::Model;
|
||||||
|
|
||||||
|
SearchMediaByFaceResult::SearchMediaByFaceResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
SearchMediaByFaceResult::SearchMediaByFaceResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
SearchMediaByFaceResult::~SearchMediaByFaceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void SearchMediaByFaceResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allMediaInfoListNode = value["MediaInfoList"]["MediaInfo"];
|
||||||
|
for (auto valueMediaInfoListMediaInfo : allMediaInfoListNode)
|
||||||
|
{
|
||||||
|
MediaInfo mediaInfoListObject;
|
||||||
|
if(!valueMediaInfoListMediaInfo["MediaId"].isNull())
|
||||||
|
mediaInfoListObject.mediaId = valueMediaInfoListMediaInfo["MediaId"].asString();
|
||||||
|
mediaInfoList_.push_back(mediaInfoListObject);
|
||||||
|
}
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Total"].isNull())
|
||||||
|
total_ = std::stol(value["Total"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<SearchMediaByFaceResult::MediaInfo> SearchMediaByFaceResult::getMediaInfoList()const
|
||||||
|
{
|
||||||
|
return mediaInfoList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long SearchMediaByFaceResult::getTotal()const
|
||||||
|
{
|
||||||
|
return total_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaByFaceResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaByFaceResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
90
ice/src/model/SearchMediaClipByFaceRequest.cc
Normal file
90
ice/src/model/SearchMediaClipByFaceRequest.cc
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/ice/model/SearchMediaClipByFaceRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::ICE::Model::SearchMediaClipByFaceRequest;
|
||||||
|
|
||||||
|
SearchMediaClipByFaceRequest::SearchMediaClipByFaceRequest()
|
||||||
|
: RpcServiceRequest("ice", "2020-11-09", "SearchMediaClipByFace") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
SearchMediaClipByFaceRequest::~SearchMediaClipByFaceRequest() {}
|
||||||
|
|
||||||
|
std::string SearchMediaClipByFaceRequest::getEntityId() const {
|
||||||
|
return entityId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaClipByFaceRequest::setEntityId(const std::string &entityId) {
|
||||||
|
entityId_ = entityId;
|
||||||
|
setParameter(std::string("EntityId"), entityId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaClipByFaceRequest::getBiz() const {
|
||||||
|
return biz_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaClipByFaceRequest::setBiz(const std::string &biz) {
|
||||||
|
biz_ = biz;
|
||||||
|
setParameter(std::string("Biz"), biz);
|
||||||
|
}
|
||||||
|
|
||||||
|
int SearchMediaClipByFaceRequest::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaClipByFaceRequest::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaClipByFaceRequest::getMediaId() const {
|
||||||
|
return mediaId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaClipByFaceRequest::setMediaId(const std::string &mediaId) {
|
||||||
|
mediaId_ = mediaId;
|
||||||
|
setParameter(std::string("MediaId"), mediaId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaClipByFaceRequest::getFaceSearchToken() const {
|
||||||
|
return faceSearchToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaClipByFaceRequest::setFaceSearchToken(const std::string &faceSearchToken) {
|
||||||
|
faceSearchToken_ = faceSearchToken;
|
||||||
|
setParameter(std::string("FaceSearchToken"), faceSearchToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
int SearchMediaClipByFaceRequest::getPageNo() const {
|
||||||
|
return pageNo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaClipByFaceRequest::setPageNo(int pageNo) {
|
||||||
|
pageNo_ = pageNo;
|
||||||
|
setParameter(std::string("PageNo"), std::to_string(pageNo));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaClipByFaceRequest::getAppId() const {
|
||||||
|
return appId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SearchMediaClipByFaceRequest::setAppId(const std::string &appId) {
|
||||||
|
appId_ = appId;
|
||||||
|
setParameter(std::string("AppId"), appId);
|
||||||
|
}
|
||||||
|
|
||||||
111
ice/src/model/SearchMediaClipByFaceResult.cc
Normal file
111
ice/src/model/SearchMediaClipByFaceResult.cc
Normal file
@@ -0,0 +1,111 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/ice/model/SearchMediaClipByFaceResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::ICE;
|
||||||
|
using namespace AlibabaCloud::ICE::Model;
|
||||||
|
|
||||||
|
SearchMediaClipByFaceResult::SearchMediaClipByFaceResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
SearchMediaClipByFaceResult::SearchMediaClipByFaceResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
SearchMediaClipByFaceResult::~SearchMediaClipByFaceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void SearchMediaClipByFaceResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allMediaClipListNode = value["MediaClipList"]["MediaClip"];
|
||||||
|
for (auto valueMediaClipListMediaClip : allMediaClipListNode)
|
||||||
|
{
|
||||||
|
MediaClip mediaClipListObject;
|
||||||
|
if(!valueMediaClipListMediaClip["Score"].isNull())
|
||||||
|
mediaClipListObject.score = std::stof(valueMediaClipListMediaClip["Score"].asString());
|
||||||
|
if(!valueMediaClipListMediaClip["EntityId"].isNull())
|
||||||
|
mediaClipListObject.entityId = valueMediaClipListMediaClip["EntityId"].asString();
|
||||||
|
if(!valueMediaClipListMediaClip["LabelName"].isNull())
|
||||||
|
mediaClipListObject.labelName = valueMediaClipListMediaClip["LabelName"].asString();
|
||||||
|
if(!valueMediaClipListMediaClip["Category"].isNull())
|
||||||
|
mediaClipListObject.category = valueMediaClipListMediaClip["Category"].asString();
|
||||||
|
auto allOccurrencesInfosNode = valueMediaClipListMediaClip["OccurrencesInfos"]["OccurrencesInfo"];
|
||||||
|
for (auto valueMediaClipListMediaClipOccurrencesInfosOccurrencesInfo : allOccurrencesInfosNode)
|
||||||
|
{
|
||||||
|
MediaClip::OccurrencesInfo occurrencesInfosObject;
|
||||||
|
if(!valueMediaClipListMediaClipOccurrencesInfosOccurrencesInfo["StartTime"].isNull())
|
||||||
|
occurrencesInfosObject.startTime = std::stof(valueMediaClipListMediaClipOccurrencesInfosOccurrencesInfo["StartTime"].asString());
|
||||||
|
if(!valueMediaClipListMediaClipOccurrencesInfosOccurrencesInfo["EndTime"].isNull())
|
||||||
|
occurrencesInfosObject.endTime = std::stof(valueMediaClipListMediaClipOccurrencesInfosOccurrencesInfo["EndTime"].asString());
|
||||||
|
auto allTrackDataNode = valueMediaClipListMediaClipOccurrencesInfosOccurrencesInfo["TrackData"]["TrackDataItem"];
|
||||||
|
for (auto valueMediaClipListMediaClipOccurrencesInfosOccurrencesInfoTrackDataTrackDataItem : allTrackDataNode)
|
||||||
|
{
|
||||||
|
MediaClip::OccurrencesInfo::TrackDataItem trackDataObject;
|
||||||
|
if(!valueMediaClipListMediaClipOccurrencesInfosOccurrencesInfoTrackDataTrackDataItem["Timestamp"].isNull())
|
||||||
|
trackDataObject.timestamp = std::stof(valueMediaClipListMediaClipOccurrencesInfosOccurrencesInfoTrackDataTrackDataItem["Timestamp"].asString());
|
||||||
|
auto boxPositionNode = value["BoxPosition"];
|
||||||
|
if(!boxPositionNode["X"].isNull())
|
||||||
|
trackDataObject.boxPosition.x = std::stoi(boxPositionNode["X"].asString());
|
||||||
|
if(!boxPositionNode["Y"].isNull())
|
||||||
|
trackDataObject.boxPosition.y = std::stoi(boxPositionNode["Y"].asString());
|
||||||
|
if(!boxPositionNode["W"].isNull())
|
||||||
|
trackDataObject.boxPosition.w = std::stoi(boxPositionNode["W"].asString());
|
||||||
|
if(!boxPositionNode["H"].isNull())
|
||||||
|
trackDataObject.boxPosition.h = std::stoi(boxPositionNode["H"].asString());
|
||||||
|
occurrencesInfosObject.trackData.push_back(trackDataObject);
|
||||||
|
}
|
||||||
|
mediaClipListObject.occurrencesInfos.push_back(occurrencesInfosObject);
|
||||||
|
}
|
||||||
|
mediaClipList_.push_back(mediaClipListObject);
|
||||||
|
}
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Total"].isNull())
|
||||||
|
total_ = std::stol(value["Total"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
long SearchMediaClipByFaceResult::getTotal()const
|
||||||
|
{
|
||||||
|
return total_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaClipByFaceResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SearchMediaClipByFaceResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<SearchMediaClipByFaceResult::MediaClip> SearchMediaClipByFaceResult::getMediaClipList()const
|
||||||
|
{
|
||||||
|
return mediaClipList_;
|
||||||
|
}
|
||||||
|
|
||||||
54
ice/src/model/SetContentAnalyzeConfigRequest.cc
Normal file
54
ice/src/model/SetContentAnalyzeConfigRequest.cc
Normal 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/ice/model/SetContentAnalyzeConfigRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::ICE::Model::SetContentAnalyzeConfigRequest;
|
||||||
|
|
||||||
|
SetContentAnalyzeConfigRequest::SetContentAnalyzeConfigRequest()
|
||||||
|
: RpcServiceRequest("ice", "2020-11-09", "SetContentAnalyzeConfig") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
SetContentAnalyzeConfigRequest::~SetContentAnalyzeConfigRequest() {}
|
||||||
|
|
||||||
|
bool SetContentAnalyzeConfigRequest::get_Auto() const {
|
||||||
|
return _auto_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetContentAnalyzeConfigRequest::set_Auto(bool _auto) {
|
||||||
|
_auto_ = _auto;
|
||||||
|
setParameter(std::string("Auto"), _auto ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetContentAnalyzeConfigRequest::getTemplateId() const {
|
||||||
|
return templateId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetContentAnalyzeConfigRequest::setTemplateId(const std::string &templateId) {
|
||||||
|
templateId_ = templateId;
|
||||||
|
setParameter(std::string("TemplateId"), templateId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetContentAnalyzeConfigRequest::getSaveType() const {
|
||||||
|
return saveType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetContentAnalyzeConfigRequest::setSaveType(const std::string &saveType) {
|
||||||
|
saveType_ = saveType;
|
||||||
|
setParameter(std::string("SaveType"), saveType);
|
||||||
|
}
|
||||||
|
|
||||||
51
ice/src/model/SetContentAnalyzeConfigResult.cc
Normal file
51
ice/src/model/SetContentAnalyzeConfigResult.cc
Normal 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/ice/model/SetContentAnalyzeConfigResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::ICE;
|
||||||
|
using namespace AlibabaCloud::ICE::Model;
|
||||||
|
|
||||||
|
SetContentAnalyzeConfigResult::SetContentAnalyzeConfigResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
SetContentAnalyzeConfigResult::SetContentAnalyzeConfigResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
SetContentAnalyzeConfigResult::~SetContentAnalyzeConfigResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void SetContentAnalyzeConfigResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SetContentAnalyzeConfigResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
81
ice/src/model/SubmitAvatarVideoJobRequest.cc
Normal file
81
ice/src/model/SubmitAvatarVideoJobRequest.cc
Normal 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/ice/model/SubmitAvatarVideoJobRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::ICE::Model::SubmitAvatarVideoJobRequest;
|
||||||
|
|
||||||
|
SubmitAvatarVideoJobRequest::SubmitAvatarVideoJobRequest()
|
||||||
|
: RpcServiceRequest("ice", "2020-11-09", "SubmitAvatarVideoJob") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
SubmitAvatarVideoJobRequest::~SubmitAvatarVideoJobRequest() {}
|
||||||
|
|
||||||
|
std::string SubmitAvatarVideoJobRequest::getOutputConfig() const {
|
||||||
|
return outputConfig_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SubmitAvatarVideoJobRequest::setOutputConfig(const std::string &outputConfig) {
|
||||||
|
outputConfig_ = outputConfig;
|
||||||
|
setParameter(std::string("OutputConfig"), outputConfig);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubmitAvatarVideoJobRequest::getInputConfig() const {
|
||||||
|
return inputConfig_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SubmitAvatarVideoJobRequest::setInputConfig(const std::string &inputConfig) {
|
||||||
|
inputConfig_ = inputConfig;
|
||||||
|
setParameter(std::string("InputConfig"), inputConfig);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubmitAvatarVideoJobRequest::getEditingConfig() const {
|
||||||
|
return editingConfig_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SubmitAvatarVideoJobRequest::setEditingConfig(const std::string &editingConfig) {
|
||||||
|
editingConfig_ = editingConfig;
|
||||||
|
setParameter(std::string("EditingConfig"), editingConfig);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubmitAvatarVideoJobRequest::getDescription() const {
|
||||||
|
return description_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SubmitAvatarVideoJobRequest::setDescription(const std::string &description) {
|
||||||
|
description_ = description;
|
||||||
|
setParameter(std::string("Description"), description);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubmitAvatarVideoJobRequest::getTitle() const {
|
||||||
|
return title_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SubmitAvatarVideoJobRequest::setTitle(const std::string &title) {
|
||||||
|
title_ = title;
|
||||||
|
setParameter(std::string("Title"), title);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubmitAvatarVideoJobRequest::getUserData() const {
|
||||||
|
return userData_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SubmitAvatarVideoJobRequest::setUserData(const std::string &userData) {
|
||||||
|
userData_ = userData;
|
||||||
|
setParameter(std::string("UserData"), userData);
|
||||||
|
}
|
||||||
|
|
||||||
58
ice/src/model/SubmitAvatarVideoJobResult.cc
Normal file
58
ice/src/model/SubmitAvatarVideoJobResult.cc
Normal 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/ice/model/SubmitAvatarVideoJobResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::ICE;
|
||||||
|
using namespace AlibabaCloud::ICE::Model;
|
||||||
|
|
||||||
|
SubmitAvatarVideoJobResult::SubmitAvatarVideoJobResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
SubmitAvatarVideoJobResult::SubmitAvatarVideoJobResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
SubmitAvatarVideoJobResult::~SubmitAvatarVideoJobResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void SubmitAvatarVideoJobResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["JobId"].isNull())
|
||||||
|
jobId_ = value["JobId"].asString();
|
||||||
|
if(!value["MediaId"].isNull())
|
||||||
|
mediaId_ = value["MediaId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubmitAvatarVideoJobResult::getMediaId()const
|
||||||
|
{
|
||||||
|
return mediaId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubmitAvatarVideoJobResult::getJobId()const
|
||||||
|
{
|
||||||
|
return jobId_;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user