VOD SDK Auto Released By guzhaoyuan,Version:1.33.2

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
yixiong.jxy
2018-11-21 14:09:40 +08:00
parent 66cfddf930
commit ded565f3f3
44 changed files with 2339 additions and 2 deletions

Binary file not shown.

View File

@@ -62,8 +62,12 @@
#include "model/SubmitAIVideoCategoryJobResult.h"
#include "model/DescribeRefreshTasksRequest.h"
#include "model/DescribeRefreshTasksResult.h"
#include "model/DeleteWatermarkRequest.h"
#include "model/DeleteWatermarkResult.h"
#include "model/UpdateCategoryRequest.h"
#include "model/UpdateCategoryResult.h"
#include "model/RegisterMediaRequest.h"
#include "model/RegisterMediaResult.h"
#include "model/ListAIASRJobRequest.h"
#include "model/ListAIASRJobResult.h"
#include "model/ListAIVideoCensorJobRequest.h"
@@ -86,6 +90,10 @@
#include "model/ListAIJobResult.h"
#include "model/GetVideoConfigRequest.h"
#include "model/GetVideoConfigResult.h"
#include "model/AddWatermarkRequest.h"
#include "model/AddWatermarkResult.h"
#include "model/ListWatermarkRequest.h"
#include "model/ListWatermarkResult.h"
#include "model/CreateUploadImageRequest.h"
#include "model/CreateUploadImageResult.h"
#include "model/UpdateVideoInfoRequest.h"
@@ -96,6 +104,8 @@
#include "model/SearchMediaResult.h"
#include "model/DescribePlayTopVideosRequest.h"
#include "model/DescribePlayTopVideosResult.h"
#include "model/SetDefaultWatermarkRequest.h"
#include "model/SetDefaultWatermarkResult.h"
#include "model/PushObjectCacheRequest.h"
#include "model/PushObjectCacheResult.h"
#include "model/AddCategoryRequest.h"
@@ -118,6 +128,10 @@
#include "model/SubmitAIVideoTerrorismRecogJobResult.h"
#include "model/SearchEditingProjectRequest.h"
#include "model/SearchEditingProjectResult.h"
#include "model/GetWatermarkRequest.h"
#include "model/GetWatermarkResult.h"
#include "model/UpdateWatermarkRequest.h"
#include "model/UpdateWatermarkResult.h"
#include "model/GetImageInfoRequest.h"
#include "model/GetImageInfoResult.h"
#include "model/GetMessageCallbackRequest.h"
@@ -241,9 +255,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeRefreshTasksResult> DescribeRefreshTasksOutcome;
typedef std::future<DescribeRefreshTasksOutcome> DescribeRefreshTasksOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribeRefreshTasksRequest&, const DescribeRefreshTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRefreshTasksAsyncHandler;
typedef Outcome<Error, Model::DeleteWatermarkResult> DeleteWatermarkOutcome;
typedef std::future<DeleteWatermarkOutcome> DeleteWatermarkOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DeleteWatermarkRequest&, const DeleteWatermarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteWatermarkAsyncHandler;
typedef Outcome<Error, Model::UpdateCategoryResult> UpdateCategoryOutcome;
typedef std::future<UpdateCategoryOutcome> UpdateCategoryOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::UpdateCategoryRequest&, const UpdateCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCategoryAsyncHandler;
typedef Outcome<Error, Model::RegisterMediaResult> RegisterMediaOutcome;
typedef std::future<RegisterMediaOutcome> RegisterMediaOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::RegisterMediaRequest&, const RegisterMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterMediaAsyncHandler;
typedef Outcome<Error, Model::ListAIASRJobResult> ListAIASRJobOutcome;
typedef std::future<ListAIASRJobOutcome> ListAIASRJobOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::ListAIASRJobRequest&, const ListAIASRJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAIASRJobAsyncHandler;
@@ -277,6 +297,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetVideoConfigResult> GetVideoConfigOutcome;
typedef std::future<GetVideoConfigOutcome> GetVideoConfigOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::GetVideoConfigRequest&, const GetVideoConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVideoConfigAsyncHandler;
typedef Outcome<Error, Model::AddWatermarkResult> AddWatermarkOutcome;
typedef std::future<AddWatermarkOutcome> AddWatermarkOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::AddWatermarkRequest&, const AddWatermarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddWatermarkAsyncHandler;
typedef Outcome<Error, Model::ListWatermarkResult> ListWatermarkOutcome;
typedef std::future<ListWatermarkOutcome> ListWatermarkOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::ListWatermarkRequest&, const ListWatermarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListWatermarkAsyncHandler;
typedef Outcome<Error, Model::CreateUploadImageResult> CreateUploadImageOutcome;
typedef std::future<CreateUploadImageOutcome> CreateUploadImageOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::CreateUploadImageRequest&, const CreateUploadImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUploadImageAsyncHandler;
@@ -292,6 +318,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribePlayTopVideosResult> DescribePlayTopVideosOutcome;
typedef std::future<DescribePlayTopVideosOutcome> DescribePlayTopVideosOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::DescribePlayTopVideosRequest&, const DescribePlayTopVideosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlayTopVideosAsyncHandler;
typedef Outcome<Error, Model::SetDefaultWatermarkResult> SetDefaultWatermarkOutcome;
typedef std::future<SetDefaultWatermarkOutcome> SetDefaultWatermarkOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SetDefaultWatermarkRequest&, const SetDefaultWatermarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDefaultWatermarkAsyncHandler;
typedef Outcome<Error, Model::PushObjectCacheResult> PushObjectCacheOutcome;
typedef std::future<PushObjectCacheOutcome> PushObjectCacheOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::PushObjectCacheRequest&, const PushObjectCacheOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushObjectCacheAsyncHandler;
@@ -325,6 +354,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SearchEditingProjectResult> SearchEditingProjectOutcome;
typedef std::future<SearchEditingProjectOutcome> SearchEditingProjectOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SearchEditingProjectRequest&, const SearchEditingProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchEditingProjectAsyncHandler;
typedef Outcome<Error, Model::GetWatermarkResult> GetWatermarkOutcome;
typedef std::future<GetWatermarkOutcome> GetWatermarkOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::GetWatermarkRequest&, const GetWatermarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWatermarkAsyncHandler;
typedef Outcome<Error, Model::UpdateWatermarkResult> UpdateWatermarkOutcome;
typedef std::future<UpdateWatermarkOutcome> UpdateWatermarkOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::UpdateWatermarkRequest&, const UpdateWatermarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateWatermarkAsyncHandler;
typedef Outcome<Error, Model::GetImageInfoResult> GetImageInfoOutcome;
typedef std::future<GetImageInfoOutcome> GetImageInfoOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::GetImageInfoRequest&, const GetImageInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageInfoAsyncHandler;
@@ -471,9 +506,15 @@ namespace AlibabaCloud
DescribeRefreshTasksOutcome describeRefreshTasks(const Model::DescribeRefreshTasksRequest &request)const;
void describeRefreshTasksAsync(const Model::DescribeRefreshTasksRequest& request, const DescribeRefreshTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRefreshTasksOutcomeCallable describeRefreshTasksCallable(const Model::DescribeRefreshTasksRequest& request) const;
DeleteWatermarkOutcome deleteWatermark(const Model::DeleteWatermarkRequest &request)const;
void deleteWatermarkAsync(const Model::DeleteWatermarkRequest& request, const DeleteWatermarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteWatermarkOutcomeCallable deleteWatermarkCallable(const Model::DeleteWatermarkRequest& request) const;
UpdateCategoryOutcome updateCategory(const Model::UpdateCategoryRequest &request)const;
void updateCategoryAsync(const Model::UpdateCategoryRequest& request, const UpdateCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateCategoryOutcomeCallable updateCategoryCallable(const Model::UpdateCategoryRequest& request) const;
RegisterMediaOutcome registerMedia(const Model::RegisterMediaRequest &request)const;
void registerMediaAsync(const Model::RegisterMediaRequest& request, const RegisterMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterMediaOutcomeCallable registerMediaCallable(const Model::RegisterMediaRequest& request) const;
ListAIASRJobOutcome listAIASRJob(const Model::ListAIASRJobRequest &request)const;
void listAIASRJobAsync(const Model::ListAIASRJobRequest& request, const ListAIASRJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAIASRJobOutcomeCallable listAIASRJobCallable(const Model::ListAIASRJobRequest& request) const;
@@ -507,6 +548,12 @@ namespace AlibabaCloud
GetVideoConfigOutcome getVideoConfig(const Model::GetVideoConfigRequest &request)const;
void getVideoConfigAsync(const Model::GetVideoConfigRequest& request, const GetVideoConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVideoConfigOutcomeCallable getVideoConfigCallable(const Model::GetVideoConfigRequest& request) const;
AddWatermarkOutcome addWatermark(const Model::AddWatermarkRequest &request)const;
void addWatermarkAsync(const Model::AddWatermarkRequest& request, const AddWatermarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddWatermarkOutcomeCallable addWatermarkCallable(const Model::AddWatermarkRequest& request) const;
ListWatermarkOutcome listWatermark(const Model::ListWatermarkRequest &request)const;
void listWatermarkAsync(const Model::ListWatermarkRequest& request, const ListWatermarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListWatermarkOutcomeCallable listWatermarkCallable(const Model::ListWatermarkRequest& request) const;
CreateUploadImageOutcome createUploadImage(const Model::CreateUploadImageRequest &request)const;
void createUploadImageAsync(const Model::CreateUploadImageRequest& request, const CreateUploadImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUploadImageOutcomeCallable createUploadImageCallable(const Model::CreateUploadImageRequest& request) const;
@@ -522,6 +569,9 @@ namespace AlibabaCloud
DescribePlayTopVideosOutcome describePlayTopVideos(const Model::DescribePlayTopVideosRequest &request)const;
void describePlayTopVideosAsync(const Model::DescribePlayTopVideosRequest& request, const DescribePlayTopVideosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePlayTopVideosOutcomeCallable describePlayTopVideosCallable(const Model::DescribePlayTopVideosRequest& request) const;
SetDefaultWatermarkOutcome setDefaultWatermark(const Model::SetDefaultWatermarkRequest &request)const;
void setDefaultWatermarkAsync(const Model::SetDefaultWatermarkRequest& request, const SetDefaultWatermarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDefaultWatermarkOutcomeCallable setDefaultWatermarkCallable(const Model::SetDefaultWatermarkRequest& request) const;
PushObjectCacheOutcome pushObjectCache(const Model::PushObjectCacheRequest &request)const;
void pushObjectCacheAsync(const Model::PushObjectCacheRequest& request, const PushObjectCacheAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PushObjectCacheOutcomeCallable pushObjectCacheCallable(const Model::PushObjectCacheRequest& request) const;
@@ -555,6 +605,12 @@ namespace AlibabaCloud
SearchEditingProjectOutcome searchEditingProject(const Model::SearchEditingProjectRequest &request)const;
void searchEditingProjectAsync(const Model::SearchEditingProjectRequest& request, const SearchEditingProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchEditingProjectOutcomeCallable searchEditingProjectCallable(const Model::SearchEditingProjectRequest& request) const;
GetWatermarkOutcome getWatermark(const Model::GetWatermarkRequest &request)const;
void getWatermarkAsync(const Model::GetWatermarkRequest& request, const GetWatermarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetWatermarkOutcomeCallable getWatermarkCallable(const Model::GetWatermarkRequest& request) const;
UpdateWatermarkOutcome updateWatermark(const Model::UpdateWatermarkRequest &request)const;
void updateWatermarkAsync(const Model::UpdateWatermarkRequest& request, const UpdateWatermarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateWatermarkOutcomeCallable updateWatermarkCallable(const Model::UpdateWatermarkRequest& request) const;
GetImageInfoOutcome getImageInfo(const Model::GetImageInfoRequest &request)const;
void getImageInfoAsync(const Model::GetImageInfoRequest& request, const GetImageInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetImageInfoOutcomeCallable getImageInfoCallable(const Model::GetImageInfoRequest& request) const;

View File

@@ -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_VOD_MODEL_ADDWATERMARKREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_ADDWATERMARKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT AddWatermarkRequest : public RpcServiceRequest
{
public:
AddWatermarkRequest();
~AddWatermarkRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getName()const;
void setName(const std::string& name);
std::string getFileUrl()const;
void setFileUrl(const std::string& fileUrl);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getType()const;
void setType(const std::string& type);
std::string getWatermarkConfig()const;
void setWatermarkConfig(const std::string& watermarkConfig);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string name_;
std::string fileUrl_;
long ownerId_;
std::string type_;
std::string watermarkConfig_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_ADDWATERMARKREQUEST_H_

View 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_VOD_MODEL_ADDWATERMARKRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_ADDWATERMARKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT AddWatermarkResult : public ServiceResult
{
public:
struct WatermarkInfo
{
std::string isDefault;
std::string fileUrl;
std::string type;
std::string watermarkId;
std::string creationTime;
std::string watermarkConfig;
std::string name;
};
AddWatermarkResult();
explicit AddWatermarkResult(const std::string &payload);
~AddWatermarkResult();
WatermarkInfo getWatermarkInfo()const;
protected:
void parse(const std::string &payload);
private:
WatermarkInfo watermarkInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_ADDWATERMARKRESULT_H_

View File

@@ -50,7 +50,6 @@ namespace AlibabaCloud
long resourceOwnerId_;
std::string resourceOwnerAccount_;
bool force_;
long resourceRealOwnerId_;
long ownerId_;
std::string videoIds_;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT DeleteWatermarkRequest : public RpcServiceRequest
{
public:
DeleteWatermarkRequest();
~DeleteWatermarkRequest();
std::string getWatermarkId()const;
void setWatermarkId(const std::string& watermarkId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string watermarkId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT DeleteWatermarkResult : public ServiceResult
{
public:
DeleteWatermarkResult();
explicit DeleteWatermarkResult(const std::string &payload);
~DeleteWatermarkResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_DELETEWATERMARKRESULT_H_

View File

@@ -55,6 +55,8 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getStatus()const;
void setStatus(const std::string& status);
std::string getStorageLocation()const;
void setStorageLocation(const std::string& storageLocation);
private:
long resourceOwnerId_;
@@ -67,6 +69,7 @@ namespace AlibabaCloud
std::string startTime_;
long ownerId_;
std::string status_;
std::string storageLocation_;
};
}

View File

@@ -47,6 +47,7 @@ namespace AlibabaCloud
std::string cateName;
std::string creationTime;
std::string coverURL;
std::string storageLocation;
std::vector<std::string> snapshots;
std::string tags;
};

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOD_MODEL_GETWATERMARKREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_GETWATERMARKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT GetWatermarkRequest : public RpcServiceRequest
{
public:
GetWatermarkRequest();
~GetWatermarkRequest();
std::string getWatermarkId()const;
void setWatermarkId(const std::string& watermarkId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string watermarkId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_GETWATERMARKREQUEST_H_

View 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_VOD_MODEL_GETWATERMARKRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_GETWATERMARKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT GetWatermarkResult : public ServiceResult
{
public:
struct WatermarkInfo
{
std::string isDefault;
std::string fileUrl;
std::string type;
std::string watermarkId;
std::string creationTime;
std::string watermarkConfig;
std::string name;
};
GetWatermarkResult();
explicit GetWatermarkResult(const std::string &payload);
~GetWatermarkResult();
WatermarkInfo getWatermarkInfo()const;
protected:
void parse(const std::string &payload);
private:
WatermarkInfo watermarkInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_GETWATERMARKRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOD_MODEL_LISTWATERMARKREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_LISTWATERMARKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT ListWatermarkRequest : public RpcServiceRequest
{
public:
ListWatermarkRequest();
~ListWatermarkRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_LISTWATERMARKREQUEST_H_

View 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_VOD_MODEL_LISTWATERMARKRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_LISTWATERMARKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT ListWatermarkResult : public ServiceResult
{
public:
struct WatermarkInfo
{
std::string isDefault;
std::string fileUrl;
std::string type;
std::string watermarkId;
std::string creationTime;
std::string watermarkConfig;
std::string name;
};
ListWatermarkResult();
explicit ListWatermarkResult(const std::string &payload);
~ListWatermarkResult();
std::vector<WatermarkInfo> getWatermarkInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<WatermarkInfo> watermarkInfos_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_LISTWATERMARKRESULT_H_

View File

@@ -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_VOD_MODEL_REGISTERMEDIAREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_REGISTERMEDIAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT RegisterMediaRequest : public RpcServiceRequest
{
public:
RegisterMediaRequest();
~RegisterMediaRequest();
std::string getUserData()const;
void setUserData(const std::string& userData);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTemplateGroupId()const;
void setTemplateGroupId(const std::string& templateGroupId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getRegisterMetadatas()const;
void setRegisterMetadatas(const std::string& registerMetadatas);
std::string getWorkFlowId()const;
void setWorkFlowId(const std::string& workFlowId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string userData_;
long resourceOwnerId_;
std::string templateGroupId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string registerMetadatas_;
std::string workFlowId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_REGISTERMEDIAREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOD_MODEL_REGISTERMEDIARESULT_H_
#define ALIBABACLOUD_VOD_MODEL_REGISTERMEDIARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT RegisterMediaResult : public ServiceResult
{
public:
struct RegisteredMedia
{
std::string fileURL;
std::string mediaId;
bool newRegister;
};
RegisterMediaResult();
explicit RegisterMediaResult(const std::string &payload);
~RegisterMediaResult();
std::vector<std::string> getFailedFileURLs()const;
std::vector<RegisteredMedia> getRegisteredMediaList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> failedFileURLs_;
std::vector<RegisteredMedia> registeredMediaList_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_REGISTERMEDIARESULT_H_

View File

@@ -81,11 +81,29 @@ namespace AlibabaCloud
std::string tags;
std::string audioId;
};
struct Image
{
std::string ext;
std::string status;
std::string description;
std::string title;
std::string modificationTime;
long cateId;
std::string cateName;
std::string uRL;
std::string type;
std::string imageId;
std::string creationTime;
std::string regionId;
std::string storageLocation;
std::string tags;
};
std::string mediaId;
Video video;
std::string creationTime;
std::string mediaType;
Audio audio;
Image image;
};

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT SetDefaultWatermarkRequest : public RpcServiceRequest
{
public:
SetDefaultWatermarkRequest();
~SetDefaultWatermarkRequest();
std::string getWatermarkId()const;
void setWatermarkId(const std::string& watermarkId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string watermarkId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT SetDefaultWatermarkResult : public ServiceResult
{
public:
SetDefaultWatermarkResult();
explicit SetDefaultWatermarkResult(const std::string &payload);
~SetDefaultWatermarkResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_SETDEFAULTWATERMARKRESULT_H_

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getVideoId()const;
void setVideoId(const std::string& videoId);
std::string getOverrideParams()const;
void setOverrideParams(const std::string& overrideParams);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getEncryptConfig()const;
@@ -57,6 +59,7 @@ namespace AlibabaCloud
std::string templateGroupId_;
std::string resourceOwnerAccount_;
std::string videoId_;
std::string overrideParams_;
long ownerId_;
std::string encryptConfig_;
std::string accessKeyId_;

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKREQUEST_H_
#define ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT UpdateWatermarkRequest : public RpcServiceRequest
{
public:
UpdateWatermarkRequest();
~UpdateWatermarkRequest();
std::string getWatermarkId()const;
void setWatermarkId(const std::string& watermarkId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getName()const;
void setName(const std::string& name);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getWatermarkConfig()const;
void setWatermarkConfig(const std::string& watermarkConfig);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string watermarkId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string name_;
long ownerId_;
std::string watermarkConfig_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKREQUEST_H_

View 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_VOD_MODEL_UPDATEWATERMARKRESULT_H_
#define ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vod/VodExport.h>
namespace AlibabaCloud
{
namespace Vod
{
namespace Model
{
class ALIBABACLOUD_VOD_EXPORT UpdateWatermarkResult : public ServiceResult
{
public:
struct WatermarkInfo
{
std::string isDefault;
std::string fileUrl;
std::string type;
std::string watermarkId;
std::string creationTime;
std::string watermarkConfig;
std::string name;
};
UpdateWatermarkResult();
explicit UpdateWatermarkResult(const std::string &payload);
~UpdateWatermarkResult();
WatermarkInfo getWatermarkInfo()const;
protected:
void parse(const std::string &payload);
private:
WatermarkInfo watermarkInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_VOD_MODEL_UPDATEWATERMARKRESULT_H_