Supported Video Abstract for IMM.
This commit is contained in:
@@ -50,6 +50,8 @@
|
||||
#include "model/CreateTagJobResult.h"
|
||||
#include "model/CreateTagSetRequest.h"
|
||||
#include "model/CreateTagSetResult.h"
|
||||
#include "model/CreateVideoAbstractTaskRequest.h"
|
||||
#include "model/CreateVideoAbstractTaskResult.h"
|
||||
#include "model/CreateVideoAnalyseTaskRequest.h"
|
||||
#include "model/CreateVideoAnalyseTaskResult.h"
|
||||
#include "model/CreateVideoCompressTaskRequest.h"
|
||||
@@ -275,6 +277,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateTagSetResult> CreateTagSetOutcome;
|
||||
typedef std::future<CreateTagSetOutcome> CreateTagSetOutcomeCallable;
|
||||
typedef std::function<void(const ImmClient*, const Model::CreateTagSetRequest&, const CreateTagSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTagSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateVideoAbstractTaskResult> CreateVideoAbstractTaskOutcome;
|
||||
typedef std::future<CreateVideoAbstractTaskOutcome> CreateVideoAbstractTaskOutcomeCallable;
|
||||
typedef std::function<void(const ImmClient*, const Model::CreateVideoAbstractTaskRequest&, const CreateVideoAbstractTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVideoAbstractTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateVideoAnalyseTaskResult> CreateVideoAnalyseTaskOutcome;
|
||||
typedef std::future<CreateVideoAnalyseTaskOutcome> CreateVideoAnalyseTaskOutcomeCallable;
|
||||
typedef std::function<void(const ImmClient*, const Model::CreateVideoAnalyseTaskRequest&, const CreateVideoAnalyseTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVideoAnalyseTaskAsyncHandler;
|
||||
@@ -583,6 +588,9 @@ namespace AlibabaCloud
|
||||
CreateTagSetOutcome createTagSet(const Model::CreateTagSetRequest &request)const;
|
||||
void createTagSetAsync(const Model::CreateTagSetRequest& request, const CreateTagSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTagSetOutcomeCallable createTagSetCallable(const Model::CreateTagSetRequest& request) const;
|
||||
CreateVideoAbstractTaskOutcome createVideoAbstractTask(const Model::CreateVideoAbstractTaskRequest &request)const;
|
||||
void createVideoAbstractTaskAsync(const Model::CreateVideoAbstractTaskRequest& request, const CreateVideoAbstractTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateVideoAbstractTaskOutcomeCallable createVideoAbstractTaskCallable(const Model::CreateVideoAbstractTaskRequest& request) const;
|
||||
CreateVideoAnalyseTaskOutcome createVideoAnalyseTask(const Model::CreateVideoAnalyseTaskRequest &request)const;
|
||||
void createVideoAnalyseTaskAsync(const Model::CreateVideoAnalyseTaskRequest& request, const CreateVideoAnalyseTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateVideoAnalyseTaskOutcomeCallable createVideoAnalyseTaskCallable(const Model::CreateVideoAnalyseTaskRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEVIDEOABSTRACTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOABSTRACTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imm/ImmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMM_EXPORT CreateVideoAbstractTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateVideoAbstractTaskRequest();
|
||||
~CreateVideoAbstractTaskRequest();
|
||||
|
||||
std::string getTargetVideoUri()const;
|
||||
void setTargetVideoUri(const std::string& targetVideoUri);
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getNotifyEndpoint()const;
|
||||
void setNotifyEndpoint(const std::string& notifyEndpoint);
|
||||
std::string getNotifyTopicName()const;
|
||||
void setNotifyTopicName(const std::string& notifyTopicName);
|
||||
std::string getVideoUri()const;
|
||||
void setVideoUri(const std::string& videoUri);
|
||||
int getAbstractLength()const;
|
||||
void setAbstractLength(int abstractLength);
|
||||
std::string getTargetClipsUri()const;
|
||||
void setTargetClipsUri(const std::string& targetClipsUri);
|
||||
|
||||
private:
|
||||
std::string targetVideoUri_;
|
||||
std::string project_;
|
||||
std::string accessKeyId_;
|
||||
std::string notifyEndpoint_;
|
||||
std::string notifyTopicName_;
|
||||
std::string videoUri_;
|
||||
int abstractLength_;
|
||||
std::string targetClipsUri_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEVIDEOABSTRACTTASKREQUEST_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_IMM_MODEL_CREATEVIDEOABSTRACTTASKRESULT_H_
|
||||
#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOABSTRACTTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imm/ImmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMM_EXPORT CreateVideoAbstractTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateVideoAbstractTaskResult();
|
||||
explicit CreateVideoAbstractTaskResult(const std::string &payload);
|
||||
~CreateVideoAbstractTaskResult();
|
||||
std::string getTaskId()const;
|
||||
std::string getTaskType()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskId_;
|
||||
std::string taskType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEVIDEOABSTRACTTASKRESULT_H_
|
||||
@@ -35,29 +35,29 @@ namespace AlibabaCloud
|
||||
DecodeBlindWatermarkRequest();
|
||||
~DecodeBlindWatermarkRequest();
|
||||
|
||||
int getImageQuality()const;
|
||||
void setImageQuality(int imageQuality);
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getWatermarkType()const;
|
||||
void setWatermarkType(const std::string& watermarkType);
|
||||
std::string getTargetUri()const;
|
||||
void setTargetUri(const std::string& targetUri);
|
||||
std::string getImageUri()const;
|
||||
void setImageUri(const std::string& imageUri);
|
||||
std::string getOriginalImageUri()const;
|
||||
void setOriginalImageUri(const std::string& originalImageUri);
|
||||
int getImageQuality()const;
|
||||
void setImageQuality(int imageQuality);
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getWatermarkType()const;
|
||||
void setWatermarkType(const std::string& watermarkType);
|
||||
std::string getTargetUri()const;
|
||||
void setTargetUri(const std::string& targetUri);
|
||||
std::string getImageUri()const;
|
||||
void setImageUri(const std::string& imageUri);
|
||||
std::string getOriginalImageUri()const;
|
||||
void setOriginalImageUri(const std::string& originalImageUri);
|
||||
|
||||
private:
|
||||
int imageQuality_;
|
||||
std::string project_;
|
||||
std::string accessKeyId_;
|
||||
std::string watermarkType_;
|
||||
std::string targetUri_;
|
||||
std::string imageUri_;
|
||||
std::string originalImageUri_;
|
||||
int imageQuality_;
|
||||
std::string project_;
|
||||
std::string accessKeyId_;
|
||||
std::string watermarkType_;
|
||||
std::string targetUri_;
|
||||
std::string imageUri_;
|
||||
std::string originalImageUri_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,35 +35,35 @@ namespace AlibabaCloud
|
||||
EncodeBlindWatermarkRequest();
|
||||
~EncodeBlindWatermarkRequest();
|
||||
|
||||
std::string getImageQuality()const;
|
||||
void setImageQuality(const std::string& imageQuality);
|
||||
std::string getWatermarkUri()const;
|
||||
void setWatermarkUri(const std::string& watermarkUri);
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getWatermarkType()const;
|
||||
void setWatermarkType(const std::string& watermarkType);
|
||||
std::string getTargetUri()const;
|
||||
void setTargetUri(const std::string& targetUri);
|
||||
std::string getTargetImageType()const;
|
||||
void setTargetImageType(const std::string& targetImageType);
|
||||
std::string getImageUri()const;
|
||||
void setImageUri(const std::string& imageUri);
|
||||
std::string getImageQuality()const;
|
||||
void setImageQuality(const std::string& imageQuality);
|
||||
std::string getWatermarkUri()const;
|
||||
void setWatermarkUri(const std::string& watermarkUri);
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getWatermarkType()const;
|
||||
void setWatermarkType(const std::string& watermarkType);
|
||||
std::string getTargetUri()const;
|
||||
void setTargetUri(const std::string& targetUri);
|
||||
std::string getTargetImageType()const;
|
||||
void setTargetImageType(const std::string& targetImageType);
|
||||
std::string getImageUri()const;
|
||||
void setImageUri(const std::string& imageUri);
|
||||
|
||||
private:
|
||||
std::string imageQuality_;
|
||||
std::string watermarkUri_;
|
||||
std::string project_;
|
||||
std::string content_;
|
||||
std::string accessKeyId_;
|
||||
std::string watermarkType_;
|
||||
std::string targetUri_;
|
||||
std::string targetImageType_;
|
||||
std::string imageUri_;
|
||||
std::string imageQuality_;
|
||||
std::string watermarkUri_;
|
||||
std::string project_;
|
||||
std::string content_;
|
||||
std::string accessKeyId_;
|
||||
std::string watermarkType_;
|
||||
std::string targetUri_;
|
||||
std::string targetImageType_;
|
||||
std::string imageUri_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user