@@ -22,18 +22,22 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "LinkFaceExport.h"
|
||||
#include "model/QuerySyncPicScheduleRequest.h"
|
||||
#include "model/QuerySyncPicScheduleResult.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/DeleteDeviceAllGroupRequest.h"
|
||||
#include "model/DeleteDeviceAllGroupResult.h"
|
||||
#include "model/DeleteGroupRequest.h"
|
||||
#include "model/DeleteGroupResult.h"
|
||||
#include "model/DeleteDeviceGroupRequest.h"
|
||||
#include "model/DeleteDeviceGroupResult.h"
|
||||
#include "model/DeleteFaceRequest.h"
|
||||
#include "model/DeleteFaceResult.h"
|
||||
#include "model/QueryAuthenticationRequest.h"
|
||||
@@ -63,24 +67,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_LINKFACE_EXPORT LinkFaceClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
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::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::DeleteDeviceAllGroupResult> DeleteDeviceAllGroupOutcome;
|
||||
typedef std::future<DeleteDeviceAllGroupOutcome> DeleteDeviceAllGroupOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::DeleteDeviceAllGroupRequest&, const DeleteDeviceAllGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceAllGroupAsyncHandler;
|
||||
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::DeleteDeviceGroupResult> DeleteDeviceGroupOutcome;
|
||||
typedef std::future<DeleteDeviceGroupOutcome> DeleteDeviceGroupOutcomeCallable;
|
||||
typedef std::function<void(const LinkFaceClient*, const Model::DeleteDeviceGroupRequest&, const DeleteDeviceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceGroupAsyncHandler;
|
||||
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;
|
||||
@@ -116,24 +126,30 @@ namespace AlibabaCloud
|
||||
LinkFaceClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
LinkFaceClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~LinkFaceClient();
|
||||
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;
|
||||
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;
|
||||
DeleteDeviceAllGroupOutcome deleteDeviceAllGroup(const Model::DeleteDeviceAllGroupRequest &request)const;
|
||||
void deleteDeviceAllGroupAsync(const Model::DeleteDeviceAllGroupRequest& request, const DeleteDeviceAllGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDeviceAllGroupOutcomeCallable deleteDeviceAllGroupCallable(const Model::DeleteDeviceAllGroupRequest& 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;
|
||||
DeleteDeviceGroupOutcome deleteDeviceGroup(const Model::DeleteDeviceGroupRequest &request)const;
|
||||
void deleteDeviceGroupAsync(const Model::DeleteDeviceGroupRequest& request, const DeleteDeviceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDeviceGroupOutcomeCallable deleteDeviceGroupCallable(const Model::DeleteDeviceGroupRequest& 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;
|
||||
|
||||
@@ -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_DELETEDEVICEALLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_DELETEDEVICEALLGROUPREQUEST_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 DeleteDeviceAllGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDeviceAllGroupRequest();
|
||||
~DeleteDeviceAllGroupRequest();
|
||||
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
std::string getProductKey()const;
|
||||
void setProductKey(const std::string& productKey);
|
||||
|
||||
private:
|
||||
std::string iotId_;
|
||||
std::string deviceName_;
|
||||
std::string productKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_DELETEDEVICEALLGROUPREQUEST_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_DELETEDEVICEALLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_DELETEDEVICEALLGROUPRESULT_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 DeleteDeviceAllGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDeviceAllGroupResult();
|
||||
explicit DeleteDeviceAllGroupResult(const std::string &payload);
|
||||
~DeleteDeviceAllGroupResult();
|
||||
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_DELETEDEVICEALLGROUPRESULT_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_DELETEDEVICEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_DELETEDEVICEGROUPREQUEST_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 DeleteDeviceGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDeviceGroupRequest();
|
||||
~DeleteDeviceGroupRequest();
|
||||
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
std::string getProductKey()const;
|
||||
void setProductKey(const std::string& productKey);
|
||||
|
||||
private:
|
||||
std::string iotId_;
|
||||
std::string groupId_;
|
||||
std::string deviceName_;
|
||||
std::string productKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINKFACE_MODEL_DELETEDEVICEGROUPREQUEST_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_DELETEDEVICEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_LINKFACE_MODEL_DELETEDEVICEGROUPRESULT_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 DeleteDeviceGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDeviceGroupResult();
|
||||
explicit DeleteDeviceGroupResult(const std::string &payload);
|
||||
~DeleteDeviceGroupResult();
|
||||
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_DELETEDEVICEGROUPRESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
std::string getProductKey()const;
|
||||
@@ -44,6 +46,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string iotId_;
|
||||
std::string groupId_;
|
||||
std::string deviceName_;
|
||||
std::string productKey_;
|
||||
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
std::string getProductKey()const;
|
||||
@@ -44,6 +46,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string iotId_;
|
||||
std::string groupId_;
|
||||
std::string deviceName_;
|
||||
std::string productKey_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user