MTS SDK Auto Released By shenshi,Version:1.34.25

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-03-15 09:57:48 +08:00
parent 1da6c4aa18
commit 67a361ad2d
120 changed files with 10858 additions and 960 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_MTS_MODEL_ADDMCTEMPLATEREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT AddMCTemplateRequest : public RpcServiceRequest
{
public:
AddMCTemplateRequest();
~AddMCTemplateRequest();
std::string getPolitics()const;
void setPolitics(const std::string& politics);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getContraband()const;
void setContraband(const std::string& contraband);
std::string getAd()const;
void setAd(const std::string& ad);
std::string getAbuse()const;
void setAbuse(const std::string& abuse);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getQrcode()const;
void setQrcode(const std::string& qrcode);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPorn()const;
void setPorn(const std::string& porn);
std::string getTerrorism()const;
void setTerrorism(const std::string& terrorism);
std::string getName()const;
void setName(const std::string& name);
std::string getLogo()const;
void setLogo(const std::string& logo);
std::string getSpam()const;
void setSpam(const std::string& spam);
std::string getLive()const;
void setLive(const std::string& live);
private:
std::string politics_;
long resourceOwnerId_;
std::string contraband_;
std::string ad_;
std::string abuse_;
std::string resourceOwnerAccount_;
std::string qrcode_;
std::string ownerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string porn_;
std::string terrorism_;
std::string name_;
std::string logo_;
std::string spam_;
std::string live_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATEREQUEST_H_

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_MTS_MODEL_ADDMCTEMPLATERESULT_H_
#define ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT AddMCTemplateResult : public ServiceResult
{
public:
struct _Template
{
std::string contraband;
std::string ad;
std::string qrcode;
std::string terrorism;
std::string abuse;
std::string live;
std::string politics;
std::string porn;
std::string templateId;
std::string spam;
std::string name;
std::string logo;
};
AddMCTemplateResult();
explicit AddMCTemplateResult(const std::string &payload);
~AddMCTemplateResult();
_Template get_Template()const;
protected:
void parse(const std::string &payload);
private:
_Template _template_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_ADDMCTEMPLATERESULT_H_

View File

@@ -36,12 +36,15 @@ namespace AlibabaCloud
{
struct NotifyConfig
{
std::string mqTag;
std::string topic;
std::string mqTopic;
std::string queueName;
};
std::string role;
std::string speed;
long speedLevel;
long quotaAllocate;
std::string state;
NotifyConfig notifyConfig;
std::string id;

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
std::string scanMode;
std::string preset;
std::string fps;
std::string longShortMode;
std::string gop;
std::string remove;
BitrateBnd bitrateBnd;
@@ -65,6 +66,7 @@ namespace AlibabaCloud
std::string height;
std::string degrain;
std::string width;
std::string resoPriority;
};
struct Audio
{
@@ -106,7 +108,12 @@ namespace AlibabaCloud
std::string ditherMode;
std::string isCustomPalette;
};
struct Webp
{
std::string loop;
};
Gif gif;
Webp webp;
Segment segment;
};
Container container;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -39,8 +39,12 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getNextPageToken()const;
void setNextPageToken(const std::string& nextPageToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
int getMaximumPageSize()const;
void setMaximumPageSize(int maximumPageSize);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
@@ -49,7 +53,9 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string nextPageToken_;
std::string ownerAccount_;
int maximumPageSize_;
long ownerId_;
std::string accessKeyId_;

View File

@@ -42,11 +42,13 @@ namespace AlibabaCloud
ListAllMediaBucketResult();
explicit ListAllMediaBucketResult(const std::string &payload);
~ListAllMediaBucketResult();
std::string getNextPageToken()const;
std::vector<MediaBucket> getMediaBucketList()const;
protected:
void parse(const std::string &payload);
private:
std::string nextPageToken_;
std::vector<MediaBucket> mediaBucketList_;
};

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryFpImportResultRequest : public RpcServiceRequest
{
public:
QueryFpImportResultRequest();
~QueryFpImportResultRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getPageSize()const;
void setPageSize(long pageSize);
long getEndTime()const;
void setEndTime(long endTime);
long getPageIndex()const;
void setPageIndex(long pageIndex);
long getStartTime()const;
void setStartTime(long startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long pageSize_;
long endTime_;
long pageIndex_;
long startTime_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryFpImportResultResult : public ServiceResult
{
public:
struct PageInfo
{
long pageSize;
long total;
long pageIndex;
};
struct FpResultLogInfo
{
long logStartTime;
long logSize;
long createTime;
long logEndTime;
std::string logName;
std::string logPath;
};
QueryFpImportResultResult();
explicit QueryFpImportResultResult(const std::string &payload);
~QueryFpImportResultResult();
PageInfo getPageInfo()const;
std::vector<FpResultLogInfo> getFpResultLogInfoList()const;
long getLogCount()const;
protected:
void parse(const std::string &payload);
private:
PageInfo pageInfo_;
std::vector<FpResultLogInfo> fpResultLogInfoList_;
long logCount_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYFPIMPORTRESULTRESULT_H_

View File

@@ -39,22 +39,43 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getJobIds()const;
void setJobIds(const std::string& jobIds);
std::string getNextPageToken()const;
void setNextPageToken(const std::string& nextPageToken);
std::string getStartOfJobCreatedTimeRange()const;
void setStartOfJobCreatedTimeRange(const std::string& startOfJobCreatedTimeRange);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getMaximumPageSize()const;
void setMaximumPageSize(long maximumPageSize);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPipelineId()const;
void setPipelineId(const std::string& pipelineId);
std::string getPrimaryKeyList()const;
void setPrimaryKeyList(const std::string& primaryKeyList);
std::string getJobIds()const;
void setJobIds(const std::string& jobIds);
std::string getState()const;
void setState(const std::string& state);
std::string getEndOfJobCreatedTimeRange()const;
void setEndOfJobCreatedTimeRange(const std::string& endOfJobCreatedTimeRange);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string jobIds_;
std::string nextPageToken_;
std::string startOfJobCreatedTimeRange_;
std::string ownerAccount_;
long maximumPageSize_;
long ownerId_;
std::string accessKeyId_;
std::string pipelineId_;
std::string primaryKeyList_;
std::string jobIds_;
std::string state_;
std::string endOfJobCreatedTimeRange_;
};
}

View File

@@ -40,6 +40,11 @@ namespace AlibabaCloud
std::string object;
std::string location;
};
struct FpShotConfig
{
std::string saveType;
std::string primaryKey;
};
struct FpShotResult
{
struct FpShot
@@ -63,8 +68,31 @@ namespace AlibabaCloud
std::string primaryKey;
std::vector<FpShot::FpShotSlice> fpShotSlices;
};
struct FpShot
{
struct FpShotSlice
{
struct Input
{
std::string start;
std::string duration;
};
struct Duplication
{
std::string start;
std::string duration;
};
Input input;
Duplication duplication;
};
std::string similarity;
std::string primaryKey;
std::vector<FpShot::FpShotSlice> fpShotSlices;
};
std::vector<FpShot> audioFpShots;
std::vector<FpShot> fpShots;
};
FpShotConfig fpShotConfig;
std::string message;
std::string finishTime;
std::string userData;
@@ -72,6 +100,7 @@ namespace AlibabaCloud
FpShotResult fpShotResult;
std::string creationTime;
std::string pipelineId;
std::string fileId;
std::string id;
std::string code;
InputFile inputFile;
@@ -81,12 +110,16 @@ namespace AlibabaCloud
QueryFpShotJobListResult();
explicit QueryFpShotJobListResult(const std::string &payload);
~QueryFpShotJobListResult();
std::string getNextPageToken()const;
std::vector<std::string> getNonExistPrimaryKeys()const;
std::vector<FpShotJob> getFpShotJobList()const;
std::vector<std::string> getNonExistIds()const;
protected:
void parse(const std::string &payload);
private:
std::string nextPageToken_;
std::vector<std::string> nonExistPrimaryKeys_;
std::vector<FpShotJob> fpShotJobList_;
std::vector<std::string> nonExistIds_;

