Add a new api named SubmitAIImageAuditJob to submit image ai detection job.

This commit is contained in:
sdk-team
2020-09-24 03:24:57 +00:00
parent f014392806
commit d088239972
22 changed files with 1340 additions and 0 deletions

View File

@@ -48,6 +48,8 @@
#include "model/CreateAppInfoResult.h"
#include "model/CreateAuditRequest.h"
#include "model/CreateAuditResult.h"
#include "model/CreateDNADBRequest.h"
#include "model/CreateDNADBResult.h"
#include "model/CreateMediaDNALibRequest.h"
#include "model/CreateMediaDNALibResult.h"
#include "model/CreateUploadAttachedMediaRequest.h"
@@ -150,6 +152,8 @@
#include "model/GetAuditHistoryResult.h"
#include "model/GetCategoriesRequest.h"
#include "model/GetCategoriesResult.h"
#include "model/GetDNADBRequest.h"
#include "model/GetDNADBResult.h"
#include "model/GetDRMCertInfoRequest.h"
#include "model/GetDRMCertInfoResult.h"
#include "model/GetDRMLicenseRequest.h"
@@ -212,6 +216,8 @@
#include "model/ListAppPoliciesForIdentityResult.h"
#include "model/ListAuditSecurityIpRequest.h"
#include "model/ListAuditSecurityIpResult.h"
#include "model/ListDNADBRequest.h"
#include "model/ListDNADBResult.h"
#include "model/ListDynamicImageRequest.h"
#include "model/ListDynamicImageResult.h"
#include "model/ListLiveRecordVideoRequest.h"
@@ -260,6 +266,8 @@
#include "model/SetMessageCallbackResult.h"
#include "model/SetVodDomainCertificateRequest.h"
#include "model/SetVodDomainCertificateResult.h"
#include "model/SubmitAIImageAuditJobRequest.h"
#include "model/SubmitAIImageAuditJobResult.h"
#include "model/SubmitAIImageJobRequest.h"
#include "model/SubmitAIImageJobResult.h"
#include "model/SubmitAIJobRequest.h"
@@ -356,6 +364,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateAuditResult> CreateAuditOutcome;
typedef std::future<CreateAuditOutcome> CreateAuditOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::CreateAuditRequest&, const CreateAuditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAuditAsyncHandler;
typedef Outcome<Error, Model::CreateDNADBResult> CreateDNADBOutcome;
typedef std::future<CreateDNADBOutcome> CreateDNADBOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::CreateDNADBRequest&, const CreateDNADBOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDNADBAsyncHandler;
typedef Outcome<Error, Model::CreateMediaDNALibResult> CreateMediaDNALibOutcome;
typedef std::future<CreateMediaDNALibOutcome> CreateMediaDNALibOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::CreateMediaDNALibRequest&, const CreateMediaDNALibOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMediaDNALibAsyncHandler;
@@ -509,6 +520,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetCategoriesResult> GetCategoriesOutcome;
typedef std::future<GetCategoriesOutcome> GetCategoriesOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::GetCategoriesRequest&, const GetCategoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCategoriesAsyncHandler;
typedef Outcome<Error, Model::GetDNADBResult> GetDNADBOutcome;
typedef std::future<GetDNADBOutcome> GetDNADBOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::GetDNADBRequest&, const GetDNADBOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDNADBAsyncHandler;
typedef Outcome<Error, Model::GetDRMCertInfoResult> GetDRMCertInfoOutcome;
typedef std::future<GetDRMCertInfoOutcome> GetDRMCertInfoOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::GetDRMCertInfoRequest&, const GetDRMCertInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDRMCertInfoAsyncHandler;
@@ -602,6 +616,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListAuditSecurityIpResult> ListAuditSecurityIpOutcome;
typedef std::future<ListAuditSecurityIpOutcome> ListAuditSecurityIpOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::ListAuditSecurityIpRequest&, const ListAuditSecurityIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAuditSecurityIpAsyncHandler;
typedef Outcome<Error, Model::ListDNADBResult> ListDNADBOutcome;
typedef std::future<ListDNADBOutcome> ListDNADBOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::ListDNADBRequest&, const ListDNADBOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDNADBAsyncHandler;
typedef Outcome<Error, Model::ListDynamicImageResult> ListDynamicImageOutcome;
typedef std::future<ListDynamicImageOutcome> ListDynamicImageOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::ListDynamicImageRequest&, const ListDynamicImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDynamicImageAsyncHandler;
@@ -674,6 +691,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetVodDomainCertificateResult> SetVodDomainCertificateOutcome;
typedef std::future<SetVodDomainCertificateOutcome> SetVodDomainCertificateOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SetVodDomainCertificateRequest&, const SetVodDomainCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetVodDomainCertificateAsyncHandler;
typedef Outcome<Error, Model::SubmitAIImageAuditJobResult> SubmitAIImageAuditJobOutcome;
typedef std::future<SubmitAIImageAuditJobOutcome> SubmitAIImageAuditJobOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SubmitAIImageAuditJobRequest&, const SubmitAIImageAuditJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAIImageAuditJobAsyncHandler;
typedef Outcome<Error, Model::SubmitAIImageJobResult> SubmitAIImageJobOutcome;
typedef std::future<SubmitAIImageJobOutcome> SubmitAIImageJobOutcomeCallable;
typedef std::function<void(const VodClient*, const Model::SubmitAIImageJobRequest&, const SubmitAIImageJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAIImageJobAsyncHandler;
@@ -790,6 +810,9 @@ namespace AlibabaCloud
CreateAuditOutcome createAudit(const Model::CreateAuditRequest &request)const;
void createAuditAsync(const Model::CreateAuditRequest& request, const CreateAuditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAuditOutcomeCallable createAuditCallable(const Model::CreateAuditRequest& request) const;
CreateDNADBOutcome createDNADB(const Model::CreateDNADBRequest &request)const;
void createDNADBAsync(const Model::CreateDNADBRequest& request, const CreateDNADBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDNADBOutcomeCallable createDNADBCallable(const Model::CreateDNADBRequest& request) const;
CreateMediaDNALibOutcome createMediaDNALib(const Model::CreateMediaDNALibRequest &request)const;
void createMediaDNALibAsync(const Model::CreateMediaDNALibRequest& request, const CreateMediaDNALibAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMediaDNALibOutcomeCallable createMediaDNALibCallable(const Model::CreateMediaDNALibRequest& request) const;
@@ -943,6 +966,9 @@ namespace AlibabaCloud
GetCategoriesOutcome getCategories(const Model::GetCategoriesRequest &request)const;
void getCategoriesAsync(const Model::GetCategoriesRequest& request, const GetCategoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCategoriesOutcomeCallable getCategoriesCallable(const Model::GetCategoriesRequest& request) const;
GetDNADBOutcome getDNADB(const Model::GetDNADBRequest &request)const;
void getDNADBAsync(const Model::GetDNADBRequest& request, const GetDNADBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDNADBOutcomeCallable getDNADBCallable(const Model::GetDNADBRequest& request) const;
GetDRMCertInfoOutcome getDRMCertInfo(const Model::GetDRMCertInfoRequest &request)const;
void getDRMCertInfoAsync(const Model::GetDRMCertInfoRequest& request, const GetDRMCertInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDRMCertInfoOutcomeCallable getDRMCertInfoCallable(const Model::GetDRMCertInfoRequest& request) const;
@@ -1036,6 +1062,9 @@ namespace AlibabaCloud
ListAuditSecurityIpOutcome listAuditSecurityIp(const Model::ListAuditSecurityIpRequest &request)const;
void listAuditSecurityIpAsync(const Model::ListAuditSecurityIpRequest& request, const ListAuditSecurityIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAuditSecurityIpOutcomeCallable listAuditSecurityIpCallable(const Model::ListAuditSecurityIpRequest& request) const;
ListDNADBOutcome listDNADB(const Model::ListDNADBRequest &request)const;
void listDNADBAsync(const Model::ListDNADBRequest& request, const ListDNADBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDNADBOutcomeCallable listDNADBCallable(const Model::ListDNADBRequest& request) const;
ListDynamicImageOutcome listDynamicImage(const Model::ListDynamicImageRequest &request)const;
void listDynamicImageAsync(const Model::ListDynamicImageRequest& request, const ListDynamicImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDynamicImageOutcomeCallable listDynamicImageCallable(const Model::ListDynamicImageRequest& request) const;
@@ -1108,6 +1137,9 @@ namespace AlibabaCloud
SetVodDomainCertificateOutcome setVodDomainCertificate(const Model::SetVodDomainCertificateRequest &request)const;
void setVodDomainCertificateAsync(const Model::SetVodDomainCertificateRequest& request, const SetVodDomainCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetVodDomainCertificateOutcomeCallable setVodDomainCertificateCallable(const Model::SetVodDomainCertificateRequest& request) const;
SubmitAIImageAuditJobOutcome submitAIImageAuditJob(const Model::SubmitAIImageAuditJobRequest &request)const;
void submitAIImageAuditJobAsync(const Model::SubmitAIImageAuditJobRequest& request, const SubmitAIImageAuditJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitAIImageAuditJobOutcomeCallable submitAIImageAuditJobCallable(const Model::SubmitAIImageAuditJobRequest& request) const;
SubmitAIImageJobOutcome submitAIImageJob(const Model::SubmitAIImageJobRequest &request)const;
void submitAIImageJobAsync(const Model::SubmitAIImageJobRequest& request, const SubmitAIImageJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitAIImageJobOutcomeCallable submitAIImageJobCallable(const Model::SubmitAIImageJobRequest& request) const;

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setSecurityToken(const std::string& securityToken);
std::string getScope()const;
void setScope(const std::string& scope);
std::string getTopLevelDomain()const;
void setTopLevelDomain(const std::string& topLevelDomain);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDomainName()const;
@@ -54,6 +56,7 @@ namespace AlibabaCloud
std::string sources_;
std::string securityToken_;
std::string scope_;
std::string topLevelDomain_;
std::string ownerAccount_;
std::string domainName_;
long ownerId_;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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