Add monitor related.

This commit is contained in:
sdk-team
2020-05-25 16:13:07 +08:00
parent 07721caa35
commit 670f1bb324
45 changed files with 2633 additions and 48 deletions

View File

@@ -24,26 +24,42 @@
#include "VcsExport.h"
#include "model/AddDeviceRequest.h"
#include "model/AddDeviceResult.h"
#include "model/AddMonitorRequest.h"
#include "model/AddMonitorResult.h"
#include "model/CreateCorpRequest.h"
#include "model/CreateCorpResult.h"
#include "model/DeleteDeviceRequest.h"
#include "model/DeleteDeviceResult.h"
#include "model/GetBodyOptionsRequest.h"
#include "model/GetBodyOptionsResult.h"
#include "model/GetDeviceLiveUrlRequest.h"
#include "model/GetDeviceLiveUrlResult.h"
#include "model/GetDeviceVideoUrlRequest.h"
#include "model/GetDeviceVideoUrlResult.h"
#include "model/GetFaceOptionsRequest.h"
#include "model/GetFaceOptionsResult.h"
#include "model/GetInventoryRequest.h"
#include "model/GetInventoryResult.h"
#include "model/GetMonitorResultRequest.h"
#include "model/GetMonitorResultResult.h"
#include "model/ListCorpsRequest.h"
#include "model/ListCorpsResult.h"
#include "model/ListDevicesRequest.h"
#include "model/ListDevicesResult.h"
#include "model/RecognizeImageRequest.h"
#include "model/RecognizeImageResult.h"
#include "model/SearchBodyRequest.h"
#include "model/SearchBodyResult.h"
#include "model/SearchFaceRequest.h"
#include "model/SearchFaceResult.h"
#include "model/StopMonitorRequest.h"
#include "model/StopMonitorResult.h"
#include "model/UpdateCorpRequest.h"
#include "model/UpdateCorpResult.h"
#include "model/UpdateDeviceRequest.h"
#include "model/UpdateDeviceResult.h"
#include "model/UpdateMonitorRequest.h"
#include "model/UpdateMonitorResult.h"
namespace AlibabaCloud
@@ -56,18 +72,33 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddDeviceResult> AddDeviceOutcome;
typedef std::future<AddDeviceOutcome> AddDeviceOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::AddDeviceRequest&, const AddDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDeviceAsyncHandler;
typedef Outcome<Error, Model::AddMonitorResult> AddMonitorOutcome;
typedef std::future<AddMonitorOutcome> AddMonitorOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::AddMonitorRequest&, const AddMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddMonitorAsyncHandler;
typedef Outcome<Error, Model::CreateCorpResult> CreateCorpOutcome;
typedef std::future<CreateCorpOutcome> CreateCorpOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::CreateCorpRequest&, const CreateCorpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCorpAsyncHandler;
typedef Outcome<Error, Model::DeleteDeviceResult> DeleteDeviceOutcome;
typedef std::future<DeleteDeviceOutcome> DeleteDeviceOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::DeleteDeviceRequest&, const DeleteDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceAsyncHandler;
typedef Outcome<Error, Model::GetBodyOptionsResult> GetBodyOptionsOutcome;
typedef std::future<GetBodyOptionsOutcome> GetBodyOptionsOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::GetBodyOptionsRequest&, const GetBodyOptionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBodyOptionsAsyncHandler;
typedef Outcome<Error, Model::GetDeviceLiveUrlResult> GetDeviceLiveUrlOutcome;
typedef std::future<GetDeviceLiveUrlOutcome> GetDeviceLiveUrlOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::GetDeviceLiveUrlRequest&, const GetDeviceLiveUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceLiveUrlAsyncHandler;
typedef Outcome<Error, Model::GetDeviceVideoUrlResult> GetDeviceVideoUrlOutcome;
typedef std::future<GetDeviceVideoUrlOutcome> GetDeviceVideoUrlOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::GetDeviceVideoUrlRequest&, const GetDeviceVideoUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceVideoUrlAsyncHandler;
typedef Outcome<Error, Model::GetFaceOptionsResult> GetFaceOptionsOutcome;
typedef std::future<GetFaceOptionsOutcome> GetFaceOptionsOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::GetFaceOptionsRequest&, const GetFaceOptionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFaceOptionsAsyncHandler;
typedef Outcome<Error, Model::GetInventoryResult> GetInventoryOutcome;
typedef std::future<GetInventoryOutcome> GetInventoryOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::GetInventoryRequest&, const GetInventoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInventoryAsyncHandler;
typedef Outcome<Error, Model::GetMonitorResultResult> GetMonitorResultOutcome;
typedef std::future<GetMonitorResultOutcome> GetMonitorResultOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::GetMonitorResultRequest&, const GetMonitorResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMonitorResultAsyncHandler;
typedef Outcome<Error, Model::ListCorpsResult> ListCorpsOutcome;
typedef std::future<ListCorpsOutcome> ListCorpsOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::ListCorpsRequest&, const ListCorpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCorpsAsyncHandler;
@@ -77,15 +108,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RecognizeImageResult> RecognizeImageOutcome;
typedef std::future<RecognizeImageOutcome> RecognizeImageOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::RecognizeImageRequest&, const RecognizeImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecognizeImageAsyncHandler;
typedef Outcome<Error, Model::SearchBodyResult> SearchBodyOutcome;
typedef std::future<SearchBodyOutcome> SearchBodyOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::SearchBodyRequest&, const SearchBodyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchBodyAsyncHandler;
typedef Outcome<Error, Model::SearchFaceResult> SearchFaceOutcome;
typedef std::future<SearchFaceOutcome> SearchFaceOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::SearchFaceRequest&, const SearchFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchFaceAsyncHandler;
typedef Outcome<Error, Model::StopMonitorResult> StopMonitorOutcome;
typedef std::future<StopMonitorOutcome> StopMonitorOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::StopMonitorRequest&, const StopMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMonitorAsyncHandler;
typedef Outcome<Error, Model::UpdateCorpResult> UpdateCorpOutcome;
typedef std::future<UpdateCorpOutcome> UpdateCorpOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::UpdateCorpRequest&, const UpdateCorpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCorpAsyncHandler;
typedef Outcome<Error, Model::UpdateDeviceResult> UpdateDeviceOutcome;
typedef std::future<UpdateDeviceOutcome> UpdateDeviceOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::UpdateDeviceRequest&, const UpdateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceAsyncHandler;
typedef Outcome<Error, Model::UpdateMonitorResult> UpdateMonitorOutcome;
typedef std::future<UpdateMonitorOutcome> UpdateMonitorOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::UpdateMonitorRequest&, const UpdateMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMonitorAsyncHandler;
VcsClient(const Credentials &credentials, const ClientConfiguration &configuration);
VcsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -94,18 +134,33 @@ namespace AlibabaCloud
AddDeviceOutcome addDevice(const Model::AddDeviceRequest &request)const;
void addDeviceAsync(const Model::AddDeviceRequest& request, const AddDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDeviceOutcomeCallable addDeviceCallable(const Model::AddDeviceRequest& request) const;
AddMonitorOutcome addMonitor(const Model::AddMonitorRequest &request)const;
void addMonitorAsync(const Model::AddMonitorRequest& request, const AddMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddMonitorOutcomeCallable addMonitorCallable(const Model::AddMonitorRequest& request) const;
CreateCorpOutcome createCorp(const Model::CreateCorpRequest &request)const;
void createCorpAsync(const Model::CreateCorpRequest& request, const CreateCorpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCorpOutcomeCallable createCorpCallable(const Model::CreateCorpRequest& request) const;
DeleteDeviceOutcome deleteDevice(const Model::DeleteDeviceRequest &request)const;
void deleteDeviceAsync(const Model::DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeviceOutcomeCallable deleteDeviceCallable(const Model::DeleteDeviceRequest& request) const;
GetBodyOptionsOutcome getBodyOptions(const Model::GetBodyOptionsRequest &request)const;
void getBodyOptionsAsync(const Model::GetBodyOptionsRequest& request, const GetBodyOptionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetBodyOptionsOutcomeCallable getBodyOptionsCallable(const Model::GetBodyOptionsRequest& request) const;
GetDeviceLiveUrlOutcome getDeviceLiveUrl(const Model::GetDeviceLiveUrlRequest &request)const;
void getDeviceLiveUrlAsync(const Model::GetDeviceLiveUrlRequest& request, const GetDeviceLiveUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceLiveUrlOutcomeCallable getDeviceLiveUrlCallable(const Model::GetDeviceLiveUrlRequest& request) const;
GetDeviceVideoUrlOutcome getDeviceVideoUrl(const Model::GetDeviceVideoUrlRequest &request)const;
void getDeviceVideoUrlAsync(const Model::GetDeviceVideoUrlRequest& request, const GetDeviceVideoUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceVideoUrlOutcomeCallable getDeviceVideoUrlCallable(const Model::GetDeviceVideoUrlRequest& request) const;
GetFaceOptionsOutcome getFaceOptions(const Model::GetFaceOptionsRequest &request)const;
void getFaceOptionsAsync(const Model::GetFaceOptionsRequest& request, const GetFaceOptionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFaceOptionsOutcomeCallable getFaceOptionsCallable(const Model::GetFaceOptionsRequest& request) const;
GetInventoryOutcome getInventory(const Model::GetInventoryRequest &request)const;
void getInventoryAsync(const Model::GetInventoryRequest& request, const GetInventoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetInventoryOutcomeCallable getInventoryCallable(const Model::GetInventoryRequest& request) const;
GetMonitorResultOutcome getMonitorResult(const Model::GetMonitorResultRequest &request)const;
void getMonitorResultAsync(const Model::GetMonitorResultRequest& request, const GetMonitorResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMonitorResultOutcomeCallable getMonitorResultCallable(const Model::GetMonitorResultRequest& request) const;
ListCorpsOutcome listCorps(const Model::ListCorpsRequest &request)const;
void listCorpsAsync(const Model::ListCorpsRequest& request, const ListCorpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCorpsOutcomeCallable listCorpsCallable(const Model::ListCorpsRequest& request) const;
@@ -115,15 +170,24 @@ namespace AlibabaCloud
RecognizeImageOutcome recognizeImage(const Model::RecognizeImageRequest &request)const;
void recognizeImageAsync(const Model::RecognizeImageRequest& request, const RecognizeImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecognizeImageOutcomeCallable recognizeImageCallable(const Model::RecognizeImageRequest& request) const;
SearchBodyOutcome searchBody(const Model::SearchBodyRequest &request)const;
void searchBodyAsync(const Model::SearchBodyRequest& request, const SearchBodyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchBodyOutcomeCallable searchBodyCallable(const Model::SearchBodyRequest& request) const;
SearchFaceOutcome searchFace(const Model::SearchFaceRequest &request)const;
void searchFaceAsync(const Model::SearchFaceRequest& request, const SearchFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchFaceOutcomeCallable searchFaceCallable(const Model::SearchFaceRequest& request) const;
StopMonitorOutcome stopMonitor(const Model::StopMonitorRequest &request)const;
void stopMonitorAsync(const Model::StopMonitorRequest& request, const StopMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopMonitorOutcomeCallable stopMonitorCallable(const Model::StopMonitorRequest& request) const;
UpdateCorpOutcome updateCorp(const Model::UpdateCorpRequest &request)const;
void updateCorpAsync(const Model::UpdateCorpRequest& request, const UpdateCorpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateCorpOutcomeCallable updateCorpCallable(const Model::UpdateCorpRequest& request) const;
UpdateDeviceOutcome updateDevice(const Model::UpdateDeviceRequest &request)const;
void updateDeviceAsync(const Model::UpdateDeviceRequest& request, const UpdateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDeviceOutcomeCallable updateDeviceCallable(const Model::UpdateDeviceRequest& request) const;
UpdateMonitorOutcome updateMonitor(const Model::UpdateMonitorRequest &request)const;
void updateMonitorAsync(const Model::UpdateMonitorRequest& request, const UpdateMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateMonitorOutcomeCallable updateMonitorCallable(const Model::UpdateMonitorRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -41,10 +41,10 @@ namespace AlibabaCloud
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
std::string getBitRate()const;
void setBitRate(const std::string& bitRate);
std::string getDeviceDirection()const;
void setDeviceDirection(const std::string& deviceDirection);
std::string getDeviceRate()const;
void setDeviceRate(const std::string& deviceRate);
std::string getDeviceAddress()const;
void setDeviceAddress(const std::string& deviceAddress);
std::string getDeviceType()const;
@@ -60,8 +60,8 @@ namespace AlibabaCloud
std::string deviceSite_;
std::string corpId_;
std::string gbId_;
std::string bitRate_;
std::string deviceDirection_;
std::string deviceRate_;
std::string deviceAddress_;
std::string deviceType_;
std::string deviceResolution_;

View File

@@ -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_VCS_MODEL_ADDMONITORREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_ADDMONITORREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT AddMonitorRequest : public RpcServiceRequest
{
public:
AddMonitorRequest();
~AddMonitorRequest();
std::string getMonitorType()const;
void setMonitorType(const std::string& monitorType);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getDescription()const;
void setDescription(const std::string& description);
int getBatchIndicator()const;
void setBatchIndicator(int batchIndicator);
private:
std::string monitorType_;
std::string corpId_;
std::string description_;
int batchIndicator_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_ADDMONITORREQUEST_H_

View File

@@ -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_VCS_MODEL_ADDMONITORRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_ADDMONITORRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT AddMonitorResult : public ServiceResult
{
public:
AddMonitorResult();
explicit AddMonitorResult(const std::string &payload);
~AddMonitorResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_ADDMONITORRESULT_H_

View File

@@ -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_VCS_MODEL_GETBODYOPTIONSREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_GETBODYOPTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT GetBodyOptionsRequest : public RpcServiceRequest
{
public:
GetBodyOptionsRequest();
~GetBodyOptionsRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
private:
std::string corpId_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_GETBODYOPTIONSREQUEST_H_

View File

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

View File

@@ -39,13 +39,10 @@ namespace AlibabaCloud
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
long getDeviceId()const;
void setDeviceId(long deviceId);
private:
std::string corpId_;
std::string gbId_;
long deviceId_;
};
}

View File

@@ -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_VCS_MODEL_GETDEVICEVIDEOURLREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_GETDEVICEVIDEOURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT GetDeviceVideoUrlRequest : public RpcServiceRequest
{
public:
GetDeviceVideoUrlRequest();
~GetDeviceVideoUrlRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
private:
std::string corpId_;
std::string gbId_;
long endTime_;
long startTime_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_GETDEVICEVIDEOURLREQUEST_H_

View File

@@ -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_VCS_MODEL_GETDEVICEVIDEOURLRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_GETDEVICEVIDEOURLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT GetDeviceVideoUrlResult : public ServiceResult
{
public:
GetDeviceVideoUrlResult();
explicit GetDeviceVideoUrlResult(const std::string &payload);
~GetDeviceVideoUrlResult();
std::string getMessage()const;
std::string getCode()const;
std::string getUrl()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
std::string url_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_GETDEVICEVIDEOURLRESULT_H_

View File

@@ -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_VCS_MODEL_GETFACEOPTIONSREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_GETFACEOPTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT GetFaceOptionsRequest : public RpcServiceRequest
{
public:
GetFaceOptionsRequest();
~GetFaceOptionsRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
private:
std::string corpId_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_GETFACEOPTIONSREQUEST_H_

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VCS_MODEL_GETMONITORRESULTREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_GETMONITORRESULTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT GetMonitorResultRequest : public RpcServiceRequest
{
public:
GetMonitorResultRequest();
~GetMonitorResultRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
std::string getMinRecordId()const;
void setMinRecordId(const std::string& minRecordId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string corpId_;
long endTime_;
long startTime_;
std::string minRecordId_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_GETMONITORRESULTREQUEST_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VCS_MODEL_GETMONITORRESULTRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_GETMONITORRESULTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT GetMonitorResultResult : public ServiceResult
{
public:
struct Data
{
std::string maxRecordId;
};
struct RecordsItem
{
std::string shotPicUrl;
std::string gbId;
std::string monitorPicUrl;
std::string shotTime;
};
GetMonitorResultResult();
explicit GetMonitorResultResult(const std::string &payload);
~GetMonitorResultResult();
std::string getScore()const;
std::string getMessage()const;
std::string getRightBottomX()const;
std::string getRightBottomY()const;
Data getData()const;
std::string getLeftTopY()const;
std::vector<RecordsItem> getRecords()const;
std::string getCode()const;
std::string getLeftTopX()const;
protected:
void parse(const std::string &payload);
private:
std::string score_;
std::string message_;
std::string rightBottomX_;
std::string rightBottomY_;
Data data_;
std::string leftTopY_;
std::vector<RecordsItem> records_;
std::string code_;
std::string leftTopX_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_GETMONITORRESULTRESULT_H_

View File

@@ -49,7 +49,7 @@ namespace AlibabaCloud
std::string sipPassword;
std::string deviceType;
std::string deviceAddress;
std::string gBid;
std::string gbId;
std::string bitRate;
std::string deviceSite;
std::string sipServerPort;

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VCS_MODEL_SEARCHBODYREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_SEARCHBODYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT SearchBodyRequest : public RpcServiceRequest
{
public:
SearchBodyRequest();
~SearchBodyRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
long getStartTimeStamp()const;
void setStartTimeStamp(long startTimeStamp);
long getEndTimeStamp()const;
void setEndTimeStamp(long endTimeStamp);
int getPageNo()const;
void setPageNo(int pageNo);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getOptionList()const;
void setOptionList(const std::string& optionList);
private:
std::string corpId_;
std::string gbId_;
long startTimeStamp_;
long endTimeStamp_;
int pageNo_;
int pageSize_;
std::string optionList_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_SEARCHBODYREQUEST_H_

View File

@@ -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_VCS_MODEL_SEARCHBODYRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_SEARCHBODYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT SearchBodyResult : public ServiceResult
{
public:
struct Data
{
struct Record
{
std::string targetImageUrl;
float score;
float rightBottomX;
float rightBottomY;
std::string gbId;
std::string imageUrl;
float leftTopY;
float leftTopX;
};
int totalCount;
int pageSize;
int totalPage;
int pageNo;
std::vector<Record> records;
};
SearchBodyResult();
explicit SearchBodyResult(const std::string &payload);
~SearchBodyResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_SEARCHBODYRESULT_H_

View File

@@ -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_VCS_MODEL_STOPMONITORREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_STOPMONITORREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT StopMonitorRequest : public RpcServiceRequest
{
public:
StopMonitorRequest();
~StopMonitorRequest();
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_STOPMONITORREQUEST_H_

View File

@@ -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_VCS_MODEL_STOPMONITORRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_STOPMONITORRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT StopMonitorResult : public ServiceResult
{
public:
StopMonitorResult();
explicit StopMonitorResult(const std::string &payload);
~StopMonitorResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_STOPMONITORRESULT_H_

View File

@@ -41,10 +41,10 @@ namespace AlibabaCloud
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
std::string getBitRate()const;
void setBitRate(const std::string& bitRate);
std::string getDeviceDirection()const;
void setDeviceDirection(const std::string& deviceDirection);
std::string getDeviceRate()const;
void setDeviceRate(const std::string& deviceRate);
std::string getDeviceAddress()const;
void setDeviceAddress(const std::string& deviceAddress);
std::string getDeviceType()const;
@@ -60,8 +60,8 @@ namespace AlibabaCloud
std::string deviceSite_;
std::string corpId_;
std::string gbId_;
std::string bitRate_;
std::string deviceDirection_;
std::string deviceRate_;
std::string deviceAddress_;
std::string deviceType_;
std::string deviceResolution_;

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VCS_MODEL_UPDATEMONITORREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_UPDATEMONITORREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT UpdateMonitorRequest : public RpcServiceRequest
{
public:
UpdateMonitorRequest();
~UpdateMonitorRequest();
std::string getDeviceOperateType()const;
void setDeviceOperateType(const std::string& deviceOperateType);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getPicList()const;
void setPicList(const std::string& picList);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
std::string getPicOperateType()const;
void setPicOperateType(const std::string& picOperateType);
std::string getAttributeName()const;
void setAttributeName(const std::string& attributeName);
std::string getAttributeValueList()const;
void setAttributeValueList(const std::string& attributeValueList);
std::string getDeviceList()const;
void setDeviceList(const std::string& deviceList);
std::string getAttributeOperateType()const;
void setAttributeOperateType(const std::string& attributeOperateType);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string deviceOperateType_;
std::string corpId_;
std::string picList_;
std::string description_;
std::string ruleName_;
std::string picOperateType_;
std::string attributeName_;
std::string attributeValueList_;
std::string deviceList_;
std::string attributeOperateType_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_UPDATEMONITORREQUEST_H_

View File

@@ -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_VCS_MODEL_UPDATEMONITORRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_UPDATEMONITORRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT UpdateMonitorResult : public ServiceResult
{
public:
UpdateMonitorResult();
explicit UpdateMonitorResult(const std::string &payload);
~UpdateMonitorResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_UPDATEMONITORRESULT_H_