LINKFACE SDK Auto Released By jhon.zh,Version:1.21.3
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
166
linkface/include/alibabacloud/linkface/LinkFaceClient.h
Normal file
166
linkface/include/alibabacloud/linkface/LinkFaceClient.h
Normal file
@@ -0,0 +1,166 @@
|
||||
/*
|
||||
* 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_LINKFACE_LINKFACECLIENT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_LINKFACECLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "LinkFaceExport.h"
|
||||
#include "model/UnlinkFaceRequest.h"
|
||||
#include "model/UnlinkFaceResult.h"
|
||||
#include "model/UpdateFaceRequest.h"
|
||||
#include "model/UpdateFaceResult.h"
|
||||
#include "model/QuerySyncPicScheduleRequest.h"
|
||||
#include "model/QuerySyncPicScheduleResult.h"
|
||||
#include "model/SyncFacePicturesRequest.h"
|
||||
#include "model/SyncFacePicturesResult.h"
|
||||
#include "model/CreateGroupRequest.h"
|
||||
#include "model/CreateGroupResult.h"
|
||||
#include "model/DeleteGroupRequest.h"
|
||||
#include "model/DeleteGroupResult.h"
|
||||
#include "model/DeleteFaceRequest.h"
|
||||
#include "model/DeleteFaceResult.h"
|
||||
#include "model/QueryAuthenticationRequest.h"
|
||||
#include "model/QueryAuthenticationResult.h"
|
||||
#include "model/QueryGroupUsersRequest.h"
|
||||
#include "model/QueryGroupUsersResult.h"
|
||||
#include "model/LinkFaceRequest.h"
|
||||
#include "model/LinkFaceResult.h"
|
||||
#include "model/QueryAllGroupsRequest.h"
|
||||
#include "model/QueryAllGroupsResult.h"
|
||||
#include "model/RegisterFaceRequest.h"
|
||||
#include "model/RegisterFaceResult.h"
|
||||
#include "model/QueryAddUserInfoRequest.h"
|
||||
#include "model/QueryAddUserInfoResult.h"
|
||||
#include "model/QueryLicensesRequest.h"
|
||||
#include "model/QueryLicensesResult.h"
|
||||
#include "model/QueryFaceRequest.h"
|
||||
#include "model/QueryFaceResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT LinkFaceClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::UnlinkFaceResult> UnlinkFaceOutcome;
|
||||
typedef std::future<UnlinkFaceOutcome> UnlinkFaceOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::UnlinkFaceRequest&, const UnlinkFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnlinkFaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateFaceResult> UpdateFaceOutcome;
|
||||
typedef std::future<UpdateFaceOutcome> UpdateFaceOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::UpdateFaceRequest&, const UpdateFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateFaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySyncPicScheduleResult> QuerySyncPicScheduleOutcome;
|
||||
typedef std::future<QuerySyncPicScheduleOutcome> QuerySyncPicScheduleOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::QuerySyncPicScheduleRequest&, const QuerySyncPicScheduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySyncPicScheduleAsyncHandler;
|
||||
typedef Outcome<Error, Model::SyncFacePicturesResult> SyncFacePicturesOutcome;
|
||||
typedef std::future<SyncFacePicturesOutcome> SyncFacePicturesOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::SyncFacePicturesRequest&, const SyncFacePicturesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncFacePicturesAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateGroupResult> CreateGroupOutcome;
|
||||
typedef std::future<CreateGroupOutcome> CreateGroupOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::CreateGroupRequest&, const CreateGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteGroupResult> DeleteGroupOutcome;
|
||||
typedef std::future<DeleteGroupOutcome> DeleteGroupOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::DeleteGroupRequest&, const DeleteGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteFaceResult> DeleteFaceOutcome;
|
||||
typedef std::future<DeleteFaceOutcome> DeleteFaceOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::DeleteFaceRequest&, const DeleteFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAuthenticationResult> QueryAuthenticationOutcome;
|
||||
typedef std::future<QueryAuthenticationOutcome> QueryAuthenticationOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::QueryAuthenticationRequest&, const QueryAuthenticationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAuthenticationAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryGroupUsersResult> QueryGroupUsersOutcome;
|
||||
typedef std::future<QueryGroupUsersOutcome> QueryGroupUsersOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::QueryGroupUsersRequest&, const QueryGroupUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryGroupUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::LinkFaceResult> LinkFaceOutcome;
|
||||
typedef std::future<LinkFaceOutcome> LinkFaceOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::LinkFaceRequest&, const LinkFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LinkFaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAllGroupsResult> QueryAllGroupsOutcome;
|
||||
typedef std::future<QueryAllGroupsOutcome> QueryAllGroupsOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::QueryAllGroupsRequest&, const QueryAllGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAllGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterFaceResult> RegisterFaceOutcome;
|
||||
typedef std::future<RegisterFaceOutcome> RegisterFaceOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::RegisterFaceRequest&, const RegisterFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterFaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAddUserInfoResult> QueryAddUserInfoOutcome;
|
||||
typedef std::future<QueryAddUserInfoOutcome> QueryAddUserInfoOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::QueryAddUserInfoRequest&, const QueryAddUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAddUserInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryLicensesResult> QueryLicensesOutcome;
|
||||
typedef std::future<QueryLicensesOutcome> QueryLicensesOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::QueryLicensesRequest&, const QueryLicensesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryLicensesAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryFaceResult> QueryFaceOutcome;
|
||||
typedef std::future<QueryFaceOutcome> QueryFaceOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::QueryFaceRequest&, const QueryFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryFaceAsyncHandler;
|
||||
|
||||
LinkFaceClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
LinkFaceClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
LinkFaceClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~LinkFaceClient();
|
||||
UnlinkFaceOutcome unlinkFace(const Model::UnlinkFaceRequest &request)const;
|
||||
void unlinkFaceAsync(const Model::UnlinkFaceRequest& request, const UnlinkFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnlinkFaceOutcomeCallable unlinkFaceCallable(const Model::UnlinkFaceRequest& request) const;
|
||||
UpdateFaceOutcome updateFace(const Model::UpdateFaceRequest &request)const;
|
||||
void updateFaceAsync(const Model::UpdateFaceRequest& request, const UpdateFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateFaceOutcomeCallable updateFaceCallable(const Model::UpdateFaceRequest& request) const;
|
||||
QuerySyncPicScheduleOutcome querySyncPicSchedule(const Model::QuerySyncPicScheduleRequest &request)const;
|
||||
void querySyncPicScheduleAsync(const Model::QuerySyncPicScheduleRequest& request, const QuerySyncPicScheduleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySyncPicScheduleOutcomeCallable querySyncPicScheduleCallable(const Model::QuerySyncPicScheduleRequest& request) const;
|
||||
SyncFacePicturesOutcome syncFacePictures(const Model::SyncFacePicturesRequest &request)const;
|
||||
void syncFacePicturesAsync(const Model::SyncFacePicturesRequest& request, const SyncFacePicturesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SyncFacePicturesOutcomeCallable syncFacePicturesCallable(const Model::SyncFacePicturesRequest& request) const;
|
||||
CreateGroupOutcome createGroup(const Model::CreateGroupRequest &request)const;
|
||||
void createGroupAsync(const Model::CreateGroupRequest& request, const CreateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateGroupOutcomeCallable createGroupCallable(const Model::CreateGroupRequest& request) const;
|
||||
DeleteGroupOutcome deleteGroup(const Model::DeleteGroupRequest &request)const;
|
||||
void deleteGroupAsync(const Model::DeleteGroupRequest& request, const DeleteGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteGroupOutcomeCallable deleteGroupCallable(const Model::DeleteGroupRequest& request) const;
|
||||
DeleteFaceOutcome deleteFace(const Model::DeleteFaceRequest &request)const;
|
||||
void deleteFaceAsync(const Model::DeleteFaceRequest& request, const DeleteFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteFaceOutcomeCallable deleteFaceCallable(const Model::DeleteFaceRequest& request) const;
|
||||
QueryAuthenticationOutcome queryAuthentication(const Model::QueryAuthenticationRequest &request)const;
|
||||
void queryAuthenticationAsync(const Model::QueryAuthenticationRequest& request, const QueryAuthenticationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAuthenticationOutcomeCallable queryAuthenticationCallable(const Model::QueryAuthenticationRequest& request) const;
|
||||
QueryGroupUsersOutcome queryGroupUsers(const Model::QueryGroupUsersRequest &request)const;
|
||||
void queryGroupUsersAsync(const Model::QueryGroupUsersRequest& request, const QueryGroupUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryGroupUsersOutcomeCallable queryGroupUsersCallable(const Model::QueryGroupUsersRequest& request) const;
|
||||
LinkFaceOutcome linkFace(const Model::LinkFaceRequest &request)const;
|
||||
void linkFaceAsync(const Model::LinkFaceRequest& request, const LinkFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LinkFaceOutcomeCallable linkFaceCallable(const Model::LinkFaceRequest& request) const;
|
||||
QueryAllGroupsOutcome queryAllGroups(const Model::QueryAllGroupsRequest &request)const;
|
||||
void queryAllGroupsAsync(const Model::QueryAllGroupsRequest& request, const QueryAllGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAllGroupsOutcomeCallable queryAllGroupsCallable(const Model::QueryAllGroupsRequest& request) const;
|
||||
RegisterFaceOutcome registerFace(const Model::RegisterFaceRequest &request)const;
|
||||
void registerFaceAsync(const Model::RegisterFaceRequest& request, const RegisterFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterFaceOutcomeCallable registerFaceCallable(const Model::RegisterFaceRequest& request) const;
|
||||
QueryAddUserInfoOutcome queryAddUserInfo(const Model::QueryAddUserInfoRequest &request)const;
|
||||
void queryAddUserInfoAsync(const Model::QueryAddUserInfoRequest& request, const QueryAddUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAddUserInfoOutcomeCallable queryAddUserInfoCallable(const Model::QueryAddUserInfoRequest& request) const;
|
||||
QueryLicensesOutcome queryLicenses(const Model::QueryLicensesRequest &request)const;
|
||||
void queryLicensesAsync(const Model::QueryLicensesRequest& request, const QueryLicensesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryLicensesOutcomeCallable queryLicensesCallable(const Model::QueryLicensesRequest& request) const;
|
||||
QueryFaceOutcome queryFace(const Model::QueryFaceRequest &request)const;
|
||||
void queryFaceAsync(const Model::QueryFaceRequest& request, const QueryFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryFaceOutcomeCallable queryFaceCallable(const Model::QueryFaceRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_LINKFACE_LINKFACECLIENT_H_
|
||||
32
linkface/include/alibabacloud/linkface/LinkFaceExport.h
Normal file
32
linkface/include/alibabacloud/linkface/LinkFaceExport.h
Normal file
@@ -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_LINKFACE_LINKFACEEXPORT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_LINKFACEEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_LINKFACE_LIBRARY)
|
||||
# define ALIBABACLOUD_LINKFACE_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_LINKFACE_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_LINKFACE_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_LINKFACE_LINKFACEEXPORT_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_LINKFACE_MODEL_CREATEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_CREATEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT CreateGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateGroupRequest();
|
||||
~CreateGroupRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_CREATEGROUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_LINKFACE_MODEL_CREATEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_CREATEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT CreateGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateGroupResult();
|
||||
explicit CreateGroupResult(const std::string &payload);
|
||||
~CreateGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_CREATEGROUPRESULT_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_LINKFACE_MODEL_DELETEFACEREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_DELETEFACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT DeleteFaceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteFaceRequest();
|
||||
~DeleteFaceRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_DELETEFACEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_LINKFACE_MODEL_DELETEFACERESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_DELETEFACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT DeleteFaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteFaceResult();
|
||||
explicit DeleteFaceResult(const std::string &payload);
|
||||
~DeleteFaceResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_DELETEFACERESULT_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_LINKFACE_MODEL_DELETEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_DELETEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT DeleteGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteGroupRequest();
|
||||
~DeleteGroupRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_DELETEGROUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_LINKFACE_MODEL_DELETEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_DELETEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT DeleteGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteGroupResult();
|
||||
explicit DeleteGroupResult(const std::string &payload);
|
||||
~DeleteGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_DELETEGROUPRESULT_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_LINKFACE_MODEL_LINKFACEREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_LINKFACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT LinkFaceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
LinkFaceRequest();
|
||||
~LinkFaceRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_LINKFACEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_LINKFACE_MODEL_LINKFACERESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_LINKFACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT LinkFaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
LinkFaceResult();
|
||||
explicit LinkFaceResult(const std::string &payload);
|
||||
~LinkFaceResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_LINKFACERESULT_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_LINKFACE_MODEL_QUERYADDUSERINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYADDUSERINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryAddUserInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryAddUserInfoRequest();
|
||||
~QueryAddUserInfoRequest();
|
||||
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
|
||||
private:
|
||||
std::string iotId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYADDUSERINFOREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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_LINKFACE_MODEL_QUERYADDUSERINFORESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYADDUSERINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryAddUserInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct CurrentFaceInfosItem
|
||||
{
|
||||
std::string userId;
|
||||
int index;
|
||||
std::string clientTag;
|
||||
};
|
||||
struct FailedFaceInfosItem
|
||||
{
|
||||
std::string userId;
|
||||
int index;
|
||||
std::string clientTag;
|
||||
};
|
||||
std::vector<CurrentFaceInfosItem> currentFaceInfos;
|
||||
std::vector<FailedFaceInfosItem> failedFaceInfos;
|
||||
};
|
||||
|
||||
|
||||
QueryAddUserInfoResult();
|
||||
explicit QueryAddUserInfoResult(const std::string &payload);
|
||||
~QueryAddUserInfoResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYADDUSERINFORESULT_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_LINKFACE_MODEL_QUERYALLGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYALLGROUPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryAllGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryAllGroupsRequest();
|
||||
~QueryAllGroupsRequest();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYALLGROUPSREQUEST_H_
|
||||
@@ -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_LINKFACE_MODEL_QUERYALLGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYALLGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryAllGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::vector<std::string> groups;
|
||||
};
|
||||
|
||||
|
||||
QueryAllGroupsResult();
|
||||
explicit QueryAllGroupsResult(const std::string &payload);
|
||||
~QueryAllGroupsResult();
|
||||
std::string getMessage()const;
|
||||
int getPageCount()const;
|
||||
int getPageSize()const;
|
||||
int getTotal()const;
|
||||
Data getData()const;
|
||||
int getPage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int pageCount_;
|
||||
int pageSize_;
|
||||
int total_;
|
||||
Data data_;
|
||||
int page_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYALLGROUPSRESULT_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_LINKFACE_MODEL_QUERYAUTHENTICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYAUTHENTICATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryAuthenticationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryAuthenticationRequest();
|
||||
~QueryAuthenticationRequest();
|
||||
|
||||
int getLicenseType()const;
|
||||
void setLicenseType(int licenseType);
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
|
||||
private:
|
||||
int licenseType_;
|
||||
std::string iotId_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYAUTHENTICATIONREQUEST_H_
|
||||
@@ -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_LINKFACE_MODEL_QUERYAUTHENTICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYAUTHENTICATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryAuthenticationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
std::string iotId;
|
||||
std::string expiredTime;
|
||||
std::string beginTime;
|
||||
int licenseType;
|
||||
};
|
||||
|
||||
|
||||
QueryAuthenticationResult();
|
||||
explicit QueryAuthenticationResult(const std::string &payload);
|
||||
~QueryAuthenticationResult();
|
||||
std::string getMessage()const;
|
||||
int getPageCount()const;
|
||||
int getPageSize()const;
|
||||
int getTotal()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
int getPage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int pageCount_;
|
||||
int pageSize_;
|
||||
int total_;
|
||||
std::vector<DataItem> data_;
|
||||
int page_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYAUTHENTICATIONRESULT_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_LINKFACE_MODEL_QUERYFACEREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYFACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryFaceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryFaceRequest();
|
||||
~QueryFaceRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYFACEREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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_LINKFACE_MODEL_QUERYFACERESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYFACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryFaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct UserFaceMetasItem
|
||||
{
|
||||
int index;
|
||||
std::string clientTag;
|
||||
std::string faceUrl;
|
||||
};
|
||||
std::vector<std::string> groupIds;
|
||||
std::vector<UserFaceMetasItem> userFaceMetas;
|
||||
};
|
||||
|
||||
|
||||
QueryFaceResult();
|
||||
explicit QueryFaceResult(const std::string &payload);
|
||||
~QueryFaceResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYFACERESULT_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_LINKFACE_MODEL_QUERYGROUPUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYGROUPUSERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryGroupUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryGroupUsersRequest();
|
||||
~QueryGroupUsersRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYGROUPUSERSREQUEST_H_
|
||||
@@ -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_LINKFACE_MODEL_QUERYGROUPUSERSRESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYGROUPUSERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryGroupUsersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
std::string userId;
|
||||
};
|
||||
|
||||
|
||||
QueryGroupUsersResult();
|
||||
explicit QueryGroupUsersResult(const std::string &payload);
|
||||
~QueryGroupUsersResult();
|
||||
std::string getMessage()const;
|
||||
int getPageCount()const;
|
||||
int getPageSize()const;
|
||||
int getTotal()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
int getPage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int pageCount_;
|
||||
int pageSize_;
|
||||
int total_;
|
||||
std::vector<DataItem> data_;
|
||||
int page_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYGROUPUSERSRESULT_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_LINKFACE_MODEL_QUERYLICENSESREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYLICENSESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryLicensesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryLicensesRequest();
|
||||
~QueryLicensesRequest();
|
||||
|
||||
int getLicenseType()const;
|
||||
void setLicenseType(int licenseType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
|
||||
private:
|
||||
int licenseType_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYLICENSESREQUEST_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_LINKFACE_MODEL_QUERYLICENSESRESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYLICENSESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QueryLicensesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
int costQuantity;
|
||||
int quantity;
|
||||
int licenseType;
|
||||
};
|
||||
|
||||
|
||||
QueryLicensesResult();
|
||||
explicit QueryLicensesResult(const std::string &payload);
|
||||
~QueryLicensesResult();
|
||||
std::string getMessage()const;
|
||||
int getPageCount()const;
|
||||
int getPageSize()const;
|
||||
int getTotal()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
int getPage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int pageCount_;
|
||||
int pageSize_;
|
||||
int total_;
|
||||
std::vector<DataItem> data_;
|
||||
int page_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYLICENSESRESULT_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_LINKFACE_MODEL_QUERYSYNCPICSCHEDULEREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYSYNCPICSCHEDULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QuerySyncPicScheduleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySyncPicScheduleRequest();
|
||||
~QuerySyncPicScheduleRequest();
|
||||
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
|
||||
private:
|
||||
std::string iotId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYSYNCPICSCHEDULEREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LINKFACE_MODEL_QUERYSYNCPICSCHEDULERESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_QUERYSYNCPICSCHEDULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT QuerySyncPicScheduleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
float rate;
|
||||
};
|
||||
|
||||
|
||||
QuerySyncPicScheduleResult();
|
||||
explicit QuerySyncPicScheduleResult(const std::string &payload);
|
||||
~QuerySyncPicScheduleResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_QUERYSYNCPICSCHEDULERESULT_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_LINKFACE_MODEL_REGISTERFACEREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_REGISTERFACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT RegisterFaceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RegisterFaceRequest();
|
||||
~RegisterFaceRequest();
|
||||
|
||||
std::string getImage()const;
|
||||
void setImage(const std::string& image);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string image_;
|
||||
std::string groupId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_REGISTERFACEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_LINKFACE_MODEL_REGISTERFACERESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_REGISTERFACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT RegisterFaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RegisterFaceResult();
|
||||
explicit RegisterFaceResult(const std::string &payload);
|
||||
~RegisterFaceResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_REGISTERFACERESULT_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_LINKFACE_MODEL_SYNCFACEPICTURESREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_SYNCFACEPICTURESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT SyncFacePicturesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SyncFacePicturesRequest();
|
||||
~SyncFacePicturesRequest();
|
||||
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
std::string iotId_;
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_SYNCFACEPICTURESREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_LINKFACE_MODEL_SYNCFACEPICTURESRESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_SYNCFACEPICTURESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT SyncFacePicturesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SyncFacePicturesResult();
|
||||
explicit SyncFacePicturesResult(const std::string &payload);
|
||||
~SyncFacePicturesResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_SYNCFACEPICTURESRESULT_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_LINKFACE_MODEL_UNLINKFACEREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_UNLINKFACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT UnlinkFaceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnlinkFaceRequest();
|
||||
~UnlinkFaceRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_UNLINKFACEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_LINKFACE_MODEL_UNLINKFACERESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_UNLINKFACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT UnlinkFaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnlinkFaceResult();
|
||||
explicit UnlinkFaceResult(const std::string &payload);
|
||||
~UnlinkFaceResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_UNLINKFACERESULT_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_LINKFACE_MODEL_UPDATEFACEREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_UPDATEFACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT UpdateFaceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateFaceRequest();
|
||||
~UpdateFaceRequest();
|
||||
|
||||
std::string getImage()const;
|
||||
void setImage(const std::string& image);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string image_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_UPDATEFACEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_LINKFACE_MODEL_UPDATEFACERESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_UPDATEFACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/linkface/LinkFaceExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LinkFace
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT UpdateFaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateFaceResult();
|
||||
explicit UpdateFaceResult(const std::string &payload);
|
||||
~UpdateFaceResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_UPDATEFACERESULT_H_
|
||||
Reference in New Issue
Block a user