View File

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

View File

@@ -0,0 +1,89 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_MTS_MODEL_QUERYIMAGESEARCHJOBLISTRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryImageSearchJobListResult : public ServiceResult
{
public:
struct ImageSearchJob
{
struct InputVideo
{
std::string bucket;
std::string object;
std::string location;
};
struct InputImage
{
std::string bucket;
std::string object;
std::string location;
};
struct Result
{
struct ImageSearchShotsItem
{
std::string matchedFrame;
std::string similarity;
std::string matchedTimestamp;
};
std::vector<ImageSearchShotsItem> imageSearchShots;
};
std::string message;
std::string finishTime;
InputVideo inputVideo;
std::string userData;
std::string state;
std::string creationTime;
std::string pipelineId;
std::string id;
std::string code;
InputImage inputImage;
Result result;
};
QueryImageSearchJobListResult();
explicit QueryImageSearchJobListResult(const std::string &payload);
~QueryImageSearchJobListResult();
std::vector<ImageSearchJob> getImageSearchJobList()const;
std::vector<std::string> getNonExistIds()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ImageSearchJob> imageSearchJobList_;
std::vector<std::string> nonExistIds_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYIMAGESEARCHJOBLISTRESULT_H_

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryMCJobListRequest : public RpcServiceRequest
{
public:
QueryMCJobListRequest();
~QueryMCJobListRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getNextPageToken()const;
void setNextPageToken(const std::string& nextPageToken);
std::string getStartOfJobCreatedTimeRange()const;
void setStartOfJobCreatedTimeRange(const std::string& startOfJobCreatedTimeRange);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getMaximumPageSize()const;
void setMaximumPageSize(long maximumPageSize);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPipelineId()const;
void setPipelineId(const std::string& pipelineId);
std::string getJobIds()const;
void setJobIds(const std::string& jobIds);
std::string getState()const;
void setState(const std::string& state);
std::string getEndOfJobCreatedTimeRange()const;
void setEndOfJobCreatedTimeRange(const std::string& endOfJobCreatedTimeRange);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string nextPageToken_;
std::string startOfJobCreatedTimeRange_;
std::string ownerAccount_;
long maximumPageSize_;
long ownerId_;
std::string accessKeyId_;
std::string pipelineId_;
std::string jobIds_;
std::string state_;
std::string endOfJobCreatedTimeRange_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTREQUEST_H_

View File

@@ -0,0 +1,406 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_MTS_MODEL_QUERYMCJOBLISTRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryMCJobListResult : public ServiceResult
{
public:
struct Job
{
struct Result
{
struct PornResult
{
struct PornVideo
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
};
struct PornAudio
{
std::string suggestion;
std::string score;
std::string endTime;
std::string startTime;
std::string text;
std::string object;
};
struct PornText
{
std::string suggestion;
std::string score;
std::string text;
};
struct PornImage
{
std::string suggestion;
std::string score;
std::string text;
std::string url;
};
struct PornOcr
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
std::string text;
};
std::vector<PornImage> pornImages;
std::vector<PornAudio> pornAudios;
std::vector<PornVideo> pornVideos;
std::vector<PornText> pornTexts;
std::vector<PornOcr> pornOcrs;
};
struct TerrorismResult
{
struct TerrorismVideo
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
};
struct TerrorismAudio
{
std::string suggestion;
std::string score;
std::string endTime;
std::string startTime;
std::string text;
std::string object;
};
struct TerrorismText
{
std::string suggestion;
std::string score;
std::string text;
};
struct TerrorismImage
{
std::string suggestion;
std::string score;
std::string text;
std::string url;
};
struct TerrorismOcr
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
std::string text;
};
std::vector<TerrorismAudio> terrorismAudios;
std::vector<TerrorismText> terrorismTexts;
std::vector<TerrorismImage> terrorismImages;
std::vector<TerrorismOcr> terrorismOcrs;
std::vector<TerrorismVideo> terrorismVideos;
};
struct PoliticsResult
{
struct PoliticsVideo
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
};
struct PoliticsAudio
{
std::string suggestion;
std::string score;
std::string endTime;
std::string startTime;
std::string text;
std::string object;
};
struct PoliticsText
{
std::string suggestion;
std::string score;
std::string text;
};
struct PoliticsImage
{
std::string suggestion;
std::string score;
std::string text;
std::string url;
};
struct PoliticsOcr
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
std::string text;
};
std::vector<PoliticsText> politicsTexts;
std::vector<PoliticsVideo> politicsVideos;
std::vector<PoliticsAudio> politicsAudios;
std::vector<PoliticsOcr> politicsOcrs;
std::vector<PoliticsImage> politicsImages;
};
struct AdResult
{
struct AdVideo
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
};
struct AdAudio
{
std::string suggestion;
std::string score;
std::string endTime;
std::string startTime;
std::string text;
std::string object;
};
struct AdText
{
std::string suggestion;
std::string score;
std::string text;
};
struct AdImage
{
std::string suggestion;
std::string score;
std::string text;
std::string url;
};
struct AdOcr
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
std::string text;
};
std::vector<AdImage> adImages;
std::vector<AdAudio> adAudios;
std::vector<AdVideo> adVideos;
std::vector<AdOcr> adOcrs;
std::vector<AdText> adTexts;
};
struct QrcodeResult
{
struct QrcodeVideo
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
};
struct QrcodeImage
{
std::string suggestion;
std::string score;
std::string text;
std::string url;
};
std::vector<QrcodeVideo> qrcodeVideos;
std::vector<QrcodeImage> qrcodeImages;
};
struct LiveResult
{
struct LiveVideo
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
};
struct LiveImage
{
std::string suggestion;
std::string score;
std::string text;
std::string url;
};
std::vector<LiveVideo> liveVideos;
std::vector<LiveImage> liveImages;
};
struct LogoResult
{
struct LogoVideo
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
};
struct LogoImage
{
std::string suggestion;
std::string score;
std::string text;
std::string url;
};
std::vector<LogoImage> logoImages;
std::vector<LogoVideo> logoVideos;
};
struct AbuseResult
{
struct AbuseAudio
{
std::string suggestion;
std::string score;
std::string endTime;
std::string startTime;
std::string text;
std::string object;
};
struct AbuseText
{
std::string suggestion;
std::string score;
std::string text;
};
struct AbuseOcr
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
std::string text;
};
std::vector<AbuseOcr> abuseOcrs;
std::vector<AbuseText> abuseTexts;
std::vector<AbuseAudio> abuseAudios;
};
struct ContrabandResult
{
struct ContrabandAudio
{
std::string suggestion;
std::string score;
std::string endTime;
std::string startTime;
std::string text;
std::string object;
};
struct ContrabandText
{
std::string suggestion;
std::string score;
std::string text;
};
struct ContrabandOcr
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
std::string text;
};
std::vector<ContrabandText> contrabandTexts;
std::vector<ContrabandOcr> contrabandOcrs;
std::vector<ContrabandAudio> contrabandAudios;
};
struct SpamResult
{
struct SpamAudio
{
std::string suggestion;
std::string score;
std::string endTime;
std::string startTime;
std::string text;
std::string object;
};
struct SpamText
{
std::string suggestion;
std::string score;
std::string text;
};
struct SpamOcr
{
std::string suggestion;
std::string score;
std::string time;
std::string object;
std::string text;
};
std::vector<SpamAudio> spamAudios;
std::vector<SpamText> spamTexts;
std::vector<SpamOcr> spamOcrs;
};
LogoResult logoResult;
std::string suggestion;
std::string score;
PoliticsResult politicsResult;
QrcodeResult qrcodeResult;
AbuseResult abuseResult;
TerrorismResult terrorismResult;
LiveResult liveResult;
SpamResult spamResult;
PornResult pornResult;
AdResult adResult;
ContrabandResult contrabandResult;
};
std::string message;
std::string resultOutputFile;
std::string userData;
std::string state;
std::string creationTime;
std::string pipelineId;
std::string code;
std::string jobId;
Result result;
};
QueryMCJobListResult();
explicit QueryMCJobListResult(const std::string &payload);
~QueryMCJobListResult();
std::string getNextPageToken()const;
std::vector<Job> getJobList()const;
std::vector<std::string> getNonExistIds()const;
protected:
void parse(const std::string &payload);
private:
std::string nextPageToken_;
std::vector<Job> jobList_;
std::vector<std::string> nonExistIds_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCJOBLISTRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryMCTemplateListRequest : public RpcServiceRequest
{
public:
QueryMCTemplateListRequest();
~QueryMCTemplateListRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTemplateIds()const;
void setTemplateIds(const std::string& templateIds);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string templateIds_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTREQUEST_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_MTS_MODEL_QUERYMCTEMPLATELISTRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryMCTemplateListResult : public ServiceResult
{
public:
struct _Template
{
std::string ad;
std::string qrcode;
std::string terrorism;
std::string abuse;
std::string live;
std::string spam;
std::string name;
std::string logo;
std::string contraband;
std::string state;
std::string politics;
std::string porn;
std::string templateId;
};
QueryMCTemplateListResult();
explicit QueryMCTemplateListResult(const std::string &payload);
~QueryMCTemplateListResult();
std::vector<_Template> getTemplateList()const;
std::vector<std::string> getNonExistTids()const;
protected:
void parse(const std::string &payload);
private:
std::vector<_Template> templateList_;
std::vector<std::string> nonExistTids_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCTEMPLATELISTRESULT_H_

View File

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

View File

@@ -0,0 +1,128 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_MTS_MODEL_QUERYMCUJOBRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryMcuJobResult : public ServiceResult
{
public:
struct Job
{
struct Input
{
std::string bucket;
std::string object;
std::string location;
};
struct AsrResult
{
struct AsrText
{
std::string endTime;
int startTime;
std::string text;
std::string channelId;
std::string speechRate;
};
std::vector<AsrText> asrTextList;
std::string duration;
};
struct CategoryResult
{
struct Category
{
std::string score;
std::string label;
};
std::string details;
std::vector<Category> categories;
};
struct Ocr
{
std::string ocrText;
std::string imageId;
std::string imageUrl;
std::string time;
};
struct Tag
{
struct FrameTagInfo
{
std::string score;
std::string category;
std::string tag;
};
std::string imageId;
std::string imageUrl;
std::string time;
std::vector<Tag::FrameTagInfo> frameTagInfos;
};
struct Face
{
struct Celebrity
{
std::string score;
std::string target;
std::string name;
};
std::vector<Face::Celebrity> celebrities;
std::string imageId;
std::string imageUrl;
std::string time;
};
std::vector<Job::Ocr> ocrResult;
Input input;
std::string _template;
CategoryResult categoryResult;
std::vector<Job::Face> faceResult;
std::string userData;
AsrResult asrResult;
std::vector<Job::Tag> tagResult;
std::string jobId;
std::string templateId;
};
QueryMcuJobResult();
explicit QueryMcuJobResult(const std::string &payload);
~QueryMcuJobResult();
std::vector<std::string> getNonExistJobIds()const;
std::vector<Job> getJobResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> nonExistJobIds_;
std::vector<Job> jobResult_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCUJOBRESULT_H_

View File

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

View 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.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATERESULT_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryMcuTemplateResult : public ServiceResult
{
public:
struct Job
{
std::string _template;
std::string templateId;
};
QueryMcuTemplateResult();
explicit QueryMcuTemplateResult(const std::string &payload);
~QueryMcuTemplateResult();
std::vector<Job> getTemplates()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Job> templates_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMCUTEMPLATERESULT_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_MTS_MODEL_QUERYMEDIACENSORJOBDETAILREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIACENSORJOBDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryMediaCensorJobDetailRequest : public RpcServiceRequest
{
public:
QueryMediaCensorJobDetailRequest();
~QueryMediaCensorJobDetailRequest();
std::string getJobId()const;
void setJobId(const std::string& jobId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getNextPageToken()const;
void setNextPageToken(const std::string& nextPageToken);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getMaximumPageSize()const;
void setMaximumPageSize(long maximumPageSize);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string jobId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string nextPageToken_;
std::string ownerAccount_;
long maximumPageSize_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIACENSORJOBDETAILREQUEST_H_

View File

@@ -0,0 +1,148 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_MTS_MODEL_QUERYMEDIACENSORJOBDETAILRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIACENSORJOBDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryMediaCensorJobDetailResult : public ServiceResult
{
public:
struct MediaCensorJobDetail
{
struct TitleCensorResult
{
std::string suggestion;
std::string rate;
std::string label;
std::string scene;
};
struct DescCensorResult
{
std::string suggestion;
std::string rate;
std::string label;
std::string scene;
};
struct BarrageCensorResult
{
std::string suggestion;
std::string rate;
std::string label;
std::string scene;
};
struct Input
{
std::string bucket;
std::string object;
std::string location;
};
struct VideoCensorConfig
{
struct OutputFile
{
std::string bucket;
std::string object;
std::string location;
};
OutputFile outputFile;
std::string videoCensor;
std::string bizType;
};
struct VensorCensorResult
{
struct CensorResult
{
std::string suggestion;
std::string rate;
std::string label;
std::string scene;
};
struct VideoTimeline
{
struct CensorResult2
{
std::string suggestion;
std::string rate;
std::string label;
std::string scene;
};
std::vector<VideoTimeline::CensorResult2> censorResults1;
std::string object;
std::string timestamp;
};
std::vector<CensorResult> censorResults;
std::string nextPageToken;
std::vector<VideoTimeline> videoTimelines;
};
struct CoverImageCensorResult
{
struct Result
{
std::string suggestion;
std::string rate;
std::string label;
std::string scene;
};
std::vector<CoverImageCensorResult::Result> results;
std::string bucket;
std::string object;
std::string location;
};
std::string message;
DescCensorResult descCensorResult;
std::string userData;
std::vector<CoverImageCensorResult> coverImageCensorResults;
std::string code;
std::string suggestion;
Input input;
VensorCensorResult vensorCensorResult;
std::string state;
BarrageCensorResult barrageCensorResult;
std::string creationTime;
std::string pipelineId;
VideoCensorConfig videoCensorConfig;
std::string id;
TitleCensorResult titleCensorResult;
};
QueryMediaCensorJobDetailResult();
explicit QueryMediaCensorJobDetailResult(const std::string &payload);
~QueryMediaCensorJobDetailResult();
MediaCensorJobDetail getMediaCensorJobDetail()const;
protected:
void parse(const std::string &payload);
private:
MediaCensorJobDetail mediaCensorJobDetail_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIACENSORJOBDETAILRESULT_H_

View File

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

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_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryMediaFpDeleteJobListResult : public ServiceResult
{
public:
struct MediaFpDeleteJob
{
std::string message;
std::string finishTime;
std::string userData;
std::string state;
std::string creationTime;
std::string pipelineId;
std::string primaryKey;
std::string id;
std::string code;
std::string fpDBId;
};
QueryMediaFpDeleteJobListResult();
explicit QueryMediaFpDeleteJobListResult(const std::string &payload);
~QueryMediaFpDeleteJobListResult();
std::vector<std::string> getNonExistIds()const;
std::vector<MediaFpDeleteJob> getMediaFpDeleteJobList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> nonExistIds_;
std::vector<MediaFpDeleteJob> mediaFpDeleteJobList_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYMEDIAFPDELETEJOBLISTRESULT_H_

View File

@@ -36,12 +36,15 @@ namespace AlibabaCloud
{
struct NotifyConfig
{
std::string mqTag;
std::string topic;
std::string mqTopic;
std::string queueName;
};
std::string role;
std::string speed;
long speedLevel;
long quotaAllocate;
std::string state;
NotifyConfig notifyConfig;
std::string id;

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
std::string scanMode;
std::string preset;
std::string fps;
std::string longShortMode;
std::string gop;
std::string remove;
BitrateBnd bitrateBnd;
@@ -65,6 +66,7 @@ namespace AlibabaCloud
std::string height;
std::string degrain;
std::string width;
std::string resoPriority;
};
struct Audio
{
@@ -100,7 +102,12 @@ namespace AlibabaCloud
std::string ditherMode;
std::string isCustomPalette;
};
struct Webp
{
std::string loop;
};
Gif gif;
Webp webp;
Segment segment;
};
Container container;

View File

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

View File

@@ -0,0 +1,190 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_MTS_MODEL_QUERYVIDEOPOSEJOBLISTRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT QueryVideoPoseJobListResult : public ServiceResult
{
public:
struct Job
{
struct Input
{
std::string bucket;
std::string object;
std::string roleArn;
std::string location;
};
struct OutputConfig
{
struct VideoFile
{
std::string bucket;
std::string object;
std::string roleArn;
std::string location;
};
struct DataFile
{
std::string bucket;
std::string object;
std::string roleArn;
std::string location;
};
DataFile dataFile;
VideoFile videoFile;
};
struct Properties
{
struct Streams
{
struct VideoStream
{
struct NetworkCost
{
std::string avgBitrate;
std::string preloadTime;
std::string costBandwidth;
};
std::string codecTag;
std::string codecTimeBase;
std::string rotate;
std::string sar;
std::string fps;
std::string startTime;
std::string index;
std::string duration;
std::string lang;
std::string pixFmt;
NetworkCost networkCost;
std::string codecName;
std::string bitrate;
std::string profile;
std::string avgFPS;
std::string timebase;
std::string codecTagString;
std::string hasBFrames;
std::string dar;
std::string codecLongName;
std::string height;
std::string level;
std::string width;
std::string numFrames;
};
struct AudioStream
{
std::string codecTag;
std::string codecTimeBase;
std::string channelLayout;
std::string startTime;
std::string index;
std::string duration;
std::string lang;
std::string sampleFmt;
std::string codecName;
std::string samplerate;
std::string bitrate;
std::string channels;
std::string timebase;
std::string codecTagString;
std::string codecLongName;
std::string numFrames;
};
struct SubtitleStream
{
std::string codecTag;
std::string timebase;
std::string codecTagString;
std::string codecTimeBase;
std::string codecLongName;
std::string startTime;
std::string index;
std::string duration;
std::string lang;
std::string codecName;
};
std::vector<VideoStream> videoStreamList;
std::vector<SubtitleStream> subtitleStreamList;
std::vector<AudioStream> audioStreamList;
};
struct Format
{
std::string numPrograms;
std::string size;
std::string formatLongName;
std::string startTime;
std::string numStreams;
std::string formatName;
std::string duration;
std::string bitrate;
};
Format format;
std::string fps;
std::string height;
std::string duration;
std::string fileFormat;
std::string width;
std::string bitrate;
Streams streams;
std::string fileSize;
};
struct MNSMessageResult
{
std::string errorCode;
std::string errorMessage;
std::string messageId;
};
Input input;
OutputConfig outputConfig;
std::string userData;
std::string state;
MNSMessageResult mNSMessageResult;
std::string pipelineId;
Properties properties;
std::string jobId;
};
QueryVideoPoseJobListResult();
explicit QueryVideoPoseJobListResult(const std::string &payload);
~QueryVideoPoseJobListResult();
std::vector<std::string> getNonExistJobIds()const;
std::vector<Job> getJobList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> nonExistJobIds_;
std::vector<Job> jobList_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_QUERYVIDEOPOSEJOBLISTRESULT_H_

View File

@@ -36,12 +36,15 @@ namespace AlibabaCloud
{
struct NotifyConfig
{
std::string mqTag;
std::string topic;
std::string mqTopic;
std::string queueName;
};
std::string role;
std::string speed;
long speedLevel;
long quotaAllocate;
std::string state;
NotifyConfig notifyConfig;
std::string id;

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
std::string scanMode;
std::string preset;
std::string fps;
std::string longShortMode;
std::string gop;
std::string remove;
BitrateBnd bitrateBnd;

View 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.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT SubmitImageSearchJobRequest : public RpcServiceRequest
{
public:
SubmitImageSearchJobRequest();
~SubmitImageSearchJobRequest();
std::string getInputImage()const;
void setInputImage(const std::string& inputImage);
std::string getUserData()const;
void setUserData(const std::string& userData);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getFpDBId()const;
void setFpDBId(const std::string& fpDBId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getInputVideo()const;
void setInputVideo(const std::string& inputVideo);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getConfig()const;
void setConfig(const std::string& config);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPipelineId()const;
void setPipelineId(const std::string& pipelineId);
private:
std::string inputImage_;
std::string userData_;
long resourceOwnerId_;
std::string fpDBId_;
std::string resourceOwnerAccount_;
std::string inputVideo_;
std::string ownerAccount_;
long ownerId_;
std::string config_;
std::string accessKeyId_;
std::string pipelineId_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITIMAGESEARCHJOBREQUEST_H_

View File

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

View File

@@ -334,6 +334,14 @@ namespace AlibabaCloud
std::string map;
bool success;
};
struct Amix
{
std::string amixURL;
std::string start;
std::string mixDurMode;
std::string duration;
std::string map;
};
std::string rotate;
DigiWaterMark digiWaterMark;
std::string userData;
@@ -351,6 +359,7 @@ namespace AlibabaCloud
std::string templateId;
OutputFile outputFile;
std::vector<TailSlate> tailSlateList;
std::vector<Amix> amixList;
std::string priority;
std::string mergeConfigUrl;
std::string deWatermark;

View 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.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT SubmitMCJobRequest : public RpcServiceRequest
{
public:
SubmitMCJobRequest();
~SubmitMCJobRequest();
std::string getUserData()const;
void setUserData(const std::string& userData);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getImages()const;
void setImages(const std::string& images);
std::string getTexts()const;
void setTexts(const std::string& texts);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getVideo()const;
void setVideo(const std::string& video);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getCensorConfig()const;
void setCensorConfig(const std::string& censorConfig);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPipelineId()const;
void setPipelineId(const std::string& pipelineId);
private:
std::string userData_;
long resourceOwnerId_;
std::string images_;
std::string texts_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string video_;
long ownerId_;
std::string censorConfig_;
std::string accessKeyId_;
std::string pipelineId_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBRESULT_H_
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT SubmitCensorJobResult : public ServiceResult
class ALIBABACLOUD_MTS_EXPORT SubmitMCJobResult : public ServiceResult
{
public:
SubmitCensorJobResult();
explicit SubmitCensorJobResult(const std::string &payload);
~SubmitCensorJobResult();
SubmitMCJobResult();
explicit SubmitMCJobResult(const std::string &payload);
~SubmitMCJobResult();
std::string getJobId()const;
protected:
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBRESULT_H_
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMCJOBRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT SubmitMcuJobRequest : public RpcServiceRequest
{
public:
SubmitMcuJobRequest();
~SubmitMcuJobRequest();
std::string get_Template()const;
void set_Template(const std::string& _template);
std::string getInput()const;
void setInput(const std::string& input);
std::string getUserData()const;
void setUserData(const std::string& userData);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPipelineId()const;
void setPipelineId(const std::string& pipelineId);
private:
std::string _template_;
std::string input_;
std::string userData_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string templateId_;
std::string accessKeyId_;
std::string pipelineId_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMCUJOBREQUEST_H_

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBREQUEST_H_
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMEDIACENSORJOBREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_SUBMITMEDIACENSORJOBREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT SubmitCensorJobRequest : public RpcServiceRequest
class ALIBABACLOUD_MTS_EXPORT SubmitMediaCensorJobRequest : public RpcServiceRequest
{
public:
SubmitCensorJobRequest();
~SubmitCensorJobRequest();
SubmitMediaCensorJobRequest();
~SubmitMediaCensorJobRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
@@ -49,12 +49,12 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getTitle()const;
void setTitle(const std::string& title);
std::string getCensorConfig()const;
void setCensorConfig(const std::string& censorConfig);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPipelineId()const;
void setPipelineId(const std::string& pipelineId);
std::string getVideoCensorConfig()const;
void setVideoCensorConfig(const std::string& videoCensorConfig);
std::string getInput()const;
void setInput(const std::string& input);
std::string getUserData()const;
@@ -70,9 +70,9 @@ namespace AlibabaCloud
std::string description_;
long ownerId_;
std::string title_;
std::string censorConfig_;
std::string accessKeyId_;
std::string pipelineId_;
std::string videoCensorConfig_;
std::string input_;
std::string userData_;
std::string barrages_;
@@ -81,4 +81,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITCENSORJOBREQUEST_H_
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMEDIACENSORJOBREQUEST_H_

View File

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

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT SubmitMediaFpDeleteJobRequest : public RpcServiceRequest
{
public:
SubmitMediaFpDeleteJobRequest();
~SubmitMediaFpDeleteJobRequest();
std::string getUserData()const;
void setUserData(const std::string& userData);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getFpDBId()const;
void setFpDBId(const std::string& fpDBId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPipelineId()const;
void setPipelineId(const std::string& pipelineId);
std::string getPrimaryKey()const;
void setPrimaryKey(const std::string& primaryKey);
private:
std::string userData_;
long resourceOwnerId_;
std::string fpDBId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string pipelineId_;
std::string primaryKey_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITMEDIAFPDELETEJOBREQUEST_H_

View File

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

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT SubmitVideoPoseJobRequest : public RpcServiceRequest
{
public:
SubmitVideoPoseJobRequest();
~SubmitVideoPoseJobRequest();
std::string getInput()const;
void setInput(const std::string& input);
std::string getUserData()const;
void setUserData(const std::string& userData);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getOutputConfig()const;
void setOutputConfig(const std::string& outputConfig);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPipelineId()const;
void setPipelineId(const std::string& pipelineId);
private:
std::string input_;
std::string userData_;
long resourceOwnerId_;
std::string outputConfig_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string pipelineId_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBREQUEST_H_

View File

@@ -0,0 +1,188 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_MTS_MODEL_SUBMITVIDEOPOSEJOBRESULT_H_
#define ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT SubmitVideoPoseJobResult : public ServiceResult
{
public:
struct VideoPoseJob
{
struct Input
{
std::string bucket;
std::string object;
std::string roleArn;
std::string location;
};
struct OutputConfig
{
struct VideoFile
{
std::string bucket;
std::string object;
std::string roleArn;
std::string location;
};
struct DataFile
{
std::string bucket;
std::string object;
std::string roleArn;
std::string location;
};
DataFile dataFile;
VideoFile videoFile;
};
struct Properties
{
struct Streams
{
struct VideoStream
{
struct NetworkCost
{
std::string avgBitrate;
std::string preloadTime;
std::string costBandwidth;
};
std::string codecTag;
std::string codecTimeBase;
std::string rotate;
std::string sar;
std::string fps;
std::string startTime;
std::string index;
std::string duration;
std::string lang;
std::string pixFmt;
NetworkCost networkCost;
std::string codecName;
std::string bitrate;
std::string profile;
std::string avgFPS;
std::string timebase;
std::string codecTagString;
std::string hasBFrames;
std::string dar;
std::string codecLongName;
std::string height;
std::string level;
std::string width;
std::string numFrames;
};
struct AudioStream
{
std::string codecTag;
std::string codecTimeBase;
std::string channelLayout;
std::string startTime;
std::string index;
std::string duration;
std::string lang;
std::string sampleFmt;
std::string codecName;
std::string samplerate;
std::string bitrate;
std::string channels;
std::string timebase;
std::string codecTagString;
std::string codecLongName;
std::string numFrames;
};
struct SubtitleStream
{
std::string codecTag;
std::string timebase;
std::string codecTagString;
std::string codecTimeBase;
std::string codecLongName;
std::string startTime;
std::string index;
std::string duration;
std::string lang;
std::string codecName;
};
std::vector<VideoStream> videoStreamList;
std::vector<SubtitleStream> subtitleStreamList;
std::vector<AudioStream> audioStreamList;
};
struct Format
{
std::string numPrograms;
std::string size;
std::string formatLongName;
std::string startTime;
std::string numStreams;
std::string formatName;
std::string duration;
std::string bitrate;
};
Format format;
std::string fps;
std::string height;
std::string duration;
std::string fileFormat;
std::string width;
std::string bitrate;
Streams streams;
std::string fileSize;
};
struct MNSMessageResult
{
std::string errorCode;
std::string errorMessage;
std::string messageId;
};
Input input;
OutputConfig outputConfig;
std::string userData;
std::string state;
MNSMessageResult mNSMessageResult;
std::string pipelineId;
Properties properties;
std::string jobId;
};
SubmitVideoPoseJobResult();
explicit SubmitVideoPoseJobResult(const std::string &payload);
~SubmitVideoPoseJobResult();
VideoPoseJob getVideoPoseJob()const;
protected:
void parse(const std::string &payload);
private:
VideoPoseJob videoPoseJob_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_SUBMITVIDEOPOSEJOBRESULT_H_

View File

@@ -0,0 +1,96 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_MTS_MODEL_UPDATEMCTEMPLATEREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT UpdateMCTemplateRequest : public RpcServiceRequest
{
public:
UpdateMCTemplateRequest();
~UpdateMCTemplateRequest();
std::string getPolitics()const;
void setPolitics(const std::string& politics);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getContraband()const;
void setContraband(const std::string& contraband);
std::string getAd()const;
void setAd(const std::string& ad);
std::string getAbuse()const;
void setAbuse(const std::string& abuse);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getQrcode()const;
void setQrcode(const std::string& qrcode);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPorn()const;
void setPorn(const std::string& porn);
std::string getTerrorism()const;
void setTerrorism(const std::string& terrorism);
std::string getName()const;
void setName(const std::string& name);
std::string getLogo()const;
void setLogo(const std::string& logo);
std::string getSpam()const;
void setSpam(const std::string& spam);
std::string getLive()const;
void setLive(const std::string& live);
private:
std::string politics_;
long resourceOwnerId_;
std::string contraband_;
std::string ad_;
std::string abuse_;
std::string resourceOwnerAccount_;
std::string qrcode_;
std::string ownerAccount_;
long ownerId_;
std::string templateId_;
std::string accessKeyId_;
std::string porn_;
std::string terrorism_;
std::string name_;
std::string logo_;
std::string spam_;
std::string live_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_MTS_MODEL_UPDATEMCTEMPLATERESULT_H_
#define ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT UpdateMCTemplateResult : public ServiceResult
{
public:
struct _Template
{
std::string ad;
std::string qrcode;
std::string terrorism;
std::string abuse;
std::string live;
std::string spam;
std::string name;
std::string logo;
std::string contraband;
std::string state;
std::string politics;
std::string porn;
std::string templateId;
};
UpdateMCTemplateResult();
explicit UpdateMCTemplateResult(const std::string &payload);
~UpdateMCTemplateResult();
_Template get_Template()const;
protected:
void parse(const std::string &payload);
private:
_Template _template_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEMCTEMPLATERESULT_H_

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_MTS_MODEL_UPDATEMCUTEMPLATEREQUEST_H_
#define ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/mts/MtsExport.h>
namespace AlibabaCloud
{
namespace Mts
{
namespace Model
{
class ALIBABACLOUD_MTS_EXPORT UpdateMcuTemplateRequest : public RpcServiceRequest
{
public:
UpdateMcuTemplateRequest();
~UpdateMcuTemplateRequest();
std::string get_Template()const;
void set_Template(const std::string& _template);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string _template_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string templateId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_MTS_MODEL_UPDATEMCUTEMPLATEREQUEST_H_

View File

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

View File

@@ -36,11 +36,14 @@ namespace AlibabaCloud
{
struct NotifyConfig
{
std::string mqTag;
std::string topic;
std::string mqTopic;
std::string queueName;
};
std::string role;
std::string speed;
long quotaAllocate;
std::string state;
NotifyConfig notifyConfig;
std::string id;

View File

@@ -49,6 +49,7 @@ namespace AlibabaCloud
std::string qscale;
std::string scanMode;
std::string preset;
std::string longShortMode;
std::string fps;
std::string gop;
std::string remove;
@@ -65,6 +66,7 @@ namespace AlibabaCloud
std::string height;
std::string degrain;
std::string width;
std::string resoPriority;
};
struct Audio
{
@@ -100,7 +102,12 @@ namespace AlibabaCloud
std::string ditherMode;
std::string isCustomPalette;
};
struct Webp
{
std::string loop;
};
Gif gif;
Webp webp;
Segment segment;
};
Container container;