Multimedia poc modified.
This commit is contained in:
@@ -0,0 +1,158 @@
|
||||
/*
|
||||
* 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_MULTIMEDIAAI_MULTIMEDIAAICLIENT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MULTIMEDIAAICLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "MultimediaaiExport.h"
|
||||
#include "model/CreateCoverTaskRequest.h"
|
||||
#include "model/CreateCoverTaskResult.h"
|
||||
#include "model/CreateFaceGroupRequest.h"
|
||||
#include "model/CreateFaceGroupResult.h"
|
||||
#include "model/CreateFacePersonRequest.h"
|
||||
#include "model/CreateFacePersonResult.h"
|
||||
#include "model/CreateGifTaskRequest.h"
|
||||
#include "model/CreateGifTaskResult.h"
|
||||
#include "model/CreateLabelTaskRequest.h"
|
||||
#include "model/CreateLabelTaskResult.h"
|
||||
#include "model/DeleteFaceGroupRequest.h"
|
||||
#include "model/DeleteFaceGroupResult.h"
|
||||
#include "model/DeleteFaceImageRequest.h"
|
||||
#include "model/DeleteFaceImageResult.h"
|
||||
#include "model/DeleteFacePersonRequest.h"
|
||||
#include "model/DeleteFacePersonResult.h"
|
||||
#include "model/GetTaskResultRequest.h"
|
||||
#include "model/GetTaskResultResult.h"
|
||||
#include "model/GetTaskStatusRequest.h"
|
||||
#include "model/GetTaskStatusResult.h"
|
||||
#include "model/ListFaceGroupsRequest.h"
|
||||
#include "model/ListFaceGroupsResult.h"
|
||||
#include "model/ListFaceImagesRequest.h"
|
||||
#include "model/ListFaceImagesResult.h"
|
||||
#include "model/ListFacePersonsRequest.h"
|
||||
#include "model/ListFacePersonsResult.h"
|
||||
#include "model/RegisterFaceImageRequest.h"
|
||||
#include "model/RegisterFaceImageResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT MultimediaaiClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateCoverTaskResult> CreateCoverTaskOutcome;
|
||||
typedef std::future<CreateCoverTaskOutcome> CreateCoverTaskOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::CreateCoverTaskRequest&, const CreateCoverTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCoverTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateFaceGroupResult> CreateFaceGroupOutcome;
|
||||
typedef std::future<CreateFaceGroupOutcome> CreateFaceGroupOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::CreateFaceGroupRequest&, const CreateFaceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFaceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateFacePersonResult> CreateFacePersonOutcome;
|
||||
typedef std::future<CreateFacePersonOutcome> CreateFacePersonOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::CreateFacePersonRequest&, const CreateFacePersonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFacePersonAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateGifTaskResult> CreateGifTaskOutcome;
|
||||
typedef std::future<CreateGifTaskOutcome> CreateGifTaskOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::CreateGifTaskRequest&, const CreateGifTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGifTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateLabelTaskResult> CreateLabelTaskOutcome;
|
||||
typedef std::future<CreateLabelTaskOutcome> CreateLabelTaskOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::CreateLabelTaskRequest&, const CreateLabelTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLabelTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteFaceGroupResult> DeleteFaceGroupOutcome;
|
||||
typedef std::future<DeleteFaceGroupOutcome> DeleteFaceGroupOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::DeleteFaceGroupRequest&, const DeleteFaceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteFaceImageResult> DeleteFaceImageOutcome;
|
||||
typedef std::future<DeleteFaceImageOutcome> DeleteFaceImageOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::DeleteFaceImageRequest&, const DeleteFaceImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceImageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteFacePersonResult> DeleteFacePersonOutcome;
|
||||
typedef std::future<DeleteFacePersonOutcome> DeleteFacePersonOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::DeleteFacePersonRequest&, const DeleteFacePersonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFacePersonAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTaskResultResult> GetTaskResultOutcome;
|
||||
typedef std::future<GetTaskResultOutcome> GetTaskResultOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::GetTaskResultRequest&, const GetTaskResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTaskStatusResult> GetTaskStatusOutcome;
|
||||
typedef std::future<GetTaskStatusOutcome> GetTaskStatusOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::GetTaskStatusRequest&, const GetTaskStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListFaceGroupsResult> ListFaceGroupsOutcome;
|
||||
typedef std::future<ListFaceGroupsOutcome> ListFaceGroupsOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::ListFaceGroupsRequest&, const ListFaceGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFaceGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListFaceImagesResult> ListFaceImagesOutcome;
|
||||
typedef std::future<ListFaceImagesOutcome> ListFaceImagesOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::ListFaceImagesRequest&, const ListFaceImagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFaceImagesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListFacePersonsResult> ListFacePersonsOutcome;
|
||||
typedef std::future<ListFacePersonsOutcome> ListFacePersonsOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::ListFacePersonsRequest&, const ListFacePersonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFacePersonsAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterFaceImageResult> RegisterFaceImageOutcome;
|
||||
typedef std::future<RegisterFaceImageOutcome> RegisterFaceImageOutcomeCallable;
|
||||
typedef std::function<void(const MultimediaaiClient*, const Model::RegisterFaceImageRequest&, const RegisterFaceImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterFaceImageAsyncHandler;
|
||||
|
||||
MultimediaaiClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
MultimediaaiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
MultimediaaiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~MultimediaaiClient();
|
||||
CreateCoverTaskOutcome createCoverTask(const Model::CreateCoverTaskRequest &request)const;
|
||||
void createCoverTaskAsync(const Model::CreateCoverTaskRequest& request, const CreateCoverTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCoverTaskOutcomeCallable createCoverTaskCallable(const Model::CreateCoverTaskRequest& request) const;
|
||||
CreateFaceGroupOutcome createFaceGroup(const Model::CreateFaceGroupRequest &request)const;
|
||||
void createFaceGroupAsync(const Model::CreateFaceGroupRequest& request, const CreateFaceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateFaceGroupOutcomeCallable createFaceGroupCallable(const Model::CreateFaceGroupRequest& request) const;
|
||||
CreateFacePersonOutcome createFacePerson(const Model::CreateFacePersonRequest &request)const;
|
||||
void createFacePersonAsync(const Model::CreateFacePersonRequest& request, const CreateFacePersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateFacePersonOutcomeCallable createFacePersonCallable(const Model::CreateFacePersonRequest& request) const;
|
||||
CreateGifTaskOutcome createGifTask(const Model::CreateGifTaskRequest &request)const;
|
||||
void createGifTaskAsync(const Model::CreateGifTaskRequest& request, const CreateGifTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateGifTaskOutcomeCallable createGifTaskCallable(const Model::CreateGifTaskRequest& request) const;
|
||||
CreateLabelTaskOutcome createLabelTask(const Model::CreateLabelTaskRequest &request)const;
|
||||
void createLabelTaskAsync(const Model::CreateLabelTaskRequest& request, const CreateLabelTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateLabelTaskOutcomeCallable createLabelTaskCallable(const Model::CreateLabelTaskRequest& request) const;
|
||||
DeleteFaceGroupOutcome deleteFaceGroup(const Model::DeleteFaceGroupRequest &request)const;
|
||||
void deleteFaceGroupAsync(const Model::DeleteFaceGroupRequest& request, const DeleteFaceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteFaceGroupOutcomeCallable deleteFaceGroupCallable(const Model::DeleteFaceGroupRequest& request) const;
|
||||
DeleteFaceImageOutcome deleteFaceImage(const Model::DeleteFaceImageRequest &request)const;
|
||||
void deleteFaceImageAsync(const Model::DeleteFaceImageRequest& request, const DeleteFaceImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteFaceImageOutcomeCallable deleteFaceImageCallable(const Model::DeleteFaceImageRequest& request) const;
|
||||
DeleteFacePersonOutcome deleteFacePerson(const Model::DeleteFacePersonRequest &request)const;
|
||||
void deleteFacePersonAsync(const Model::DeleteFacePersonRequest& request, const DeleteFacePersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteFacePersonOutcomeCallable deleteFacePersonCallable(const Model::DeleteFacePersonRequest& request) const;
|
||||
GetTaskResultOutcome getTaskResult(const Model::GetTaskResultRequest &request)const;
|
||||
void getTaskResultAsync(const Model::GetTaskResultRequest& request, const GetTaskResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTaskResultOutcomeCallable getTaskResultCallable(const Model::GetTaskResultRequest& request) const;
|
||||
GetTaskStatusOutcome getTaskStatus(const Model::GetTaskStatusRequest &request)const;
|
||||
void getTaskStatusAsync(const Model::GetTaskStatusRequest& request, const GetTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTaskStatusOutcomeCallable getTaskStatusCallable(const Model::GetTaskStatusRequest& request) const;
|
||||
ListFaceGroupsOutcome listFaceGroups(const Model::ListFaceGroupsRequest &request)const;
|
||||
void listFaceGroupsAsync(const Model::ListFaceGroupsRequest& request, const ListFaceGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListFaceGroupsOutcomeCallable listFaceGroupsCallable(const Model::ListFaceGroupsRequest& request) const;
|
||||
ListFaceImagesOutcome listFaceImages(const Model::ListFaceImagesRequest &request)const;
|
||||
void listFaceImagesAsync(const Model::ListFaceImagesRequest& request, const ListFaceImagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListFaceImagesOutcomeCallable listFaceImagesCallable(const Model::ListFaceImagesRequest& request) const;
|
||||
ListFacePersonsOutcome listFacePersons(const Model::ListFacePersonsRequest &request)const;
|
||||
void listFacePersonsAsync(const Model::ListFacePersonsRequest& request, const ListFacePersonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListFacePersonsOutcomeCallable listFacePersonsCallable(const Model::ListFacePersonsRequest& request) const;
|
||||
RegisterFaceImageOutcome registerFaceImage(const Model::RegisterFaceImageRequest &request)const;
|
||||
void registerFaceImageAsync(const Model::RegisterFaceImageRequest& request, const RegisterFaceImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterFaceImageOutcomeCallable registerFaceImageCallable(const Model::RegisterFaceImageRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MULTIMEDIAAICLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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_MULTIMEDIAAI_MULTIMEDIAAIEXPORT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MULTIMEDIAAIEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_MULTIMEDIAAI_LIBRARY)
|
||||
# define ALIBABACLOUD_MULTIMEDIAAI_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_MULTIMEDIAAI_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_MULTIMEDIAAI_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MULTIMEDIAAIEXPORT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATECOVERTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATECOVERTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT CreateCoverTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCoverTaskRequest();
|
||||
~CreateCoverTaskRequest();
|
||||
|
||||
long getTemplateId()const;
|
||||
void setTemplateId(long templateId);
|
||||
std::string getVideoUrl()const;
|
||||
void setVideoUrl(const std::string& videoUrl);
|
||||
std::string getVideoName()const;
|
||||
void setVideoName(const std::string& videoName);
|
||||
std::string getCallbackUrl()const;
|
||||
void setCallbackUrl(const std::string& callbackUrl);
|
||||
std::string getApplicationId()const;
|
||||
void setApplicationId(const std::string& applicationId);
|
||||
|
||||
private:
|
||||
long templateId_;
|
||||
std::string videoUrl_;
|
||||
std::string videoName_;
|
||||
std::string callbackUrl_;
|
||||
std::string applicationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATECOVERTASKREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATECOVERTASKRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATECOVERTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT CreateCoverTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCoverTaskResult();
|
||||
explicit CreateCoverTaskResult(const std::string &payload);
|
||||
~CreateCoverTaskResult();
|
||||
long getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATECOVERTASKRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT CreateFaceGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateFaceGroupRequest();
|
||||
~CreateFaceGroupRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getFaceGroupName()const;
|
||||
void setFaceGroupName(const std::string& faceGroupName);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string faceGroupName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEGROUPREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT CreateFaceGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateFaceGroupResult();
|
||||
explicit CreateFaceGroupResult(const std::string &payload);
|
||||
~CreateFaceGroupResult();
|
||||
long getFaceGroupId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long faceGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEGROUPRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEPERSONREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEPERSONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT CreateFacePersonRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateFacePersonRequest();
|
||||
~CreateFacePersonRequest();
|
||||
|
||||
long getFaceGroupId()const;
|
||||
void setFaceGroupId(long faceGroupId);
|
||||
std::string getImageUrls()const;
|
||||
void setImageUrls(const std::string& imageUrls);
|
||||
std::string getFacePersonName()const;
|
||||
void setFacePersonName(const std::string& facePersonName);
|
||||
|
||||
private:
|
||||
long faceGroupId_;
|
||||
std::string imageUrls_;
|
||||
std::string facePersonName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEPERSONREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEPERSONRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEPERSONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT CreateFacePersonResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateFacePersonResult();
|
||||
explicit CreateFacePersonResult(const std::string &payload);
|
||||
~CreateFacePersonResult();
|
||||
long getFacePersonId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long facePersonId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEFACEPERSONRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEGIFTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEGIFTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT CreateGifTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateGifTaskRequest();
|
||||
~CreateGifTaskRequest();
|
||||
|
||||
long getTemplateId()const;
|
||||
void setTemplateId(long templateId);
|
||||
std::string getVideoUrl()const;
|
||||
void setVideoUrl(const std::string& videoUrl);
|
||||
std::string getVideoName()const;
|
||||
void setVideoName(const std::string& videoName);
|
||||
std::string getCallbackUrl()const;
|
||||
void setCallbackUrl(const std::string& callbackUrl);
|
||||
std::string getApplicationId()const;
|
||||
void setApplicationId(const std::string& applicationId);
|
||||
|
||||
private:
|
||||
long templateId_;
|
||||
std::string videoUrl_;
|
||||
std::string videoName_;
|
||||
std::string callbackUrl_;
|
||||
std::string applicationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEGIFTASKREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEGIFTASKRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEGIFTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT CreateGifTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateGifTaskResult();
|
||||
explicit CreateGifTaskResult(const std::string &payload);
|
||||
~CreateGifTaskResult();
|
||||
long getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATEGIFTASKRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATELABELTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATELABELTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT CreateLabelTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateLabelTaskRequest();
|
||||
~CreateLabelTaskRequest();
|
||||
|
||||
long getTemplateId()const;
|
||||
void setTemplateId(long templateId);
|
||||
std::string getVideoUrl()const;
|
||||
void setVideoUrl(const std::string& videoUrl);
|
||||
std::string getVideoName()const;
|
||||
void setVideoName(const std::string& videoName);
|
||||
std::string getCallbackUrl()const;
|
||||
void setCallbackUrl(const std::string& callbackUrl);
|
||||
std::string getApplicationId()const;
|
||||
void setApplicationId(const std::string& applicationId);
|
||||
|
||||
private:
|
||||
long templateId_;
|
||||
std::string videoUrl_;
|
||||
std::string videoName_;
|
||||
std::string callbackUrl_;
|
||||
std::string applicationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATELABELTASKREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATELABELTASKRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATELABELTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT CreateLabelTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateLabelTaskResult();
|
||||
explicit CreateLabelTaskResult(const std::string &payload);
|
||||
~CreateLabelTaskResult();
|
||||
long getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_CREATELABELTASKRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT DeleteFaceGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteFaceGroupRequest();
|
||||
~DeleteFaceGroupRequest();
|
||||
|
||||
long getFaceGroupId()const;
|
||||
void setFaceGroupId(long faceGroupId);
|
||||
|
||||
private:
|
||||
long faceGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEGROUPREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT DeleteFaceGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteFaceGroupResult();
|
||||
explicit DeleteFaceGroupResult(const std::string &payload);
|
||||
~DeleteFaceGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEGROUPRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEIMAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEIMAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT DeleteFaceImageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteFaceImageRequest();
|
||||
~DeleteFaceImageRequest();
|
||||
|
||||
long getFaceGroupId()const;
|
||||
void setFaceGroupId(long faceGroupId);
|
||||
long getFacePersonId()const;
|
||||
void setFacePersonId(long facePersonId);
|
||||
long getFaceImageId()const;
|
||||
void setFaceImageId(long faceImageId);
|
||||
|
||||
private:
|
||||
long faceGroupId_;
|
||||
long facePersonId_;
|
||||
long faceImageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEIMAGEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEIMAGERESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEIMAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT DeleteFaceImageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteFaceImageResult();
|
||||
explicit DeleteFaceImageResult(const std::string &payload);
|
||||
~DeleteFaceImageResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEIMAGERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEPERSONREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEPERSONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT DeleteFacePersonRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteFacePersonRequest();
|
||||
~DeleteFacePersonRequest();
|
||||
|
||||
long getFaceGroupId()const;
|
||||
void setFaceGroupId(long faceGroupId);
|
||||
long getFacePersonId()const;
|
||||
void setFacePersonId(long facePersonId);
|
||||
|
||||
private:
|
||||
long faceGroupId_;
|
||||
long facePersonId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEPERSONREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEPERSONRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEPERSONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT DeleteFacePersonResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteFacePersonResult();
|
||||
explicit DeleteFacePersonResult(const std::string &payload);
|
||||
~DeleteFacePersonResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_DELETEFACEPERSONRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKRESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT GetTaskResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTaskResultRequest();
|
||||
~GetTaskResultRequest();
|
||||
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
|
||||
private:
|
||||
long taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKRESULTREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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_MULTIMEDIAAI_MODEL_GETTASKRESULTRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKRESULTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT GetTaskResultResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string errorName;
|
||||
std::string videoName;
|
||||
long analysisUseTime;
|
||||
std::string errorReason;
|
||||
std::string errorCode;
|
||||
std::string applicationId;
|
||||
std::string errorMessage;
|
||||
std::string processResultUrl;
|
||||
std::string videoUrl;
|
||||
};
|
||||
|
||||
|
||||
GetTaskResultResult();
|
||||
explicit GetTaskResultResult(const std::string &payload);
|
||||
~GetTaskResultResult();
|
||||
int getStatus()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int status_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKRESULTRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT GetTaskStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTaskStatusRequest();
|
||||
~GetTaskStatusRequest();
|
||||
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
|
||||
private:
|
||||
long taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT GetTaskStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetTaskStatusResult();
|
||||
explicit GetTaskStatusResult(const std::string &payload);
|
||||
~GetTaskStatusResult();
|
||||
int getStatus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_GETTASKSTATUSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEGROUPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT ListFaceGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListFaceGroupsRequest();
|
||||
~ListFaceGroupsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEGROUPSREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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_MULTIMEDIAAI_MODEL_LISTFACEGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT ListFaceGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct FaceGroup
|
||||
{
|
||||
struct TemplatesItem
|
||||
{
|
||||
std::string id;
|
||||
std::string name;
|
||||
};
|
||||
long imageCount;
|
||||
std::string description;
|
||||
std::string faceGroupName;
|
||||
long personCount;
|
||||
std::vector<FaceGroup::TemplatesItem> templates;
|
||||
long faceGroupId;
|
||||
};
|
||||
|
||||
|
||||
ListFaceGroupsResult();
|
||||
explicit ListFaceGroupsResult(const std::string &payload);
|
||||
~ListFaceGroupsResult();
|
||||
long getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<FaceGroup> getFaceGroups()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<FaceGroup> faceGroups_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEGROUPSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEIMAGESREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEIMAGESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT ListFaceImagesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListFaceImagesRequest();
|
||||
~ListFaceImagesRequest();
|
||||
|
||||
long getFaceGroupId()const;
|
||||
void setFaceGroupId(long faceGroupId);
|
||||
long getFacePersonId()const;
|
||||
void setFacePersonId(long facePersonId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
long faceGroupId_;
|
||||
long facePersonId_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEIMAGESREQUEST_H_
|
||||
@@ -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_MULTIMEDIAAI_MODEL_LISTFACEIMAGESRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEIMAGESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT ListFaceImagesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct FaceImage
|
||||
{
|
||||
long faceImageId;
|
||||
std::vector<std::string> faceRectangle;
|
||||
std::string imageUrl;
|
||||
};
|
||||
|
||||
|
||||
ListFaceImagesResult();
|
||||
explicit ListFaceImagesResult(const std::string &payload);
|
||||
~ListFaceImagesResult();
|
||||
long getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<FaceImage> getFaceImages()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<FaceImage> faceImages_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEIMAGESRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEPERSONSREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEPERSONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT ListFacePersonsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListFacePersonsRequest();
|
||||
~ListFacePersonsRequest();
|
||||
|
||||
long getFaceGroupId()const;
|
||||
void setFaceGroupId(long faceGroupId);
|
||||
std::string getFacePersonName()const;
|
||||
void setFacePersonName(const std::string& facePersonName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
long faceGroupId_;
|
||||
std::string facePersonName_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEPERSONSREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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_MULTIMEDIAAI_MODEL_LISTFACEPERSONSRESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEPERSONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT ListFacePersonsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct FacePerson
|
||||
{
|
||||
long imageCount;
|
||||
std::string facePersonName;
|
||||
std::string imageUrl;
|
||||
long facePersonId;
|
||||
};
|
||||
|
||||
|
||||
ListFacePersonsResult();
|
||||
explicit ListFacePersonsResult(const std::string &payload);
|
||||
~ListFacePersonsResult();
|
||||
long getTotalCount()const;
|
||||
std::vector<FacePerson> getFacePersons()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::vector<FacePerson> facePersons_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_LISTFACEPERSONSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_REGISTERFACEIMAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_REGISTERFACEIMAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT RegisterFaceImageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RegisterFaceImageRequest();
|
||||
~RegisterFaceImageRequest();
|
||||
|
||||
long getFaceGroupId()const;
|
||||
void setFaceGroupId(long faceGroupId);
|
||||
long getFacePersonId()const;
|
||||
void setFacePersonId(long facePersonId);
|
||||
std::string getImageUrl()const;
|
||||
void setImageUrl(const std::string& imageUrl);
|
||||
|
||||
private:
|
||||
long faceGroupId_;
|
||||
long facePersonId_;
|
||||
std::string imageUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_REGISTERFACEIMAGEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MULTIMEDIAAI_MODEL_REGISTERFACEIMAGERESULT_H_
|
||||
#define ALIBABACLOUD_MULTIMEDIAAI_MODEL_REGISTERFACEIMAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/multimediaai/MultimediaaiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Multimediaai
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MULTIMEDIAAI_EXPORT RegisterFaceImageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RegisterFaceImageResult();
|
||||
explicit RegisterFaceImageResult(const std::string &payload);
|
||||
~RegisterFaceImageResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MULTIMEDIAAI_MODEL_REGISTERFACEIMAGERESULT_H_
|
||||
Reference in New Issue
Block a user