Change Configuration.
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2020-10-23 Version: patch
|
||||||
|
- Change Configuration.
|
||||||
|
|
||||||
2020-10-23 Version: patch
|
2020-10-23 Version: patch
|
||||||
- Update DetectLungNodule.
|
- Update DetectLungNodule.
|
||||||
|
|
||||||
|
|||||||
@@ -137,6 +137,8 @@ set(vcs_public_header_model
|
|||||||
include/alibabacloud/vcs/model/ListPersonVisitCountResult.h
|
include/alibabacloud/vcs/model/ListPersonVisitCountResult.h
|
||||||
include/alibabacloud/vcs/model/ListPersonsRequest.h
|
include/alibabacloud/vcs/model/ListPersonsRequest.h
|
||||||
include/alibabacloud/vcs/model/ListPersonsResult.h
|
include/alibabacloud/vcs/model/ListPersonsResult.h
|
||||||
|
include/alibabacloud/vcs/model/ListSubscribeDeviceRequest.h
|
||||||
|
include/alibabacloud/vcs/model/ListSubscribeDeviceResult.h
|
||||||
include/alibabacloud/vcs/model/ListUserGroupsRequest.h
|
include/alibabacloud/vcs/model/ListUserGroupsRequest.h
|
||||||
include/alibabacloud/vcs/model/ListUserGroupsResult.h
|
include/alibabacloud/vcs/model/ListUserGroupsResult.h
|
||||||
include/alibabacloud/vcs/model/ListUsersRequest.h
|
include/alibabacloud/vcs/model/ListUsersRequest.h
|
||||||
@@ -159,6 +161,10 @@ set(vcs_public_header_model
|
|||||||
include/alibabacloud/vcs/model/SearchObjectResult.h
|
include/alibabacloud/vcs/model/SearchObjectResult.h
|
||||||
include/alibabacloud/vcs/model/StopMonitorRequest.h
|
include/alibabacloud/vcs/model/StopMonitorRequest.h
|
||||||
include/alibabacloud/vcs/model/StopMonitorResult.h
|
include/alibabacloud/vcs/model/StopMonitorResult.h
|
||||||
|
include/alibabacloud/vcs/model/SubscribeDeviceEventRequest.h
|
||||||
|
include/alibabacloud/vcs/model/SubscribeDeviceEventResult.h
|
||||||
|
include/alibabacloud/vcs/model/SubscribeSpaceEventRequest.h
|
||||||
|
include/alibabacloud/vcs/model/SubscribeSpaceEventResult.h
|
||||||
include/alibabacloud/vcs/model/SyncDeviceTimeRequest.h
|
include/alibabacloud/vcs/model/SyncDeviceTimeRequest.h
|
||||||
include/alibabacloud/vcs/model/SyncDeviceTimeResult.h
|
include/alibabacloud/vcs/model/SyncDeviceTimeResult.h
|
||||||
include/alibabacloud/vcs/model/UnbindCorpGroupRequest.h
|
include/alibabacloud/vcs/model/UnbindCorpGroupRequest.h
|
||||||
@@ -167,6 +173,10 @@ set(vcs_public_header_model
|
|||||||
include/alibabacloud/vcs/model/UnbindPersonResult.h
|
include/alibabacloud/vcs/model/UnbindPersonResult.h
|
||||||
include/alibabacloud/vcs/model/UnbindUserRequest.h
|
include/alibabacloud/vcs/model/UnbindUserRequest.h
|
||||||
include/alibabacloud/vcs/model/UnbindUserResult.h
|
include/alibabacloud/vcs/model/UnbindUserResult.h
|
||||||
|
include/alibabacloud/vcs/model/UnsubscribeDeviceEventRequest.h
|
||||||
|
include/alibabacloud/vcs/model/UnsubscribeDeviceEventResult.h
|
||||||
|
include/alibabacloud/vcs/model/UnsubscribeSpaceEventRequest.h
|
||||||
|
include/alibabacloud/vcs/model/UnsubscribeSpaceEventResult.h
|
||||||
include/alibabacloud/vcs/model/UpdateCorpRequest.h
|
include/alibabacloud/vcs/model/UpdateCorpRequest.h
|
||||||
include/alibabacloud/vcs/model/UpdateCorpResult.h
|
include/alibabacloud/vcs/model/UpdateCorpResult.h
|
||||||
include/alibabacloud/vcs/model/UpdateDeviceRequest.h
|
include/alibabacloud/vcs/model/UpdateDeviceRequest.h
|
||||||
@@ -304,6 +314,8 @@ set(vcs_src
|
|||||||
src/model/ListPersonVisitCountResult.cc
|
src/model/ListPersonVisitCountResult.cc
|
||||||
src/model/ListPersonsRequest.cc
|
src/model/ListPersonsRequest.cc
|
||||||
src/model/ListPersonsResult.cc
|
src/model/ListPersonsResult.cc
|
||||||
|
src/model/ListSubscribeDeviceRequest.cc
|
||||||
|
src/model/ListSubscribeDeviceResult.cc
|
||||||
src/model/ListUserGroupsRequest.cc
|
src/model/ListUserGroupsRequest.cc
|
||||||
src/model/ListUserGroupsResult.cc
|
src/model/ListUserGroupsResult.cc
|
||||||
src/model/ListUsersRequest.cc
|
src/model/ListUsersRequest.cc
|
||||||
@@ -326,6 +338,10 @@ set(vcs_src
|
|||||||
src/model/SearchObjectResult.cc
|
src/model/SearchObjectResult.cc
|
||||||
src/model/StopMonitorRequest.cc
|
src/model/StopMonitorRequest.cc
|
||||||
src/model/StopMonitorResult.cc
|
src/model/StopMonitorResult.cc
|
||||||
|
src/model/SubscribeDeviceEventRequest.cc
|
||||||
|
src/model/SubscribeDeviceEventResult.cc
|
||||||
|
src/model/SubscribeSpaceEventRequest.cc
|
||||||
|
src/model/SubscribeSpaceEventResult.cc
|
||||||
src/model/SyncDeviceTimeRequest.cc
|
src/model/SyncDeviceTimeRequest.cc
|
||||||
src/model/SyncDeviceTimeResult.cc
|
src/model/SyncDeviceTimeResult.cc
|
||||||
src/model/UnbindCorpGroupRequest.cc
|
src/model/UnbindCorpGroupRequest.cc
|
||||||
@@ -334,6 +350,10 @@ set(vcs_src
|
|||||||
src/model/UnbindPersonResult.cc
|
src/model/UnbindPersonResult.cc
|
||||||
src/model/UnbindUserRequest.cc
|
src/model/UnbindUserRequest.cc
|
||||||
src/model/UnbindUserResult.cc
|
src/model/UnbindUserResult.cc
|
||||||
|
src/model/UnsubscribeDeviceEventRequest.cc
|
||||||
|
src/model/UnsubscribeDeviceEventResult.cc
|
||||||
|
src/model/UnsubscribeSpaceEventRequest.cc
|
||||||
|
src/model/UnsubscribeSpaceEventResult.cc
|
||||||
src/model/UpdateCorpRequest.cc
|
src/model/UpdateCorpRequest.cc
|
||||||
src/model/UpdateCorpResult.cc
|
src/model/UpdateCorpResult.cc
|
||||||
src/model/UpdateDeviceRequest.cc
|
src/model/UpdateDeviceRequest.cc
|
||||||
|
|||||||
@@ -138,6 +138,8 @@
|
|||||||
#include "model/ListPersonVisitCountResult.h"
|
#include "model/ListPersonVisitCountResult.h"
|
||||||
#include "model/ListPersonsRequest.h"
|
#include "model/ListPersonsRequest.h"
|
||||||
#include "model/ListPersonsResult.h"
|
#include "model/ListPersonsResult.h"
|
||||||
|
#include "model/ListSubscribeDeviceRequest.h"
|
||||||
|
#include "model/ListSubscribeDeviceResult.h"
|
||||||
#include "model/ListUserGroupsRequest.h"
|
#include "model/ListUserGroupsRequest.h"
|
||||||
#include "model/ListUserGroupsResult.h"
|
#include "model/ListUserGroupsResult.h"
|
||||||
#include "model/ListUsersRequest.h"
|
#include "model/ListUsersRequest.h"
|
||||||
@@ -160,6 +162,10 @@
|
|||||||
#include "model/SearchObjectResult.h"
|
#include "model/SearchObjectResult.h"
|
||||||
#include "model/StopMonitorRequest.h"
|
#include "model/StopMonitorRequest.h"
|
||||||
#include "model/StopMonitorResult.h"
|
#include "model/StopMonitorResult.h"
|
||||||
|
#include "model/SubscribeDeviceEventRequest.h"
|
||||||
|
#include "model/SubscribeDeviceEventResult.h"
|
||||||
|
#include "model/SubscribeSpaceEventRequest.h"
|
||||||
|
#include "model/SubscribeSpaceEventResult.h"
|
||||||
#include "model/SyncDeviceTimeRequest.h"
|
#include "model/SyncDeviceTimeRequest.h"
|
||||||
#include "model/SyncDeviceTimeResult.h"
|
#include "model/SyncDeviceTimeResult.h"
|
||||||
#include "model/UnbindCorpGroupRequest.h"
|
#include "model/UnbindCorpGroupRequest.h"
|
||||||
@@ -168,6 +174,10 @@
|
|||||||
#include "model/UnbindPersonResult.h"
|
#include "model/UnbindPersonResult.h"
|
||||||
#include "model/UnbindUserRequest.h"
|
#include "model/UnbindUserRequest.h"
|
||||||
#include "model/UnbindUserResult.h"
|
#include "model/UnbindUserResult.h"
|
||||||
|
#include "model/UnsubscribeDeviceEventRequest.h"
|
||||||
|
#include "model/UnsubscribeDeviceEventResult.h"
|
||||||
|
#include "model/UnsubscribeSpaceEventRequest.h"
|
||||||
|
#include "model/UnsubscribeSpaceEventResult.h"
|
||||||
#include "model/UpdateCorpRequest.h"
|
#include "model/UpdateCorpRequest.h"
|
||||||
#include "model/UpdateCorpResult.h"
|
#include "model/UpdateCorpResult.h"
|
||||||
#include "model/UpdateDeviceRequest.h"
|
#include "model/UpdateDeviceRequest.h"
|
||||||
@@ -369,6 +379,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListPersonsResult> ListPersonsOutcome;
|
typedef Outcome<Error, Model::ListPersonsResult> ListPersonsOutcome;
|
||||||
typedef std::future<ListPersonsOutcome> ListPersonsOutcomeCallable;
|
typedef std::future<ListPersonsOutcome> ListPersonsOutcomeCallable;
|
||||||
typedef std::function<void(const VcsClient*, const Model::ListPersonsRequest&, const ListPersonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonsAsyncHandler;
|
typedef std::function<void(const VcsClient*, const Model::ListPersonsRequest&, const ListPersonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListSubscribeDeviceResult> ListSubscribeDeviceOutcome;
|
||||||
|
typedef std::future<ListSubscribeDeviceOutcome> ListSubscribeDeviceOutcomeCallable;
|
||||||
|
typedef std::function<void(const VcsClient*, const Model::ListSubscribeDeviceRequest&, const ListSubscribeDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSubscribeDeviceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListUserGroupsResult> ListUserGroupsOutcome;
|
typedef Outcome<Error, Model::ListUserGroupsResult> ListUserGroupsOutcome;
|
||||||
typedef std::future<ListUserGroupsOutcome> ListUserGroupsOutcomeCallable;
|
typedef std::future<ListUserGroupsOutcome> ListUserGroupsOutcomeCallable;
|
||||||
typedef std::function<void(const VcsClient*, const Model::ListUserGroupsRequest&, const ListUserGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserGroupsAsyncHandler;
|
typedef std::function<void(const VcsClient*, const Model::ListUserGroupsRequest&, const ListUserGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserGroupsAsyncHandler;
|
||||||
@@ -402,6 +415,12 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::StopMonitorResult> StopMonitorOutcome;
|
typedef Outcome<Error, Model::StopMonitorResult> StopMonitorOutcome;
|
||||||
typedef std::future<StopMonitorOutcome> StopMonitorOutcomeCallable;
|
typedef std::future<StopMonitorOutcome> StopMonitorOutcomeCallable;
|
||||||
typedef std::function<void(const VcsClient*, const Model::StopMonitorRequest&, const StopMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMonitorAsyncHandler;
|
typedef std::function<void(const VcsClient*, const Model::StopMonitorRequest&, const StopMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMonitorAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SubscribeDeviceEventResult> SubscribeDeviceEventOutcome;
|
||||||
|
typedef std::future<SubscribeDeviceEventOutcome> SubscribeDeviceEventOutcomeCallable;
|
||||||
|
typedef std::function<void(const VcsClient*, const Model::SubscribeDeviceEventRequest&, const SubscribeDeviceEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubscribeDeviceEventAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::SubscribeSpaceEventResult> SubscribeSpaceEventOutcome;
|
||||||
|
typedef std::future<SubscribeSpaceEventOutcome> SubscribeSpaceEventOutcomeCallable;
|
||||||
|
typedef std::function<void(const VcsClient*, const Model::SubscribeSpaceEventRequest&, const SubscribeSpaceEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubscribeSpaceEventAsyncHandler;
|
||||||
typedef Outcome<Error, Model::SyncDeviceTimeResult> SyncDeviceTimeOutcome;
|
typedef Outcome<Error, Model::SyncDeviceTimeResult> SyncDeviceTimeOutcome;
|
||||||
typedef std::future<SyncDeviceTimeOutcome> SyncDeviceTimeOutcomeCallable;
|
typedef std::future<SyncDeviceTimeOutcome> SyncDeviceTimeOutcomeCallable;
|
||||||
typedef std::function<void(const VcsClient*, const Model::SyncDeviceTimeRequest&, const SyncDeviceTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncDeviceTimeAsyncHandler;
|
typedef std::function<void(const VcsClient*, const Model::SyncDeviceTimeRequest&, const SyncDeviceTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncDeviceTimeAsyncHandler;
|
||||||
@@ -414,6 +433,12 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::UnbindUserResult> UnbindUserOutcome;
|
typedef Outcome<Error, Model::UnbindUserResult> UnbindUserOutcome;
|
||||||
typedef std::future<UnbindUserOutcome> UnbindUserOutcomeCallable;
|
typedef std::future<UnbindUserOutcome> UnbindUserOutcomeCallable;
|
||||||
typedef std::function<void(const VcsClient*, const Model::UnbindUserRequest&, const UnbindUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindUserAsyncHandler;
|
typedef std::function<void(const VcsClient*, const Model::UnbindUserRequest&, const UnbindUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindUserAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UnsubscribeDeviceEventResult> UnsubscribeDeviceEventOutcome;
|
||||||
|
typedef std::future<UnsubscribeDeviceEventOutcome> UnsubscribeDeviceEventOutcomeCallable;
|
||||||
|
typedef std::function<void(const VcsClient*, const Model::UnsubscribeDeviceEventRequest&, const UnsubscribeDeviceEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnsubscribeDeviceEventAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UnsubscribeSpaceEventResult> UnsubscribeSpaceEventOutcome;
|
||||||
|
typedef std::future<UnsubscribeSpaceEventOutcome> UnsubscribeSpaceEventOutcomeCallable;
|
||||||
|
typedef std::function<void(const VcsClient*, const Model::UnsubscribeSpaceEventRequest&, const UnsubscribeSpaceEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnsubscribeSpaceEventAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateCorpResult> UpdateCorpOutcome;
|
typedef Outcome<Error, Model::UpdateCorpResult> UpdateCorpOutcome;
|
||||||
typedef std::future<UpdateCorpOutcome> UpdateCorpOutcomeCallable;
|
typedef std::future<UpdateCorpOutcome> UpdateCorpOutcomeCallable;
|
||||||
typedef std::function<void(const VcsClient*, const Model::UpdateCorpRequest&, const UpdateCorpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCorpAsyncHandler;
|
typedef std::function<void(const VcsClient*, const Model::UpdateCorpRequest&, const UpdateCorpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCorpAsyncHandler;
|
||||||
@@ -620,6 +645,9 @@ namespace AlibabaCloud
|
|||||||
ListPersonsOutcome listPersons(const Model::ListPersonsRequest &request)const;
|
ListPersonsOutcome listPersons(const Model::ListPersonsRequest &request)const;
|
||||||
void listPersonsAsync(const Model::ListPersonsRequest& request, const ListPersonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listPersonsAsync(const Model::ListPersonsRequest& request, const ListPersonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListPersonsOutcomeCallable listPersonsCallable(const Model::ListPersonsRequest& request) const;
|
ListPersonsOutcomeCallable listPersonsCallable(const Model::ListPersonsRequest& request) const;
|
||||||
|
ListSubscribeDeviceOutcome listSubscribeDevice(const Model::ListSubscribeDeviceRequest &request)const;
|
||||||
|
void listSubscribeDeviceAsync(const Model::ListSubscribeDeviceRequest& request, const ListSubscribeDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListSubscribeDeviceOutcomeCallable listSubscribeDeviceCallable(const Model::ListSubscribeDeviceRequest& request) const;
|
||||||
ListUserGroupsOutcome listUserGroups(const Model::ListUserGroupsRequest &request)const;
|
ListUserGroupsOutcome listUserGroups(const Model::ListUserGroupsRequest &request)const;
|
||||||
void listUserGroupsAsync(const Model::ListUserGroupsRequest& request, const ListUserGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listUserGroupsAsync(const Model::ListUserGroupsRequest& request, const ListUserGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListUserGroupsOutcomeCallable listUserGroupsCallable(const Model::ListUserGroupsRequest& request) const;
|
ListUserGroupsOutcomeCallable listUserGroupsCallable(const Model::ListUserGroupsRequest& request) const;
|
||||||
@@ -653,6 +681,12 @@ namespace AlibabaCloud
|
|||||||
StopMonitorOutcome stopMonitor(const Model::StopMonitorRequest &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;
|
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;
|
StopMonitorOutcomeCallable stopMonitorCallable(const Model::StopMonitorRequest& request) const;
|
||||||
|
SubscribeDeviceEventOutcome subscribeDeviceEvent(const Model::SubscribeDeviceEventRequest &request)const;
|
||||||
|
void subscribeDeviceEventAsync(const Model::SubscribeDeviceEventRequest& request, const SubscribeDeviceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SubscribeDeviceEventOutcomeCallable subscribeDeviceEventCallable(const Model::SubscribeDeviceEventRequest& request) const;
|
||||||
|
SubscribeSpaceEventOutcome subscribeSpaceEvent(const Model::SubscribeSpaceEventRequest &request)const;
|
||||||
|
void subscribeSpaceEventAsync(const Model::SubscribeSpaceEventRequest& request, const SubscribeSpaceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
SubscribeSpaceEventOutcomeCallable subscribeSpaceEventCallable(const Model::SubscribeSpaceEventRequest& request) const;
|
||||||
SyncDeviceTimeOutcome syncDeviceTime(const Model::SyncDeviceTimeRequest &request)const;
|
SyncDeviceTimeOutcome syncDeviceTime(const Model::SyncDeviceTimeRequest &request)const;
|
||||||
void syncDeviceTimeAsync(const Model::SyncDeviceTimeRequest& request, const SyncDeviceTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void syncDeviceTimeAsync(const Model::SyncDeviceTimeRequest& request, const SyncDeviceTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SyncDeviceTimeOutcomeCallable syncDeviceTimeCallable(const Model::SyncDeviceTimeRequest& request) const;
|
SyncDeviceTimeOutcomeCallable syncDeviceTimeCallable(const Model::SyncDeviceTimeRequest& request) const;
|
||||||
@@ -665,6 +699,12 @@ namespace AlibabaCloud
|
|||||||
UnbindUserOutcome unbindUser(const Model::UnbindUserRequest &request)const;
|
UnbindUserOutcome unbindUser(const Model::UnbindUserRequest &request)const;
|
||||||
void unbindUserAsync(const Model::UnbindUserRequest& request, const UnbindUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void unbindUserAsync(const Model::UnbindUserRequest& request, const UnbindUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UnbindUserOutcomeCallable unbindUserCallable(const Model::UnbindUserRequest& request) const;
|
UnbindUserOutcomeCallable unbindUserCallable(const Model::UnbindUserRequest& request) const;
|
||||||
|
UnsubscribeDeviceEventOutcome unsubscribeDeviceEvent(const Model::UnsubscribeDeviceEventRequest &request)const;
|
||||||
|
void unsubscribeDeviceEventAsync(const Model::UnsubscribeDeviceEventRequest& request, const UnsubscribeDeviceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UnsubscribeDeviceEventOutcomeCallable unsubscribeDeviceEventCallable(const Model::UnsubscribeDeviceEventRequest& request) const;
|
||||||
|
UnsubscribeSpaceEventOutcome unsubscribeSpaceEvent(const Model::UnsubscribeSpaceEventRequest &request)const;
|
||||||
|
void unsubscribeSpaceEventAsync(const Model::UnsubscribeSpaceEventRequest& request, const UnsubscribeSpaceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UnsubscribeSpaceEventOutcomeCallable unsubscribeSpaceEventCallable(const Model::UnsubscribeSpaceEventRequest& request) const;
|
||||||
UpdateCorpOutcome updateCorp(const Model::UpdateCorpRequest &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;
|
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;
|
UpdateCorpOutcomeCallable updateCorpCallable(const Model::UpdateCorpRequest& request) const;
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
|||||||
void setSubId(const std::string& subId);
|
void setSubId(const std::string& subId);
|
||||||
long getPageSize()const;
|
long getPageSize()const;
|
||||||
void setPageSize(long pageSize);
|
void setPageSize(long pageSize);
|
||||||
|
std::string getDataSourceId()const;
|
||||||
|
void setDataSourceId(const std::string& dataSourceId);
|
||||||
std::string getPersonId()const;
|
std::string getPersonId()const;
|
||||||
void setPersonId(const std::string& personId);
|
void setPersonId(const std::string& personId);
|
||||||
|
|
||||||
@@ -57,6 +59,7 @@ namespace AlibabaCloud
|
|||||||
long pageNumber_;
|
long pageNumber_;
|
||||||
std::string subId_;
|
std::string subId_;
|
||||||
long pageSize_;
|
long pageSize_;
|
||||||
|
std::string dataSourceId_;
|
||||||
std::string personId_;
|
std::string personId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -36,18 +36,14 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
std::string picUrlPath;
|
std::string picUrlPath;
|
||||||
std::string corpId;
|
std::string corpId;
|
||||||
long pageSize;
|
std::string subId;
|
||||||
|
std::string personId;
|
||||||
std::string rightBottomX;
|
std::string rightBottomX;
|
||||||
std::string targetPicUrlPath;
|
std::string targetPicUrlPath;
|
||||||
std::string rightBottomY;
|
std::string rightBottomY;
|
||||||
|
std::string shotTime;
|
||||||
std::string leftTopY;
|
std::string leftTopY;
|
||||||
std::string leftTopX;
|
std::string leftTopX;
|
||||||
long totalCount;
|
|
||||||
std::string subId;
|
|
||||||
long totalPage;
|
|
||||||
std::string personId;
|
|
||||||
long pageNumber;
|
|
||||||
std::string shotTime;
|
|
||||||
std::string dataSourceId;
|
std::string dataSourceId;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -55,14 +51,20 @@ namespace AlibabaCloud
|
|||||||
ListPersonTraceDetailsResult();
|
ListPersonTraceDetailsResult();
|
||||||
explicit ListPersonTraceDetailsResult(const std::string &payload);
|
explicit ListPersonTraceDetailsResult(const std::string &payload);
|
||||||
~ListPersonTraceDetailsResult();
|
~ListPersonTraceDetailsResult();
|
||||||
|
long getTotalCount()const;
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
|
long getPageSize()const;
|
||||||
|
long getPageNumber()const;
|
||||||
std::vector<Datas> getData()const;
|
std::vector<Datas> getData()const;
|
||||||
std::string getCode()const;
|
std::string getCode()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
long totalCount_;
|
||||||
std::string message_;
|
std::string message_;
|
||||||
|
long pageSize_;
|
||||||
|
long pageNumber_;
|
||||||
std::vector<Datas> data_;
|
std::vector<Datas> data_;
|
||||||
std::string code_;
|
std::string code_;
|
||||||
|
|
||||||
|
|||||||
@@ -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_VCS_MODEL_LISTSUBSCRIBEDEVICEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_VCS_MODEL_LISTSUBSCRIBEDEVICEREQUEST_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 ListSubscribeDeviceRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ListSubscribeDeviceRequest();
|
||||||
|
~ListSubscribeDeviceRequest();
|
||||||
|
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
int getPageNum()const;
|
||||||
|
void setPageNum(int pageNum);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int pageSize_;
|
||||||
|
int pageNum_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_VCS_MODEL_LISTSUBSCRIBEDEVICEREQUEST_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_VCS_MODEL_LISTSUBSCRIBEDEVICERESULT_H_
|
||||||
|
#define ALIBABACLOUD_VCS_MODEL_LISTSUBSCRIBEDEVICERESULT_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 ListSubscribeDeviceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct SubscribeListItem
|
||||||
|
{
|
||||||
|
std::string pushConfig;
|
||||||
|
std::string userId;
|
||||||
|
std::string deviceId;
|
||||||
|
std::string createTime;
|
||||||
|
std::string updateTime;
|
||||||
|
};
|
||||||
|
int totalCount;
|
||||||
|
std::vector<SubscribeListItem> subscribeList;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ListSubscribeDeviceResult();
|
||||||
|
explicit ListSubscribeDeviceResult(const std::string &payload);
|
||||||
|
~ListSubscribeDeviceResult();
|
||||||
|
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_LISTSUBSCRIBEDEVICERESULT_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_VCS_MODEL_SUBSCRIBEDEVICEEVENTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_VCS_MODEL_SUBSCRIBEDEVICEEVENTREQUEST_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 SubscribeDeviceEventRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
SubscribeDeviceEventRequest();
|
||||||
|
~SubscribeDeviceEventRequest();
|
||||||
|
|
||||||
|
std::string getPushConfig()const;
|
||||||
|
void setPushConfig(const std::string& pushConfig);
|
||||||
|
std::string getDeviceId()const;
|
||||||
|
void setDeviceId(const std::string& deviceId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string pushConfig_;
|
||||||
|
std::string deviceId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_VCS_MODEL_SUBSCRIBEDEVICEEVENTREQUEST_H_
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* 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_SUBSCRIBEDEVICEEVENTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_VCS_MODEL_SUBSCRIBEDEVICEEVENTRESULT_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 SubscribeDeviceEventResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
SubscribeDeviceEventResult();
|
||||||
|
explicit SubscribeDeviceEventResult(const std::string &payload);
|
||||||
|
~SubscribeDeviceEventResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_VCS_MODEL_SUBSCRIBEDEVICEEVENTRESULT_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_VCS_MODEL_SUBSCRIBESPACEEVENTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_VCS_MODEL_SUBSCRIBESPACEEVENTREQUEST_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 SubscribeSpaceEventRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
SubscribeSpaceEventRequest();
|
||||||
|
~SubscribeSpaceEventRequest();
|
||||||
|
|
||||||
|
std::string getSpaceId()const;
|
||||||
|
void setSpaceId(const std::string& spaceId);
|
||||||
|
std::string getPushConfig()const;
|
||||||
|
void setPushConfig(const std::string& pushConfig);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string spaceId_;
|
||||||
|
std::string pushConfig_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_VCS_MODEL_SUBSCRIBESPACEEVENTREQUEST_H_
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* 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_SUBSCRIBESPACEEVENTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_VCS_MODEL_SUBSCRIBESPACEEVENTRESULT_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 SubscribeSpaceEventResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
SubscribeSpaceEventResult();
|
||||||
|
explicit SubscribeSpaceEventResult(const std::string &payload);
|
||||||
|
~SubscribeSpaceEventResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_VCS_MODEL_SUBSCRIBESPACEEVENTRESULT_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_VCS_MODEL_UNSUBSCRIBEDEVICEEVENTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBEDEVICEEVENTREQUEST_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 UnsubscribeDeviceEventRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
UnsubscribeDeviceEventRequest();
|
||||||
|
~UnsubscribeDeviceEventRequest();
|
||||||
|
|
||||||
|
std::string getDeviceId()const;
|
||||||
|
void setDeviceId(const std::string& deviceId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string deviceId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBEDEVICEEVENTREQUEST_H_
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* 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_UNSUBSCRIBEDEVICEEVENTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBEDEVICEEVENTRESULT_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 UnsubscribeDeviceEventResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UnsubscribeDeviceEventResult();
|
||||||
|
explicit UnsubscribeDeviceEventResult(const std::string &payload);
|
||||||
|
~UnsubscribeDeviceEventResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBEDEVICEEVENTRESULT_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_VCS_MODEL_UNSUBSCRIBESPACEEVENTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBESPACEEVENTREQUEST_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 UnsubscribeSpaceEventRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
UnsubscribeSpaceEventRequest();
|
||||||
|
~UnsubscribeSpaceEventRequest();
|
||||||
|
|
||||||
|
std::string getSpaceId()const;
|
||||||
|
void setSpaceId(const std::string& spaceId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string spaceId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBESPACEEVENTREQUEST_H_
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* 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_UNSUBSCRIBESPACEEVENTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBESPACEEVENTRESULT_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 UnsubscribeSpaceEventResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UnsubscribeSpaceEventResult();
|
||||||
|
explicit UnsubscribeSpaceEventResult(const std::string &payload);
|
||||||
|
~UnsubscribeSpaceEventResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBESPACEEVENTRESULT_H_
|
||||||
@@ -2139,6 +2139,42 @@ VcsClient::ListPersonsOutcomeCallable VcsClient::listPersonsCallable(const ListP
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VcsClient::ListSubscribeDeviceOutcome VcsClient::listSubscribeDevice(const ListSubscribeDeviceRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ListSubscribeDeviceOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ListSubscribeDeviceOutcome(ListSubscribeDeviceResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ListSubscribeDeviceOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void VcsClient::listSubscribeDeviceAsync(const ListSubscribeDeviceRequest& request, const ListSubscribeDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, listSubscribeDevice(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
VcsClient::ListSubscribeDeviceOutcomeCallable VcsClient::listSubscribeDeviceCallable(const ListSubscribeDeviceRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ListSubscribeDeviceOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->listSubscribeDevice(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
VcsClient::ListUserGroupsOutcome VcsClient::listUserGroups(const ListUserGroupsRequest &request) const
|
VcsClient::ListUserGroupsOutcome VcsClient::listUserGroups(const ListUserGroupsRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -2535,6 +2571,78 @@ VcsClient::StopMonitorOutcomeCallable VcsClient::stopMonitorCallable(const StopM
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VcsClient::SubscribeDeviceEventOutcome VcsClient::subscribeDeviceEvent(const SubscribeDeviceEventRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SubscribeDeviceEventOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SubscribeDeviceEventOutcome(SubscribeDeviceEventResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SubscribeDeviceEventOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void VcsClient::subscribeDeviceEventAsync(const SubscribeDeviceEventRequest& request, const SubscribeDeviceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, subscribeDeviceEvent(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
VcsClient::SubscribeDeviceEventOutcomeCallable VcsClient::subscribeDeviceEventCallable(const SubscribeDeviceEventRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SubscribeDeviceEventOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->subscribeDeviceEvent(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
VcsClient::SubscribeSpaceEventOutcome VcsClient::subscribeSpaceEvent(const SubscribeSpaceEventRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return SubscribeSpaceEventOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return SubscribeSpaceEventOutcome(SubscribeSpaceEventResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return SubscribeSpaceEventOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void VcsClient::subscribeSpaceEventAsync(const SubscribeSpaceEventRequest& request, const SubscribeSpaceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, subscribeSpaceEvent(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
VcsClient::SubscribeSpaceEventOutcomeCallable VcsClient::subscribeSpaceEventCallable(const SubscribeSpaceEventRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<SubscribeSpaceEventOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->subscribeSpaceEvent(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
VcsClient::SyncDeviceTimeOutcome VcsClient::syncDeviceTime(const SyncDeviceTimeRequest &request) const
|
VcsClient::SyncDeviceTimeOutcome VcsClient::syncDeviceTime(const SyncDeviceTimeRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -2679,6 +2787,78 @@ VcsClient::UnbindUserOutcomeCallable VcsClient::unbindUserCallable(const UnbindU
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VcsClient::UnsubscribeDeviceEventOutcome VcsClient::unsubscribeDeviceEvent(const UnsubscribeDeviceEventRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UnsubscribeDeviceEventOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UnsubscribeDeviceEventOutcome(UnsubscribeDeviceEventResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UnsubscribeDeviceEventOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void VcsClient::unsubscribeDeviceEventAsync(const UnsubscribeDeviceEventRequest& request, const UnsubscribeDeviceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, unsubscribeDeviceEvent(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
VcsClient::UnsubscribeDeviceEventOutcomeCallable VcsClient::unsubscribeDeviceEventCallable(const UnsubscribeDeviceEventRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UnsubscribeDeviceEventOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->unsubscribeDeviceEvent(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
VcsClient::UnsubscribeSpaceEventOutcome VcsClient::unsubscribeSpaceEvent(const UnsubscribeSpaceEventRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UnsubscribeSpaceEventOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UnsubscribeSpaceEventOutcome(UnsubscribeSpaceEventResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UnsubscribeSpaceEventOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void VcsClient::unsubscribeSpaceEventAsync(const UnsubscribeSpaceEventRequest& request, const UnsubscribeSpaceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, unsubscribeSpaceEvent(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
VcsClient::UnsubscribeSpaceEventOutcomeCallable VcsClient::unsubscribeSpaceEventCallable(const UnsubscribeSpaceEventRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UnsubscribeSpaceEventOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->unsubscribeSpaceEvent(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
VcsClient::UpdateCorpOutcome VcsClient::updateCorp(const UpdateCorpRequest &request) const
|
VcsClient::UpdateCorpOutcome VcsClient::updateCorp(const UpdateCorpRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -93,6 +93,17 @@ void ListPersonTraceDetailsRequest::setPageSize(long pageSize)
|
|||||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ListPersonTraceDetailsRequest::getDataSourceId()const
|
||||||
|
{
|
||||||
|
return dataSourceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListPersonTraceDetailsRequest::setDataSourceId(const std::string& dataSourceId)
|
||||||
|
{
|
||||||
|
dataSourceId_ = dataSourceId;
|
||||||
|
setBodyParameter("DataSourceId", dataSourceId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string ListPersonTraceDetailsRequest::getPersonId()const
|
std::string ListPersonTraceDetailsRequest::getPersonId()const
|
||||||
{
|
{
|
||||||
return personId_;
|
return personId_;
|
||||||
|
|||||||
@@ -43,14 +43,6 @@ void ListPersonTraceDetailsResult::parse(const std::string &payload)
|
|||||||
for (auto valueDataDatas : allDataNode)
|
for (auto valueDataDatas : allDataNode)
|
||||||
{
|
{
|
||||||
Datas dataObject;
|
Datas dataObject;
|
||||||
if(!valueDataDatas["PageNumber"].isNull())
|
|
||||||
dataObject.pageNumber = std::stol(valueDataDatas["PageNumber"].asString());
|
|
||||||
if(!valueDataDatas["PageSize"].isNull())
|
|
||||||
dataObject.pageSize = std::stol(valueDataDatas["PageSize"].asString());
|
|
||||||
if(!valueDataDatas["TotalCount"].isNull())
|
|
||||||
dataObject.totalCount = std::stol(valueDataDatas["TotalCount"].asString());
|
|
||||||
if(!valueDataDatas["TotalPage"].isNull())
|
|
||||||
dataObject.totalPage = std::stol(valueDataDatas["TotalPage"].asString());
|
|
||||||
if(!valueDataDatas["TargetPicUrlPath"].isNull())
|
if(!valueDataDatas["TargetPicUrlPath"].isNull())
|
||||||
dataObject.targetPicUrlPath = valueDataDatas["TargetPicUrlPath"].asString();
|
dataObject.targetPicUrlPath = valueDataDatas["TargetPicUrlPath"].asString();
|
||||||
if(!valueDataDatas["DataSourceId"].isNull())
|
if(!valueDataDatas["DataSourceId"].isNull())
|
||||||
@@ -79,14 +71,35 @@ void ListPersonTraceDetailsResult::parse(const std::string &payload)
|
|||||||
code_ = value["Code"].asString();
|
code_ = value["Code"].asString();
|
||||||
if(!value["Message"].isNull())
|
if(!value["Message"].isNull())
|
||||||
message_ = value["Message"].asString();
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["PageNumber"].isNull())
|
||||||
|
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||||
|
if(!value["PageSize"].isNull())
|
||||||
|
pageSize_ = std::stol(value["PageSize"].asString());
|
||||||
|
if(!value["TotalCount"].isNull())
|
||||||
|
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long ListPersonTraceDetailsResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string ListPersonTraceDetailsResult::getMessage()const
|
std::string ListPersonTraceDetailsResult::getMessage()const
|
||||||
{
|
{
|
||||||
return message_;
|
return message_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long ListPersonTraceDetailsResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long ListPersonTraceDetailsResult::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<ListPersonTraceDetailsResult::Datas> ListPersonTraceDetailsResult::getData()const
|
std::vector<ListPersonTraceDetailsResult::Datas> ListPersonTraceDetailsResult::getData()const
|
||||||
{
|
{
|
||||||
return data_;
|
return data_;
|
||||||
|
|||||||
51
vcs/src/model/ListSubscribeDeviceRequest.cc
Normal file
51
vcs/src/model/ListSubscribeDeviceRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/vcs/model/ListSubscribeDeviceRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Vcs::Model::ListSubscribeDeviceRequest;
|
||||||
|
|
||||||
|
ListSubscribeDeviceRequest::ListSubscribeDeviceRequest() :
|
||||||
|
RpcServiceRequest("vcs", "2020-05-15", "ListSubscribeDevice")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListSubscribeDeviceRequest::~ListSubscribeDeviceRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int ListSubscribeDeviceRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListSubscribeDeviceRequest::setPageSize(int pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
int ListSubscribeDeviceRequest::getPageNum()const
|
||||||
|
{
|
||||||
|
return pageNum_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListSubscribeDeviceRequest::setPageNum(int pageNum)
|
||||||
|
{
|
||||||
|
pageNum_ = pageNum;
|
||||||
|
setParameter("PageNum", std::to_string(pageNum));
|
||||||
|
}
|
||||||
|
|
||||||
82
vcs/src/model/ListSubscribeDeviceResult.cc
Normal file
82
vcs/src/model/ListSubscribeDeviceResult.cc
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/vcs/model/ListSubscribeDeviceResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Vcs;
|
||||||
|
using namespace AlibabaCloud::Vcs::Model;
|
||||||
|
|
||||||
|
ListSubscribeDeviceResult::ListSubscribeDeviceResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ListSubscribeDeviceResult::ListSubscribeDeviceResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListSubscribeDeviceResult::~ListSubscribeDeviceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ListSubscribeDeviceResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto dataNode = value["Data"];
|
||||||
|
if(!dataNode["TotalCount"].isNull())
|
||||||
|
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
|
||||||
|
auto allSubscribeListNode = dataNode["SubscribeList"]["SubscribeListItem"];
|
||||||
|
for (auto dataNodeSubscribeListSubscribeListItem : allSubscribeListNode)
|
||||||
|
{
|
||||||
|
Data::SubscribeListItem subscribeListItemObject;
|
||||||
|
if(!dataNodeSubscribeListSubscribeListItem["UserId"].isNull())
|
||||||
|
subscribeListItemObject.userId = dataNodeSubscribeListSubscribeListItem["UserId"].asString();
|
||||||
|
if(!dataNodeSubscribeListSubscribeListItem["DeviceId"].isNull())
|
||||||
|
subscribeListItemObject.deviceId = dataNodeSubscribeListSubscribeListItem["DeviceId"].asString();
|
||||||
|
if(!dataNodeSubscribeListSubscribeListItem["PushConfig"].isNull())
|
||||||
|
subscribeListItemObject.pushConfig = dataNodeSubscribeListSubscribeListItem["PushConfig"].asString();
|
||||||
|
if(!dataNodeSubscribeListSubscribeListItem["CreateTime"].isNull())
|
||||||
|
subscribeListItemObject.createTime = dataNodeSubscribeListSubscribeListItem["CreateTime"].asString();
|
||||||
|
if(!dataNodeSubscribeListSubscribeListItem["UpdateTime"].isNull())
|
||||||
|
subscribeListItemObject.updateTime = dataNodeSubscribeListSubscribeListItem["UpdateTime"].asString();
|
||||||
|
data_.subscribeList.push_back(subscribeListItemObject);
|
||||||
|
}
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ListSubscribeDeviceResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
ListSubscribeDeviceResult::Data ListSubscribeDeviceResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ListSubscribeDeviceResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
51
vcs/src/model/SubscribeDeviceEventRequest.cc
Normal file
51
vcs/src/model/SubscribeDeviceEventRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/vcs/model/SubscribeDeviceEventRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Vcs::Model::SubscribeDeviceEventRequest;
|
||||||
|
|
||||||
|
SubscribeDeviceEventRequest::SubscribeDeviceEventRequest() :
|
||||||
|
RpcServiceRequest("vcs", "2020-05-15", "SubscribeDeviceEvent")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
SubscribeDeviceEventRequest::~SubscribeDeviceEventRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string SubscribeDeviceEventRequest::getPushConfig()const
|
||||||
|
{
|
||||||
|
return pushConfig_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SubscribeDeviceEventRequest::setPushConfig(const std::string& pushConfig)
|
||||||
|
{
|
||||||
|
pushConfig_ = pushConfig;
|
||||||
|
setParameter("PushConfig", pushConfig);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubscribeDeviceEventRequest::getDeviceId()const
|
||||||
|
{
|
||||||
|
return deviceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SubscribeDeviceEventRequest::setDeviceId(const std::string& deviceId)
|
||||||
|
{
|
||||||
|
deviceId_ = deviceId;
|
||||||
|
setParameter("DeviceId", deviceId);
|
||||||
|
}
|
||||||
|
|
||||||
58
vcs/src/model/SubscribeDeviceEventResult.cc
Normal file
58
vcs/src/model/SubscribeDeviceEventResult.cc
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/vcs/model/SubscribeDeviceEventResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Vcs;
|
||||||
|
using namespace AlibabaCloud::Vcs::Model;
|
||||||
|
|
||||||
|
SubscribeDeviceEventResult::SubscribeDeviceEventResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
SubscribeDeviceEventResult::SubscribeDeviceEventResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
SubscribeDeviceEventResult::~SubscribeDeviceEventResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void SubscribeDeviceEventResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubscribeDeviceEventResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubscribeDeviceEventResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
51
vcs/src/model/SubscribeSpaceEventRequest.cc
Normal file
51
vcs/src/model/SubscribeSpaceEventRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/vcs/model/SubscribeSpaceEventRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Vcs::Model::SubscribeSpaceEventRequest;
|
||||||
|
|
||||||
|
SubscribeSpaceEventRequest::SubscribeSpaceEventRequest() :
|
||||||
|
RpcServiceRequest("vcs", "2020-05-15", "SubscribeSpaceEvent")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
SubscribeSpaceEventRequest::~SubscribeSpaceEventRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string SubscribeSpaceEventRequest::getSpaceId()const
|
||||||
|
{
|
||||||
|
return spaceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SubscribeSpaceEventRequest::setSpaceId(const std::string& spaceId)
|
||||||
|
{
|
||||||
|
spaceId_ = spaceId;
|
||||||
|
setParameter("SpaceId", spaceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubscribeSpaceEventRequest::getPushConfig()const
|
||||||
|
{
|
||||||
|
return pushConfig_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SubscribeSpaceEventRequest::setPushConfig(const std::string& pushConfig)
|
||||||
|
{
|
||||||
|
pushConfig_ = pushConfig;
|
||||||
|
setParameter("PushConfig", pushConfig);
|
||||||
|
}
|
||||||
|
|
||||||
58
vcs/src/model/SubscribeSpaceEventResult.cc
Normal file
58
vcs/src/model/SubscribeSpaceEventResult.cc
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/vcs/model/SubscribeSpaceEventResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Vcs;
|
||||||
|
using namespace AlibabaCloud::Vcs::Model;
|
||||||
|
|
||||||
|
SubscribeSpaceEventResult::SubscribeSpaceEventResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
SubscribeSpaceEventResult::SubscribeSpaceEventResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
SubscribeSpaceEventResult::~SubscribeSpaceEventResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void SubscribeSpaceEventResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubscribeSpaceEventResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SubscribeSpaceEventResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
40
vcs/src/model/UnsubscribeDeviceEventRequest.cc
Normal file
40
vcs/src/model/UnsubscribeDeviceEventRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/vcs/model/UnsubscribeDeviceEventRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Vcs::Model::UnsubscribeDeviceEventRequest;
|
||||||
|
|
||||||
|
UnsubscribeDeviceEventRequest::UnsubscribeDeviceEventRequest() :
|
||||||
|
RpcServiceRequest("vcs", "2020-05-15", "UnsubscribeDeviceEvent")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
UnsubscribeDeviceEventRequest::~UnsubscribeDeviceEventRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string UnsubscribeDeviceEventRequest::getDeviceId()const
|
||||||
|
{
|
||||||
|
return deviceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UnsubscribeDeviceEventRequest::setDeviceId(const std::string& deviceId)
|
||||||
|
{
|
||||||
|
deviceId_ = deviceId;
|
||||||
|
setParameter("DeviceId", deviceId);
|
||||||
|
}
|
||||||
|
|
||||||
58
vcs/src/model/UnsubscribeDeviceEventResult.cc
Normal file
58
vcs/src/model/UnsubscribeDeviceEventResult.cc
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/vcs/model/UnsubscribeDeviceEventResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Vcs;
|
||||||
|
using namespace AlibabaCloud::Vcs::Model;
|
||||||
|
|
||||||
|
UnsubscribeDeviceEventResult::UnsubscribeDeviceEventResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
UnsubscribeDeviceEventResult::UnsubscribeDeviceEventResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
UnsubscribeDeviceEventResult::~UnsubscribeDeviceEventResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void UnsubscribeDeviceEventResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UnsubscribeDeviceEventResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UnsubscribeDeviceEventResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
40
vcs/src/model/UnsubscribeSpaceEventRequest.cc
Normal file
40
vcs/src/model/UnsubscribeSpaceEventRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/vcs/model/UnsubscribeSpaceEventRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Vcs::Model::UnsubscribeSpaceEventRequest;
|
||||||
|
|
||||||
|
UnsubscribeSpaceEventRequest::UnsubscribeSpaceEventRequest() :
|
||||||
|
RpcServiceRequest("vcs", "2020-05-15", "UnsubscribeSpaceEvent")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
UnsubscribeSpaceEventRequest::~UnsubscribeSpaceEventRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string UnsubscribeSpaceEventRequest::getSpaceId()const
|
||||||
|
{
|
||||||
|
return spaceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UnsubscribeSpaceEventRequest::setSpaceId(const std::string& spaceId)
|
||||||
|
{
|
||||||
|
spaceId_ = spaceId;
|
||||||
|
setParameter("SpaceId", spaceId);
|
||||||
|
}
|
||||||
|
|
||||||
58
vcs/src/model/UnsubscribeSpaceEventResult.cc
Normal file
58
vcs/src/model/UnsubscribeSpaceEventResult.cc
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/vcs/model/UnsubscribeSpaceEventResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Vcs;
|
||||||
|
using namespace AlibabaCloud::Vcs::Model;
|
||||||
|
|
||||||
|
UnsubscribeSpaceEventResult::UnsubscribeSpaceEventResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
UnsubscribeSpaceEventResult::UnsubscribeSpaceEventResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
UnsubscribeSpaceEventResult::~UnsubscribeSpaceEventResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void UnsubscribeSpaceEventResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UnsubscribeSpaceEventResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UnsubscribeSpaceEventResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user