From ea41bc12494901a8f29b9e30ad55cffd3976f52f Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 19 May 2020 16:29:23 +0800 Subject: [PATCH] Public beta version. --- CHANGELOG | 4 + VERSION | 2 +- aliyuncvc/CMakeLists.txt | 100 +- .../alibabacloud/aliyuncvc/AliyuncvcClient.h | 192 ++++ .../aliyuncvc/model/ActiveDeviceRequest.h | 60 ++ .../aliyuncvc/model/ActiveDeviceResult.h | 57 ++ .../model/BatchCreateDeviceRequest.h | 48 + .../aliyuncvc/model/BatchCreateDeviceResult.h | 64 ++ .../model/CreateDeviceMeetingRequest.h | 60 ++ .../model/CreateDeviceMeetingResult.h | 62 ++ .../aliyuncvc/model/CreateLiveRequest.h | 60 ++ .../aliyuncvc/model/CreateLiveResult.h | 62 ++ .../model/CreateMeetingInternationalRequest.h | 57 ++ .../model/CreateMeetingInternationalResult.h | 62 ++ .../aliyuncvc/model/CreateMeetingRequest.h | 12 + .../model/CreateUserInternationalRequest.h | 51 ++ .../model/CreateUserInternationalResult.h | 57 ++ .../aliyuncvc/model/DeleteDeviceRequest.h | 51 ++ .../aliyuncvc/model/DeleteDeviceResult.h | 55 ++ .../aliyuncvc/model/DeleteLiveRequest.h | 51 ++ .../aliyuncvc/model/DeleteLiveResult.h | 55 ++ .../aliyuncvc/model/EndDeviceMeetingRequest.h | 51 ++ .../aliyuncvc/model/EndDeviceMeetingResult.h | 55 ++ .../aliyuncvc/model/EndLiveRequest.h | 51 ++ .../aliyuncvc/model/EndLiveResult.h | 55 ++ .../model/GetDeviceActiveCodeRequest.h | 48 + .../model/GetDeviceActiveCodeResult.h | 64 ++ .../aliyuncvc/model/GetDeviceTokenRequest.h | 51 ++ .../aliyuncvc/model/GetDeviceTokenResult.h | 57 ++ .../model/GetMeetingInternationalRequest.h | 48 + .../model/GetMeetingInternationalResult.h | 76 ++ .../aliyuncvc/model/GetMeetingMemberResult.h | 4 +- .../aliyuncvc/model/GetMeetingResult.h | 1 + .../model/JoinDeviceMeetingRequest.h | 57 ++ .../aliyuncvc/model/JoinDeviceMeetingResult.h | 74 ++ .../aliyuncvc/model/JoinLiveRequest.h | 54 ++ .../aliyuncvc/model/JoinLiveResult.h | 74 ++ .../model/JoinMeetingInternationalRequest.h | 54 ++ .../model/JoinMeetingInternationalResult.h | 74 ++ .../aliyuncvc/model/JoinMeetingRequest.h | 3 + .../aliyuncvc/model/ListDeviceIpRequest.h | 51 ++ .../aliyuncvc/model/ListDeviceIpResult.h | 64 ++ ...odifyMeetingPasswordInternationalRequest.h | 57 ++ ...ModifyMeetingPasswordInternationalResult.h | 55 ++ .../model/ModifyMeetingPasswordRequest.h | 57 ++ .../model/ModifyMeetingPasswordResult.h | 55 ++ .../aliyuncvc/model/RegisterDeviceRequest.h | 60 ++ .../aliyuncvc/model/RegisterDeviceResult.h | 96 ++ .../model/RegisterUemDeviceRequest.h | 63 ++ .../aliyuncvc/model/RegisterUemDeviceResult.h | 97 ++ .../aliyuncvc/model/StartLiveRequest.h | 51 ++ .../aliyuncvc/model/StartLiveResult.h | 55 ++ .../model/UpdateDeviceHeartBeatRequest.h | 48 + .../model/UpdateDeviceHeartBeatResult.h | 61 ++ .../model/UpdateLivePasswordRequest.h | 57 ++ .../model/UpdateLivePasswordResult.h | 55 ++ aliyuncvc/src/AliyuncvcClient.cc | 864 ++++++++++++++++++ aliyuncvc/src/model/ActiveDeviceRequest.cc | 84 ++ aliyuncvc/src/model/ActiveDeviceResult.cc | 72 ++ .../src/model/BatchCreateDeviceRequest.cc | 40 + .../src/model/BatchCreateDeviceResult.cc | 84 ++ .../src/model/CreateDeviceMeetingRequest.cc | 84 ++ .../src/model/CreateDeviceMeetingResult.cc | 75 ++ aliyuncvc/src/model/CreateLiveRequest.cc | 84 ++ aliyuncvc/src/model/CreateLiveResult.cc | 75 ++ .../CreateMeetingInternationalRequest.cc | 73 ++ .../model/CreateMeetingInternationalResult.cc | 75 ++ aliyuncvc/src/model/CreateMeetingRequest.cc | 44 + .../model/CreateUserInternationalRequest.cc | 51 ++ .../model/CreateUserInternationalResult.cc | 72 ++ aliyuncvc/src/model/DeleteDeviceRequest.cc | 51 ++ aliyuncvc/src/model/DeleteDeviceResult.cc | 65 ++ aliyuncvc/src/model/DeleteLiveRequest.cc | 51 ++ aliyuncvc/src/model/DeleteLiveResult.cc | 65 ++ .../src/model/EndDeviceMeetingRequest.cc | 51 ++ aliyuncvc/src/model/EndDeviceMeetingResult.cc | 65 ++ aliyuncvc/src/model/EndLiveRequest.cc | 51 ++ aliyuncvc/src/model/EndLiveResult.cc | 65 ++ .../src/model/GetDeviceActiveCodeRequest.cc | 40 + .../src/model/GetDeviceActiveCodeResult.cc | 84 ++ aliyuncvc/src/model/GetDeviceTokenRequest.cc | 51 ++ aliyuncvc/src/model/GetDeviceTokenResult.cc | 72 ++ .../model/GetMeetingInternationalRequest.cc | 40 + .../model/GetMeetingInternationalResult.cc | 101 ++ aliyuncvc/src/model/GetMeetingMemberResult.cc | 15 +- aliyuncvc/src/model/GetMeetingResult.cc | 2 + .../src/model/JoinDeviceMeetingRequest.cc | 73 ++ .../src/model/JoinDeviceMeetingResult.cc | 92 ++ aliyuncvc/src/model/JoinLiveRequest.cc | 62 ++ aliyuncvc/src/model/JoinLiveResult.cc | 92 ++ .../model/JoinMeetingInternationalRequest.cc | 62 ++ .../model/JoinMeetingInternationalResult.cc | 92 ++ aliyuncvc/src/model/JoinMeetingRequest.cc | 11 + aliyuncvc/src/model/ListDeviceIpRequest.cc | 51 ++ aliyuncvc/src/model/ListDeviceIpResult.cc | 84 ++ ...difyMeetingPasswordInternationalRequest.cc | 73 ++ ...odifyMeetingPasswordInternationalResult.cc | 65 ++ .../src/model/ModifyMeetingPasswordRequest.cc | 73 ++ .../src/model/ModifyMeetingPasswordResult.cc | 65 ++ aliyuncvc/src/model/RegisterDeviceRequest.cc | 84 ++ aliyuncvc/src/model/RegisterDeviceResult.cc | 122 +++ .../src/model/RegisterUemDeviceRequest.cc | 95 ++ .../src/model/RegisterUemDeviceResult.cc | 124 +++ aliyuncvc/src/model/StartLiveRequest.cc | 51 ++ aliyuncvc/src/model/StartLiveResult.cc | 65 ++ .../src/model/UpdateDeviceHeartBeatRequest.cc | 40 + .../src/model/UpdateDeviceHeartBeatResult.cc | 73 ++ .../src/model/UpdateLivePasswordRequest.cc | 73 ++ .../src/model/UpdateLivePasswordResult.cc | 65 ++ 109 files changed, 7475 insertions(+), 13 deletions(-) create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveDeviceRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveDeviceResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateLiveRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateLiveResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteDeviceResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteLiveRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteLiveResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/EndDeviceMeetingRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/EndLiveRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/EndLiveResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingInternationalRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingInternationalResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinLiveRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinLiveResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/StartLiveRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/StartLiveResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h create mode 100644 aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateLivePasswordResult.h create mode 100644 aliyuncvc/src/model/ActiveDeviceRequest.cc create mode 100644 aliyuncvc/src/model/ActiveDeviceResult.cc create mode 100644 aliyuncvc/src/model/BatchCreateDeviceRequest.cc create mode 100644 aliyuncvc/src/model/BatchCreateDeviceResult.cc create mode 100644 aliyuncvc/src/model/CreateDeviceMeetingRequest.cc create mode 100644 aliyuncvc/src/model/CreateDeviceMeetingResult.cc create mode 100644 aliyuncvc/src/model/CreateLiveRequest.cc create mode 100644 aliyuncvc/src/model/CreateLiveResult.cc create mode 100644 aliyuncvc/src/model/CreateMeetingInternationalRequest.cc create mode 100644 aliyuncvc/src/model/CreateMeetingInternationalResult.cc create mode 100644 aliyuncvc/src/model/CreateUserInternationalRequest.cc create mode 100644 aliyuncvc/src/model/CreateUserInternationalResult.cc create mode 100644 aliyuncvc/src/model/DeleteDeviceRequest.cc create mode 100644 aliyuncvc/src/model/DeleteDeviceResult.cc create mode 100644 aliyuncvc/src/model/DeleteLiveRequest.cc create mode 100644 aliyuncvc/src/model/DeleteLiveResult.cc create mode 100644 aliyuncvc/src/model/EndDeviceMeetingRequest.cc create mode 100644 aliyuncvc/src/model/EndDeviceMeetingResult.cc create mode 100644 aliyuncvc/src/model/EndLiveRequest.cc create mode 100644 aliyuncvc/src/model/EndLiveResult.cc create mode 100644 aliyuncvc/src/model/GetDeviceActiveCodeRequest.cc create mode 100644 aliyuncvc/src/model/GetDeviceActiveCodeResult.cc create mode 100644 aliyuncvc/src/model/GetDeviceTokenRequest.cc create mode 100644 aliyuncvc/src/model/GetDeviceTokenResult.cc create mode 100644 aliyuncvc/src/model/GetMeetingInternationalRequest.cc create mode 100644 aliyuncvc/src/model/GetMeetingInternationalResult.cc create mode 100644 aliyuncvc/src/model/JoinDeviceMeetingRequest.cc create mode 100644 aliyuncvc/src/model/JoinDeviceMeetingResult.cc create mode 100644 aliyuncvc/src/model/JoinLiveRequest.cc create mode 100644 aliyuncvc/src/model/JoinLiveResult.cc create mode 100644 aliyuncvc/src/model/JoinMeetingInternationalRequest.cc create mode 100644 aliyuncvc/src/model/JoinMeetingInternationalResult.cc create mode 100644 aliyuncvc/src/model/ListDeviceIpRequest.cc create mode 100644 aliyuncvc/src/model/ListDeviceIpResult.cc create mode 100644 aliyuncvc/src/model/ModifyMeetingPasswordInternationalRequest.cc create mode 100644 aliyuncvc/src/model/ModifyMeetingPasswordInternationalResult.cc create mode 100644 aliyuncvc/src/model/ModifyMeetingPasswordRequest.cc create mode 100644 aliyuncvc/src/model/ModifyMeetingPasswordResult.cc create mode 100644 aliyuncvc/src/model/RegisterDeviceRequest.cc create mode 100644 aliyuncvc/src/model/RegisterDeviceResult.cc create mode 100644 aliyuncvc/src/model/RegisterUemDeviceRequest.cc create mode 100644 aliyuncvc/src/model/RegisterUemDeviceResult.cc create mode 100644 aliyuncvc/src/model/StartLiveRequest.cc create mode 100644 aliyuncvc/src/model/StartLiveResult.cc create mode 100644 aliyuncvc/src/model/UpdateDeviceHeartBeatRequest.cc create mode 100644 aliyuncvc/src/model/UpdateDeviceHeartBeatResult.cc create mode 100644 aliyuncvc/src/model/UpdateLivePasswordRequest.cc create mode 100644 aliyuncvc/src/model/UpdateLivePasswordResult.cc diff --git a/CHANGELOG b/CHANGELOG index 7eb38166b..674f40a39 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +2020-05-19 Version: 1.36.423 +- Public beta version. +- Add Api Overseas. + 2020-05-19 Version: 1.36.422 - Initial version. diff --git a/VERSION b/VERSION index 766af8f88..676a66d05 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.422 \ No newline at end of file +1.36.423 \ No newline at end of file diff --git a/aliyuncvc/CMakeLists.txt b/aliyuncvc/CMakeLists.txt index dcc94a081..50f894690 100644 --- a/aliyuncvc/CMakeLists.txt +++ b/aliyuncvc/CMakeLists.txt @@ -21,26 +21,60 @@ set(aliyuncvc_public_header include/alibabacloud/aliyuncvc/AliyuncvcExport.h ) set(aliyuncvc_public_header_model + include/alibabacloud/aliyuncvc/model/ActiveDeviceRequest.h + include/alibabacloud/aliyuncvc/model/ActiveDeviceResult.h include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h + include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h + include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h + include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h + include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h include/alibabacloud/aliyuncvc/model/CreateEvaluationResult.h + include/alibabacloud/aliyuncvc/model/CreateLiveRequest.h + include/alibabacloud/aliyuncvc/model/CreateLiveResult.h include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h include/alibabacloud/aliyuncvc/model/CreateMeetingResult.h + include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalRequest.h + include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalResult.h include/alibabacloud/aliyuncvc/model/CreateUserRequest.h include/alibabacloud/aliyuncvc/model/CreateUserResult.h + include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.h + include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h + include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h + include/alibabacloud/aliyuncvc/model/DeleteDeviceResult.h + include/alibabacloud/aliyuncvc/model/DeleteLiveRequest.h + include/alibabacloud/aliyuncvc/model/DeleteLiveResult.h include/alibabacloud/aliyuncvc/model/DeleteMeetingRequest.h include/alibabacloud/aliyuncvc/model/DeleteMeetingResult.h include/alibabacloud/aliyuncvc/model/DeleteUserRequest.h include/alibabacloud/aliyuncvc/model/DeleteUserResult.h + include/alibabacloud/aliyuncvc/model/EndDeviceMeetingRequest.h + include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h + include/alibabacloud/aliyuncvc/model/EndLiveRequest.h + include/alibabacloud/aliyuncvc/model/EndLiveResult.h + include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.h + include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h + include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h + include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h include/alibabacloud/aliyuncvc/model/GetMeetingResult.h + include/alibabacloud/aliyuncvc/model/GetMeetingInternationalRequest.h + include/alibabacloud/aliyuncvc/model/GetMeetingInternationalResult.h include/alibabacloud/aliyuncvc/model/GetMeetingMemberRequest.h include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h include/alibabacloud/aliyuncvc/model/GetUserRequest.h include/alibabacloud/aliyuncvc/model/GetUserResult.h + include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h + include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingResult.h + include/alibabacloud/aliyuncvc/model/JoinLiveRequest.h + include/alibabacloud/aliyuncvc/model/JoinLiveResult.h include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h + include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h + include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h + include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h + include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h include/alibabacloud/aliyuncvc/model/ListIsvStatisticsRequest.h @@ -48,30 +82,78 @@ set(aliyuncvc_public_header_model include/alibabacloud/aliyuncvc/model/ListMembersRequest.h include/alibabacloud/aliyuncvc/model/ListMembersResult.h include/alibabacloud/aliyuncvc/model/ListUsersRequest.h - include/alibabacloud/aliyuncvc/model/ListUsersResult.h ) + include/alibabacloud/aliyuncvc/model/ListUsersResult.h + include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h + include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h + include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h + include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h + include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h + include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h + include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h + include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h + include/alibabacloud/aliyuncvc/model/StartLiveRequest.h + include/alibabacloud/aliyuncvc/model/StartLiveResult.h + include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h + include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h + include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h + include/alibabacloud/aliyuncvc/model/UpdateLivePasswordResult.h ) set(aliyuncvc_src src/AliyuncvcClient.cc + src/model/ActiveDeviceRequest.cc + src/model/ActiveDeviceResult.cc src/model/ActiveMeetingRequest.cc src/model/ActiveMeetingResult.cc + src/model/BatchCreateDeviceRequest.cc + src/model/BatchCreateDeviceResult.cc + src/model/CreateDeviceMeetingRequest.cc + src/model/CreateDeviceMeetingResult.cc src/model/CreateEvaluationRequest.cc src/model/CreateEvaluationResult.cc + src/model/CreateLiveRequest.cc + src/model/CreateLiveResult.cc src/model/CreateMeetingRequest.cc src/model/CreateMeetingResult.cc + src/model/CreateMeetingInternationalRequest.cc + src/model/CreateMeetingInternationalResult.cc src/model/CreateUserRequest.cc src/model/CreateUserResult.cc + src/model/CreateUserInternationalRequest.cc + src/model/CreateUserInternationalResult.cc + src/model/DeleteDeviceRequest.cc + src/model/DeleteDeviceResult.cc + src/model/DeleteLiveRequest.cc + src/model/DeleteLiveResult.cc src/model/DeleteMeetingRequest.cc src/model/DeleteMeetingResult.cc src/model/DeleteUserRequest.cc src/model/DeleteUserResult.cc + src/model/EndDeviceMeetingRequest.cc + src/model/EndDeviceMeetingResult.cc + src/model/EndLiveRequest.cc + src/model/EndLiveResult.cc + src/model/GetDeviceActiveCodeRequest.cc + src/model/GetDeviceActiveCodeResult.cc + src/model/GetDeviceTokenRequest.cc + src/model/GetDeviceTokenResult.cc src/model/GetMeetingRequest.cc src/model/GetMeetingResult.cc + src/model/GetMeetingInternationalRequest.cc + src/model/GetMeetingInternationalResult.cc src/model/GetMeetingMemberRequest.cc src/model/GetMeetingMemberResult.cc src/model/GetUserRequest.cc src/model/GetUserResult.cc + src/model/JoinDeviceMeetingRequest.cc + src/model/JoinDeviceMeetingResult.cc + src/model/JoinLiveRequest.cc + src/model/JoinLiveResult.cc src/model/JoinMeetingRequest.cc src/model/JoinMeetingResult.cc + src/model/JoinMeetingInternationalRequest.cc + src/model/JoinMeetingInternationalResult.cc + src/model/ListDeviceIpRequest.cc + src/model/ListDeviceIpResult.cc src/model/ListEvaluationsRequest.cc src/model/ListEvaluationsResult.cc src/model/ListIsvStatisticsRequest.cc @@ -79,7 +161,21 @@ set(aliyuncvc_src src/model/ListMembersRequest.cc src/model/ListMembersResult.cc src/model/ListUsersRequest.cc - src/model/ListUsersResult.cc ) + src/model/ListUsersResult.cc + src/model/ModifyMeetingPasswordRequest.cc + src/model/ModifyMeetingPasswordResult.cc + src/model/ModifyMeetingPasswordInternationalRequest.cc + src/model/ModifyMeetingPasswordInternationalResult.cc + src/model/RegisterDeviceRequest.cc + src/model/RegisterDeviceResult.cc + src/model/RegisterUemDeviceRequest.cc + src/model/RegisterUemDeviceResult.cc + src/model/StartLiveRequest.cc + src/model/StartLiveResult.cc + src/model/UpdateDeviceHeartBeatRequest.cc + src/model/UpdateDeviceHeartBeatResult.cc + src/model/UpdateLivePasswordRequest.cc + src/model/UpdateLivePasswordResult.cc ) add_library(aliyuncvc ${LIB_TYPE} ${aliyuncvc_public_header} diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h b/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h index 681212fe2..e5a993103 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/AliyuncvcClient.h @@ -22,26 +22,60 @@ #include #include #include "AliyuncvcExport.h" +#include "model/ActiveDeviceRequest.h" +#include "model/ActiveDeviceResult.h" #include "model/ActiveMeetingRequest.h" #include "model/ActiveMeetingResult.h" +#include "model/BatchCreateDeviceRequest.h" +#include "model/BatchCreateDeviceResult.h" +#include "model/CreateDeviceMeetingRequest.h" +#include "model/CreateDeviceMeetingResult.h" #include "model/CreateEvaluationRequest.h" #include "model/CreateEvaluationResult.h" +#include "model/CreateLiveRequest.h" +#include "model/CreateLiveResult.h" #include "model/CreateMeetingRequest.h" #include "model/CreateMeetingResult.h" +#include "model/CreateMeetingInternationalRequest.h" +#include "model/CreateMeetingInternationalResult.h" #include "model/CreateUserRequest.h" #include "model/CreateUserResult.h" +#include "model/CreateUserInternationalRequest.h" +#include "model/CreateUserInternationalResult.h" +#include "model/DeleteDeviceRequest.h" +#include "model/DeleteDeviceResult.h" +#include "model/DeleteLiveRequest.h" +#include "model/DeleteLiveResult.h" #include "model/DeleteMeetingRequest.h" #include "model/DeleteMeetingResult.h" #include "model/DeleteUserRequest.h" #include "model/DeleteUserResult.h" +#include "model/EndDeviceMeetingRequest.h" +#include "model/EndDeviceMeetingResult.h" +#include "model/EndLiveRequest.h" +#include "model/EndLiveResult.h" +#include "model/GetDeviceActiveCodeRequest.h" +#include "model/GetDeviceActiveCodeResult.h" +#include "model/GetDeviceTokenRequest.h" +#include "model/GetDeviceTokenResult.h" #include "model/GetMeetingRequest.h" #include "model/GetMeetingResult.h" +#include "model/GetMeetingInternationalRequest.h" +#include "model/GetMeetingInternationalResult.h" #include "model/GetMeetingMemberRequest.h" #include "model/GetMeetingMemberResult.h" #include "model/GetUserRequest.h" #include "model/GetUserResult.h" +#include "model/JoinDeviceMeetingRequest.h" +#include "model/JoinDeviceMeetingResult.h" +#include "model/JoinLiveRequest.h" +#include "model/JoinLiveResult.h" #include "model/JoinMeetingRequest.h" #include "model/JoinMeetingResult.h" +#include "model/JoinMeetingInternationalRequest.h" +#include "model/JoinMeetingInternationalResult.h" +#include "model/ListDeviceIpRequest.h" +#include "model/ListDeviceIpResult.h" #include "model/ListEvaluationsRequest.h" #include "model/ListEvaluationsResult.h" #include "model/ListIsvStatisticsRequest.h" @@ -50,6 +84,20 @@ #include "model/ListMembersResult.h" #include "model/ListUsersRequest.h" #include "model/ListUsersResult.h" +#include "model/ModifyMeetingPasswordRequest.h" +#include "model/ModifyMeetingPasswordResult.h" +#include "model/ModifyMeetingPasswordInternationalRequest.h" +#include "model/ModifyMeetingPasswordInternationalResult.h" +#include "model/RegisterDeviceRequest.h" +#include "model/RegisterDeviceResult.h" +#include "model/RegisterUemDeviceRequest.h" +#include "model/RegisterUemDeviceResult.h" +#include "model/StartLiveRequest.h" +#include "model/StartLiveResult.h" +#include "model/UpdateDeviceHeartBeatRequest.h" +#include "model/UpdateDeviceHeartBeatResult.h" +#include "model/UpdateLivePasswordRequest.h" +#include "model/UpdateLivePasswordResult.h" namespace AlibabaCloud @@ -59,36 +107,87 @@ namespace AlibabaCloud class ALIBABACLOUD_ALIYUNCVC_EXPORT AliyuncvcClient : public RpcServiceClient { public: + typedef Outcome ActiveDeviceOutcome; + typedef std::future ActiveDeviceOutcomeCallable; + typedef std::function&)> ActiveDeviceAsyncHandler; typedef Outcome ActiveMeetingOutcome; typedef std::future ActiveMeetingOutcomeCallable; typedef std::function&)> ActiveMeetingAsyncHandler; + typedef Outcome BatchCreateDeviceOutcome; + typedef std::future BatchCreateDeviceOutcomeCallable; + typedef std::function&)> BatchCreateDeviceAsyncHandler; + typedef Outcome CreateDeviceMeetingOutcome; + typedef std::future CreateDeviceMeetingOutcomeCallable; + typedef std::function&)> CreateDeviceMeetingAsyncHandler; typedef Outcome CreateEvaluationOutcome; typedef std::future CreateEvaluationOutcomeCallable; typedef std::function&)> CreateEvaluationAsyncHandler; + typedef Outcome CreateLiveOutcome; + typedef std::future CreateLiveOutcomeCallable; + typedef std::function&)> CreateLiveAsyncHandler; typedef Outcome CreateMeetingOutcome; typedef std::future CreateMeetingOutcomeCallable; typedef std::function&)> CreateMeetingAsyncHandler; + typedef Outcome CreateMeetingInternationalOutcome; + typedef std::future CreateMeetingInternationalOutcomeCallable; + typedef std::function&)> CreateMeetingInternationalAsyncHandler; typedef Outcome CreateUserOutcome; typedef std::future CreateUserOutcomeCallable; typedef std::function&)> CreateUserAsyncHandler; + typedef Outcome CreateUserInternationalOutcome; + typedef std::future CreateUserInternationalOutcomeCallable; + typedef std::function&)> CreateUserInternationalAsyncHandler; + typedef Outcome DeleteDeviceOutcome; + typedef std::future DeleteDeviceOutcomeCallable; + typedef std::function&)> DeleteDeviceAsyncHandler; + typedef Outcome DeleteLiveOutcome; + typedef std::future DeleteLiveOutcomeCallable; + typedef std::function&)> DeleteLiveAsyncHandler; typedef Outcome DeleteMeetingOutcome; typedef std::future DeleteMeetingOutcomeCallable; typedef std::function&)> DeleteMeetingAsyncHandler; typedef Outcome DeleteUserOutcome; typedef std::future DeleteUserOutcomeCallable; typedef std::function&)> DeleteUserAsyncHandler; + typedef Outcome EndDeviceMeetingOutcome; + typedef std::future EndDeviceMeetingOutcomeCallable; + typedef std::function&)> EndDeviceMeetingAsyncHandler; + typedef Outcome EndLiveOutcome; + typedef std::future EndLiveOutcomeCallable; + typedef std::function&)> EndLiveAsyncHandler; + typedef Outcome GetDeviceActiveCodeOutcome; + typedef std::future GetDeviceActiveCodeOutcomeCallable; + typedef std::function&)> GetDeviceActiveCodeAsyncHandler; + typedef Outcome GetDeviceTokenOutcome; + typedef std::future GetDeviceTokenOutcomeCallable; + typedef std::function&)> GetDeviceTokenAsyncHandler; typedef Outcome GetMeetingOutcome; typedef std::future GetMeetingOutcomeCallable; typedef std::function&)> GetMeetingAsyncHandler; + typedef Outcome GetMeetingInternationalOutcome; + typedef std::future GetMeetingInternationalOutcomeCallable; + typedef std::function&)> GetMeetingInternationalAsyncHandler; typedef Outcome GetMeetingMemberOutcome; typedef std::future GetMeetingMemberOutcomeCallable; typedef std::function&)> GetMeetingMemberAsyncHandler; typedef Outcome GetUserOutcome; typedef std::future GetUserOutcomeCallable; typedef std::function&)> GetUserAsyncHandler; + typedef Outcome JoinDeviceMeetingOutcome; + typedef std::future JoinDeviceMeetingOutcomeCallable; + typedef std::function&)> JoinDeviceMeetingAsyncHandler; + typedef Outcome JoinLiveOutcome; + typedef std::future JoinLiveOutcomeCallable; + typedef std::function&)> JoinLiveAsyncHandler; typedef Outcome JoinMeetingOutcome; typedef std::future JoinMeetingOutcomeCallable; typedef std::function&)> JoinMeetingAsyncHandler; + typedef Outcome JoinMeetingInternationalOutcome; + typedef std::future JoinMeetingInternationalOutcomeCallable; + typedef std::function&)> JoinMeetingInternationalAsyncHandler; + typedef Outcome ListDeviceIpOutcome; + typedef std::future ListDeviceIpOutcomeCallable; + typedef std::function&)> ListDeviceIpAsyncHandler; typedef Outcome ListEvaluationsOutcome; typedef std::future ListEvaluationsOutcomeCallable; typedef std::function&)> ListEvaluationsAsyncHandler; @@ -101,41 +200,113 @@ namespace AlibabaCloud typedef Outcome ListUsersOutcome; typedef std::future ListUsersOutcomeCallable; typedef std::function&)> ListUsersAsyncHandler; + typedef Outcome ModifyMeetingPasswordOutcome; + typedef std::future ModifyMeetingPasswordOutcomeCallable; + typedef std::function&)> ModifyMeetingPasswordAsyncHandler; + typedef Outcome ModifyMeetingPasswordInternationalOutcome; + typedef std::future ModifyMeetingPasswordInternationalOutcomeCallable; + typedef std::function&)> ModifyMeetingPasswordInternationalAsyncHandler; + typedef Outcome RegisterDeviceOutcome; + typedef std::future RegisterDeviceOutcomeCallable; + typedef std::function&)> RegisterDeviceAsyncHandler; + typedef Outcome RegisterUemDeviceOutcome; + typedef std::future RegisterUemDeviceOutcomeCallable; + typedef std::function&)> RegisterUemDeviceAsyncHandler; + typedef Outcome StartLiveOutcome; + typedef std::future StartLiveOutcomeCallable; + typedef std::function&)> StartLiveAsyncHandler; + typedef Outcome UpdateDeviceHeartBeatOutcome; + typedef std::future UpdateDeviceHeartBeatOutcomeCallable; + typedef std::function&)> UpdateDeviceHeartBeatAsyncHandler; + typedef Outcome UpdateLivePasswordOutcome; + typedef std::future UpdateLivePasswordOutcomeCallable; + typedef std::function&)> UpdateLivePasswordAsyncHandler; AliyuncvcClient(const Credentials &credentials, const ClientConfiguration &configuration); AliyuncvcClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); AliyuncvcClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~AliyuncvcClient(); + ActiveDeviceOutcome activeDevice(const Model::ActiveDeviceRequest &request)const; + void activeDeviceAsync(const Model::ActiveDeviceRequest& request, const ActiveDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ActiveDeviceOutcomeCallable activeDeviceCallable(const Model::ActiveDeviceRequest& request) const; ActiveMeetingOutcome activeMeeting(const Model::ActiveMeetingRequest &request)const; void activeMeetingAsync(const Model::ActiveMeetingRequest& request, const ActiveMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ActiveMeetingOutcomeCallable activeMeetingCallable(const Model::ActiveMeetingRequest& request) const; + BatchCreateDeviceOutcome batchCreateDevice(const Model::BatchCreateDeviceRequest &request)const; + void batchCreateDeviceAsync(const Model::BatchCreateDeviceRequest& request, const BatchCreateDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchCreateDeviceOutcomeCallable batchCreateDeviceCallable(const Model::BatchCreateDeviceRequest& request) const; + CreateDeviceMeetingOutcome createDeviceMeeting(const Model::CreateDeviceMeetingRequest &request)const; + void createDeviceMeetingAsync(const Model::CreateDeviceMeetingRequest& request, const CreateDeviceMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDeviceMeetingOutcomeCallable createDeviceMeetingCallable(const Model::CreateDeviceMeetingRequest& request) const; CreateEvaluationOutcome createEvaluation(const Model::CreateEvaluationRequest &request)const; void createEvaluationAsync(const Model::CreateEvaluationRequest& request, const CreateEvaluationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateEvaluationOutcomeCallable createEvaluationCallable(const Model::CreateEvaluationRequest& request) const; + CreateLiveOutcome createLive(const Model::CreateLiveRequest &request)const; + void createLiveAsync(const Model::CreateLiveRequest& request, const CreateLiveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateLiveOutcomeCallable createLiveCallable(const Model::CreateLiveRequest& request) const; CreateMeetingOutcome createMeeting(const Model::CreateMeetingRequest &request)const; void createMeetingAsync(const Model::CreateMeetingRequest& request, const CreateMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateMeetingOutcomeCallable createMeetingCallable(const Model::CreateMeetingRequest& request) const; + CreateMeetingInternationalOutcome createMeetingInternational(const Model::CreateMeetingInternationalRequest &request)const; + void createMeetingInternationalAsync(const Model::CreateMeetingInternationalRequest& request, const CreateMeetingInternationalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateMeetingInternationalOutcomeCallable createMeetingInternationalCallable(const Model::CreateMeetingInternationalRequest& request) const; CreateUserOutcome createUser(const Model::CreateUserRequest &request)const; void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const; + CreateUserInternationalOutcome createUserInternational(const Model::CreateUserInternationalRequest &request)const; + void createUserInternationalAsync(const Model::CreateUserInternationalRequest& request, const CreateUserInternationalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateUserInternationalOutcomeCallable createUserInternationalCallable(const Model::CreateUserInternationalRequest& request) const; + DeleteDeviceOutcome deleteDevice(const Model::DeleteDeviceRequest &request)const; + void deleteDeviceAsync(const Model::DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDeviceOutcomeCallable deleteDeviceCallable(const Model::DeleteDeviceRequest& request) const; + DeleteLiveOutcome deleteLive(const Model::DeleteLiveRequest &request)const; + void deleteLiveAsync(const Model::DeleteLiveRequest& request, const DeleteLiveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveOutcomeCallable deleteLiveCallable(const Model::DeleteLiveRequest& request) const; DeleteMeetingOutcome deleteMeeting(const Model::DeleteMeetingRequest &request)const; void deleteMeetingAsync(const Model::DeleteMeetingRequest& request, const DeleteMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteMeetingOutcomeCallable deleteMeetingCallable(const Model::DeleteMeetingRequest& request) const; DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const; void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const; + EndDeviceMeetingOutcome endDeviceMeeting(const Model::EndDeviceMeetingRequest &request)const; + void endDeviceMeetingAsync(const Model::EndDeviceMeetingRequest& request, const EndDeviceMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EndDeviceMeetingOutcomeCallable endDeviceMeetingCallable(const Model::EndDeviceMeetingRequest& request) const; + EndLiveOutcome endLive(const Model::EndLiveRequest &request)const; + void endLiveAsync(const Model::EndLiveRequest& request, const EndLiveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EndLiveOutcomeCallable endLiveCallable(const Model::EndLiveRequest& request) const; + GetDeviceActiveCodeOutcome getDeviceActiveCode(const Model::GetDeviceActiveCodeRequest &request)const; + void getDeviceActiveCodeAsync(const Model::GetDeviceActiveCodeRequest& request, const GetDeviceActiveCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDeviceActiveCodeOutcomeCallable getDeviceActiveCodeCallable(const Model::GetDeviceActiveCodeRequest& request) const; + GetDeviceTokenOutcome getDeviceToken(const Model::GetDeviceTokenRequest &request)const; + void getDeviceTokenAsync(const Model::GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDeviceTokenOutcomeCallable getDeviceTokenCallable(const Model::GetDeviceTokenRequest& request) const; GetMeetingOutcome getMeeting(const Model::GetMeetingRequest &request)const; void getMeetingAsync(const Model::GetMeetingRequest& request, const GetMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetMeetingOutcomeCallable getMeetingCallable(const Model::GetMeetingRequest& request) const; + GetMeetingInternationalOutcome getMeetingInternational(const Model::GetMeetingInternationalRequest &request)const; + void getMeetingInternationalAsync(const Model::GetMeetingInternationalRequest& request, const GetMeetingInternationalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetMeetingInternationalOutcomeCallable getMeetingInternationalCallable(const Model::GetMeetingInternationalRequest& request) const; GetMeetingMemberOutcome getMeetingMember(const Model::GetMeetingMemberRequest &request)const; void getMeetingMemberAsync(const Model::GetMeetingMemberRequest& request, const GetMeetingMemberAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetMeetingMemberOutcomeCallable getMeetingMemberCallable(const Model::GetMeetingMemberRequest& request) const; GetUserOutcome getUser(const Model::GetUserRequest &request)const; void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const; + JoinDeviceMeetingOutcome joinDeviceMeeting(const Model::JoinDeviceMeetingRequest &request)const; + void joinDeviceMeetingAsync(const Model::JoinDeviceMeetingRequest& request, const JoinDeviceMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + JoinDeviceMeetingOutcomeCallable joinDeviceMeetingCallable(const Model::JoinDeviceMeetingRequest& request) const; + JoinLiveOutcome joinLive(const Model::JoinLiveRequest &request)const; + void joinLiveAsync(const Model::JoinLiveRequest& request, const JoinLiveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + JoinLiveOutcomeCallable joinLiveCallable(const Model::JoinLiveRequest& request) const; JoinMeetingOutcome joinMeeting(const Model::JoinMeetingRequest &request)const; void joinMeetingAsync(const Model::JoinMeetingRequest& request, const JoinMeetingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; JoinMeetingOutcomeCallable joinMeetingCallable(const Model::JoinMeetingRequest& request) const; + JoinMeetingInternationalOutcome joinMeetingInternational(const Model::JoinMeetingInternationalRequest &request)const; + void joinMeetingInternationalAsync(const Model::JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + JoinMeetingInternationalOutcomeCallable joinMeetingInternationalCallable(const Model::JoinMeetingInternationalRequest& request) const; + ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const; + void listDeviceIpAsync(const Model::ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const; ListEvaluationsOutcome listEvaluations(const Model::ListEvaluationsRequest &request)const; void listEvaluationsAsync(const Model::ListEvaluationsRequest& request, const ListEvaluationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListEvaluationsOutcomeCallable listEvaluationsCallable(const Model::ListEvaluationsRequest& request) const; @@ -148,6 +319,27 @@ namespace AlibabaCloud ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const; void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const; + ModifyMeetingPasswordOutcome modifyMeetingPassword(const Model::ModifyMeetingPasswordRequest &request)const; + void modifyMeetingPasswordAsync(const Model::ModifyMeetingPasswordRequest& request, const ModifyMeetingPasswordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyMeetingPasswordOutcomeCallable modifyMeetingPasswordCallable(const Model::ModifyMeetingPasswordRequest& request) const; + ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const; + void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const; + RegisterDeviceOutcome registerDevice(const Model::RegisterDeviceRequest &request)const; + void registerDeviceAsync(const Model::RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RegisterDeviceOutcomeCallable registerDeviceCallable(const Model::RegisterDeviceRequest& request) const; + RegisterUemDeviceOutcome registerUemDevice(const Model::RegisterUemDeviceRequest &request)const; + void registerUemDeviceAsync(const Model::RegisterUemDeviceRequest& request, const RegisterUemDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RegisterUemDeviceOutcomeCallable registerUemDeviceCallable(const Model::RegisterUemDeviceRequest& request) const; + StartLiveOutcome startLive(const Model::StartLiveRequest &request)const; + void startLiveAsync(const Model::StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartLiveOutcomeCallable startLiveCallable(const Model::StartLiveRequest& request) const; + UpdateDeviceHeartBeatOutcome updateDeviceHeartBeat(const Model::UpdateDeviceHeartBeatRequest &request)const; + void updateDeviceHeartBeatAsync(const Model::UpdateDeviceHeartBeatRequest& request, const UpdateDeviceHeartBeatAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDeviceHeartBeatOutcomeCallable updateDeviceHeartBeatCallable(const Model::UpdateDeviceHeartBeatRequest& request) const; + UpdateLivePasswordOutcome updateLivePassword(const Model::UpdateLivePasswordRequest &request)const; + void updateLivePasswordAsync(const Model::UpdateLivePasswordRequest& request, const UpdateLivePasswordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateLivePasswordOutcomeCallable updateLivePasswordCallable(const Model::UpdateLivePasswordRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveDeviceRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveDeviceRequest.h new file mode 100644 index 000000000..dec85d803 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveDeviceRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveDeviceRequest : public RpcServiceRequest + { + + public: + ActiveDeviceRequest(); + ~ActiveDeviceRequest(); + + std::string getIP()const; + void setIP(const std::string& iP); + std::string getActiveCode()const; + void setActiveCode(const std::string& activeCode); + std::string getMac()const; + void setMac(const std::string& mac); + std::string getDeviceVersion()const; + void setDeviceVersion(const std::string& deviceVersion); + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string iP_; + std::string activeCode_; + std::string mac_; + std::string deviceVersion_; + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveDeviceResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveDeviceResult.h new file mode 100644 index 000000000..4da362f44 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ActiveDeviceResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveDeviceResult : public ServiceResult + { + public: + + + ActiveDeviceResult(); + explicit ActiveDeviceResult(const std::string &payload); + ~ActiveDeviceResult(); + std::string getMessage()const; + std::string getToken()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string token_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEDEVICERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h new file mode 100644 index 000000000..15f1219b4 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.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_ALIYUNCVC_MODEL_BATCHCREATEDEVICEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHCREATEDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT BatchCreateDeviceRequest : public RpcServiceRequest + { + + public: + BatchCreateDeviceRequest(); + ~BatchCreateDeviceRequest(); + + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHCREATEDEVICEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h new file mode 100644 index 000000000..638327830 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHCREATEDEVICERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHCREATEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT BatchCreateDeviceResult : public ServiceResult + { + public: + struct Data + { + int deviceErrorCode; + std::string sN; + std::string activeCode; + std::string deviceMessage; + }; + + + BatchCreateDeviceResult(); + explicit BatchCreateDeviceResult(const std::string &payload); + ~BatchCreateDeviceResult(); + std::string getMessage()const; + int getErrorCode()const; + std::vector getDevices()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + std::vector devices_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHCREATEDEVICERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h new file mode 100644 index 000000000..0ddcff6b3 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateDeviceMeetingRequest : public RpcServiceRequest + { + + public: + CreateDeviceMeetingRequest(); + ~CreateDeviceMeetingRequest(); + + std::string getMeetingName()const; + void setMeetingName(const std::string& meetingName); + bool getOpenPasswordtag()const; + void setOpenPasswordtag(bool openPasswordtag); + std::string getToken()const; + void setToken(const std::string& token); + std::string getPassword()const; + void setPassword(const std::string& password); + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string meetingName_; + bool openPasswordtag_; + std::string token_; + std::string password_; + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h new file mode 100644 index 000000000..17d681d22 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h @@ -0,0 +1,62 @@ +/* + * 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_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateDeviceMeetingResult : public ServiceResult + { + public: + struct Devices + { + std::string meetingCode; + std::string meetingUUID; + }; + + + CreateDeviceMeetingResult(); + explicit CreateDeviceMeetingResult(const std::string &payload); + ~CreateDeviceMeetingResult(); + std::string getMessage()const; + int getErrorCode()const; + Devices getDevices()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + Devices devices_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEDEVICEMEETINGRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateLiveRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateLiveRequest.h new file mode 100644 index 000000000..a9a390867 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateLiveRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATELIVEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATELIVEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateLiveRequest : public RpcServiceRequest + { + + public: + CreateLiveRequest(); + ~CreateLiveRequest(); + + std::string getMemo()const; + void setMemo(const std::string& memo); + std::string getUserId()const; + void setUserId(const std::string& userId); + bool getOpenPasswordFlag()const; + void setOpenPasswordFlag(bool openPasswordFlag); + std::string getPassword()const; + void setPassword(const std::string& password); + std::string getLiveName()const; + void setLiveName(const std::string& liveName); + + private: + std::string memo_; + std::string userId_; + bool openPasswordFlag_; + std::string password_; + std::string liveName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATELIVEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateLiveResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateLiveResult.h new file mode 100644 index 000000000..5636fb701 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateLiveResult.h @@ -0,0 +1,62 @@ +/* + * 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_ALIYUNCVC_MODEL_CREATELIVERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATELIVERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateLiveResult : public ServiceResult + { + public: + struct LiveInfo + { + std::string streamUUID; + std::string liveUUID; + }; + + + CreateLiveResult(); + explicit CreateLiveResult(const std::string &payload); + ~CreateLiveResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + LiveInfo getLiveInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + LiveInfo liveInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATELIVERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalRequest.h new file mode 100644 index 000000000..98a148c0d --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateMeetingInternationalRequest : public RpcServiceRequest + { + + public: + CreateMeetingInternationalRequest(); + ~CreateMeetingInternationalRequest(); + + std::string getMeetingName()const; + void setMeetingName(const std::string& meetingName); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getOpenPasswordFlag()const; + void setOpenPasswordFlag(const std::string& openPasswordFlag); + std::string getPassword()const; + void setPassword(const std::string& password); + + private: + std::string meetingName_; + std::string userId_; + std::string openPasswordFlag_; + std::string password_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalResult.h new file mode 100644 index 000000000..9abfea1b5 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalResult.h @@ -0,0 +1,62 @@ +/* + * 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_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateMeetingInternationalResult : public ServiceResult + { + public: + struct MeetingInfo + { + std::string meetingCode; + std::string meetingUUID; + }; + + + CreateMeetingInternationalResult(); + explicit CreateMeetingInternationalResult(const std::string &payload); + ~CreateMeetingInternationalResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGINTERNATIONALRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h index 06a14dfb3..6b84bfe34 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h @@ -39,10 +39,22 @@ namespace AlibabaCloud void setMeetingName(const std::string& meetingName); std::string getUserId()const; void setUserId(const std::string& userId); + bool getOpenPasswordFlag()const; + void setOpenPasswordFlag(bool openPasswordFlag); + std::string getPassword()const; + void setPassword(const std::string& password); + bool getMasterEnableFlag()const; + void setMasterEnableFlag(bool masterEnableFlag); + std::string getMeetingMode()const; + void setMeetingMode(const std::string& meetingMode); private: std::string meetingName_; std::string userId_; + bool openPasswordFlag_; + std::string password_; + bool masterEnableFlag_; + std::string meetingMode_; }; } diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.h new file mode 100644 index 000000000..8ecf019e2 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.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_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserInternationalRequest : public RpcServiceRequest + { + + public: + CreateUserInternationalRequest(); + ~CreateUserInternationalRequest(); + + int getCount()const; + void setCount(int count); + std::string getUserInfo()const; + void setUserInfo(const std::string& userInfo); + + private: + int count_; + std::string userInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h new file mode 100644 index 000000000..6e7c6d6e8 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserInternationalResult : public ServiceResult + { + public: + + + CreateUserInternationalResult(); + explicit CreateUserInternationalResult(const std::string &payload); + ~CreateUserInternationalResult(); + std::string getMessage()const; + std::string getUserId()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string userId_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERINTERNATIONALRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h new file mode 100644 index 000000000..46fed2cdc --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.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_ALIYUNCVC_MODEL_DELETEDEVICEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteDeviceRequest : public RpcServiceRequest + { + + public: + DeleteDeviceRequest(); + ~DeleteDeviceRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string groupId_; + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEDEVICEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteDeviceResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteDeviceResult.h new file mode 100644 index 000000000..b9080fb25 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteDeviceResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEDEVICERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteDeviceResult : public ServiceResult + { + public: + + + DeleteDeviceResult(); + explicit DeleteDeviceResult(const std::string &payload); + ~DeleteDeviceResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEDEVICERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteLiveRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteLiveRequest.h new file mode 100644 index 000000000..0b61b702b --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteLiveRequest.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_ALIYUNCVC_MODEL_DELETELIVEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETELIVEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteLiveRequest : public RpcServiceRequest + { + + public: + DeleteLiveRequest(); + ~DeleteLiveRequest(); + + std::string getLiveUUID()const; + void setLiveUUID(const std::string& liveUUID); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string liveUUID_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETELIVEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteLiveResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteLiveResult.h new file mode 100644 index 000000000..710f38536 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/DeleteLiveResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_DELETELIVERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETELIVERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteLiveResult : public ServiceResult + { + public: + + + DeleteLiveResult(); + explicit DeleteLiveResult(const std::string &payload); + ~DeleteLiveResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETELIVERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndDeviceMeetingRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndDeviceMeetingRequest.h new file mode 100644 index 000000000..9085e1ee5 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndDeviceMeetingRequest.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_ALIYUNCVC_MODEL_ENDDEVICEMEETINGREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENDDEVICEMEETINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT EndDeviceMeetingRequest : public RpcServiceRequest + { + + public: + EndDeviceMeetingRequest(); + ~EndDeviceMeetingRequest(); + + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string meetingUUID_; + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ENDDEVICEMEETINGREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h new file mode 100644 index 000000000..1c60f286b --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ENDDEVICEMEETINGRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENDDEVICEMEETINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT EndDeviceMeetingResult : public ServiceResult + { + public: + + + EndDeviceMeetingResult(); + explicit EndDeviceMeetingResult(const std::string &payload); + ~EndDeviceMeetingResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ENDDEVICEMEETINGRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndLiveRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndLiveRequest.h new file mode 100644 index 000000000..9e590ba0a --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndLiveRequest.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_ALIYUNCVC_MODEL_ENDLIVEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENDLIVEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT EndLiveRequest : public RpcServiceRequest + { + + public: + EndLiveRequest(); + ~EndLiveRequest(); + + std::string getLiveUUID()const; + void setLiveUUID(const std::string& liveUUID); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string liveUUID_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ENDLIVEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndLiveResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndLiveResult.h new file mode 100644 index 000000000..2d4c870e7 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/EndLiveResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ENDLIVERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENDLIVERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT EndLiveResult : public ServiceResult + { + public: + + + EndLiveResult(); + explicit EndLiveResult(const std::string &payload); + ~EndLiveResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ENDLIVERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.h new file mode 100644 index 000000000..e41059f66 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.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_ALIYUNCVC_MODEL_GETDEVICEACTIVECODEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEACTIVECODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceActiveCodeRequest : public RpcServiceRequest + { + + public: + GetDeviceActiveCodeRequest(); + ~GetDeviceActiveCodeRequest(); + + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEACTIVECODEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h new file mode 100644 index 000000000..24a95614d --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEACTIVECODERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEACTIVECODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceActiveCodeResult : public ServiceResult + { + public: + struct Data + { + int deviceErrorCode; + std::string sN; + std::string activeCode; + std::string deviceMessage; + }; + + + GetDeviceActiveCodeResult(); + explicit GetDeviceActiveCodeResult(const std::string &payload); + ~GetDeviceActiveCodeResult(); + std::string getMessage()const; + int getErrorCode()const; + std::vector getDevices()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + std::vector devices_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEACTIVECODERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h new file mode 100644 index 000000000..f3f7b07f7 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.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_ALIYUNCVC_MODEL_GETDEVICETOKENREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICETOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceTokenRequest : public RpcServiceRequest + { + + public: + GetDeviceTokenRequest(); + ~GetDeviceTokenRequest(); + + std::string getToken()const; + void setToken(const std::string& token); + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string token_; + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICETOKENREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h new file mode 100644 index 000000000..66a6d101d --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICETOKENRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICETOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT GetDeviceTokenResult : public ServiceResult + { + public: + + + GetDeviceTokenResult(); + explicit GetDeviceTokenResult(const std::string &payload); + ~GetDeviceTokenResult(); + std::string getMessage()const; + std::string getToken()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + std::string token_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICETOKENRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingInternationalRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingInternationalRequest.h new file mode 100644 index 000000000..26fa7eb45 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingInternationalRequest.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_ALIYUNCVC_MODEL_GETMEETINGINTERNATIONALREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGINTERNATIONALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMeetingInternationalRequest : public RpcServiceRequest + { + + public: + GetMeetingInternationalRequest(); + ~GetMeetingInternationalRequest(); + + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + + private: + std::string meetingUUID_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGINTERNATIONALREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingInternationalResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingInternationalResult.h new file mode 100644 index 000000000..f3e0827a0 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingInternationalResult.h @@ -0,0 +1,76 @@ +/* + * 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_ALIYUNCVC_MODEL_GETMEETINGINTERNATIONALRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGINTERNATIONALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMeetingInternationalResult : public ServiceResult + { + public: + struct MeetingInfo + { + struct MemberListItem + { + std::string status; + std::string userName; + std::string memberUUID; + std::string userId; + std::string userAvatarUrl; + }; + std::string meetingCode; + std::string meetingUUID; + std::vector memberList; + std::string userId; + long createTime; + std::string meetingName; + long validTime; + std::string password; + }; + + + GetMeetingInternationalResult(); + explicit GetMeetingInternationalResult(const std::string &payload); + ~GetMeetingInternationalResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGINTERNATIONALRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h index 1ce3d8f15..0495e2d47 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h @@ -39,16 +39,16 @@ namespace AlibabaCloud ~GetMeetingMemberResult(); std::string getMessage()const; int getErrorCode()const; - std::vector getMembers()const; bool getSuccess()const; + std::string getMembers()const; protected: void parse(const std::string &payload); private: std::string message_; int errorCode_; - std::vector members_; bool success_; + std::string members_; }; } diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingResult.h index af840197e..60b6b30f2 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingResult.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/GetMeetingResult.h @@ -49,6 +49,7 @@ namespace AlibabaCloud long createTime; std::string meetingName; long validTime; + std::string password; }; diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h new file mode 100644 index 000000000..90d49f0d5 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinDeviceMeetingRequest : public RpcServiceRequest + { + + public: + JoinDeviceMeetingRequest(); + ~JoinDeviceMeetingRequest(); + + std::string getToken()const; + void setToken(const std::string& token); + std::string getPassword()const; + void setPassword(const std::string& password); + std::string getMeetingCode()const; + void setMeetingCode(const std::string& meetingCode); + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string token_; + std::string password_; + std::string meetingCode_; + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingResult.h new file mode 100644 index 000000000..e352a6d09 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinDeviceMeetingResult : public ServiceResult + { + public: + struct Device + { + struct SlsInfo + { + std::string project; + std::string logstore; + std::string logServiceEndpoint; + }; + SlsInfo slsInfo; + std::string meetingDomain; + std::string meetingCode; + std::string memberUUID; + std::string meetingUUID; + std::string clientAppId; + std::string meetingAppId; + std::string meetingToken; + }; + + + JoinDeviceMeetingResult(); + explicit JoinDeviceMeetingResult(const std::string &payload); + ~JoinDeviceMeetingResult(); + std::string getMessage()const; + Device getDevice()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + Device device_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINDEVICEMEETINGRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinLiveRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinLiveRequest.h new file mode 100644 index 000000000..86e27c449 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinLiveRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinLiveRequest : public RpcServiceRequest + { + + public: + JoinLiveRequest(); + ~JoinLiveRequest(); + + std::string getLiveUUID()const; + void setLiveUUID(const std::string& liveUUID); + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getPassword()const; + void setPassword(const std::string& password); + + private: + std::string liveUUID_; + std::string userId_; + std::string password_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinLiveResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinLiveResult.h new file mode 100644 index 000000000..728c14d01 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinLiveResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinLiveResult : public ServiceResult + { + public: + struct MeetingInfo + { + struct SlsInfo + { + std::string project; + std::string logstore; + std::string logServiceEndpoint; + }; + SlsInfo slsInfo; + std::string meetingDomain; + std::string meetingCode; + std::string memberUUID; + std::string meetingUUID; + std::string clientAppId; + std::string meetingAppId; + std::string meetingToken; + }; + + + JoinLiveResult(); + explicit JoinLiveResult(const std::string &payload); + ~JoinLiveResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINLIVERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h new file mode 100644 index 000000000..a147044d0 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinMeetingInternationalRequest : public RpcServiceRequest + { + + public: + JoinMeetingInternationalRequest(); + ~JoinMeetingInternationalRequest(); + + std::string getUserId()const; + void setUserId(const std::string& userId); + std::string getPassword()const; + void setPassword(const std::string& password); + std::string getMeetingCode()const; + void setMeetingCode(const std::string& meetingCode); + + private: + std::string userId_; + std::string password_; + std::string meetingCode_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h new file mode 100644 index 000000000..e61f0337e --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinMeetingInternationalResult : public ServiceResult + { + public: + struct MeetingInfo + { + struct SlsInfo + { + std::string project; + std::string logstore; + std::string logServiceEndpoint; + }; + SlsInfo slsInfo; + std::string meetingDomain; + std::string meetingCode; + std::string memberUUID; + std::string meetingUUID; + std::string clientAppId; + std::string meetingAppId; + std::string meetingToken; + }; + + + JoinMeetingInternationalResult(); + explicit JoinMeetingInternationalResult(const std::string &payload); + ~JoinMeetingInternationalResult(); + MeetingInfo getMeetingInfo()const; + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + MeetingInfo meetingInfo_; + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGINTERNATIONALRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h index c105847b6..21ae567e3 100644 --- a/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h @@ -37,11 +37,14 @@ namespace AlibabaCloud std::string getUserId()const; void setUserId(const std::string& userId); + std::string getPassword()const; + void setPassword(const std::string& password); std::string getMeetingCode()const; void setMeetingCode(const std::string& meetingCode); private: std::string userId_; + std::string password_; std::string meetingCode_; }; diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h new file mode 100644 index 000000000..d8f2f57b9 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.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_ALIYUNCVC_MODEL_LISTDEVICEIPREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICEIPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListDeviceIpRequest : public RpcServiceRequest + { + + public: + ListDeviceIpRequest(); + ~ListDeviceIpRequest(); + + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string groupId_; + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICEIPREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h new file mode 100644 index 000000000..c92d686f4 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICEIPRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICEIPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ListDeviceIpResult : public ServiceResult + { + public: + struct DevicesItem + { + std::string screenCode; + std::string ip; + std::string ssId; + std::string mac; + }; + + + ListDeviceIpResult(); + explicit ListDeviceIpResult(const std::string &payload); + ~ListDeviceIpResult(); + std::string getMessage()const; + int getErrorCode()const; + std::vector getDevices()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + std::vector devices_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICEIPRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h new file mode 100644 index 000000000..2e70a3f66 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDINTERNATIONALREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDINTERNATIONALREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ModifyMeetingPasswordInternationalRequest : public RpcServiceRequest + { + + public: + ModifyMeetingPasswordInternationalRequest(); + ~ModifyMeetingPasswordInternationalRequest(); + + std::string getUserId()const; + void setUserId(const std::string& userId); + bool getOpenPasswordFlag()const; + void setOpenPasswordFlag(bool openPasswordFlag); + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + std::string getPassword()const; + void setPassword(const std::string& password); + + private: + std::string userId_; + bool openPasswordFlag_; + std::string meetingUUID_; + std::string password_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDINTERNATIONALREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h new file mode 100644 index 000000000..2384be134 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDINTERNATIONALRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDINTERNATIONALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ModifyMeetingPasswordInternationalResult : public ServiceResult + { + public: + + + ModifyMeetingPasswordInternationalResult(); + explicit ModifyMeetingPasswordInternationalResult(const std::string &payload); + ~ModifyMeetingPasswordInternationalResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDINTERNATIONALRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h new file mode 100644 index 000000000..04946135e --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ModifyMeetingPasswordRequest : public RpcServiceRequest + { + + public: + ModifyMeetingPasswordRequest(); + ~ModifyMeetingPasswordRequest(); + + std::string getUserId()const; + void setUserId(const std::string& userId); + bool getOpenPasswordFlag()const; + void setOpenPasswordFlag(bool openPasswordFlag); + std::string getMeetingUUID()const; + void setMeetingUUID(const std::string& meetingUUID); + std::string getPassword()const; + void setPassword(const std::string& password); + + private: + std::string userId_; + bool openPasswordFlag_; + std::string meetingUUID_; + std::string password_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h new file mode 100644 index 000000000..60811f3b1 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT ModifyMeetingPasswordResult : public ServiceResult + { + public: + + + ModifyMeetingPasswordResult(); + explicit ModifyMeetingPasswordResult(const std::string &payload); + ~ModifyMeetingPasswordResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYMEETINGPASSWORDRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h new file mode 100644 index 000000000..bfe202121 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERDEVICEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT RegisterDeviceRequest : public RpcServiceRequest + { + + public: + RegisterDeviceRequest(); + ~RegisterDeviceRequest(); + + std::string getIP()const; + void setIP(const std::string& iP); + std::string getMac()const; + void setMac(const std::string& mac); + std::string getToken()const; + void setToken(const std::string& token); + std::string getDeviceVersion()const; + void setDeviceVersion(const std::string& deviceVersion); + std::string getSN()const; + void setSN(const std::string& sN); + + private: + std::string iP_; + std::string mac_; + std::string token_; + std::string deviceVersion_; + std::string sN_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERDEVICEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h new file mode 100644 index 000000000..380c052b6 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h @@ -0,0 +1,96 @@ +/* + * 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_ALIYUNCVC_MODEL_REGISTERDEVICERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT RegisterDeviceResult : public ServiceResult + { + public: + struct DeviceInfo + { + struct MqttParam + { + std::string userName; + std::string reconnectTimeout; + std::string cleanSession; + std::string port; + std::string sDKClientPort; + std::string clientId; + std::string host; + std::string useTLS; + std::string topic; + std::string groupId; + std::string password; + std::string tLSPort; + }; + struct AuthWsChannelConfig + { + int wsOuterReconnTime; + std::string token; + std::string authWsUrl; + }; + struct SlsConfig + { + std::string project; + std::string logStore; + std::string logServiceEndpoint; + }; + std::string screenCode; + long registerTime; + SlsConfig slsConfig; + std::string messageKey; + std::string deviceSessionId; + MqttParam mqttParam; + AuthWsChannelConfig authWsChannelConfig; + std::string channelType; + std::string deviceName; + }; + + + RegisterDeviceResult(); + explicit RegisterDeviceResult(const std::string &payload); + ~RegisterDeviceResult(); + std::string getMessage()const; + DeviceInfo getDeviceInfo()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + DeviceInfo deviceInfo_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERDEVICERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h new file mode 100644 index 000000000..bd9bf791f --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERUEMDEVICEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERUEMDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT RegisterUemDeviceRequest : public RpcServiceRequest + { + + public: + RegisterUemDeviceRequest(); + ~RegisterUemDeviceRequest(); + + std::string getIP()const; + void setIP(const std::string& iP); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + std::string getGroupName()const; + void setGroupName(const std::string& groupName); + std::string getMac()const; + void setMac(const std::string& mac); + std::string getDeviceVersion()const; + void setDeviceVersion(const std::string& deviceVersion); + + private: + std::string iP_; + std::string groupId_; + std::string deviceId_; + std::string groupName_; + std::string mac_; + std::string deviceVersion_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERUEMDEVICEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h new file mode 100644 index 000000000..7285530c3 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h @@ -0,0 +1,97 @@ +/* + * 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_ALIYUNCVC_MODEL_REGISTERUEMDEVICERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERUEMDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT RegisterUemDeviceResult : public ServiceResult + { + public: + struct DeviceInfo + { + struct MqttParam + { + std::string userName; + std::string reconnectTimeout; + std::string cleanSession; + std::string port; + std::string sDKClientPort; + std::string clientId; + std::string host; + std::string useTLS; + std::string topic; + std::string groupId; + std::string password; + std::string tLSPort; + }; + struct AuthWsChannelConfig + { + int wsOuterReconnTime; + std::string token; + std::string authWsUrl; + }; + struct SlsConfig + { + std::string project; + std::string logStore; + std::string logServiceEndpoint; + }; + std::string screenCode; + long registerTime; + SlsConfig slsConfig; + std::string messageKey; + std::string deviceSessionId; + std::string token; + MqttParam mqttParam; + AuthWsChannelConfig authWsChannelConfig; + std::string channelType; + std::string deviceName; + }; + + + RegisterUemDeviceResult(); + explicit RegisterUemDeviceResult(const std::string &payload); + ~RegisterUemDeviceResult(); + std::string getMessage()const; + DeviceInfo getDeviceInfo()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + DeviceInfo deviceInfo_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REGISTERUEMDEVICERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/StartLiveRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/StartLiveRequest.h new file mode 100644 index 000000000..ff13d1bd2 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/StartLiveRequest.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_ALIYUNCVC_MODEL_STARTLIVEREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_STARTLIVEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT StartLiveRequest : public RpcServiceRequest + { + + public: + StartLiveRequest(); + ~StartLiveRequest(); + + std::string getLiveUUID()const; + void setLiveUUID(const std::string& liveUUID); + std::string getUserId()const; + void setUserId(const std::string& userId); + + private: + std::string liveUUID_; + std::string userId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_STARTLIVEREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/StartLiveResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/StartLiveResult.h new file mode 100644 index 000000000..800e5e49e --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/StartLiveResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_STARTLIVERESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_STARTLIVERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT StartLiveResult : public ServiceResult + { + public: + + + StartLiveResult(); + explicit StartLiveResult(const std::string &payload); + ~StartLiveResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_STARTLIVERESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h new file mode 100644 index 000000000..debe5239e --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.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_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateDeviceHeartBeatRequest : public RpcServiceRequest + { + + public: + UpdateDeviceHeartBeatRequest(); + ~UpdateDeviceHeartBeatRequest(); + + std::string getMessage()const; + void setMessage(const std::string& message); + + private: + std::string message_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h new file mode 100644 index 000000000..66dda0ab5 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateDeviceHeartBeatResult : public ServiceResult + { + public: + struct DeviceInfo + { + std::string channelType; + }; + + + UpdateDeviceHeartBeatResult(); + explicit UpdateDeviceHeartBeatResult(const std::string &payload); + ~UpdateDeviceHeartBeatResult(); + std::string getMessage()const; + DeviceInfo getDeviceInfo()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + DeviceInfo deviceInfo_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICEHEARTBEATRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h new file mode 100644 index 000000000..b30921721 --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATELIVEPASSWORDREQUEST_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATELIVEPASSWORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateLivePasswordRequest : public RpcServiceRequest + { + + public: + UpdateLivePasswordRequest(); + ~UpdateLivePasswordRequest(); + + std::string getLiveUUID()const; + void setLiveUUID(const std::string& liveUUID); + std::string getUserId()const; + void setUserId(const std::string& userId); + bool getOpenPasswordFlag()const; + void setOpenPasswordFlag(bool openPasswordFlag); + std::string getPassword()const; + void setPassword(const std::string& password); + + private: + std::string liveUUID_; + std::string userId_; + bool openPasswordFlag_; + std::string password_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATELIVEPASSWORDREQUEST_H_ \ No newline at end of file diff --git a/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateLivePasswordResult.h b/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateLivePasswordResult.h new file mode 100644 index 000000000..dcad230eb --- /dev/null +++ b/aliyuncvc/include/alibabacloud/aliyuncvc/model/UpdateLivePasswordResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATELIVEPASSWORDRESULT_H_ +#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATELIVEPASSWORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Aliyuncvc + { + namespace Model + { + class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateLivePasswordResult : public ServiceResult + { + public: + + + UpdateLivePasswordResult(); + explicit UpdateLivePasswordResult(const std::string &payload); + ~UpdateLivePasswordResult(); + std::string getMessage()const; + int getErrorCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int errorCode_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATELIVEPASSWORDRESULT_H_ \ No newline at end of file diff --git a/aliyuncvc/src/AliyuncvcClient.cc b/aliyuncvc/src/AliyuncvcClient.cc index a5801a89c..68077a52d 100644 --- a/aliyuncvc/src/AliyuncvcClient.cc +++ b/aliyuncvc/src/AliyuncvcClient.cc @@ -51,6 +51,42 @@ AliyuncvcClient::AliyuncvcClient(const std::string & accessKeyId, const std::str AliyuncvcClient::~AliyuncvcClient() {} +AliyuncvcClient::ActiveDeviceOutcome AliyuncvcClient::activeDevice(const ActiveDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ActiveDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ActiveDeviceOutcome(ActiveDeviceResult(outcome.result())); + else + return ActiveDeviceOutcome(outcome.error()); +} + +void AliyuncvcClient::activeDeviceAsync(const ActiveDeviceRequest& request, const ActiveDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, activeDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::ActiveDeviceOutcomeCallable AliyuncvcClient::activeDeviceCallable(const ActiveDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->activeDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::ActiveMeetingOutcome AliyuncvcClient::activeMeeting(const ActiveMeetingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -87,6 +123,78 @@ AliyuncvcClient::ActiveMeetingOutcomeCallable AliyuncvcClient::activeMeetingCall return task->get_future(); } +AliyuncvcClient::BatchCreateDeviceOutcome AliyuncvcClient::batchCreateDevice(const BatchCreateDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchCreateDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchCreateDeviceOutcome(BatchCreateDeviceResult(outcome.result())); + else + return BatchCreateDeviceOutcome(outcome.error()); +} + +void AliyuncvcClient::batchCreateDeviceAsync(const BatchCreateDeviceRequest& request, const BatchCreateDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchCreateDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::BatchCreateDeviceOutcomeCallable AliyuncvcClient::batchCreateDeviceCallable(const BatchCreateDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchCreateDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::CreateDeviceMeetingOutcome AliyuncvcClient::createDeviceMeeting(const CreateDeviceMeetingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDeviceMeetingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDeviceMeetingOutcome(CreateDeviceMeetingResult(outcome.result())); + else + return CreateDeviceMeetingOutcome(outcome.error()); +} + +void AliyuncvcClient::createDeviceMeetingAsync(const CreateDeviceMeetingRequest& request, const CreateDeviceMeetingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDeviceMeeting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::CreateDeviceMeetingOutcomeCallable AliyuncvcClient::createDeviceMeetingCallable(const CreateDeviceMeetingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDeviceMeeting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::CreateEvaluationOutcome AliyuncvcClient::createEvaluation(const CreateEvaluationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -123,6 +231,42 @@ AliyuncvcClient::CreateEvaluationOutcomeCallable AliyuncvcClient::createEvaluati return task->get_future(); } +AliyuncvcClient::CreateLiveOutcome AliyuncvcClient::createLive(const CreateLiveRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateLiveOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateLiveOutcome(CreateLiveResult(outcome.result())); + else + return CreateLiveOutcome(outcome.error()); +} + +void AliyuncvcClient::createLiveAsync(const CreateLiveRequest& request, const CreateLiveAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createLive(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::CreateLiveOutcomeCallable AliyuncvcClient::createLiveCallable(const CreateLiveRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createLive(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::CreateMeetingOutcome AliyuncvcClient::createMeeting(const CreateMeetingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -159,6 +303,42 @@ AliyuncvcClient::CreateMeetingOutcomeCallable AliyuncvcClient::createMeetingCall return task->get_future(); } +AliyuncvcClient::CreateMeetingInternationalOutcome AliyuncvcClient::createMeetingInternational(const CreateMeetingInternationalRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateMeetingInternationalOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateMeetingInternationalOutcome(CreateMeetingInternationalResult(outcome.result())); + else + return CreateMeetingInternationalOutcome(outcome.error()); +} + +void AliyuncvcClient::createMeetingInternationalAsync(const CreateMeetingInternationalRequest& request, const CreateMeetingInternationalAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createMeetingInternational(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::CreateMeetingInternationalOutcomeCallable AliyuncvcClient::createMeetingInternationalCallable(const CreateMeetingInternationalRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createMeetingInternational(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::CreateUserOutcome AliyuncvcClient::createUser(const CreateUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -195,6 +375,114 @@ AliyuncvcClient::CreateUserOutcomeCallable AliyuncvcClient::createUserCallable(c return task->get_future(); } +AliyuncvcClient::CreateUserInternationalOutcome AliyuncvcClient::createUserInternational(const CreateUserInternationalRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateUserInternationalOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateUserInternationalOutcome(CreateUserInternationalResult(outcome.result())); + else + return CreateUserInternationalOutcome(outcome.error()); +} + +void AliyuncvcClient::createUserInternationalAsync(const CreateUserInternationalRequest& request, const CreateUserInternationalAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createUserInternational(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::CreateUserInternationalOutcomeCallable AliyuncvcClient::createUserInternationalCallable(const CreateUserInternationalRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createUserInternational(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::DeleteDeviceOutcome AliyuncvcClient::deleteDevice(const DeleteDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDeviceOutcome(DeleteDeviceResult(outcome.result())); + else + return DeleteDeviceOutcome(outcome.error()); +} + +void AliyuncvcClient::deleteDeviceAsync(const DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::DeleteDeviceOutcomeCallable AliyuncvcClient::deleteDeviceCallable(const DeleteDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::DeleteLiveOutcome AliyuncvcClient::deleteLive(const DeleteLiveRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveOutcome(DeleteLiveResult(outcome.result())); + else + return DeleteLiveOutcome(outcome.error()); +} + +void AliyuncvcClient::deleteLiveAsync(const DeleteLiveRequest& request, const DeleteLiveAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLive(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::DeleteLiveOutcomeCallable AliyuncvcClient::deleteLiveCallable(const DeleteLiveRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLive(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::DeleteMeetingOutcome AliyuncvcClient::deleteMeeting(const DeleteMeetingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -267,6 +555,150 @@ AliyuncvcClient::DeleteUserOutcomeCallable AliyuncvcClient::deleteUserCallable(c return task->get_future(); } +AliyuncvcClient::EndDeviceMeetingOutcome AliyuncvcClient::endDeviceMeeting(const EndDeviceMeetingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EndDeviceMeetingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EndDeviceMeetingOutcome(EndDeviceMeetingResult(outcome.result())); + else + return EndDeviceMeetingOutcome(outcome.error()); +} + +void AliyuncvcClient::endDeviceMeetingAsync(const EndDeviceMeetingRequest& request, const EndDeviceMeetingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, endDeviceMeeting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::EndDeviceMeetingOutcomeCallable AliyuncvcClient::endDeviceMeetingCallable(const EndDeviceMeetingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->endDeviceMeeting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::EndLiveOutcome AliyuncvcClient::endLive(const EndLiveRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EndLiveOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EndLiveOutcome(EndLiveResult(outcome.result())); + else + return EndLiveOutcome(outcome.error()); +} + +void AliyuncvcClient::endLiveAsync(const EndLiveRequest& request, const EndLiveAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, endLive(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::EndLiveOutcomeCallable AliyuncvcClient::endLiveCallable(const EndLiveRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->endLive(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::GetDeviceActiveCodeOutcome AliyuncvcClient::getDeviceActiveCode(const GetDeviceActiveCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDeviceActiveCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDeviceActiveCodeOutcome(GetDeviceActiveCodeResult(outcome.result())); + else + return GetDeviceActiveCodeOutcome(outcome.error()); +} + +void AliyuncvcClient::getDeviceActiveCodeAsync(const GetDeviceActiveCodeRequest& request, const GetDeviceActiveCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDeviceActiveCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::GetDeviceActiveCodeOutcomeCallable AliyuncvcClient::getDeviceActiveCodeCallable(const GetDeviceActiveCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDeviceActiveCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDeviceTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDeviceTokenOutcome(GetDeviceTokenResult(outcome.result())); + else + return GetDeviceTokenOutcome(outcome.error()); +} + +void AliyuncvcClient::getDeviceTokenAsync(const GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDeviceToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::GetDeviceTokenOutcomeCallable AliyuncvcClient::getDeviceTokenCallable(const GetDeviceTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDeviceToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::GetMeetingOutcome AliyuncvcClient::getMeeting(const GetMeetingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -303,6 +735,42 @@ AliyuncvcClient::GetMeetingOutcomeCallable AliyuncvcClient::getMeetingCallable(c return task->get_future(); } +AliyuncvcClient::GetMeetingInternationalOutcome AliyuncvcClient::getMeetingInternational(const GetMeetingInternationalRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetMeetingInternationalOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetMeetingInternationalOutcome(GetMeetingInternationalResult(outcome.result())); + else + return GetMeetingInternationalOutcome(outcome.error()); +} + +void AliyuncvcClient::getMeetingInternationalAsync(const GetMeetingInternationalRequest& request, const GetMeetingInternationalAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getMeetingInternational(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::GetMeetingInternationalOutcomeCallable AliyuncvcClient::getMeetingInternationalCallable(const GetMeetingInternationalRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getMeetingInternational(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::GetMeetingMemberOutcome AliyuncvcClient::getMeetingMember(const GetMeetingMemberRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -375,6 +843,78 @@ AliyuncvcClient::GetUserOutcomeCallable AliyuncvcClient::getUserCallable(const G return task->get_future(); } +AliyuncvcClient::JoinDeviceMeetingOutcome AliyuncvcClient::joinDeviceMeeting(const JoinDeviceMeetingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return JoinDeviceMeetingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return JoinDeviceMeetingOutcome(JoinDeviceMeetingResult(outcome.result())); + else + return JoinDeviceMeetingOutcome(outcome.error()); +} + +void AliyuncvcClient::joinDeviceMeetingAsync(const JoinDeviceMeetingRequest& request, const JoinDeviceMeetingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, joinDeviceMeeting(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::JoinDeviceMeetingOutcomeCallable AliyuncvcClient::joinDeviceMeetingCallable(const JoinDeviceMeetingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->joinDeviceMeeting(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::JoinLiveOutcome AliyuncvcClient::joinLive(const JoinLiveRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return JoinLiveOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return JoinLiveOutcome(JoinLiveResult(outcome.result())); + else + return JoinLiveOutcome(outcome.error()); +} + +void AliyuncvcClient::joinLiveAsync(const JoinLiveRequest& request, const JoinLiveAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, joinLive(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::JoinLiveOutcomeCallable AliyuncvcClient::joinLiveCallable(const JoinLiveRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->joinLive(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::JoinMeetingOutcome AliyuncvcClient::joinMeeting(const JoinMeetingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -411,6 +951,78 @@ AliyuncvcClient::JoinMeetingOutcomeCallable AliyuncvcClient::joinMeetingCallable return task->get_future(); } +AliyuncvcClient::JoinMeetingInternationalOutcome AliyuncvcClient::joinMeetingInternational(const JoinMeetingInternationalRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return JoinMeetingInternationalOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return JoinMeetingInternationalOutcome(JoinMeetingInternationalResult(outcome.result())); + else + return JoinMeetingInternationalOutcome(outcome.error()); +} + +void AliyuncvcClient::joinMeetingInternationalAsync(const JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, joinMeetingInternational(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::JoinMeetingInternationalOutcomeCallable AliyuncvcClient::joinMeetingInternationalCallable(const JoinMeetingInternationalRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->joinMeetingInternational(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDeviceIpOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDeviceIpOutcome(ListDeviceIpResult(outcome.result())); + else + return ListDeviceIpOutcome(outcome.error()); +} + +void AliyuncvcClient::listDeviceIpAsync(const ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDeviceIp(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::ListDeviceIpOutcomeCallable AliyuncvcClient::listDeviceIpCallable(const ListDeviceIpRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDeviceIp(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AliyuncvcClient::ListEvaluationsOutcome AliyuncvcClient::listEvaluations(const ListEvaluationsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -555,3 +1167,255 @@ AliyuncvcClient::ListUsersOutcomeCallable AliyuncvcClient::listUsersCallable(con return task->get_future(); } +AliyuncvcClient::ModifyMeetingPasswordOutcome AliyuncvcClient::modifyMeetingPassword(const ModifyMeetingPasswordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyMeetingPasswordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyMeetingPasswordOutcome(ModifyMeetingPasswordResult(outcome.result())); + else + return ModifyMeetingPasswordOutcome(outcome.error()); +} + +void AliyuncvcClient::modifyMeetingPasswordAsync(const ModifyMeetingPasswordRequest& request, const ModifyMeetingPasswordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyMeetingPassword(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::ModifyMeetingPasswordOutcomeCallable AliyuncvcClient::modifyMeetingPasswordCallable(const ModifyMeetingPasswordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyMeetingPassword(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::ModifyMeetingPasswordInternationalOutcome AliyuncvcClient::modifyMeetingPasswordInternational(const ModifyMeetingPasswordInternationalRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyMeetingPasswordInternationalOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyMeetingPasswordInternationalOutcome(ModifyMeetingPasswordInternationalResult(outcome.result())); + else + return ModifyMeetingPasswordInternationalOutcome(outcome.error()); +} + +void AliyuncvcClient::modifyMeetingPasswordInternationalAsync(const ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyMeetingPasswordInternational(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClient::modifyMeetingPasswordInternationalCallable(const ModifyMeetingPasswordInternationalRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyMeetingPasswordInternational(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RegisterDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RegisterDeviceOutcome(RegisterDeviceResult(outcome.result())); + else + return RegisterDeviceOutcome(outcome.error()); +} + +void AliyuncvcClient::registerDeviceAsync(const RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, registerDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::RegisterDeviceOutcomeCallable AliyuncvcClient::registerDeviceCallable(const RegisterDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->registerDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::RegisterUemDeviceOutcome AliyuncvcClient::registerUemDevice(const RegisterUemDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RegisterUemDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RegisterUemDeviceOutcome(RegisterUemDeviceResult(outcome.result())); + else + return RegisterUemDeviceOutcome(outcome.error()); +} + +void AliyuncvcClient::registerUemDeviceAsync(const RegisterUemDeviceRequest& request, const RegisterUemDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, registerUemDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::RegisterUemDeviceOutcomeCallable AliyuncvcClient::registerUemDeviceCallable(const RegisterUemDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->registerUemDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartLiveOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartLiveOutcome(StartLiveResult(outcome.result())); + else + return StartLiveOutcome(outcome.error()); +} + +void AliyuncvcClient::startLiveAsync(const StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startLive(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::StartLiveOutcomeCallable AliyuncvcClient::startLiveCallable(const StartLiveRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startLive(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::UpdateDeviceHeartBeatOutcome AliyuncvcClient::updateDeviceHeartBeat(const UpdateDeviceHeartBeatRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDeviceHeartBeatOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDeviceHeartBeatOutcome(UpdateDeviceHeartBeatResult(outcome.result())); + else + return UpdateDeviceHeartBeatOutcome(outcome.error()); +} + +void AliyuncvcClient::updateDeviceHeartBeatAsync(const UpdateDeviceHeartBeatRequest& request, const UpdateDeviceHeartBeatAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDeviceHeartBeat(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::UpdateDeviceHeartBeatOutcomeCallable AliyuncvcClient::updateDeviceHeartBeatCallable(const UpdateDeviceHeartBeatRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDeviceHeartBeat(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AliyuncvcClient::UpdateLivePasswordOutcome AliyuncvcClient::updateLivePassword(const UpdateLivePasswordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateLivePasswordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateLivePasswordOutcome(UpdateLivePasswordResult(outcome.result())); + else + return UpdateLivePasswordOutcome(outcome.error()); +} + +void AliyuncvcClient::updateLivePasswordAsync(const UpdateLivePasswordRequest& request, const UpdateLivePasswordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateLivePassword(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AliyuncvcClient::UpdateLivePasswordOutcomeCallable AliyuncvcClient::updateLivePasswordCallable(const UpdateLivePasswordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateLivePassword(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/aliyuncvc/src/model/ActiveDeviceRequest.cc b/aliyuncvc/src/model/ActiveDeviceRequest.cc new file mode 100644 index 000000000..4e1dc337a --- /dev/null +++ b/aliyuncvc/src/model/ActiveDeviceRequest.cc @@ -0,0 +1,84 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::ActiveDeviceRequest; + +ActiveDeviceRequest::ActiveDeviceRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "ActiveDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +ActiveDeviceRequest::~ActiveDeviceRequest() +{} + +std::string ActiveDeviceRequest::getIP()const +{ + return iP_; +} + +void ActiveDeviceRequest::setIP(const std::string& iP) +{ + iP_ = iP; + setBodyParameter("IP", iP); +} + +std::string ActiveDeviceRequest::getActiveCode()const +{ + return activeCode_; +} + +void ActiveDeviceRequest::setActiveCode(const std::string& activeCode) +{ + activeCode_ = activeCode; + setBodyParameter("ActiveCode", activeCode); +} + +std::string ActiveDeviceRequest::getMac()const +{ + return mac_; +} + +void ActiveDeviceRequest::setMac(const std::string& mac) +{ + mac_ = mac; + setBodyParameter("Mac", mac); +} + +std::string ActiveDeviceRequest::getDeviceVersion()const +{ + return deviceVersion_; +} + +void ActiveDeviceRequest::setDeviceVersion(const std::string& deviceVersion) +{ + deviceVersion_ = deviceVersion; + setBodyParameter("DeviceVersion", deviceVersion); +} + +std::string ActiveDeviceRequest::getSN()const +{ + return sN_; +} + +void ActiveDeviceRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setBodyParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/ActiveDeviceResult.cc b/aliyuncvc/src/model/ActiveDeviceResult.cc new file mode 100644 index 000000000..223aeddb4 --- /dev/null +++ b/aliyuncvc/src/model/ActiveDeviceResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +ActiveDeviceResult::ActiveDeviceResult() : + ServiceResult() +{} + +ActiveDeviceResult::ActiveDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ActiveDeviceResult::~ActiveDeviceResult() +{} + +void ActiveDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Token"].isNull()) + token_ = value["Token"].asString(); + +} + +std::string ActiveDeviceResult::getMessage()const +{ + return message_; +} + +std::string ActiveDeviceResult::getToken()const +{ + return token_; +} + +int ActiveDeviceResult::getErrorCode()const +{ + return errorCode_; +} + +bool ActiveDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/BatchCreateDeviceRequest.cc b/aliyuncvc/src/model/BatchCreateDeviceRequest.cc new file mode 100644 index 000000000..314c54676 --- /dev/null +++ b/aliyuncvc/src/model/BatchCreateDeviceRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::BatchCreateDeviceRequest; + +BatchCreateDeviceRequest::BatchCreateDeviceRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "BatchCreateDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchCreateDeviceRequest::~BatchCreateDeviceRequest() +{} + +std::string BatchCreateDeviceRequest::getSN()const +{ + return sN_; +} + +void BatchCreateDeviceRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setBodyParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/BatchCreateDeviceResult.cc b/aliyuncvc/src/model/BatchCreateDeviceResult.cc new file mode 100644 index 000000000..81bb6bf67 --- /dev/null +++ b/aliyuncvc/src/model/BatchCreateDeviceResult.cc @@ -0,0 +1,84 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +BatchCreateDeviceResult::BatchCreateDeviceResult() : + ServiceResult() +{} + +BatchCreateDeviceResult::BatchCreateDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchCreateDeviceResult::~BatchCreateDeviceResult() +{} + +void BatchCreateDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDevicesNode = value["Devices"]["data"]; + for (auto valueDevicesdata : allDevicesNode) + { + Data devicesObject; + if(!valueDevicesdata["DeviceErrorCode"].isNull()) + devicesObject.deviceErrorCode = std::stoi(valueDevicesdata["DeviceErrorCode"].asString()); + if(!valueDevicesdata["DeviceMessage"].isNull()) + devicesObject.deviceMessage = valueDevicesdata["DeviceMessage"].asString(); + if(!valueDevicesdata["SN"].isNull()) + devicesObject.sN = valueDevicesdata["SN"].asString(); + if(!valueDevicesdata["ActiveCode"].isNull()) + devicesObject.activeCode = valueDevicesdata["ActiveCode"].asString(); + devices_.push_back(devicesObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string BatchCreateDeviceResult::getMessage()const +{ + return message_; +} + +int BatchCreateDeviceResult::getErrorCode()const +{ + return errorCode_; +} + +std::vector BatchCreateDeviceResult::getDevices()const +{ + return devices_; +} + +bool BatchCreateDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/CreateDeviceMeetingRequest.cc b/aliyuncvc/src/model/CreateDeviceMeetingRequest.cc new file mode 100644 index 000000000..fa87b1556 --- /dev/null +++ b/aliyuncvc/src/model/CreateDeviceMeetingRequest.cc @@ -0,0 +1,84 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::CreateDeviceMeetingRequest; + +CreateDeviceMeetingRequest::CreateDeviceMeetingRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateDeviceMeeting") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDeviceMeetingRequest::~CreateDeviceMeetingRequest() +{} + +std::string CreateDeviceMeetingRequest::getMeetingName()const +{ + return meetingName_; +} + +void CreateDeviceMeetingRequest::setMeetingName(const std::string& meetingName) +{ + meetingName_ = meetingName; + setBodyParameter("MeetingName", meetingName); +} + +bool CreateDeviceMeetingRequest::getOpenPasswordtag()const +{ + return openPasswordtag_; +} + +void CreateDeviceMeetingRequest::setOpenPasswordtag(bool openPasswordtag) +{ + openPasswordtag_ = openPasswordtag; + setBodyParameter("OpenPasswordtag", openPasswordtag ? "true" : "false"); +} + +std::string CreateDeviceMeetingRequest::getToken()const +{ + return token_; +} + +void CreateDeviceMeetingRequest::setToken(const std::string& token) +{ + token_ = token; + setBodyParameter("Token", token); +} + +std::string CreateDeviceMeetingRequest::getPassword()const +{ + return password_; +} + +void CreateDeviceMeetingRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + +std::string CreateDeviceMeetingRequest::getSN()const +{ + return sN_; +} + +void CreateDeviceMeetingRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setBodyParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/CreateDeviceMeetingResult.cc b/aliyuncvc/src/model/CreateDeviceMeetingResult.cc new file mode 100644 index 000000000..d6a53e1bf --- /dev/null +++ b/aliyuncvc/src/model/CreateDeviceMeetingResult.cc @@ -0,0 +1,75 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +CreateDeviceMeetingResult::CreateDeviceMeetingResult() : + ServiceResult() +{} + +CreateDeviceMeetingResult::CreateDeviceMeetingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDeviceMeetingResult::~CreateDeviceMeetingResult() +{} + +void CreateDeviceMeetingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto devicesNode = value["Devices"]; + if(!devicesNode["MeetingCode"].isNull()) + devices_.meetingCode = devicesNode["MeetingCode"].asString(); + if(!devicesNode["MeetingUUID"].isNull()) + devices_.meetingUUID = devicesNode["MeetingUUID"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string CreateDeviceMeetingResult::getMessage()const +{ + return message_; +} + +int CreateDeviceMeetingResult::getErrorCode()const +{ + return errorCode_; +} + +CreateDeviceMeetingResult::Devices CreateDeviceMeetingResult::getDevices()const +{ + return devices_; +} + +bool CreateDeviceMeetingResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/CreateLiveRequest.cc b/aliyuncvc/src/model/CreateLiveRequest.cc new file mode 100644 index 000000000..ce4f0b6ca --- /dev/null +++ b/aliyuncvc/src/model/CreateLiveRequest.cc @@ -0,0 +1,84 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::CreateLiveRequest; + +CreateLiveRequest::CreateLiveRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateLive") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateLiveRequest::~CreateLiveRequest() +{} + +std::string CreateLiveRequest::getMemo()const +{ + return memo_; +} + +void CreateLiveRequest::setMemo(const std::string& memo) +{ + memo_ = memo; + setBodyParameter("Memo", memo); +} + +std::string CreateLiveRequest::getUserId()const +{ + return userId_; +} + +void CreateLiveRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + +bool CreateLiveRequest::getOpenPasswordFlag()const +{ + return openPasswordFlag_; +} + +void CreateLiveRequest::setOpenPasswordFlag(bool openPasswordFlag) +{ + openPasswordFlag_ = openPasswordFlag; + setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false"); +} + +std::string CreateLiveRequest::getPassword()const +{ + return password_; +} + +void CreateLiveRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + +std::string CreateLiveRequest::getLiveName()const +{ + return liveName_; +} + +void CreateLiveRequest::setLiveName(const std::string& liveName) +{ + liveName_ = liveName; + setBodyParameter("LiveName", liveName); +} + diff --git a/aliyuncvc/src/model/CreateLiveResult.cc b/aliyuncvc/src/model/CreateLiveResult.cc new file mode 100644 index 000000000..76d0af2a0 --- /dev/null +++ b/aliyuncvc/src/model/CreateLiveResult.cc @@ -0,0 +1,75 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +CreateLiveResult::CreateLiveResult() : + ServiceResult() +{} + +CreateLiveResult::CreateLiveResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateLiveResult::~CreateLiveResult() +{} + +void CreateLiveResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto liveInfoNode = value["LiveInfo"]; + if(!liveInfoNode["LiveUUID"].isNull()) + liveInfo_.liveUUID = liveInfoNode["LiveUUID"].asString(); + if(!liveInfoNode["StreamUUID"].isNull()) + liveInfo_.streamUUID = liveInfoNode["StreamUUID"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string CreateLiveResult::getMessage()const +{ + return message_; +} + +int CreateLiveResult::getErrorCode()const +{ + return errorCode_; +} + +bool CreateLiveResult::getSuccess()const +{ + return success_; +} + +CreateLiveResult::LiveInfo CreateLiveResult::getLiveInfo()const +{ + return liveInfo_; +} + diff --git a/aliyuncvc/src/model/CreateMeetingInternationalRequest.cc b/aliyuncvc/src/model/CreateMeetingInternationalRequest.cc new file mode 100644 index 000000000..70d002516 --- /dev/null +++ b/aliyuncvc/src/model/CreateMeetingInternationalRequest.cc @@ -0,0 +1,73 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::CreateMeetingInternationalRequest; + +CreateMeetingInternationalRequest::CreateMeetingInternationalRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateMeetingInternational") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateMeetingInternationalRequest::~CreateMeetingInternationalRequest() +{} + +std::string CreateMeetingInternationalRequest::getMeetingName()const +{ + return meetingName_; +} + +void CreateMeetingInternationalRequest::setMeetingName(const std::string& meetingName) +{ + meetingName_ = meetingName; + setBodyParameter("MeetingName", meetingName); +} + +std::string CreateMeetingInternationalRequest::getUserId()const +{ + return userId_; +} + +void CreateMeetingInternationalRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + +std::string CreateMeetingInternationalRequest::getOpenPasswordFlag()const +{ + return openPasswordFlag_; +} + +void CreateMeetingInternationalRequest::setOpenPasswordFlag(const std::string& openPasswordFlag) +{ + openPasswordFlag_ = openPasswordFlag; + setBodyParameter("OpenPasswordFlag", openPasswordFlag); +} + +std::string CreateMeetingInternationalRequest::getPassword()const +{ + return password_; +} + +void CreateMeetingInternationalRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + diff --git a/aliyuncvc/src/model/CreateMeetingInternationalResult.cc b/aliyuncvc/src/model/CreateMeetingInternationalResult.cc new file mode 100644 index 000000000..ef7aa1314 --- /dev/null +++ b/aliyuncvc/src/model/CreateMeetingInternationalResult.cc @@ -0,0 +1,75 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +CreateMeetingInternationalResult::CreateMeetingInternationalResult() : + ServiceResult() +{} + +CreateMeetingInternationalResult::CreateMeetingInternationalResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateMeetingInternationalResult::~CreateMeetingInternationalResult() +{} + +void CreateMeetingInternationalResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +CreateMeetingInternationalResult::MeetingInfo CreateMeetingInternationalResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string CreateMeetingInternationalResult::getMessage()const +{ + return message_; +} + +int CreateMeetingInternationalResult::getErrorCode()const +{ + return errorCode_; +} + +bool CreateMeetingInternationalResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/CreateMeetingRequest.cc b/aliyuncvc/src/model/CreateMeetingRequest.cc index b241c063a..a4b84cdb2 100644 --- a/aliyuncvc/src/model/CreateMeetingRequest.cc +++ b/aliyuncvc/src/model/CreateMeetingRequest.cc @@ -49,3 +49,47 @@ void CreateMeetingRequest::setUserId(const std::string& userId) setBodyParameter("UserId", userId); } +bool CreateMeetingRequest::getOpenPasswordFlag()const +{ + return openPasswordFlag_; +} + +void CreateMeetingRequest::setOpenPasswordFlag(bool openPasswordFlag) +{ + openPasswordFlag_ = openPasswordFlag; + setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false"); +} + +std::string CreateMeetingRequest::getPassword()const +{ + return password_; +} + +void CreateMeetingRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + +bool CreateMeetingRequest::getMasterEnableFlag()const +{ + return masterEnableFlag_; +} + +void CreateMeetingRequest::setMasterEnableFlag(bool masterEnableFlag) +{ + masterEnableFlag_ = masterEnableFlag; + setBodyParameter("MasterEnableFlag", masterEnableFlag ? "true" : "false"); +} + +std::string CreateMeetingRequest::getMeetingMode()const +{ + return meetingMode_; +} + +void CreateMeetingRequest::setMeetingMode(const std::string& meetingMode) +{ + meetingMode_ = meetingMode; + setBodyParameter("MeetingMode", meetingMode); +} + diff --git a/aliyuncvc/src/model/CreateUserInternationalRequest.cc b/aliyuncvc/src/model/CreateUserInternationalRequest.cc new file mode 100644 index 000000000..a0a0b1276 --- /dev/null +++ b/aliyuncvc/src/model/CreateUserInternationalRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::CreateUserInternationalRequest; + +CreateUserInternationalRequest::CreateUserInternationalRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateUserInternational") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateUserInternationalRequest::~CreateUserInternationalRequest() +{} + +int CreateUserInternationalRequest::getCount()const +{ + return count_; +} + +void CreateUserInternationalRequest::setCount(int count) +{ + count_ = count; + setBodyParameter("Count", std::to_string(count)); +} + +std::string CreateUserInternationalRequest::getUserInfo()const +{ + return userInfo_; +} + +void CreateUserInternationalRequest::setUserInfo(const std::string& userInfo) +{ + userInfo_ = userInfo; + setBodyParameter("UserInfo", userInfo); +} + diff --git a/aliyuncvc/src/model/CreateUserInternationalResult.cc b/aliyuncvc/src/model/CreateUserInternationalResult.cc new file mode 100644 index 000000000..d0d1dc778 --- /dev/null +++ b/aliyuncvc/src/model/CreateUserInternationalResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +CreateUserInternationalResult::CreateUserInternationalResult() : + ServiceResult() +{} + +CreateUserInternationalResult::CreateUserInternationalResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateUserInternationalResult::~CreateUserInternationalResult() +{} + +void CreateUserInternationalResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["UserId"].isNull()) + userId_ = value["UserId"].asString(); + +} + +std::string CreateUserInternationalResult::getMessage()const +{ + return message_; +} + +std::string CreateUserInternationalResult::getUserId()const +{ + return userId_; +} + +int CreateUserInternationalResult::getErrorCode()const +{ + return errorCode_; +} + +bool CreateUserInternationalResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/DeleteDeviceRequest.cc b/aliyuncvc/src/model/DeleteDeviceRequest.cc new file mode 100644 index 000000000..14bc2189c --- /dev/null +++ b/aliyuncvc/src/model/DeleteDeviceRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::DeleteDeviceRequest; + +DeleteDeviceRequest::DeleteDeviceRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "DeleteDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDeviceRequest::~DeleteDeviceRequest() +{} + +std::string DeleteDeviceRequest::getGroupId()const +{ + return groupId_; +} + +void DeleteDeviceRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setBodyParameter("GroupId", groupId); +} + +std::string DeleteDeviceRequest::getSN()const +{ + return sN_; +} + +void DeleteDeviceRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setBodyParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/DeleteDeviceResult.cc b/aliyuncvc/src/model/DeleteDeviceResult.cc new file mode 100644 index 000000000..3c8fbe1a2 --- /dev/null +++ b/aliyuncvc/src/model/DeleteDeviceResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +DeleteDeviceResult::DeleteDeviceResult() : + ServiceResult() +{} + +DeleteDeviceResult::DeleteDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDeviceResult::~DeleteDeviceResult() +{} + +void DeleteDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DeleteDeviceResult::getMessage()const +{ + return message_; +} + +int DeleteDeviceResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/DeleteLiveRequest.cc b/aliyuncvc/src/model/DeleteLiveRequest.cc new file mode 100644 index 000000000..36319e30b --- /dev/null +++ b/aliyuncvc/src/model/DeleteLiveRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::DeleteLiveRequest; + +DeleteLiveRequest::DeleteLiveRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "DeleteLive") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteLiveRequest::~DeleteLiveRequest() +{} + +std::string DeleteLiveRequest::getLiveUUID()const +{ + return liveUUID_; +} + +void DeleteLiveRequest::setLiveUUID(const std::string& liveUUID) +{ + liveUUID_ = liveUUID; + setBodyParameter("LiveUUID", liveUUID); +} + +std::string DeleteLiveRequest::getUserId()const +{ + return userId_; +} + +void DeleteLiveRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + diff --git a/aliyuncvc/src/model/DeleteLiveResult.cc b/aliyuncvc/src/model/DeleteLiveResult.cc new file mode 100644 index 000000000..63ab24d84 --- /dev/null +++ b/aliyuncvc/src/model/DeleteLiveResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +DeleteLiveResult::DeleteLiveResult() : + ServiceResult() +{} + +DeleteLiveResult::DeleteLiveResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveResult::~DeleteLiveResult() +{} + +void DeleteLiveResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string DeleteLiveResult::getMessage()const +{ + return message_; +} + +int DeleteLiveResult::getErrorCode()const +{ + return errorCode_; +} + +bool DeleteLiveResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/EndDeviceMeetingRequest.cc b/aliyuncvc/src/model/EndDeviceMeetingRequest.cc new file mode 100644 index 000000000..df2e56d86 --- /dev/null +++ b/aliyuncvc/src/model/EndDeviceMeetingRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::EndDeviceMeetingRequest; + +EndDeviceMeetingRequest::EndDeviceMeetingRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "EndDeviceMeeting") +{ + setMethod(HttpRequest::Method::Post); +} + +EndDeviceMeetingRequest::~EndDeviceMeetingRequest() +{} + +std::string EndDeviceMeetingRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void EndDeviceMeetingRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setBodyParameter("MeetingUUID", meetingUUID); +} + +std::string EndDeviceMeetingRequest::getSN()const +{ + return sN_; +} + +void EndDeviceMeetingRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setBodyParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/EndDeviceMeetingResult.cc b/aliyuncvc/src/model/EndDeviceMeetingResult.cc new file mode 100644 index 000000000..84b22cf19 --- /dev/null +++ b/aliyuncvc/src/model/EndDeviceMeetingResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +EndDeviceMeetingResult::EndDeviceMeetingResult() : + ServiceResult() +{} + +EndDeviceMeetingResult::EndDeviceMeetingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EndDeviceMeetingResult::~EndDeviceMeetingResult() +{} + +void EndDeviceMeetingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string EndDeviceMeetingResult::getMessage()const +{ + return message_; +} + +int EndDeviceMeetingResult::getErrorCode()const +{ + return errorCode_; +} + +bool EndDeviceMeetingResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/EndLiveRequest.cc b/aliyuncvc/src/model/EndLiveRequest.cc new file mode 100644 index 000000000..e13c92180 --- /dev/null +++ b/aliyuncvc/src/model/EndLiveRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::EndLiveRequest; + +EndLiveRequest::EndLiveRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "EndLive") +{ + setMethod(HttpRequest::Method::Post); +} + +EndLiveRequest::~EndLiveRequest() +{} + +std::string EndLiveRequest::getLiveUUID()const +{ + return liveUUID_; +} + +void EndLiveRequest::setLiveUUID(const std::string& liveUUID) +{ + liveUUID_ = liveUUID; + setBodyParameter("LiveUUID", liveUUID); +} + +std::string EndLiveRequest::getUserId()const +{ + return userId_; +} + +void EndLiveRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + diff --git a/aliyuncvc/src/model/EndLiveResult.cc b/aliyuncvc/src/model/EndLiveResult.cc new file mode 100644 index 000000000..65cd4e417 --- /dev/null +++ b/aliyuncvc/src/model/EndLiveResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +EndLiveResult::EndLiveResult() : + ServiceResult() +{} + +EndLiveResult::EndLiveResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EndLiveResult::~EndLiveResult() +{} + +void EndLiveResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string EndLiveResult::getMessage()const +{ + return message_; +} + +int EndLiveResult::getErrorCode()const +{ + return errorCode_; +} + +bool EndLiveResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/GetDeviceActiveCodeRequest.cc b/aliyuncvc/src/model/GetDeviceActiveCodeRequest.cc new file mode 100644 index 000000000..d7b053872 --- /dev/null +++ b/aliyuncvc/src/model/GetDeviceActiveCodeRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::GetDeviceActiveCodeRequest; + +GetDeviceActiveCodeRequest::GetDeviceActiveCodeRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "GetDeviceActiveCode") +{ + setMethod(HttpRequest::Method::Post); +} + +GetDeviceActiveCodeRequest::~GetDeviceActiveCodeRequest() +{} + +std::string GetDeviceActiveCodeRequest::getSN()const +{ + return sN_; +} + +void GetDeviceActiveCodeRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setBodyParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/GetDeviceActiveCodeResult.cc b/aliyuncvc/src/model/GetDeviceActiveCodeResult.cc new file mode 100644 index 000000000..23ab3978e --- /dev/null +++ b/aliyuncvc/src/model/GetDeviceActiveCodeResult.cc @@ -0,0 +1,84 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +GetDeviceActiveCodeResult::GetDeviceActiveCodeResult() : + ServiceResult() +{} + +GetDeviceActiveCodeResult::GetDeviceActiveCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDeviceActiveCodeResult::~GetDeviceActiveCodeResult() +{} + +void GetDeviceActiveCodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDevicesNode = value["Devices"]["data"]; + for (auto valueDevicesdata : allDevicesNode) + { + Data devicesObject; + if(!valueDevicesdata["DeviceErrorCode"].isNull()) + devicesObject.deviceErrorCode = std::stoi(valueDevicesdata["DeviceErrorCode"].asString()); + if(!valueDevicesdata["DeviceMessage"].isNull()) + devicesObject.deviceMessage = valueDevicesdata["DeviceMessage"].asString(); + if(!valueDevicesdata["SN"].isNull()) + devicesObject.sN = valueDevicesdata["SN"].asString(); + if(!valueDevicesdata["ActiveCode"].isNull()) + devicesObject.activeCode = valueDevicesdata["ActiveCode"].asString(); + devices_.push_back(devicesObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string GetDeviceActiveCodeResult::getMessage()const +{ + return message_; +} + +int GetDeviceActiveCodeResult::getErrorCode()const +{ + return errorCode_; +} + +std::vector GetDeviceActiveCodeResult::getDevices()const +{ + return devices_; +} + +bool GetDeviceActiveCodeResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/GetDeviceTokenRequest.cc b/aliyuncvc/src/model/GetDeviceTokenRequest.cc new file mode 100644 index 000000000..124a86319 --- /dev/null +++ b/aliyuncvc/src/model/GetDeviceTokenRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::GetDeviceTokenRequest; + +GetDeviceTokenRequest::GetDeviceTokenRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "GetDeviceToken") +{ + setMethod(HttpRequest::Method::Post); +} + +GetDeviceTokenRequest::~GetDeviceTokenRequest() +{} + +std::string GetDeviceTokenRequest::getToken()const +{ + return token_; +} + +void GetDeviceTokenRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + +std::string GetDeviceTokenRequest::getSN()const +{ + return sN_; +} + +void GetDeviceTokenRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/GetDeviceTokenResult.cc b/aliyuncvc/src/model/GetDeviceTokenResult.cc new file mode 100644 index 000000000..6ce8eab7a --- /dev/null +++ b/aliyuncvc/src/model/GetDeviceTokenResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +GetDeviceTokenResult::GetDeviceTokenResult() : + ServiceResult() +{} + +GetDeviceTokenResult::GetDeviceTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDeviceTokenResult::~GetDeviceTokenResult() +{} + +void GetDeviceTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Token"].isNull()) + token_ = value["Token"].asString(); + +} + +std::string GetDeviceTokenResult::getMessage()const +{ + return message_; +} + +std::string GetDeviceTokenResult::getToken()const +{ + return token_; +} + +int GetDeviceTokenResult::getErrorCode()const +{ + return errorCode_; +} + +bool GetDeviceTokenResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/GetMeetingInternationalRequest.cc b/aliyuncvc/src/model/GetMeetingInternationalRequest.cc new file mode 100644 index 000000000..7aff7b283 --- /dev/null +++ b/aliyuncvc/src/model/GetMeetingInternationalRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::GetMeetingInternationalRequest; + +GetMeetingInternationalRequest::GetMeetingInternationalRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "GetMeetingInternational") +{ + setMethod(HttpRequest::Method::Post); +} + +GetMeetingInternationalRequest::~GetMeetingInternationalRequest() +{} + +std::string GetMeetingInternationalRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void GetMeetingInternationalRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setBodyParameter("MeetingUUID", meetingUUID); +} + diff --git a/aliyuncvc/src/model/GetMeetingInternationalResult.cc b/aliyuncvc/src/model/GetMeetingInternationalResult.cc new file mode 100644 index 000000000..d7fcb20eb --- /dev/null +++ b/aliyuncvc/src/model/GetMeetingInternationalResult.cc @@ -0,0 +1,101 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +GetMeetingInternationalResult::GetMeetingInternationalResult() : + ServiceResult() +{} + +GetMeetingInternationalResult::GetMeetingInternationalResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetMeetingInternationalResult::~GetMeetingInternationalResult() +{} + +void GetMeetingInternationalResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["MeetingName"].isNull()) + meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString(); + if(!meetingInfoNode["ValidTime"].isNull()) + meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString()); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["CreateTime"].isNull()) + meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString()); + if(!meetingInfoNode["UserId"].isNull()) + meetingInfo_.userId = meetingInfoNode["UserId"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + if(!meetingInfoNode["Password"].isNull()) + meetingInfo_.password = meetingInfoNode["Password"].asString(); + auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"]; + for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode) + { + MeetingInfo::MemberListItem memberListItemObject; + if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull()) + memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString(); + if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull()) + memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString(); + if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull()) + memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString(); + if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull()) + memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString(); + if(!meetingInfoNodeMemberListMemberListItem["Status"].isNull()) + memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString(); + meetingInfo_.memberList.push_back(memberListItemObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +GetMeetingInternationalResult::MeetingInfo GetMeetingInternationalResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string GetMeetingInternationalResult::getMessage()const +{ + return message_; +} + +int GetMeetingInternationalResult::getErrorCode()const +{ + return errorCode_; +} + +bool GetMeetingInternationalResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/GetMeetingMemberResult.cc b/aliyuncvc/src/model/GetMeetingMemberResult.cc index 8143f47e9..f955f2bef 100644 --- a/aliyuncvc/src/model/GetMeetingMemberResult.cc +++ b/aliyuncvc/src/model/GetMeetingMemberResult.cc @@ -39,15 +39,14 @@ void GetMeetingMemberResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allMembers = value["Members"]["Data"]; - for (const auto &item : allMembers) - members_.push_back(item.asString()); if(!value["Message"].isNull()) message_ = value["Message"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Members"].isNull()) + members_ = value["Members"].asString(); } @@ -61,13 +60,13 @@ int GetMeetingMemberResult::getErrorCode()const return errorCode_; } -std::vector GetMeetingMemberResult::getMembers()const -{ - return members_; -} - bool GetMeetingMemberResult::getSuccess()const { return success_; } +std::string GetMeetingMemberResult::getMembers()const +{ + return members_; +} + diff --git a/aliyuncvc/src/model/GetMeetingResult.cc b/aliyuncvc/src/model/GetMeetingResult.cc index ca4b41db2..ac32edf34 100644 --- a/aliyuncvc/src/model/GetMeetingResult.cc +++ b/aliyuncvc/src/model/GetMeetingResult.cc @@ -52,6 +52,8 @@ void GetMeetingResult::parse(const std::string &payload) meetingInfo_.userId = meetingInfoNode["UserId"].asString(); if(!meetingInfoNode["MeetingUUID"].isNull()) meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + if(!meetingInfoNode["Password"].isNull()) + meetingInfo_.password = meetingInfoNode["Password"].asString(); auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"]; for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode) { diff --git a/aliyuncvc/src/model/JoinDeviceMeetingRequest.cc b/aliyuncvc/src/model/JoinDeviceMeetingRequest.cc new file mode 100644 index 000000000..82c2edcd5 --- /dev/null +++ b/aliyuncvc/src/model/JoinDeviceMeetingRequest.cc @@ -0,0 +1,73 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::JoinDeviceMeetingRequest; + +JoinDeviceMeetingRequest::JoinDeviceMeetingRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "JoinDeviceMeeting") +{ + setMethod(HttpRequest::Method::Post); +} + +JoinDeviceMeetingRequest::~JoinDeviceMeetingRequest() +{} + +std::string JoinDeviceMeetingRequest::getToken()const +{ + return token_; +} + +void JoinDeviceMeetingRequest::setToken(const std::string& token) +{ + token_ = token; + setBodyParameter("Token", token); +} + +std::string JoinDeviceMeetingRequest::getPassword()const +{ + return password_; +} + +void JoinDeviceMeetingRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + +std::string JoinDeviceMeetingRequest::getMeetingCode()const +{ + return meetingCode_; +} + +void JoinDeviceMeetingRequest::setMeetingCode(const std::string& meetingCode) +{ + meetingCode_ = meetingCode; + setBodyParameter("MeetingCode", meetingCode); +} + +std::string JoinDeviceMeetingRequest::getSN()const +{ + return sN_; +} + +void JoinDeviceMeetingRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setBodyParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/JoinDeviceMeetingResult.cc b/aliyuncvc/src/model/JoinDeviceMeetingResult.cc new file mode 100644 index 000000000..4eecd2815 --- /dev/null +++ b/aliyuncvc/src/model/JoinDeviceMeetingResult.cc @@ -0,0 +1,92 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +JoinDeviceMeetingResult::JoinDeviceMeetingResult() : + ServiceResult() +{} + +JoinDeviceMeetingResult::JoinDeviceMeetingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +JoinDeviceMeetingResult::~JoinDeviceMeetingResult() +{} + +void JoinDeviceMeetingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto deviceNode = value["Device"]; + if(!deviceNode["MeetingDomain"].isNull()) + device_.meetingDomain = deviceNode["MeetingDomain"].asString(); + if(!deviceNode["MeetingToken"].isNull()) + device_.meetingToken = deviceNode["MeetingToken"].asString(); + if(!deviceNode["MeetingCode"].isNull()) + device_.meetingCode = deviceNode["MeetingCode"].asString(); + if(!deviceNode["MemberUUID"].isNull()) + device_.memberUUID = deviceNode["MemberUUID"].asString(); + if(!deviceNode["ClientAppId"].isNull()) + device_.clientAppId = deviceNode["ClientAppId"].asString(); + if(!deviceNode["MeetingUUID"].isNull()) + device_.meetingUUID = deviceNode["MeetingUUID"].asString(); + if(!deviceNode["MeetingAppId"].isNull()) + device_.meetingAppId = deviceNode["MeetingAppId"].asString(); + auto slsInfoNode = deviceNode["SlsInfo"]; + if(!slsInfoNode["LogServiceEndpoint"].isNull()) + device_.slsInfo.logServiceEndpoint = slsInfoNode["LogServiceEndpoint"].asString(); + if(!slsInfoNode["Project"].isNull()) + device_.slsInfo.project = slsInfoNode["Project"].asString(); + if(!slsInfoNode["Logstore"].isNull()) + device_.slsInfo.logstore = slsInfoNode["Logstore"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string JoinDeviceMeetingResult::getMessage()const +{ + return message_; +} + +JoinDeviceMeetingResult::Device JoinDeviceMeetingResult::getDevice()const +{ + return device_; +} + +int JoinDeviceMeetingResult::getErrorCode()const +{ + return errorCode_; +} + +bool JoinDeviceMeetingResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/JoinLiveRequest.cc b/aliyuncvc/src/model/JoinLiveRequest.cc new file mode 100644 index 000000000..fb7c60bbe --- /dev/null +++ b/aliyuncvc/src/model/JoinLiveRequest.cc @@ -0,0 +1,62 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::JoinLiveRequest; + +JoinLiveRequest::JoinLiveRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "JoinLive") +{ + setMethod(HttpRequest::Method::Post); +} + +JoinLiveRequest::~JoinLiveRequest() +{} + +std::string JoinLiveRequest::getLiveUUID()const +{ + return liveUUID_; +} + +void JoinLiveRequest::setLiveUUID(const std::string& liveUUID) +{ + liveUUID_ = liveUUID; + setBodyParameter("LiveUUID", liveUUID); +} + +std::string JoinLiveRequest::getUserId()const +{ + return userId_; +} + +void JoinLiveRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + +std::string JoinLiveRequest::getPassword()const +{ + return password_; +} + +void JoinLiveRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + diff --git a/aliyuncvc/src/model/JoinLiveResult.cc b/aliyuncvc/src/model/JoinLiveResult.cc new file mode 100644 index 000000000..ed323e15c --- /dev/null +++ b/aliyuncvc/src/model/JoinLiveResult.cc @@ -0,0 +1,92 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +JoinLiveResult::JoinLiveResult() : + ServiceResult() +{} + +JoinLiveResult::JoinLiveResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +JoinLiveResult::~JoinLiveResult() +{} + +void JoinLiveResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["MeetingDomain"].isNull()) + meetingInfo_.meetingDomain = meetingInfoNode["MeetingDomain"].asString(); + if(!meetingInfoNode["MeetingToken"].isNull()) + meetingInfo_.meetingToken = meetingInfoNode["MeetingToken"].asString(); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["MemberUUID"].isNull()) + meetingInfo_.memberUUID = meetingInfoNode["MemberUUID"].asString(); + if(!meetingInfoNode["ClientAppId"].isNull()) + meetingInfo_.clientAppId = meetingInfoNode["ClientAppId"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + if(!meetingInfoNode["MeetingAppId"].isNull()) + meetingInfo_.meetingAppId = meetingInfoNode["MeetingAppId"].asString(); + auto slsInfoNode = meetingInfoNode["SlsInfo"]; + if(!slsInfoNode["LogServiceEndpoint"].isNull()) + meetingInfo_.slsInfo.logServiceEndpoint = slsInfoNode["LogServiceEndpoint"].asString(); + if(!slsInfoNode["Logstore"].isNull()) + meetingInfo_.slsInfo.logstore = slsInfoNode["Logstore"].asString(); + if(!slsInfoNode["Project"].isNull()) + meetingInfo_.slsInfo.project = slsInfoNode["Project"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +JoinLiveResult::MeetingInfo JoinLiveResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string JoinLiveResult::getMessage()const +{ + return message_; +} + +int JoinLiveResult::getErrorCode()const +{ + return errorCode_; +} + +bool JoinLiveResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/JoinMeetingInternationalRequest.cc b/aliyuncvc/src/model/JoinMeetingInternationalRequest.cc new file mode 100644 index 000000000..eb4f8133d --- /dev/null +++ b/aliyuncvc/src/model/JoinMeetingInternationalRequest.cc @@ -0,0 +1,62 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::JoinMeetingInternationalRequest; + +JoinMeetingInternationalRequest::JoinMeetingInternationalRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "JoinMeetingInternational") +{ + setMethod(HttpRequest::Method::Post); +} + +JoinMeetingInternationalRequest::~JoinMeetingInternationalRequest() +{} + +std::string JoinMeetingInternationalRequest::getUserId()const +{ + return userId_; +} + +void JoinMeetingInternationalRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + +std::string JoinMeetingInternationalRequest::getPassword()const +{ + return password_; +} + +void JoinMeetingInternationalRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + +std::string JoinMeetingInternationalRequest::getMeetingCode()const +{ + return meetingCode_; +} + +void JoinMeetingInternationalRequest::setMeetingCode(const std::string& meetingCode) +{ + meetingCode_ = meetingCode; + setBodyParameter("MeetingCode", meetingCode); +} + diff --git a/aliyuncvc/src/model/JoinMeetingInternationalResult.cc b/aliyuncvc/src/model/JoinMeetingInternationalResult.cc new file mode 100644 index 000000000..201c682de --- /dev/null +++ b/aliyuncvc/src/model/JoinMeetingInternationalResult.cc @@ -0,0 +1,92 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +JoinMeetingInternationalResult::JoinMeetingInternationalResult() : + ServiceResult() +{} + +JoinMeetingInternationalResult::JoinMeetingInternationalResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +JoinMeetingInternationalResult::~JoinMeetingInternationalResult() +{} + +void JoinMeetingInternationalResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto meetingInfoNode = value["MeetingInfo"]; + if(!meetingInfoNode["MeetingDomain"].isNull()) + meetingInfo_.meetingDomain = meetingInfoNode["MeetingDomain"].asString(); + if(!meetingInfoNode["MeetingToken"].isNull()) + meetingInfo_.meetingToken = meetingInfoNode["MeetingToken"].asString(); + if(!meetingInfoNode["MeetingCode"].isNull()) + meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString(); + if(!meetingInfoNode["MemberUUID"].isNull()) + meetingInfo_.memberUUID = meetingInfoNode["MemberUUID"].asString(); + if(!meetingInfoNode["ClientAppId"].isNull()) + meetingInfo_.clientAppId = meetingInfoNode["ClientAppId"].asString(); + if(!meetingInfoNode["MeetingUUID"].isNull()) + meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString(); + if(!meetingInfoNode["MeetingAppId"].isNull()) + meetingInfo_.meetingAppId = meetingInfoNode["MeetingAppId"].asString(); + auto slsInfoNode = meetingInfoNode["SlsInfo"]; + if(!slsInfoNode["LogServiceEndpoint"].isNull()) + meetingInfo_.slsInfo.logServiceEndpoint = slsInfoNode["LogServiceEndpoint"].asString(); + if(!slsInfoNode["Logstore"].isNull()) + meetingInfo_.slsInfo.logstore = slsInfoNode["Logstore"].asString(); + if(!slsInfoNode["Project"].isNull()) + meetingInfo_.slsInfo.project = slsInfoNode["Project"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +JoinMeetingInternationalResult::MeetingInfo JoinMeetingInternationalResult::getMeetingInfo()const +{ + return meetingInfo_; +} + +std::string JoinMeetingInternationalResult::getMessage()const +{ + return message_; +} + +int JoinMeetingInternationalResult::getErrorCode()const +{ + return errorCode_; +} + +bool JoinMeetingInternationalResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/JoinMeetingRequest.cc b/aliyuncvc/src/model/JoinMeetingRequest.cc index 67def47ef..b82b7a62d 100644 --- a/aliyuncvc/src/model/JoinMeetingRequest.cc +++ b/aliyuncvc/src/model/JoinMeetingRequest.cc @@ -38,6 +38,17 @@ void JoinMeetingRequest::setUserId(const std::string& userId) setBodyParameter("UserId", userId); } +std::string JoinMeetingRequest::getPassword()const +{ + return password_; +} + +void JoinMeetingRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + std::string JoinMeetingRequest::getMeetingCode()const { return meetingCode_; diff --git a/aliyuncvc/src/model/ListDeviceIpRequest.cc b/aliyuncvc/src/model/ListDeviceIpRequest.cc new file mode 100644 index 000000000..b71c9a524 --- /dev/null +++ b/aliyuncvc/src/model/ListDeviceIpRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::ListDeviceIpRequest; + +ListDeviceIpRequest::ListDeviceIpRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "ListDeviceIp") +{ + setMethod(HttpRequest::Method::Post); +} + +ListDeviceIpRequest::~ListDeviceIpRequest() +{} + +std::string ListDeviceIpRequest::getGroupId()const +{ + return groupId_; +} + +void ListDeviceIpRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setBodyParameter("GroupId", groupId); +} + +std::string ListDeviceIpRequest::getSN()const +{ + return sN_; +} + +void ListDeviceIpRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setBodyParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/ListDeviceIpResult.cc b/aliyuncvc/src/model/ListDeviceIpResult.cc new file mode 100644 index 000000000..c02a42be8 --- /dev/null +++ b/aliyuncvc/src/model/ListDeviceIpResult.cc @@ -0,0 +1,84 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +ListDeviceIpResult::ListDeviceIpResult() : + ServiceResult() +{} + +ListDeviceIpResult::ListDeviceIpResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDeviceIpResult::~ListDeviceIpResult() +{} + +void ListDeviceIpResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDevicesNode = value["Devices"]["DevicesItem"]; + for (auto valueDevicesDevicesItem : allDevicesNode) + { + DevicesItem devicesObject; + if(!valueDevicesDevicesItem["ScreenCode"].isNull()) + devicesObject.screenCode = valueDevicesDevicesItem["ScreenCode"].asString(); + if(!valueDevicesDevicesItem["Ip"].isNull()) + devicesObject.ip = valueDevicesDevicesItem["Ip"].asString(); + if(!valueDevicesDevicesItem["Mac"].isNull()) + devicesObject.mac = valueDevicesDevicesItem["Mac"].asString(); + if(!valueDevicesDevicesItem["SsId"].isNull()) + devicesObject.ssId = valueDevicesDevicesItem["SsId"].asString(); + devices_.push_back(devicesObject); + } + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListDeviceIpResult::getMessage()const +{ + return message_; +} + +int ListDeviceIpResult::getErrorCode()const +{ + return errorCode_; +} + +std::vector ListDeviceIpResult::getDevices()const +{ + return devices_; +} + +bool ListDeviceIpResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/ModifyMeetingPasswordInternationalRequest.cc b/aliyuncvc/src/model/ModifyMeetingPasswordInternationalRequest.cc new file mode 100644 index 000000000..63e0905cd --- /dev/null +++ b/aliyuncvc/src/model/ModifyMeetingPasswordInternationalRequest.cc @@ -0,0 +1,73 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::ModifyMeetingPasswordInternationalRequest; + +ModifyMeetingPasswordInternationalRequest::ModifyMeetingPasswordInternationalRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "ModifyMeetingPasswordInternational") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyMeetingPasswordInternationalRequest::~ModifyMeetingPasswordInternationalRequest() +{} + +std::string ModifyMeetingPasswordInternationalRequest::getUserId()const +{ + return userId_; +} + +void ModifyMeetingPasswordInternationalRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + +bool ModifyMeetingPasswordInternationalRequest::getOpenPasswordFlag()const +{ + return openPasswordFlag_; +} + +void ModifyMeetingPasswordInternationalRequest::setOpenPasswordFlag(bool openPasswordFlag) +{ + openPasswordFlag_ = openPasswordFlag; + setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false"); +} + +std::string ModifyMeetingPasswordInternationalRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void ModifyMeetingPasswordInternationalRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setBodyParameter("MeetingUUID", meetingUUID); +} + +std::string ModifyMeetingPasswordInternationalRequest::getPassword()const +{ + return password_; +} + +void ModifyMeetingPasswordInternationalRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + diff --git a/aliyuncvc/src/model/ModifyMeetingPasswordInternationalResult.cc b/aliyuncvc/src/model/ModifyMeetingPasswordInternationalResult.cc new file mode 100644 index 000000000..75be76e3c --- /dev/null +++ b/aliyuncvc/src/model/ModifyMeetingPasswordInternationalResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +ModifyMeetingPasswordInternationalResult::ModifyMeetingPasswordInternationalResult() : + ServiceResult() +{} + +ModifyMeetingPasswordInternationalResult::ModifyMeetingPasswordInternationalResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyMeetingPasswordInternationalResult::~ModifyMeetingPasswordInternationalResult() +{} + +void ModifyMeetingPasswordInternationalResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ModifyMeetingPasswordInternationalResult::getMessage()const +{ + return message_; +} + +int ModifyMeetingPasswordInternationalResult::getErrorCode()const +{ + return errorCode_; +} + +bool ModifyMeetingPasswordInternationalResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/ModifyMeetingPasswordRequest.cc b/aliyuncvc/src/model/ModifyMeetingPasswordRequest.cc new file mode 100644 index 000000000..5bffe1734 --- /dev/null +++ b/aliyuncvc/src/model/ModifyMeetingPasswordRequest.cc @@ -0,0 +1,73 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::ModifyMeetingPasswordRequest; + +ModifyMeetingPasswordRequest::ModifyMeetingPasswordRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "ModifyMeetingPassword") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyMeetingPasswordRequest::~ModifyMeetingPasswordRequest() +{} + +std::string ModifyMeetingPasswordRequest::getUserId()const +{ + return userId_; +} + +void ModifyMeetingPasswordRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + +bool ModifyMeetingPasswordRequest::getOpenPasswordFlag()const +{ + return openPasswordFlag_; +} + +void ModifyMeetingPasswordRequest::setOpenPasswordFlag(bool openPasswordFlag) +{ + openPasswordFlag_ = openPasswordFlag; + setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false"); +} + +std::string ModifyMeetingPasswordRequest::getMeetingUUID()const +{ + return meetingUUID_; +} + +void ModifyMeetingPasswordRequest::setMeetingUUID(const std::string& meetingUUID) +{ + meetingUUID_ = meetingUUID; + setBodyParameter("MeetingUUID", meetingUUID); +} + +std::string ModifyMeetingPasswordRequest::getPassword()const +{ + return password_; +} + +void ModifyMeetingPasswordRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + diff --git a/aliyuncvc/src/model/ModifyMeetingPasswordResult.cc b/aliyuncvc/src/model/ModifyMeetingPasswordResult.cc new file mode 100644 index 000000000..68094e938 --- /dev/null +++ b/aliyuncvc/src/model/ModifyMeetingPasswordResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +ModifyMeetingPasswordResult::ModifyMeetingPasswordResult() : + ServiceResult() +{} + +ModifyMeetingPasswordResult::ModifyMeetingPasswordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyMeetingPasswordResult::~ModifyMeetingPasswordResult() +{} + +void ModifyMeetingPasswordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ModifyMeetingPasswordResult::getMessage()const +{ + return message_; +} + +int ModifyMeetingPasswordResult::getErrorCode()const +{ + return errorCode_; +} + +bool ModifyMeetingPasswordResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/RegisterDeviceRequest.cc b/aliyuncvc/src/model/RegisterDeviceRequest.cc new file mode 100644 index 000000000..50611fce3 --- /dev/null +++ b/aliyuncvc/src/model/RegisterDeviceRequest.cc @@ -0,0 +1,84 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::RegisterDeviceRequest; + +RegisterDeviceRequest::RegisterDeviceRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "RegisterDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +RegisterDeviceRequest::~RegisterDeviceRequest() +{} + +std::string RegisterDeviceRequest::getIP()const +{ + return iP_; +} + +void RegisterDeviceRequest::setIP(const std::string& iP) +{ + iP_ = iP; + setParameter("IP", iP); +} + +std::string RegisterDeviceRequest::getMac()const +{ + return mac_; +} + +void RegisterDeviceRequest::setMac(const std::string& mac) +{ + mac_ = mac; + setParameter("Mac", mac); +} + +std::string RegisterDeviceRequest::getToken()const +{ + return token_; +} + +void RegisterDeviceRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + +std::string RegisterDeviceRequest::getDeviceVersion()const +{ + return deviceVersion_; +} + +void RegisterDeviceRequest::setDeviceVersion(const std::string& deviceVersion) +{ + deviceVersion_ = deviceVersion; + setParameter("DeviceVersion", deviceVersion); +} + +std::string RegisterDeviceRequest::getSN()const +{ + return sN_; +} + +void RegisterDeviceRequest::setSN(const std::string& sN) +{ + sN_ = sN; + setParameter("SN", sN); +} + diff --git a/aliyuncvc/src/model/RegisterDeviceResult.cc b/aliyuncvc/src/model/RegisterDeviceResult.cc new file mode 100644 index 000000000..44a7e3fca --- /dev/null +++ b/aliyuncvc/src/model/RegisterDeviceResult.cc @@ -0,0 +1,122 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +RegisterDeviceResult::RegisterDeviceResult() : + ServiceResult() +{} + +RegisterDeviceResult::RegisterDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RegisterDeviceResult::~RegisterDeviceResult() +{} + +void RegisterDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto deviceInfoNode = value["DeviceInfo"]; + if(!deviceInfoNode["ChannelType"].isNull()) + deviceInfo_.channelType = deviceInfoNode["ChannelType"].asString(); + if(!deviceInfoNode["RegisterTime"].isNull()) + deviceInfo_.registerTime = std::stol(deviceInfoNode["RegisterTime"].asString()); + if(!deviceInfoNode["DeviceName"].isNull()) + deviceInfo_.deviceName = deviceInfoNode["DeviceName"].asString(); + if(!deviceInfoNode["DeviceSessionId"].isNull()) + deviceInfo_.deviceSessionId = deviceInfoNode["DeviceSessionId"].asString(); + if(!deviceInfoNode["MessageKey"].isNull()) + deviceInfo_.messageKey = deviceInfoNode["MessageKey"].asString(); + if(!deviceInfoNode["ScreenCode"].isNull()) + deviceInfo_.screenCode = deviceInfoNode["ScreenCode"].asString(); + auto mqttParamNode = deviceInfoNode["MqttParam"]; + if(!mqttParamNode["ClientId"].isNull()) + deviceInfo_.mqttParam.clientId = mqttParamNode["ClientId"].asString(); + if(!mqttParamNode["GroupId"].isNull()) + deviceInfo_.mqttParam.groupId = mqttParamNode["GroupId"].asString(); + if(!mqttParamNode["CleanSession"].isNull()) + deviceInfo_.mqttParam.cleanSession = mqttParamNode["CleanSession"].asString(); + if(!mqttParamNode["Password"].isNull()) + deviceInfo_.mqttParam.password = mqttParamNode["Password"].asString(); + if(!mqttParamNode["Port"].isNull()) + deviceInfo_.mqttParam.port = mqttParamNode["Port"].asString(); + if(!mqttParamNode["Host"].isNull()) + deviceInfo_.mqttParam.host = mqttParamNode["Host"].asString(); + if(!mqttParamNode["Topic"].isNull()) + deviceInfo_.mqttParam.topic = mqttParamNode["Topic"].asString(); + if(!mqttParamNode["SDKClientPort"].isNull()) + deviceInfo_.mqttParam.sDKClientPort = mqttParamNode["SDKClientPort"].asString(); + if(!mqttParamNode["TLSPort"].isNull()) + deviceInfo_.mqttParam.tLSPort = mqttParamNode["TLSPort"].asString(); + if(!mqttParamNode["UseTLS"].isNull()) + deviceInfo_.mqttParam.useTLS = mqttParamNode["UseTLS"].asString(); + if(!mqttParamNode["UserName"].isNull()) + deviceInfo_.mqttParam.userName = mqttParamNode["UserName"].asString(); + if(!mqttParamNode["ReconnectTimeout"].isNull()) + deviceInfo_.mqttParam.reconnectTimeout = mqttParamNode["ReconnectTimeout"].asString(); + auto authWsChannelConfigNode = deviceInfoNode["AuthWsChannelConfig"]; + if(!authWsChannelConfigNode["AuthWsUrl"].isNull()) + deviceInfo_.authWsChannelConfig.authWsUrl = authWsChannelConfigNode["AuthWsUrl"].asString(); + if(!authWsChannelConfigNode["WsOuterReconnTime"].isNull()) + deviceInfo_.authWsChannelConfig.wsOuterReconnTime = std::stoi(authWsChannelConfigNode["WsOuterReconnTime"].asString()); + if(!authWsChannelConfigNode["Token"].isNull()) + deviceInfo_.authWsChannelConfig.token = authWsChannelConfigNode["Token"].asString(); + auto slsConfigNode = deviceInfoNode["SlsConfig"]; + if(!slsConfigNode["Project"].isNull()) + deviceInfo_.slsConfig.project = slsConfigNode["Project"].asString(); + if(!slsConfigNode["LogStore"].isNull()) + deviceInfo_.slsConfig.logStore = slsConfigNode["LogStore"].asString(); + if(!slsConfigNode["LogServiceEndpoint"].isNull()) + deviceInfo_.slsConfig.logServiceEndpoint = slsConfigNode["LogServiceEndpoint"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string RegisterDeviceResult::getMessage()const +{ + return message_; +} + +RegisterDeviceResult::DeviceInfo RegisterDeviceResult::getDeviceInfo()const +{ + return deviceInfo_; +} + +int RegisterDeviceResult::getErrorCode()const +{ + return errorCode_; +} + +bool RegisterDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/RegisterUemDeviceRequest.cc b/aliyuncvc/src/model/RegisterUemDeviceRequest.cc new file mode 100644 index 000000000..7dc6ffdc9 --- /dev/null +++ b/aliyuncvc/src/model/RegisterUemDeviceRequest.cc @@ -0,0 +1,95 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::RegisterUemDeviceRequest; + +RegisterUemDeviceRequest::RegisterUemDeviceRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "RegisterUemDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +RegisterUemDeviceRequest::~RegisterUemDeviceRequest() +{} + +std::string RegisterUemDeviceRequest::getIP()const +{ + return iP_; +} + +void RegisterUemDeviceRequest::setIP(const std::string& iP) +{ + iP_ = iP; + setParameter("IP", iP); +} + +std::string RegisterUemDeviceRequest::getGroupId()const +{ + return groupId_; +} + +void RegisterUemDeviceRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string RegisterUemDeviceRequest::getDeviceId()const +{ + return deviceId_; +} + +void RegisterUemDeviceRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + +std::string RegisterUemDeviceRequest::getGroupName()const +{ + return groupName_; +} + +void RegisterUemDeviceRequest::setGroupName(const std::string& groupName) +{ + groupName_ = groupName; + setParameter("GroupName", groupName); +} + +std::string RegisterUemDeviceRequest::getMac()const +{ + return mac_; +} + +void RegisterUemDeviceRequest::setMac(const std::string& mac) +{ + mac_ = mac; + setParameter("Mac", mac); +} + +std::string RegisterUemDeviceRequest::getDeviceVersion()const +{ + return deviceVersion_; +} + +void RegisterUemDeviceRequest::setDeviceVersion(const std::string& deviceVersion) +{ + deviceVersion_ = deviceVersion; + setParameter("DeviceVersion", deviceVersion); +} + diff --git a/aliyuncvc/src/model/RegisterUemDeviceResult.cc b/aliyuncvc/src/model/RegisterUemDeviceResult.cc new file mode 100644 index 000000000..6816ff71f --- /dev/null +++ b/aliyuncvc/src/model/RegisterUemDeviceResult.cc @@ -0,0 +1,124 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +RegisterUemDeviceResult::RegisterUemDeviceResult() : + ServiceResult() +{} + +RegisterUemDeviceResult::RegisterUemDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RegisterUemDeviceResult::~RegisterUemDeviceResult() +{} + +void RegisterUemDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto deviceInfoNode = value["DeviceInfo"]; + if(!deviceInfoNode["ChannelType"].isNull()) + deviceInfo_.channelType = deviceInfoNode["ChannelType"].asString(); + if(!deviceInfoNode["RegisterTime"].isNull()) + deviceInfo_.registerTime = std::stol(deviceInfoNode["RegisterTime"].asString()); + if(!deviceInfoNode["DeviceName"].isNull()) + deviceInfo_.deviceName = deviceInfoNode["DeviceName"].asString(); + if(!deviceInfoNode["DeviceSessionId"].isNull()) + deviceInfo_.deviceSessionId = deviceInfoNode["DeviceSessionId"].asString(); + if(!deviceInfoNode["MessageKey"].isNull()) + deviceInfo_.messageKey = deviceInfoNode["MessageKey"].asString(); + if(!deviceInfoNode["ScreenCode"].isNull()) + deviceInfo_.screenCode = deviceInfoNode["ScreenCode"].asString(); + if(!deviceInfoNode["Token"].isNull()) + deviceInfo_.token = deviceInfoNode["Token"].asString(); + auto mqttParamNode = deviceInfoNode["MqttParam"]; + if(!mqttParamNode["ClientId"].isNull()) + deviceInfo_.mqttParam.clientId = mqttParamNode["ClientId"].asString(); + if(!mqttParamNode["GroupId"].isNull()) + deviceInfo_.mqttParam.groupId = mqttParamNode["GroupId"].asString(); + if(!mqttParamNode["CleanSession"].isNull()) + deviceInfo_.mqttParam.cleanSession = mqttParamNode["CleanSession"].asString(); + if(!mqttParamNode["Password"].isNull()) + deviceInfo_.mqttParam.password = mqttParamNode["Password"].asString(); + if(!mqttParamNode["Port"].isNull()) + deviceInfo_.mqttParam.port = mqttParamNode["Port"].asString(); + if(!mqttParamNode["Host"].isNull()) + deviceInfo_.mqttParam.host = mqttParamNode["Host"].asString(); + if(!mqttParamNode["Topic"].isNull()) + deviceInfo_.mqttParam.topic = mqttParamNode["Topic"].asString(); + if(!mqttParamNode["SDKClientPort"].isNull()) + deviceInfo_.mqttParam.sDKClientPort = mqttParamNode["SDKClientPort"].asString(); + if(!mqttParamNode["TLSPort"].isNull()) + deviceInfo_.mqttParam.tLSPort = mqttParamNode["TLSPort"].asString(); + if(!mqttParamNode["UseTLS"].isNull()) + deviceInfo_.mqttParam.useTLS = mqttParamNode["UseTLS"].asString(); + if(!mqttParamNode["UserName"].isNull()) + deviceInfo_.mqttParam.userName = mqttParamNode["UserName"].asString(); + if(!mqttParamNode["ReconnectTimeout"].isNull()) + deviceInfo_.mqttParam.reconnectTimeout = mqttParamNode["ReconnectTimeout"].asString(); + auto authWsChannelConfigNode = deviceInfoNode["AuthWsChannelConfig"]; + if(!authWsChannelConfigNode["AuthWsUrl"].isNull()) + deviceInfo_.authWsChannelConfig.authWsUrl = authWsChannelConfigNode["AuthWsUrl"].asString(); + if(!authWsChannelConfigNode["WsOuterReconnTime"].isNull()) + deviceInfo_.authWsChannelConfig.wsOuterReconnTime = std::stoi(authWsChannelConfigNode["WsOuterReconnTime"].asString()); + if(!authWsChannelConfigNode["Token"].isNull()) + deviceInfo_.authWsChannelConfig.token = authWsChannelConfigNode["Token"].asString(); + auto slsConfigNode = deviceInfoNode["SlsConfig"]; + if(!slsConfigNode["Project"].isNull()) + deviceInfo_.slsConfig.project = slsConfigNode["Project"].asString(); + if(!slsConfigNode["LogStore"].isNull()) + deviceInfo_.slsConfig.logStore = slsConfigNode["LogStore"].asString(); + if(!slsConfigNode["LogServiceEndpoint"].isNull()) + deviceInfo_.slsConfig.logServiceEndpoint = slsConfigNode["LogServiceEndpoint"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string RegisterUemDeviceResult::getMessage()const +{ + return message_; +} + +RegisterUemDeviceResult::DeviceInfo RegisterUemDeviceResult::getDeviceInfo()const +{ + return deviceInfo_; +} + +int RegisterUemDeviceResult::getErrorCode()const +{ + return errorCode_; +} + +bool RegisterUemDeviceResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/StartLiveRequest.cc b/aliyuncvc/src/model/StartLiveRequest.cc new file mode 100644 index 000000000..bf2544ad1 --- /dev/null +++ b/aliyuncvc/src/model/StartLiveRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::StartLiveRequest; + +StartLiveRequest::StartLiveRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "StartLive") +{ + setMethod(HttpRequest::Method::Post); +} + +StartLiveRequest::~StartLiveRequest() +{} + +std::string StartLiveRequest::getLiveUUID()const +{ + return liveUUID_; +} + +void StartLiveRequest::setLiveUUID(const std::string& liveUUID) +{ + liveUUID_ = liveUUID; + setBodyParameter("LiveUUID", liveUUID); +} + +std::string StartLiveRequest::getUserId()const +{ + return userId_; +} + +void StartLiveRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + diff --git a/aliyuncvc/src/model/StartLiveResult.cc b/aliyuncvc/src/model/StartLiveResult.cc new file mode 100644 index 000000000..89c385f5d --- /dev/null +++ b/aliyuncvc/src/model/StartLiveResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +StartLiveResult::StartLiveResult() : + ServiceResult() +{} + +StartLiveResult::StartLiveResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartLiveResult::~StartLiveResult() +{} + +void StartLiveResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string StartLiveResult::getMessage()const +{ + return message_; +} + +int StartLiveResult::getErrorCode()const +{ + return errorCode_; +} + +bool StartLiveResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/UpdateDeviceHeartBeatRequest.cc b/aliyuncvc/src/model/UpdateDeviceHeartBeatRequest.cc new file mode 100644 index 000000000..3fb13cf51 --- /dev/null +++ b/aliyuncvc/src/model/UpdateDeviceHeartBeatRequest.cc @@ -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 + +using AlibabaCloud::Aliyuncvc::Model::UpdateDeviceHeartBeatRequest; + +UpdateDeviceHeartBeatRequest::UpdateDeviceHeartBeatRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "UpdateDeviceHeartBeat") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateDeviceHeartBeatRequest::~UpdateDeviceHeartBeatRequest() +{} + +std::string UpdateDeviceHeartBeatRequest::getMessage()const +{ + return message_; +} + +void UpdateDeviceHeartBeatRequest::setMessage(const std::string& message) +{ + message_ = message; + setParameter("Message", message); +} + diff --git a/aliyuncvc/src/model/UpdateDeviceHeartBeatResult.cc b/aliyuncvc/src/model/UpdateDeviceHeartBeatResult.cc new file mode 100644 index 000000000..86a31fef0 --- /dev/null +++ b/aliyuncvc/src/model/UpdateDeviceHeartBeatResult.cc @@ -0,0 +1,73 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +UpdateDeviceHeartBeatResult::UpdateDeviceHeartBeatResult() : + ServiceResult() +{} + +UpdateDeviceHeartBeatResult::UpdateDeviceHeartBeatResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDeviceHeartBeatResult::~UpdateDeviceHeartBeatResult() +{} + +void UpdateDeviceHeartBeatResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto deviceInfoNode = value["DeviceInfo"]; + if(!deviceInfoNode["ChannelType"].isNull()) + deviceInfo_.channelType = deviceInfoNode["ChannelType"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UpdateDeviceHeartBeatResult::getMessage()const +{ + return message_; +} + +UpdateDeviceHeartBeatResult::DeviceInfo UpdateDeviceHeartBeatResult::getDeviceInfo()const +{ + return deviceInfo_; +} + +int UpdateDeviceHeartBeatResult::getErrorCode()const +{ + return errorCode_; +} + +bool UpdateDeviceHeartBeatResult::getSuccess()const +{ + return success_; +} + diff --git a/aliyuncvc/src/model/UpdateLivePasswordRequest.cc b/aliyuncvc/src/model/UpdateLivePasswordRequest.cc new file mode 100644 index 000000000..55d06cfb0 --- /dev/null +++ b/aliyuncvc/src/model/UpdateLivePasswordRequest.cc @@ -0,0 +1,73 @@ +/* + * 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 + +using AlibabaCloud::Aliyuncvc::Model::UpdateLivePasswordRequest; + +UpdateLivePasswordRequest::UpdateLivePasswordRequest() : + RpcServiceRequest("aliyuncvc", "2019-10-30", "UpdateLivePassword") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateLivePasswordRequest::~UpdateLivePasswordRequest() +{} + +std::string UpdateLivePasswordRequest::getLiveUUID()const +{ + return liveUUID_; +} + +void UpdateLivePasswordRequest::setLiveUUID(const std::string& liveUUID) +{ + liveUUID_ = liveUUID; + setBodyParameter("LiveUUID", liveUUID); +} + +std::string UpdateLivePasswordRequest::getUserId()const +{ + return userId_; +} + +void UpdateLivePasswordRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setBodyParameter("UserId", userId); +} + +bool UpdateLivePasswordRequest::getOpenPasswordFlag()const +{ + return openPasswordFlag_; +} + +void UpdateLivePasswordRequest::setOpenPasswordFlag(bool openPasswordFlag) +{ + openPasswordFlag_ = openPasswordFlag; + setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false"); +} + +std::string UpdateLivePasswordRequest::getPassword()const +{ + return password_; +} + +void UpdateLivePasswordRequest::setPassword(const std::string& password) +{ + password_ = password; + setBodyParameter("Password", password); +} + diff --git a/aliyuncvc/src/model/UpdateLivePasswordResult.cc b/aliyuncvc/src/model/UpdateLivePasswordResult.cc new file mode 100644 index 000000000..bfbe7d2f8 --- /dev/null +++ b/aliyuncvc/src/model/UpdateLivePasswordResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Aliyuncvc; +using namespace AlibabaCloud::Aliyuncvc::Model; + +UpdateLivePasswordResult::UpdateLivePasswordResult() : + ServiceResult() +{} + +UpdateLivePasswordResult::UpdateLivePasswordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLivePasswordResult::~UpdateLivePasswordResult() +{} + +void UpdateLivePasswordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ErrorCode"].isNull()) + errorCode_ = std::stoi(value["ErrorCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string UpdateLivePasswordResult::getMessage()const +{ + return message_; +} + +int UpdateLivePasswordResult::getErrorCode()const +{ + return errorCode_; +} + +bool UpdateLivePasswordResult::getSuccess()const +{ + return success_; +} +