Compare commits

..

4 Commits

Author SHA1 Message Date
sdk-team
2070ee03ba Add GetAuthToken OpenAPI. 2020-06-18 15:38:53 +08:00
sdk-team
e611ec2db4 Public beta version. 2020-06-18 10:39:31 +08:00
sdk-team
57416bd581 Supported sync create eni and assign private ip. 2020-06-17 18:04:12 +08:00
sdk-team
2df6079b2d Public beta version. 2020-06-17 14:30:20 +08:00
113 changed files with 6051 additions and 72 deletions

View File

@@ -1,3 +1,17 @@
2020-06-18 Version: 1.36.467
- Add GetAuthToken OpenAPI.
2020-06-18 Version: 1.36.466
- Public beta version.
- Add Api Overseas.
2020-06-17 Version: 1.36.465
- Supported sync create eni and assign private ip.
2020-06-17 Version: 1.36.464
- Public beta version.
- Add Api Overseas.
2020-06-16 Version: 1.36.463
- Support TargetImageId in ApplyNodes Interface.

View File

@@ -1 +1 @@
1.36.463
1.36.467

View File

@@ -25,8 +25,16 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/ActiveDeviceResult.h
include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h
include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h
include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h
include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h
include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h
include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h
include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesRequest.h
include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesResult.h
include/alibabacloud/aliyuncvc/model/CallDeviceRequest.h
include/alibabacloud/aliyuncvc/model/CallDeviceResult.h
include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h
include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h
include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h
@@ -39,6 +47,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/CreateUserRequest.h
include/alibabacloud/aliyuncvc/model/CreateUserResult.h
include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h
include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h
include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.h
include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h
include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h
@@ -63,6 +73,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/GetMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/GetMeetingMemberRequest.h
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
include/alibabacloud/aliyuncvc/model/GetUserResult.h
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h
@@ -73,8 +85,12 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h
include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h
include/alibabacloud/aliyuncvc/model/ListDevicesResult.h
include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h
include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h
include/alibabacloud/aliyuncvc/model/ListIsvStatisticsRequest.h
@@ -87,10 +103,28 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h
include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h
include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h
include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h
include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h
include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h
include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h
include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h
include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h
include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h
include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h
include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserListResult.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/RemoveMeetingRequest.h
include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h
include/alibabacloud/aliyuncvc/model/StartLiveRequest.h
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
@@ -106,8 +140,16 @@ set(aliyuncvc_src
src/model/ActiveDeviceResult.cc
src/model/ActiveMeetingRequest.cc
src/model/ActiveMeetingResult.cc
src/model/ActiveMeetingCodeRequest.cc
src/model/ActiveMeetingCodeResult.cc
src/model/BatchCreateDeviceRequest.cc
src/model/BatchCreateDeviceResult.cc
src/model/BatchDeleteDevicesRequest.cc
src/model/BatchDeleteDevicesResult.cc
src/model/CallDeviceRequest.cc
src/model/CallDeviceResult.cc
src/model/CheckMeetingCodeRequest.cc
src/model/CheckMeetingCodeResult.cc
src/model/CreateDeviceMeetingRequest.cc
src/model/CreateDeviceMeetingResult.cc
src/model/CreateEvaluationRequest.cc
@@ -120,6 +162,8 @@ set(aliyuncvc_src
src/model/CreateMeetingInternationalResult.cc
src/model/CreateUserRequest.cc
src/model/CreateUserResult.cc
src/model/CreateUserEvaluationsRequest.cc
src/model/CreateUserEvaluationsResult.cc
src/model/CreateUserInternationalRequest.cc
src/model/CreateUserInternationalResult.cc
src/model/DeleteDeviceRequest.cc
@@ -144,6 +188,8 @@ set(aliyuncvc_src
src/model/GetMeetingInternationalResult.cc
src/model/GetMeetingMemberRequest.cc
src/model/GetMeetingMemberResult.cc
src/model/GetMembersRequest.cc
src/model/GetMembersResult.cc
src/model/GetUserRequest.cc
src/model/GetUserResult.cc
src/model/JoinDeviceMeetingRequest.cc
@@ -154,8 +200,12 @@ set(aliyuncvc_src
src/model/JoinMeetingResult.cc
src/model/JoinMeetingInternationalRequest.cc
src/model/JoinMeetingInternationalResult.cc
src/model/ListCommoditiesRequest.cc
src/model/ListCommoditiesResult.cc
src/model/ListDeviceIpRequest.cc
src/model/ListDeviceIpResult.cc
src/model/ListDevicesRequest.cc
src/model/ListDevicesResult.cc
src/model/ListEvaluationsRequest.cc
src/model/ListEvaluationsResult.cc
src/model/ListIsvStatisticsRequest.cc
@@ -168,10 +218,28 @@ set(aliyuncvc_src
src/model/ModifyMeetingPasswordResult.cc
src/model/ModifyMeetingPasswordInternationalRequest.cc
src/model/ModifyMeetingPasswordInternationalResult.cc
src/model/QueryIsvUserInfoRequest.cc
src/model/QueryIsvUserInfoResult.cc
src/model/QueryMeetingInfoRequest.cc
src/model/QueryMeetingInfoResult.cc
src/model/QueryMemberRecordRequest.cc
src/model/QueryMemberRecordResult.cc
src/model/QueryStatisticsRequest.cc
src/model/QueryStatisticsResult.cc
src/model/QueryUserBuyAttributeRequest.cc
src/model/QueryUserBuyAttributeResult.cc
src/model/QueryUserEvaluationRequest.cc
src/model/QueryUserEvaluationResult.cc
src/model/QueryUserInfoRequest.cc
src/model/QueryUserInfoResult.cc
src/model/QueryUserListRequest.cc
src/model/QueryUserListResult.cc
src/model/RegisterDeviceRequest.cc
src/model/RegisterDeviceResult.cc
src/model/RegisterUemDeviceRequest.cc
src/model/RegisterUemDeviceResult.cc
src/model/RemoveMeetingRequest.cc
src/model/RemoveMeetingResult.cc
src/model/StartLiveRequest.cc
src/model/StartLiveResult.cc
src/model/UpdateDeviceHeartBeatRequest.cc

View File

@@ -26,8 +26,16 @@
#include "model/ActiveDeviceResult.h"
#include "model/ActiveMeetingRequest.h"
#include "model/ActiveMeetingResult.h"
#include "model/ActiveMeetingCodeRequest.h"
#include "model/ActiveMeetingCodeResult.h"
#include "model/BatchCreateDeviceRequest.h"
#include "model/BatchCreateDeviceResult.h"
#include "model/BatchDeleteDevicesRequest.h"
#include "model/BatchDeleteDevicesResult.h"
#include "model/CallDeviceRequest.h"
#include "model/CallDeviceResult.h"
#include "model/CheckMeetingCodeRequest.h"
#include "model/CheckMeetingCodeResult.h"
#include "model/CreateDeviceMeetingRequest.h"
#include "model/CreateDeviceMeetingResult.h"
#include "model/CreateEvaluationRequest.h"
@@ -40,6 +48,8 @@
#include "model/CreateMeetingInternationalResult.h"
#include "model/CreateUserRequest.h"
#include "model/CreateUserResult.h"
#include "model/CreateUserEvaluationsRequest.h"
#include "model/CreateUserEvaluationsResult.h"
#include "model/CreateUserInternationalRequest.h"
#include "model/CreateUserInternationalResult.h"
#include "model/DeleteDeviceRequest.h"
@@ -64,6 +74,8 @@
#include "model/GetMeetingInternationalResult.h"
#include "model/GetMeetingMemberRequest.h"
#include "model/GetMeetingMemberResult.h"
#include "model/GetMembersRequest.h"
#include "model/GetMembersResult.h"
#include "model/GetUserRequest.h"
#include "model/GetUserResult.h"
#include "model/JoinDeviceMeetingRequest.h"
@@ -74,8 +86,12 @@
#include "model/JoinMeetingResult.h"
#include "model/JoinMeetingInternationalRequest.h"
#include "model/JoinMeetingInternationalResult.h"
#include "model/ListCommoditiesRequest.h"
#include "model/ListCommoditiesResult.h"
#include "model/ListDeviceIpRequest.h"
#include "model/ListDeviceIpResult.h"
#include "model/ListDevicesRequest.h"
#include "model/ListDevicesResult.h"
#include "model/ListEvaluationsRequest.h"
#include "model/ListEvaluationsResult.h"
#include "model/ListIsvStatisticsRequest.h"
@@ -88,10 +104,28 @@
#include "model/ModifyMeetingPasswordResult.h"
#include "model/ModifyMeetingPasswordInternationalRequest.h"
#include "model/ModifyMeetingPasswordInternationalResult.h"
#include "model/QueryIsvUserInfoRequest.h"
#include "model/QueryIsvUserInfoResult.h"
#include "model/QueryMeetingInfoRequest.h"
#include "model/QueryMeetingInfoResult.h"
#include "model/QueryMemberRecordRequest.h"
#include "model/QueryMemberRecordResult.h"
#include "model/QueryStatisticsRequest.h"
#include "model/QueryStatisticsResult.h"
#include "model/QueryUserBuyAttributeRequest.h"
#include "model/QueryUserBuyAttributeResult.h"
#include "model/QueryUserEvaluationRequest.h"
#include "model/QueryUserEvaluationResult.h"
#include "model/QueryUserInfoRequest.h"
#include "model/QueryUserInfoResult.h"
#include "model/QueryUserListRequest.h"
#include "model/QueryUserListResult.h"
#include "model/RegisterDeviceRequest.h"
#include "model/RegisterDeviceResult.h"
#include "model/RegisterUemDeviceRequest.h"
#include "model/RegisterUemDeviceResult.h"
#include "model/RemoveMeetingRequest.h"
#include "model/RemoveMeetingResult.h"
#include "model/StartLiveRequest.h"
#include "model/StartLiveResult.h"
#include "model/UpdateDeviceHeartBeatRequest.h"
@@ -115,9 +149,21 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ActiveMeetingResult> ActiveMeetingOutcome;
typedef std::future<ActiveMeetingOutcome> ActiveMeetingOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ActiveMeetingRequest&, const ActiveMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveMeetingAsyncHandler;
typedef Outcome<Error, Model::ActiveMeetingCodeResult> ActiveMeetingCodeOutcome;
typedef std::future<ActiveMeetingCodeOutcome> ActiveMeetingCodeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ActiveMeetingCodeRequest&, const ActiveMeetingCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveMeetingCodeAsyncHandler;
typedef Outcome<Error, Model::BatchCreateDeviceResult> BatchCreateDeviceOutcome;
typedef std::future<BatchCreateDeviceOutcome> BatchCreateDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::BatchCreateDeviceRequest&, const BatchCreateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchCreateDeviceAsyncHandler;
typedef Outcome<Error, Model::BatchDeleteDevicesResult> BatchDeleteDevicesOutcome;
typedef std::future<BatchDeleteDevicesOutcome> BatchDeleteDevicesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::BatchDeleteDevicesRequest&, const BatchDeleteDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteDevicesAsyncHandler;
typedef Outcome<Error, Model::CallDeviceResult> CallDeviceOutcome;
typedef std::future<CallDeviceOutcome> CallDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CallDeviceRequest&, const CallDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CallDeviceAsyncHandler;
typedef Outcome<Error, Model::CheckMeetingCodeResult> CheckMeetingCodeOutcome;
typedef std::future<CheckMeetingCodeOutcome> CheckMeetingCodeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CheckMeetingCodeRequest&, const CheckMeetingCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckMeetingCodeAsyncHandler;
typedef Outcome<Error, Model::CreateDeviceMeetingResult> CreateDeviceMeetingOutcome;
typedef std::future<CreateDeviceMeetingOutcome> CreateDeviceMeetingOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateDeviceMeetingRequest&, const CreateDeviceMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeviceMeetingAsyncHandler;
@@ -136,6 +182,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateUserResult> CreateUserOutcome;
typedef std::future<CreateUserOutcome> CreateUserOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserRequest&, const CreateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAsyncHandler;
typedef Outcome<Error, Model::CreateUserEvaluationsResult> CreateUserEvaluationsOutcome;
typedef std::future<CreateUserEvaluationsOutcome> CreateUserEvaluationsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserEvaluationsRequest&, const CreateUserEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserEvaluationsAsyncHandler;
typedef Outcome<Error, Model::CreateUserInternationalResult> CreateUserInternationalOutcome;
typedef std::future<CreateUserInternationalOutcome> CreateUserInternationalOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserInternationalRequest&, const CreateUserInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserInternationalAsyncHandler;
@@ -172,6 +221,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetMeetingMemberResult> GetMeetingMemberOutcome;
typedef std::future<GetMeetingMemberOutcome> GetMeetingMemberOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetMeetingMemberRequest&, const GetMeetingMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMeetingMemberAsyncHandler;
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
@@ -187,9 +239,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::JoinMeetingInternationalResult> JoinMeetingInternationalOutcome;
typedef std::future<JoinMeetingInternationalOutcome> JoinMeetingInternationalOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::JoinMeetingInternationalRequest&, const JoinMeetingInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinMeetingInternationalAsyncHandler;
typedef Outcome<Error, Model::ListCommoditiesResult> ListCommoditiesOutcome;
typedef std::future<ListCommoditiesOutcome> ListCommoditiesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListCommoditiesRequest&, const ListCommoditiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCommoditiesAsyncHandler;
typedef Outcome<Error, Model::ListDeviceIpResult> ListDeviceIpOutcome;
typedef std::future<ListDeviceIpOutcome> ListDeviceIpOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListDeviceIpRequest&, const ListDeviceIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceIpAsyncHandler;
typedef Outcome<Error, Model::ListDevicesResult> ListDevicesOutcome;
typedef std::future<ListDevicesOutcome> ListDevicesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListDevicesRequest&, const ListDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevicesAsyncHandler;
typedef Outcome<Error, Model::ListEvaluationsResult> ListEvaluationsOutcome;
typedef std::future<ListEvaluationsOutcome> ListEvaluationsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListEvaluationsRequest&, const ListEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEvaluationsAsyncHandler;
@@ -208,12 +266,39 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
typedef Outcome<Error, Model::QueryIsvUserInfoResult> QueryIsvUserInfoOutcome;
typedef std::future<QueryIsvUserInfoOutcome> QueryIsvUserInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryIsvUserInfoRequest&, const QueryIsvUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryIsvUserInfoAsyncHandler;
typedef Outcome<Error, Model::QueryMeetingInfoResult> QueryMeetingInfoOutcome;
typedef std::future<QueryMeetingInfoOutcome> QueryMeetingInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMeetingInfoRequest&, const QueryMeetingInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMeetingInfoAsyncHandler;
typedef Outcome<Error, Model::QueryMemberRecordResult> QueryMemberRecordOutcome;
typedef std::future<QueryMemberRecordOutcome> QueryMemberRecordOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMemberRecordRequest&, const QueryMemberRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMemberRecordAsyncHandler;
typedef Outcome<Error, Model::QueryStatisticsResult> QueryStatisticsOutcome;
typedef std::future<QueryStatisticsOutcome> QueryStatisticsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryStatisticsRequest&, const QueryStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryStatisticsAsyncHandler;
typedef Outcome<Error, Model::QueryUserBuyAttributeResult> QueryUserBuyAttributeOutcome;
typedef std::future<QueryUserBuyAttributeOutcome> QueryUserBuyAttributeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserBuyAttributeRequest&, const QueryUserBuyAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserBuyAttributeAsyncHandler;
typedef Outcome<Error, Model::QueryUserEvaluationResult> QueryUserEvaluationOutcome;
typedef std::future<QueryUserEvaluationOutcome> QueryUserEvaluationOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserEvaluationRequest&, const QueryUserEvaluationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserEvaluationAsyncHandler;
typedef Outcome<Error, Model::QueryUserInfoResult> QueryUserInfoOutcome;
typedef std::future<QueryUserInfoOutcome> QueryUserInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserInfoRequest&, const QueryUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserInfoAsyncHandler;
typedef Outcome<Error, Model::QueryUserListResult> QueryUserListOutcome;
typedef std::future<QueryUserListOutcome> QueryUserListOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserListRequest&, const QueryUserListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserListAsyncHandler;
typedef Outcome<Error, Model::RegisterDeviceResult> RegisterDeviceOutcome;
typedef std::future<RegisterDeviceOutcome> RegisterDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterDeviceRequest&, const RegisterDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterDeviceAsyncHandler;
typedef Outcome<Error, Model::RegisterUemDeviceResult> RegisterUemDeviceOutcome;
typedef std::future<RegisterUemDeviceOutcome> RegisterUemDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterUemDeviceRequest&, const RegisterUemDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterUemDeviceAsyncHandler;
typedef Outcome<Error, Model::RemoveMeetingResult> RemoveMeetingOutcome;
typedef std::future<RemoveMeetingOutcome> RemoveMeetingOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RemoveMeetingRequest&, const RemoveMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveMeetingAsyncHandler;
typedef Outcome<Error, Model::StartLiveResult> StartLiveOutcome;
typedef std::future<StartLiveOutcome> StartLiveOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::StartLiveRequest&, const StartLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveAsyncHandler;
@@ -237,9 +322,21 @@ namespace AlibabaCloud
ActiveMeetingOutcome activeMeeting(const Model::ActiveMeetingRequest &request)const;
void activeMeetingAsync(const Model::ActiveMeetingRequest& request, const ActiveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ActiveMeetingOutcomeCallable activeMeetingCallable(const Model::ActiveMeetingRequest& request) const;
ActiveMeetingCodeOutcome activeMeetingCode(const Model::ActiveMeetingCodeRequest &request)const;
void activeMeetingCodeAsync(const Model::ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ActiveMeetingCodeOutcomeCallable activeMeetingCodeCallable(const Model::ActiveMeetingCodeRequest& request) const;
BatchCreateDeviceOutcome batchCreateDevice(const Model::BatchCreateDeviceRequest &request)const;
void batchCreateDeviceAsync(const Model::BatchCreateDeviceRequest& request, const BatchCreateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchCreateDeviceOutcomeCallable batchCreateDeviceCallable(const Model::BatchCreateDeviceRequest& request) const;
BatchDeleteDevicesOutcome batchDeleteDevices(const Model::BatchDeleteDevicesRequest &request)const;
void batchDeleteDevicesAsync(const Model::BatchDeleteDevicesRequest& request, const BatchDeleteDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchDeleteDevicesOutcomeCallable batchDeleteDevicesCallable(const Model::BatchDeleteDevicesRequest& request) const;
CallDeviceOutcome callDevice(const Model::CallDeviceRequest &request)const;
void callDeviceAsync(const Model::CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CallDeviceOutcomeCallable callDeviceCallable(const Model::CallDeviceRequest& request) const;
CheckMeetingCodeOutcome checkMeetingCode(const Model::CheckMeetingCodeRequest &request)const;
void checkMeetingCodeAsync(const Model::CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckMeetingCodeOutcomeCallable checkMeetingCodeCallable(const Model::CheckMeetingCodeRequest& request) const;
CreateDeviceMeetingOutcome createDeviceMeeting(const Model::CreateDeviceMeetingRequest &request)const;
void createDeviceMeetingAsync(const Model::CreateDeviceMeetingRequest& request, const CreateDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDeviceMeetingOutcomeCallable createDeviceMeetingCallable(const Model::CreateDeviceMeetingRequest& request) const;
@@ -258,6 +355,9 @@ namespace AlibabaCloud
CreateUserOutcome createUser(const Model::CreateUserRequest &request)const;
void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const;
CreateUserEvaluationsOutcome createUserEvaluations(const Model::CreateUserEvaluationsRequest &request)const;
void createUserEvaluationsAsync(const Model::CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserEvaluationsOutcomeCallable createUserEvaluationsCallable(const Model::CreateUserEvaluationsRequest& request) const;
CreateUserInternationalOutcome createUserInternational(const Model::CreateUserInternationalRequest &request)const;
void createUserInternationalAsync(const Model::CreateUserInternationalRequest& request, const CreateUserInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserInternationalOutcomeCallable createUserInternationalCallable(const Model::CreateUserInternationalRequest& request) const;
@@ -294,6 +394,9 @@ namespace AlibabaCloud
GetMeetingMemberOutcome getMeetingMember(const Model::GetMeetingMemberRequest &request)const;
void getMeetingMemberAsync(const Model::GetMeetingMemberRequest& request, const GetMeetingMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMeetingMemberOutcomeCallable getMeetingMemberCallable(const Model::GetMeetingMemberRequest& request) const;
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
@@ -309,9 +412,15 @@ namespace AlibabaCloud
JoinMeetingInternationalOutcome joinMeetingInternational(const Model::JoinMeetingInternationalRequest &request)const;
void joinMeetingInternationalAsync(const Model::JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
JoinMeetingInternationalOutcomeCallable joinMeetingInternationalCallable(const Model::JoinMeetingInternationalRequest& request) const;
ListCommoditiesOutcome listCommodities(const Model::ListCommoditiesRequest &request)const;
void listCommoditiesAsync(const Model::ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCommoditiesOutcomeCallable listCommoditiesCallable(const Model::ListCommoditiesRequest& request) const;
ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const;
void listDeviceIpAsync(const Model::ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const;
ListDevicesOutcome listDevices(const Model::ListDevicesRequest &request)const;
void listDevicesAsync(const Model::ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDevicesOutcomeCallable listDevicesCallable(const Model::ListDevicesRequest& request) const;
ListEvaluationsOutcome listEvaluations(const Model::ListEvaluationsRequest &request)const;
void listEvaluationsAsync(const Model::ListEvaluationsRequest& request, const ListEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListEvaluationsOutcomeCallable listEvaluationsCallable(const Model::ListEvaluationsRequest& request) const;
@@ -330,12 +439,39 @@ namespace AlibabaCloud
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
QueryIsvUserInfoOutcome queryIsvUserInfo(const Model::QueryIsvUserInfoRequest &request)const;
void queryIsvUserInfoAsync(const Model::QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryIsvUserInfoOutcomeCallable queryIsvUserInfoCallable(const Model::QueryIsvUserInfoRequest& request) const;
QueryMeetingInfoOutcome queryMeetingInfo(const Model::QueryMeetingInfoRequest &request)const;
void queryMeetingInfoAsync(const Model::QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMeetingInfoOutcomeCallable queryMeetingInfoCallable(const Model::QueryMeetingInfoRequest& request) const;
QueryMemberRecordOutcome queryMemberRecord(const Model::QueryMemberRecordRequest &request)const;
void queryMemberRecordAsync(const Model::QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMemberRecordOutcomeCallable queryMemberRecordCallable(const Model::QueryMemberRecordRequest& request) const;
QueryStatisticsOutcome queryStatistics(const Model::QueryStatisticsRequest &request)const;
void queryStatisticsAsync(const Model::QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryStatisticsOutcomeCallable queryStatisticsCallable(const Model::QueryStatisticsRequest& request) const;
QueryUserBuyAttributeOutcome queryUserBuyAttribute(const Model::QueryUserBuyAttributeRequest &request)const;
void queryUserBuyAttributeAsync(const Model::QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserBuyAttributeOutcomeCallable queryUserBuyAttributeCallable(const Model::QueryUserBuyAttributeRequest& request) const;
QueryUserEvaluationOutcome queryUserEvaluation(const Model::QueryUserEvaluationRequest &request)const;
void queryUserEvaluationAsync(const Model::QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserEvaluationOutcomeCallable queryUserEvaluationCallable(const Model::QueryUserEvaluationRequest& request) const;
QueryUserInfoOutcome queryUserInfo(const Model::QueryUserInfoRequest &request)const;
void queryUserInfoAsync(const Model::QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserInfoOutcomeCallable queryUserInfoCallable(const Model::QueryUserInfoRequest& request) const;
QueryUserListOutcome queryUserList(const Model::QueryUserListRequest &request)const;
void queryUserListAsync(const Model::QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserListOutcomeCallable queryUserListCallable(const Model::QueryUserListRequest& request) const;
RegisterDeviceOutcome registerDevice(const Model::RegisterDeviceRequest &request)const;
void registerDeviceAsync(const Model::RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
RegisterUemDeviceOutcomeCallable registerUemDeviceCallable(const Model::RegisterUemDeviceRequest& request) const;
RemoveMeetingOutcome removeMeeting(const Model::RemoveMeetingRequest &request)const;
void removeMeetingAsync(const Model::RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveMeetingOutcomeCallable removeMeetingCallable(const Model::RemoveMeetingRequest& request) const;
StartLiveOutcome startLive(const Model::StartLiveRequest &request)const;
void startLiveAsync(const Model::StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartLiveOutcomeCallable startLiveCallable(const Model::StartLiveRequest& request) const;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeRequest : public RpcServiceRequest
{
public:
ActiveMeetingCodeRequest();
~ActiveMeetingCodeRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
std::string getMeetingCode()const;
void setMeetingCode(const std::string& meetingCode);
private:
std::string meetingUUID_;
std::string meetingCode_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_

View File

@@ -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_ACTIVEMEETINGCODERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeResult : public ServiceResult
{
public:
struct MeetingInfo
{
std::string meetingCode;
long validDate;
};
ActiveMeetingCodeResult();
explicit ActiveMeetingCodeResult(const std::string &payload);
~ActiveMeetingCodeResult();
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_ACTIVEMEETINGCODERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT BatchDeleteDevicesRequest : public RpcServiceRequest
{
public:
BatchDeleteDevicesRequest();
~BatchDeleteDevicesRequest();
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_BATCHDELETEDEVICESREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT BatchDeleteDevicesResult : public ServiceResult
{
public:
BatchDeleteDevicesResult();
explicit BatchDeleteDevicesResult(const std::string &payload);
~BatchDeleteDevicesResult();
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_BATCHDELETEDEVICESRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CallDeviceRequest : public RpcServiceRequest
{
public:
CallDeviceRequest();
~CallDeviceRequest();
std::string getOperateUserId()const;
void setOperateUserId(const std::string& operateUserId);
bool getJoinMeetingFlag()const;
void setJoinMeetingFlag(bool joinMeetingFlag);
std::string getMeetingCode()const;
void setMeetingCode(const std::string& meetingCode);
std::string getSN()const;
void setSN(const std::string& sN);
private:
std::string operateUserId_;
bool joinMeetingFlag_;
std::string meetingCode_;
std::string sN_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICEREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CallDeviceResult : public ServiceResult
{
public:
CallDeviceResult();
explicit CallDeviceResult(const std::string &payload);
~CallDeviceResult();
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
std::string getMessageId()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
bool success_;
std::string messageId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeRequest : public RpcServiceRequest
{
public:
CheckMeetingCodeRequest();
~CheckMeetingCodeRequest();
std::string getMeetingCode()const;
void setMeetingCode(const std::string& meetingCode);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string meetingCode_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeResult : 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;
};
CheckMeetingCodeResult();
explicit CheckMeetingCodeResult(const std::string &payload);
~CheckMeetingCodeResult();
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_CHECKMEETINGCODERESULT_H_

View File

@@ -39,22 +39,10 @@ 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_;
};
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsRequest : public RpcServiceRequest
{
public:
CreateUserEvaluationsRequest();
~CreateUserEvaluationsRequest();
std::string getMemo()const;
void setMemo(const std::string& memo);
std::string getDescription()const;
void setDescription(const std::string& description);
long getCreateDate()const;
void setCreateDate(long createDate);
std::string getMemberUUID()const;
void setMemberUUID(const std::string& memberUUID);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getEvaluation()const;
void setEvaluation(const std::string& evaluation);
std::string getScore()const;
void setScore(const std::string& score);
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
std::string getAppId()const;
void setAppId(const std::string& appId);
private:
std::string memo_;
std::string description_;
long createDate_;
std::string memberUUID_;
std::string userId_;
std::string evaluation_;
std::string score_;
std::string meetingUUID_;
std::string appId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_

View File

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

View File

@@ -38,7 +38,6 @@ namespace AlibabaCloud
explicit CreateUserResult(const std::string &payload);
~CreateUserResult();
std::string getMessage()const;
std::string getUserId()const;
int getErrorCode()const;
bool getSuccess()const;
@@ -46,7 +45,6 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string message_;
std::string userId_;
int errorCode_;
bool success_;

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMembersRequest : public RpcServiceRequest
{
public:
GetMembersRequest();
~GetMembersRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
private:
std::string meetingUUID_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSREQUEST_H_

View File

@@ -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.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMembersResult : 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<MemberListItem> memberList;
std::string userId;
long createTime;
std::string meetingName;
long validTime;
};
GetMembersResult();
explicit GetMembersResult(const std::string &payload);
~GetMembersResult();
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_GETMEMBERSRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListCommoditiesRequest : public RpcServiceRequest
{
public:
ListCommoditiesRequest();
~ListCommoditiesRequest();
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string endTime_;
std::string startTime_;
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* 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_LISTCOMMODITIESRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListCommoditiesResult : public ServiceResult
{
public:
struct Data
{
struct Commodity
{
std::string endTime;
std::string startTime;
std::string instancepropertyvalue;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<Commodity> commodities;
};
ListCommoditiesResult();
explicit ListCommoditiesResult(const std::string &payload);
~ListCommoditiesResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListDevicesRequest : public RpcServiceRequest
{
public:
ListDevicesRequest();
~ListDevicesRequest();
std::string getCastScreenCode()const;
void setCastScreenCode(const std::string& castScreenCode);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getSN()const;
void setSN(const std::string& sN);
private:
std::string castScreenCode_;
int pageNumber_;
int pageSize_;
std::string sN_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_

View File

@@ -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.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListDevicesResult : public ServiceResult
{
public:
struct Data
{
struct Data
{
std::string status;
std::string castScreenCode;
std::string createTime;
std::string pictureUrl;
std::string sN;
std::string conferenceName;
std::string activationCode;
std::string conferenceCode;
};
int pageSize;
int pageNumber;
int total;
std::vector<Data> devices;
};
ListDevicesResult();
explicit ListDevicesResult(const std::string &payload);
~ListDevicesResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoRequest : public RpcServiceRequest
{
public:
QueryIsvUserInfoRequest();
~QueryIsvUserInfoRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoResult : public ServiceResult
{
public:
struct UserInfo
{
std::string groupName;
std::string userMobile;
std::string userName;
std::string userTel;
std::string userId;
long createTime;
std::string userAvatarUrl;
std::string userEmail;
std::string departName;
std::string groupId;
std::string departId;
};
QueryIsvUserInfoResult();
explicit QueryIsvUserInfoResult(const std::string &payload);
~QueryIsvUserInfoResult();
std::string getMessage()const;
UserInfo getUserInfo()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
UserInfo userInfo_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoRequest : public RpcServiceRequest
{
public:
QueryMeetingInfoRequest();
~QueryMeetingInfoRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
private:
std::string meetingUUID_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_

View File

@@ -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.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoResult : 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;
long validDate;
std::string meetingUUID;
std::vector<MemberListItem> memberList;
std::string userId;
std::string meetingName;
long createDate;
};
QueryMeetingInfoResult();
explicit QueryMeetingInfoResult(const std::string &payload);
~QueryMeetingInfoResult();
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_QUERYMEETINGINFORESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordRequest : public RpcServiceRequest
{
public:
QueryMemberRecordRequest();
~QueryMemberRecordRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
private:
std::string meetingUUID_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordResult : public ServiceResult
{
public:
struct MeetingInfo
{
struct MemberRecord
{
std::string status;
std::string memberUUID;
std::string userId;
};
std::string meetingCode;
std::string userName;
std::string meetingUUID;
std::string userId;
std::string meetingName;
std::vector<MemberRecord> memberRecordsList;
long createDate;
std::string memo;
};
QueryMemberRecordResult();
explicit QueryMemberRecordResult(const std::string &payload);
~QueryMemberRecordResult();
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_QUERYMEMBERRECORDRESULT_H_

View File

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

View File

@@ -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.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryStatisticsResult : public ServiceResult
{
public:
struct Data
{
struct Total
{
int meetingNum;
int meetingLength;
int memberNum;
};
struct DayInfoItem
{
std::string meetingNum;
std::string meetingLength;
std::string day;
std::string memberNum;
};
std::vector<DayInfoItem> dayInfo;
Total total;
};
QueryStatisticsResult();
explicit QueryStatisticsResult(const std::string &payload);
~QueryStatisticsResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* 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_QUERYUSERBUYATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeRequest : public RpcServiceRequest
{
public:
QueryUserBuyAttributeRequest();
~QueryUserBuyAttributeRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeResult : public ServiceResult
{
public:
QueryUserBuyAttributeResult();
explicit QueryUserBuyAttributeResult(const std::string &payload);
~QueryUserBuyAttributeResult();
std::string getMessage()const;
bool getUserBuyAttribute()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
bool userBuyAttribute_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* 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_QUERYUSEREVALUATIONREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationRequest : public RpcServiceRequest
{
public:
QueryUserEvaluationRequest();
~QueryUserEvaluationRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationResult : public ServiceResult
{
public:
QueryUserEvaluationResult();
explicit QueryUserEvaluationResult(const std::string &payload);
~QueryUserEvaluationResult();
std::string getMessage()const;
int getErrorCode()const;
std::string getUserEvaluation()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
std::string userEvaluation_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* 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_QUERYUSERINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoRequest : public RpcServiceRequest
{
public:
QueryUserInfoRequest();
~QueryUserInfoRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_

View File

@@ -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_QUERYUSERINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoResult : public ServiceResult
{
public:
struct UserInfo
{
int maxNum;
int memberConcurrentMax;
int curNum;
};
QueryUserInfoResult();
explicit QueryUserInfoResult(const std::string &payload);
~QueryUserInfoResult();
std::string getMessage()const;
UserInfo getUserInfo()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
UserInfo userInfo_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFORESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListRequest : public RpcServiceRequest
{
public:
QueryUserListRequest();
~QueryUserListRequest();
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNum()const;
void setPageNum(int pageNum);
private:
int pageSize_;
int pageNum_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListResult : public ServiceResult
{
public:
struct Data
{
struct UserInfo
{
std::string groupName;
std::string userMobile;
std::string userName;
std::string userTel;
long createTime;
std::string userAvatarUrl;
std::string groupName1;
std::string userEmail;
std::string departName;
std::string groupId;
std::string departId;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<UserInfo> userInfos;
};
QueryUserListResult();
explicit QueryUserListResult(const std::string &payload);
~QueryUserListResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingRequest : public RpcServiceRequest
{
public:
RemoveMeetingRequest();
~RemoveMeetingRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
private:
std::string meetingUUID_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingResult : public ServiceResult
{
public:
RemoveMeetingResult();
explicit RemoveMeetingResult(const std::string &payload);
~RemoveMeetingResult();
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_REMOVEMEETINGRESULT_H_

View File

@@ -123,6 +123,42 @@ AliyuncvcClient::ActiveMeetingOutcomeCallable AliyuncvcClient::activeMeetingCall
return task->get_future();
}
AliyuncvcClient::ActiveMeetingCodeOutcome AliyuncvcClient::activeMeetingCode(const ActiveMeetingCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ActiveMeetingCodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ActiveMeetingCodeOutcome(ActiveMeetingCodeResult(outcome.result()));
else
return ActiveMeetingCodeOutcome(outcome.error());
}
void AliyuncvcClient::activeMeetingCodeAsync(const ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, activeMeetingCode(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ActiveMeetingCodeOutcomeCallable AliyuncvcClient::activeMeetingCodeCallable(const ActiveMeetingCodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ActiveMeetingCodeOutcome()>>(
[this, request]()
{
return this->activeMeetingCode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::BatchCreateDeviceOutcome AliyuncvcClient::batchCreateDevice(const BatchCreateDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -159,6 +195,114 @@ AliyuncvcClient::BatchCreateDeviceOutcomeCallable AliyuncvcClient::batchCreateDe
return task->get_future();
}
AliyuncvcClient::BatchDeleteDevicesOutcome AliyuncvcClient::batchDeleteDevices(const BatchDeleteDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BatchDeleteDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BatchDeleteDevicesOutcome(BatchDeleteDevicesResult(outcome.result()));
else
return BatchDeleteDevicesOutcome(outcome.error());
}
void AliyuncvcClient::batchDeleteDevicesAsync(const BatchDeleteDevicesRequest& request, const BatchDeleteDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, batchDeleteDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::BatchDeleteDevicesOutcomeCallable AliyuncvcClient::batchDeleteDevicesCallable(const BatchDeleteDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BatchDeleteDevicesOutcome()>>(
[this, request]()
{
return this->batchDeleteDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CallDeviceOutcome AliyuncvcClient::callDevice(const CallDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CallDeviceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CallDeviceOutcome(CallDeviceResult(outcome.result()));
else
return CallDeviceOutcome(outcome.error());
}
void AliyuncvcClient::callDeviceAsync(const CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, callDevice(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CallDeviceOutcomeCallable AliyuncvcClient::callDeviceCallable(const CallDeviceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CallDeviceOutcome()>>(
[this, request]()
{
return this->callDevice(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CheckMeetingCodeOutcome AliyuncvcClient::checkMeetingCode(const CheckMeetingCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CheckMeetingCodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CheckMeetingCodeOutcome(CheckMeetingCodeResult(outcome.result()));
else
return CheckMeetingCodeOutcome(outcome.error());
}
void AliyuncvcClient::checkMeetingCodeAsync(const CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, checkMeetingCode(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CheckMeetingCodeOutcomeCallable AliyuncvcClient::checkMeetingCodeCallable(const CheckMeetingCodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CheckMeetingCodeOutcome()>>(
[this, request]()
{
return this->checkMeetingCode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CreateDeviceMeetingOutcome AliyuncvcClient::createDeviceMeeting(const CreateDeviceMeetingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -375,6 +519,42 @@ AliyuncvcClient::CreateUserOutcomeCallable AliyuncvcClient::createUserCallable(c
return task->get_future();
}
AliyuncvcClient::CreateUserEvaluationsOutcome AliyuncvcClient::createUserEvaluations(const CreateUserEvaluationsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateUserEvaluationsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateUserEvaluationsOutcome(CreateUserEvaluationsResult(outcome.result()));
else
return CreateUserEvaluationsOutcome(outcome.error());
}
void AliyuncvcClient::createUserEvaluationsAsync(const CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createUserEvaluations(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CreateUserEvaluationsOutcomeCallable AliyuncvcClient::createUserEvaluationsCallable(const CreateUserEvaluationsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateUserEvaluationsOutcome()>>(
[this, request]()
{
return this->createUserEvaluations(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CreateUserInternationalOutcome AliyuncvcClient::createUserInternational(const CreateUserInternationalRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -807,6 +987,42 @@ AliyuncvcClient::GetMeetingMemberOutcomeCallable AliyuncvcClient::getMeetingMemb
return task->get_future();
}
AliyuncvcClient::GetMembersOutcome AliyuncvcClient::getMembers(const GetMembersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetMembersOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetMembersOutcome(GetMembersResult(outcome.result()));
else
return GetMembersOutcome(outcome.error());
}
void AliyuncvcClient::getMembersAsync(const GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getMembers(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(const GetMembersRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetMembersOutcome()>>(
[this, request]()
{
return this->getMembers(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -987,6 +1203,42 @@ AliyuncvcClient::JoinMeetingInternationalOutcomeCallable AliyuncvcClient::joinMe
return task->get_future();
}
AliyuncvcClient::ListCommoditiesOutcome AliyuncvcClient::listCommodities(const ListCommoditiesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListCommoditiesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListCommoditiesOutcome(ListCommoditiesResult(outcome.result()));
else
return ListCommoditiesOutcome(outcome.error());
}
void AliyuncvcClient::listCommoditiesAsync(const ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listCommodities(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ListCommoditiesOutcomeCallable AliyuncvcClient::listCommoditiesCallable(const ListCommoditiesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListCommoditiesOutcome()>>(
[this, request]()
{
return this->listCommodities(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1023,6 +1275,42 @@ AliyuncvcClient::ListDeviceIpOutcomeCallable AliyuncvcClient::listDeviceIpCallab
return task->get_future();
}
AliyuncvcClient::ListDevicesOutcome AliyuncvcClient::listDevices(const ListDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListDevicesOutcome(ListDevicesResult(outcome.result()));
else
return ListDevicesOutcome(outcome.error());
}
void AliyuncvcClient::listDevicesAsync(const ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ListDevicesOutcomeCallable AliyuncvcClient::listDevicesCallable(const ListDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListDevicesOutcome()>>(
[this, request]()
{
return this->listDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ListEvaluationsOutcome AliyuncvcClient::listEvaluations(const ListEvaluationsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1239,6 +1527,294 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie
return task->get_future();
}
AliyuncvcClient::QueryIsvUserInfoOutcome AliyuncvcClient::queryIsvUserInfo(const QueryIsvUserInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryIsvUserInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryIsvUserInfoOutcome(QueryIsvUserInfoResult(outcome.result()));
else
return QueryIsvUserInfoOutcome(outcome.error());
}
void AliyuncvcClient::queryIsvUserInfoAsync(const QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryIsvUserInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryIsvUserInfoOutcomeCallable AliyuncvcClient::queryIsvUserInfoCallable(const QueryIsvUserInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryIsvUserInfoOutcome()>>(
[this, request]()
{
return this->queryIsvUserInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryMeetingInfoOutcome AliyuncvcClient::queryMeetingInfo(const QueryMeetingInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryMeetingInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryMeetingInfoOutcome(QueryMeetingInfoResult(outcome.result()));
else
return QueryMeetingInfoOutcome(outcome.error());
}
void AliyuncvcClient::queryMeetingInfoAsync(const QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryMeetingInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryMeetingInfoOutcomeCallable AliyuncvcClient::queryMeetingInfoCallable(const QueryMeetingInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryMeetingInfoOutcome()>>(
[this, request]()
{
return this->queryMeetingInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryMemberRecordOutcome AliyuncvcClient::queryMemberRecord(const QueryMemberRecordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryMemberRecordOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryMemberRecordOutcome(QueryMemberRecordResult(outcome.result()));
else
return QueryMemberRecordOutcome(outcome.error());
}
void AliyuncvcClient::queryMemberRecordAsync(const QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryMemberRecord(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryMemberRecordOutcomeCallable AliyuncvcClient::queryMemberRecordCallable(const QueryMemberRecordRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryMemberRecordOutcome()>>(
[this, request]()
{
return this->queryMemberRecord(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryStatisticsOutcome AliyuncvcClient::queryStatistics(const QueryStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryStatisticsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryStatisticsOutcome(QueryStatisticsResult(outcome.result()));
else
return QueryStatisticsOutcome(outcome.error());
}
void AliyuncvcClient::queryStatisticsAsync(const QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryStatistics(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryStatisticsOutcomeCallable AliyuncvcClient::queryStatisticsCallable(const QueryStatisticsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryStatisticsOutcome()>>(
[this, request]()
{
return this->queryStatistics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserBuyAttributeOutcome AliyuncvcClient::queryUserBuyAttribute(const QueryUserBuyAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserBuyAttributeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserBuyAttributeOutcome(QueryUserBuyAttributeResult(outcome.result()));
else
return QueryUserBuyAttributeOutcome(outcome.error());
}
void AliyuncvcClient::queryUserBuyAttributeAsync(const QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserBuyAttribute(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserBuyAttributeOutcomeCallable AliyuncvcClient::queryUserBuyAttributeCallable(const QueryUserBuyAttributeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserBuyAttributeOutcome()>>(
[this, request]()
{
return this->queryUserBuyAttribute(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserEvaluationOutcome AliyuncvcClient::queryUserEvaluation(const QueryUserEvaluationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserEvaluationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserEvaluationOutcome(QueryUserEvaluationResult(outcome.result()));
else
return QueryUserEvaluationOutcome(outcome.error());
}
void AliyuncvcClient::queryUserEvaluationAsync(const QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserEvaluation(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserEvaluationOutcomeCallable AliyuncvcClient::queryUserEvaluationCallable(const QueryUserEvaluationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserEvaluationOutcome()>>(
[this, request]()
{
return this->queryUserEvaluation(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserInfoOutcome AliyuncvcClient::queryUserInfo(const QueryUserInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserInfoOutcome(QueryUserInfoResult(outcome.result()));
else
return QueryUserInfoOutcome(outcome.error());
}
void AliyuncvcClient::queryUserInfoAsync(const QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserInfoOutcomeCallable AliyuncvcClient::queryUserInfoCallable(const QueryUserInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserInfoOutcome()>>(
[this, request]()
{
return this->queryUserInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserListOutcome AliyuncvcClient::queryUserList(const QueryUserListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserListOutcome(QueryUserListResult(outcome.result()));
else
return QueryUserListOutcome(outcome.error());
}
void AliyuncvcClient::queryUserListAsync(const QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserList(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserListOutcomeCallable AliyuncvcClient::queryUserListCallable(const QueryUserListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserListOutcome()>>(
[this, request]()
{
return this->queryUserList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1311,6 +1887,42 @@ AliyuncvcClient::RegisterUemDeviceOutcomeCallable AliyuncvcClient::registerUemDe
return task->get_future();
}
AliyuncvcClient::RemoveMeetingOutcome AliyuncvcClient::removeMeeting(const RemoveMeetingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RemoveMeetingOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RemoveMeetingOutcome(RemoveMeetingResult(outcome.result()));
else
return RemoveMeetingOutcome(outcome.error());
}
void AliyuncvcClient::removeMeetingAsync(const RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, removeMeeting(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::RemoveMeetingOutcomeCallable AliyuncvcClient::removeMeetingCallable(const RemoveMeetingRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RemoveMeetingOutcome()>>(
[this, request]()
{
return this->removeMeeting(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ActiveMeetingCodeRequest;
ActiveMeetingCodeRequest::ActiveMeetingCodeRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "ActiveMeetingCode")
{
setMethod(HttpRequest::Method::Post);
}
ActiveMeetingCodeRequest::~ActiveMeetingCodeRequest()
{}
std::string ActiveMeetingCodeRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void ActiveMeetingCodeRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setParameter("MeetingUUID", meetingUUID);
}
std::string ActiveMeetingCodeRequest::getMeetingCode()const
{
return meetingCode_;
}
void ActiveMeetingCodeRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setParameter("MeetingCode", meetingCode);
}

View File

@@ -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 <alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
ActiveMeetingCodeResult::ActiveMeetingCodeResult() :
ServiceResult()
{}
ActiveMeetingCodeResult::ActiveMeetingCodeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ActiveMeetingCodeResult::~ActiveMeetingCodeResult()
{}
void ActiveMeetingCodeResult::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["ValidDate"].isNull())
meetingInfo_.validDate = std::stol(meetingInfoNode["ValidDate"].asString());
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].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";
}
ActiveMeetingCodeResult::MeetingInfo ActiveMeetingCodeResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string ActiveMeetingCodeResult::getMessage()const
{
return message_;
}
int ActiveMeetingCodeResult::getErrorCode()const
{
return errorCode_;
}
bool ActiveMeetingCodeResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/BatchDeleteDevicesRequest.h>
using AlibabaCloud::Aliyuncvc::Model::BatchDeleteDevicesRequest;
BatchDeleteDevicesRequest::BatchDeleteDevicesRequest() :
RpcServiceRequest("aliyuncvc", "2020-03-30", "BatchDeleteDevices")
{
setMethod(HttpRequest::Method::Post);
}
BatchDeleteDevicesRequest::~BatchDeleteDevicesRequest()
{}
std::string BatchDeleteDevicesRequest::getGroupId()const
{
return groupId_;
}
void BatchDeleteDevicesRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setBodyParameter("GroupId", groupId);
}
std::string BatchDeleteDevicesRequest::getSN()const
{
return sN_;
}
void BatchDeleteDevicesRequest::setSN(const std::string& sN)
{
sN_ = sN;
setBodyParameter("SN", sN);
}

View File

@@ -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 <alibabacloud/aliyuncvc/model/BatchDeleteDevicesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
BatchDeleteDevicesResult::BatchDeleteDevicesResult() :
ServiceResult()
{}
BatchDeleteDevicesResult::BatchDeleteDevicesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchDeleteDevicesResult::~BatchDeleteDevicesResult()
{}
void BatchDeleteDevicesResult::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 BatchDeleteDevicesResult::getMessage()const
{
return message_;
}
int BatchDeleteDevicesResult::getErrorCode()const
{
return errorCode_;
}
bool BatchDeleteDevicesResult::getSuccess()const
{
return success_;
}

View File

@@ -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 <alibabacloud/aliyuncvc/model/CallDeviceRequest.h>
using AlibabaCloud::Aliyuncvc::Model::CallDeviceRequest;
CallDeviceRequest::CallDeviceRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "CallDevice")
{
setMethod(HttpRequest::Method::Post);
}
CallDeviceRequest::~CallDeviceRequest()
{}
std::string CallDeviceRequest::getOperateUserId()const
{
return operateUserId_;
}
void CallDeviceRequest::setOperateUserId(const std::string& operateUserId)
{
operateUserId_ = operateUserId;
setBodyParameter("OperateUserId", operateUserId);
}
bool CallDeviceRequest::getJoinMeetingFlag()const
{
return joinMeetingFlag_;
}
void CallDeviceRequest::setJoinMeetingFlag(bool joinMeetingFlag)
{
joinMeetingFlag_ = joinMeetingFlag;
setParameter("JoinMeetingFlag", joinMeetingFlag ? "true" : "false");
}
std::string CallDeviceRequest::getMeetingCode()const
{
return meetingCode_;
}
void CallDeviceRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setBodyParameter("MeetingCode", meetingCode);
}
std::string CallDeviceRequest::getSN()const
{
return sN_;
}
void CallDeviceRequest::setSN(const std::string& sN)
{
sN_ = sN;
setBodyParameter("SN", sN);
}

View File

@@ -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 <alibabacloud/aliyuncvc/model/CallDeviceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
CallDeviceResult::CallDeviceResult() :
ServiceResult()
{}
CallDeviceResult::CallDeviceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CallDeviceResult::~CallDeviceResult()
{}
void CallDeviceResult::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["MessageId"].isNull())
messageId_ = value["MessageId"].asString();
}
std::string CallDeviceResult::getMessage()const
{
return message_;
}
int CallDeviceResult::getErrorCode()const
{
return errorCode_;
}
bool CallDeviceResult::getSuccess()const
{
return success_;
}
std::string CallDeviceResult::getMessageId()const
{
return messageId_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h>
using AlibabaCloud::Aliyuncvc::Model::CheckMeetingCodeRequest;
CheckMeetingCodeRequest::CheckMeetingCodeRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "CheckMeetingCode")
{
setMethod(HttpRequest::Method::Post);
}
CheckMeetingCodeRequest::~CheckMeetingCodeRequest()
{}
std::string CheckMeetingCodeRequest::getMeetingCode()const
{
return meetingCode_;
}
void CheckMeetingCodeRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setBodyParameter("MeetingCode", meetingCode);
}
std::string CheckMeetingCodeRequest::getUserId()const
{
return userId_;
}
void CheckMeetingCodeRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setBodyParameter("UserId", userId);
}

View File

@@ -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 <alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
CheckMeetingCodeResult::CheckMeetingCodeResult() :
ServiceResult()
{}
CheckMeetingCodeResult::CheckMeetingCodeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckMeetingCodeResult::~CheckMeetingCodeResult()
{}
void CheckMeetingCodeResult::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();
}
CheckMeetingCodeResult::MeetingInfo CheckMeetingCodeResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string CheckMeetingCodeResult::getMessage()const
{
return message_;
}
int CheckMeetingCodeResult::getErrorCode()const
{
return errorCode_;
}
bool CheckMeetingCodeResult::getSuccess()const
{
return success_;
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Aliyuncvc::Model::CreateMeetingRequest;
CreateMeetingRequest::CreateMeetingRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateMeeting")
RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateMeeting")
{
setMethod(HttpRequest::Method::Post);
}
@@ -49,47 +49,3 @@ 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);
}

View File

@@ -0,0 +1,128 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h>
using AlibabaCloud::Aliyuncvc::Model::CreateUserEvaluationsRequest;
CreateUserEvaluationsRequest::CreateUserEvaluationsRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateUserEvaluations")
{
setMethod(HttpRequest::Method::Post);
}
CreateUserEvaluationsRequest::~CreateUserEvaluationsRequest()
{}
std::string CreateUserEvaluationsRequest::getMemo()const
{
return memo_;
}
void CreateUserEvaluationsRequest::setMemo(const std::string& memo)
{
memo_ = memo;
setParameter("Memo", memo);
}
std::string CreateUserEvaluationsRequest::getDescription()const
{
return description_;
}
void CreateUserEvaluationsRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
long CreateUserEvaluationsRequest::getCreateDate()const
{
return createDate_;
}
void CreateUserEvaluationsRequest::setCreateDate(long createDate)
{
createDate_ = createDate;
setParameter("CreateDate", std::to_string(createDate));
}
std::string CreateUserEvaluationsRequest::getMemberUUID()const
{
return memberUUID_;
}
void CreateUserEvaluationsRequest::setMemberUUID(const std::string& memberUUID)
{
memberUUID_ = memberUUID;
setParameter("MemberUUID", memberUUID);
}
std::string CreateUserEvaluationsRequest::getUserId()const
{
return userId_;
}
void CreateUserEvaluationsRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setParameter("UserId", userId);
}
std::string CreateUserEvaluationsRequest::getEvaluation()const
{
return evaluation_;
}
void CreateUserEvaluationsRequest::setEvaluation(const std::string& evaluation)
{
evaluation_ = evaluation;
setParameter("Evaluation", evaluation);
}
std::string CreateUserEvaluationsRequest::getScore()const
{
return score_;
}
void CreateUserEvaluationsRequest::setScore(const std::string& score)
{
score_ = score;
setParameter("Score", score);
}
std::string CreateUserEvaluationsRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void CreateUserEvaluationsRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setParameter("MeetingUUID", meetingUUID);
}
std::string CreateUserEvaluationsRequest::getAppId()const
{
return appId_;
}
void CreateUserEvaluationsRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}

View File

@@ -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 <alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
CreateUserEvaluationsResult::CreateUserEvaluationsResult() :
ServiceResult()
{}
CreateUserEvaluationsResult::CreateUserEvaluationsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateUserEvaluationsResult::~CreateUserEvaluationsResult()
{}
void CreateUserEvaluationsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string CreateUserEvaluationsResult::getMessage()const
{
return message_;
}
std::string CreateUserEvaluationsResult::getErrorCode()const
{
return errorCode_;
}
bool CreateUserEvaluationsResult::getSuccess()const
{
return success_;
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Aliyuncvc::Model::CreateUserRequest;
CreateUserRequest::CreateUserRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateUser")
RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateUser")
{
setMethod(HttpRequest::Method::Post);
}

View File

@@ -45,8 +45,6 @@ void CreateUserResult::parse(const std::string &payload)
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["UserId"].isNull())
userId_ = value["UserId"].asString();
}
@@ -55,11 +53,6 @@ std::string CreateUserResult::getMessage()const
return message_;
}
std::string CreateUserResult::getUserId()const
{
return userId_;
}
int CreateUserResult::getErrorCode()const
{
return errorCode_;

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Aliyuncvc::Model::DeleteUserRequest;
DeleteUserRequest::DeleteUserRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "DeleteUser")
RpcServiceRequest("aliyuncvc", "2019-09-19", "DeleteUser")
{
setMethod(HttpRequest::Method::Post);
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/GetMembersRequest.h>
using AlibabaCloud::Aliyuncvc::Model::GetMembersRequest;
GetMembersRequest::GetMembersRequest() :
RpcServiceRequest("aliyuncvc", "2020-03-30", "GetMembers")
{
setMethod(HttpRequest::Method::Post);
}
GetMembersRequest::~GetMembersRequest()
{}
std::string GetMembersRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void GetMembersRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setBodyParameter("MeetingUUID", meetingUUID);
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/GetMembersResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
GetMembersResult::GetMembersResult() :
ServiceResult()
{}
GetMembersResult::GetMembersResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMembersResult::~GetMembersResult()
{}
void GetMembersResult::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();
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";
}
GetMembersResult::MeetingInfo GetMembersResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string GetMembersResult::getMessage()const
{
return message_;
}
int GetMembersResult::getErrorCode()const
{
return errorCode_;
}
bool GetMembersResult::getSuccess()const
{
return success_;
}

View File

@@ -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 <alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ListCommoditiesRequest;
ListCommoditiesRequest::ListCommoditiesRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "ListCommodities")
{
setMethod(HttpRequest::Method::Post);
}
ListCommoditiesRequest::~ListCommoditiesRequest()
{}
std::string ListCommoditiesRequest::getEndTime()const
{
return endTime_;
}
void ListCommoditiesRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string ListCommoditiesRequest::getStartTime()const
{
return startTime_;
}
void ListCommoditiesRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
int ListCommoditiesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListCommoditiesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int ListCommoditiesRequest::getPageSize()const
{
return pageSize_;
}
void ListCommoditiesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -0,0 +1,89 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ListCommoditiesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
ListCommoditiesResult::ListCommoditiesResult() :
ServiceResult()
{}
ListCommoditiesResult::ListCommoditiesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListCommoditiesResult::~ListCommoditiesResult()
{}
void ListCommoditiesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allCommoditiesNode = dataNode["Commodities"]["Commodity"];
for (auto dataNodeCommoditiesCommodity : allCommoditiesNode)
{
Data::Commodity commodityObject;
if(!dataNodeCommoditiesCommodity["EndTime"].isNull())
commodityObject.endTime = dataNodeCommoditiesCommodity["EndTime"].asString();
if(!dataNodeCommoditiesCommodity["Instancepropertyvalue"].isNull())
commodityObject.instancepropertyvalue = dataNodeCommoditiesCommodity["Instancepropertyvalue"].asString();
if(!dataNodeCommoditiesCommodity["StartTime"].isNull())
commodityObject.startTime = dataNodeCommoditiesCommodity["StartTime"].asString();
data_.commodities.push_back(commodityObject);
}
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 ListCommoditiesResult::getMessage()const
{
return message_;
}
ListCommoditiesResult::Data ListCommoditiesResult::getData()const
{
return data_;
}
int ListCommoditiesResult::getErrorCode()const
{
return errorCode_;
}
bool ListCommoditiesResult::getSuccess()const
{
return success_;
}

View File

@@ -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 <alibabacloud/aliyuncvc/model/ListDevicesRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ListDevicesRequest;
ListDevicesRequest::ListDevicesRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "ListDevices")
{
setMethod(HttpRequest::Method::Post);
}
ListDevicesRequest::~ListDevicesRequest()
{}
std::string ListDevicesRequest::getCastScreenCode()const
{
return castScreenCode_;
}
void ListDevicesRequest::setCastScreenCode(const std::string& castScreenCode)
{
castScreenCode_ = castScreenCode;
setParameter("CastScreenCode", castScreenCode);
}
int ListDevicesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListDevicesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int ListDevicesRequest::getPageSize()const
{
return pageSize_;
}
void ListDevicesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListDevicesRequest::getSN()const
{
return sN_;
}
void ListDevicesRequest::setSN(const std::string& sN)
{
sN_ = sN;
setParameter("SN", sN);
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ListDevicesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
ListDevicesResult::ListDevicesResult() :
ServiceResult()
{}
ListDevicesResult::ListDevicesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListDevicesResult::~ListDevicesResult()
{}
void ListDevicesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["Total"].isNull())
data_.total = std::stoi(dataNode["Total"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allDevicesNode = dataNode["Devices"]["data"];
for (auto dataNodeDevicesdata : allDevicesNode)
{
Data::Data dataObject;
if(!dataNodeDevicesdata["ActivationCode"].isNull())
dataObject.activationCode = dataNodeDevicesdata["ActivationCode"].asString();
if(!dataNodeDevicesdata["ConferenceCode"].isNull())
dataObject.conferenceCode = dataNodeDevicesdata["ConferenceCode"].asString();
if(!dataNodeDevicesdata["ConferenceName"].isNull())
dataObject.conferenceName = dataNodeDevicesdata["ConferenceName"].asString();
if(!dataNodeDevicesdata["CreateTime"].isNull())
dataObject.createTime = dataNodeDevicesdata["CreateTime"].asString();
if(!dataNodeDevicesdata["PictureUrl"].isNull())
dataObject.pictureUrl = dataNodeDevicesdata["PictureUrl"].asString();
if(!dataNodeDevicesdata["SN"].isNull())
dataObject.sN = dataNodeDevicesdata["SN"].asString();
if(!dataNodeDevicesdata["Status"].isNull())
dataObject.status = dataNodeDevicesdata["Status"].asString();
if(!dataNodeDevicesdata["CastScreenCode"].isNull())
dataObject.castScreenCode = dataNodeDevicesdata["CastScreenCode"].asString();
data_.devices.push_back(dataObject);
}
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 ListDevicesResult::getMessage()const
{
return message_;
}
ListDevicesResult::Data ListDevicesResult::getData()const
{
return data_;
}
int ListDevicesResult::getErrorCode()const
{
return errorCode_;
}
bool ListDevicesResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryIsvUserInfoRequest;
QueryIsvUserInfoRequest::QueryIsvUserInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryIsvUserInfo")
{
setMethod(HttpRequest::Method::Post);
}
QueryIsvUserInfoRequest::~QueryIsvUserInfoRequest()
{}
std::string QueryIsvUserInfoRequest::getUserId()const
{
return userId_;
}
void QueryIsvUserInfoRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setParameter("UserId", userId);
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryIsvUserInfoResult::QueryIsvUserInfoResult() :
ServiceResult()
{}
QueryIsvUserInfoResult::QueryIsvUserInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryIsvUserInfoResult::~QueryIsvUserInfoResult()
{}
void QueryIsvUserInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto userInfoNode = value["UserInfo"];
if(!userInfoNode["UserName"].isNull())
userInfo_.userName = userInfoNode["UserName"].asString();
if(!userInfoNode["CreateTime"].isNull())
userInfo_.createTime = std::stol(userInfoNode["CreateTime"].asString());
if(!userInfoNode["GroupId"].isNull())
userInfo_.groupId = userInfoNode["GroupId"].asString();
if(!userInfoNode["GroupName"].isNull())
userInfo_.groupName = userInfoNode["GroupName"].asString();
if(!userInfoNode["UserId"].isNull())
userInfo_.userId = userInfoNode["UserId"].asString();
if(!userInfoNode["UserTel"].isNull())
userInfo_.userTel = userInfoNode["UserTel"].asString();
if(!userInfoNode["UserEmail"].isNull())
userInfo_.userEmail = userInfoNode["UserEmail"].asString();
if(!userInfoNode["UserMobile"].isNull())
userInfo_.userMobile = userInfoNode["UserMobile"].asString();
if(!userInfoNode["UserAvatarUrl"].isNull())
userInfo_.userAvatarUrl = userInfoNode["UserAvatarUrl"].asString();
if(!userInfoNode["DepartId"].isNull())
userInfo_.departId = userInfoNode["DepartId"].asString();
if(!userInfoNode["DepartName"].isNull())
userInfo_.departName = userInfoNode["DepartName"].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 QueryIsvUserInfoResult::getMessage()const
{
return message_;
}
QueryIsvUserInfoResult::UserInfo QueryIsvUserInfoResult::getUserInfo()const
{
return userInfo_;
}
int QueryIsvUserInfoResult::getErrorCode()const
{
return errorCode_;
}
bool QueryIsvUserInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryMeetingInfoRequest;
QueryMeetingInfoRequest::QueryMeetingInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMeetingInfo")
{
setMethod(HttpRequest::Method::Post);
}
QueryMeetingInfoRequest::~QueryMeetingInfoRequest()
{}
std::string QueryMeetingInfoRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void QueryMeetingInfoRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setBodyParameter("MeetingUUID", meetingUUID);
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryMeetingInfoResult::QueryMeetingInfoResult() :
ServiceResult()
{}
QueryMeetingInfoResult::QueryMeetingInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryMeetingInfoResult::~QueryMeetingInfoResult()
{}
void QueryMeetingInfoResult::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["ValidDate"].isNull())
meetingInfo_.validDate = std::stol(meetingInfoNode["ValidDate"].asString());
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["CreateDate"].isNull())
meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString());
if(!meetingInfoNode["UserId"].isNull())
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].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";
}
QueryMeetingInfoResult::MeetingInfo QueryMeetingInfoResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string QueryMeetingInfoResult::getMessage()const
{
return message_;
}
int QueryMeetingInfoResult::getErrorCode()const
{
return errorCode_;
}
bool QueryMeetingInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryMemberRecordRequest;
QueryMemberRecordRequest::QueryMemberRecordRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMemberRecord")
{
setMethod(HttpRequest::Method::Post);
}
QueryMemberRecordRequest::~QueryMemberRecordRequest()
{}
std::string QueryMemberRecordRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void QueryMemberRecordRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setParameter("MeetingUUID", meetingUUID);
}

View File

@@ -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.
*/
#include <alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryMemberRecordResult::QueryMemberRecordResult() :
ServiceResult()
{}
QueryMemberRecordResult::QueryMemberRecordResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryMemberRecordResult::~QueryMemberRecordResult()
{}
void QueryMemberRecordResult::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["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["Memo"].isNull())
meetingInfo_.memo = meetingInfoNode["Memo"].asString();
if(!meetingInfoNode["UserName"].isNull())
meetingInfo_.userName = meetingInfoNode["UserName"].asString();
if(!meetingInfoNode["CreateDate"].isNull())
meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString());
if(!meetingInfoNode["UserId"].isNull())
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
auto allMemberRecordsListNode = meetingInfoNode["MemberRecordsList"]["MemberRecord"];
for (auto meetingInfoNodeMemberRecordsListMemberRecord : allMemberRecordsListNode)
{
MeetingInfo::MemberRecord memberRecordObject;
if(!meetingInfoNodeMemberRecordsListMemberRecord["MemberUUID"].isNull())
memberRecordObject.memberUUID = meetingInfoNodeMemberRecordsListMemberRecord["MemberUUID"].asString();
if(!meetingInfoNodeMemberRecordsListMemberRecord["UserId"].isNull())
memberRecordObject.userId = meetingInfoNodeMemberRecordsListMemberRecord["UserId"].asString();
if(!meetingInfoNodeMemberRecordsListMemberRecord["Status"].isNull())
memberRecordObject.status = meetingInfoNodeMemberRecordsListMemberRecord["Status"].asString();
meetingInfo_.memberRecordsList.push_back(memberRecordObject);
}
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";
}
QueryMemberRecordResult::MeetingInfo QueryMemberRecordResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string QueryMemberRecordResult::getMessage()const
{
return message_;
}
int QueryMemberRecordResult::getErrorCode()const
{
return errorCode_;
}
bool QueryMemberRecordResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryStatisticsRequest;
QueryStatisticsRequest::QueryStatisticsRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryStatistics")
{
setMethod(HttpRequest::Method::Post);
}
QueryStatisticsRequest::~QueryStatisticsRequest()
{}
std::string QueryStatisticsRequest::getEndTime()const
{
return endTime_;
}
void QueryStatisticsRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string QueryStatisticsRequest::getStartTime()const
{
return startTime_;
}
void QueryStatisticsRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}

View File

@@ -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 <alibabacloud/aliyuncvc/model/QueryStatisticsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryStatisticsResult::QueryStatisticsResult() :
ServiceResult()
{}
QueryStatisticsResult::QueryStatisticsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryStatisticsResult::~QueryStatisticsResult()
{}
void QueryStatisticsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
auto allDayInfoNode = dataNode["DayInfo"]["DayInfoItem"];
for (auto dataNodeDayInfoDayInfoItem : allDayInfoNode)
{
Data::DayInfoItem dayInfoItemObject;
if(!dataNodeDayInfoDayInfoItem["MeetingNum"].isNull())
dayInfoItemObject.meetingNum = dataNodeDayInfoDayInfoItem["MeetingNum"].asString();
if(!dataNodeDayInfoDayInfoItem["MeetingLength"].isNull())
dayInfoItemObject.meetingLength = dataNodeDayInfoDayInfoItem["MeetingLength"].asString();
if(!dataNodeDayInfoDayInfoItem["MemberNum"].isNull())
dayInfoItemObject.memberNum = dataNodeDayInfoDayInfoItem["MemberNum"].asString();
if(!dataNodeDayInfoDayInfoItem["Day"].isNull())
dayInfoItemObject.day = dataNodeDayInfoDayInfoItem["Day"].asString();
data_.dayInfo.push_back(dayInfoItemObject);
}
auto totalNode = dataNode["Total"];
if(!totalNode["MeetingNum"].isNull())
data_.total.meetingNum = std::stoi(totalNode["MeetingNum"].asString());
if(!totalNode["MeetingLength"].isNull())
data_.total.meetingLength = std::stoi(totalNode["MeetingLength"].asString());
if(!totalNode["MemberNum"].isNull())
data_.total.memberNum = std::stoi(totalNode["MemberNum"].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 QueryStatisticsResult::getMessage()const
{
return message_;
}
QueryStatisticsResult::Data QueryStatisticsResult::getData()const
{
return data_;
}
int QueryStatisticsResult::getErrorCode()const
{
return errorCode_;
}
bool QueryStatisticsResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,29 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryUserBuyAttributeRequest;
QueryUserBuyAttributeRequest::QueryUserBuyAttributeRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserBuyAttribute")
{
setMethod(HttpRequest::Method::Post);
}
QueryUserBuyAttributeRequest::~QueryUserBuyAttributeRequest()
{}

View File

@@ -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 <alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryUserBuyAttributeResult::QueryUserBuyAttributeResult() :
ServiceResult()
{}
QueryUserBuyAttributeResult::QueryUserBuyAttributeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryUserBuyAttributeResult::~QueryUserBuyAttributeResult()
{}
void QueryUserBuyAttributeResult::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["UserBuyAttribute"].isNull())
userBuyAttribute_ = value["UserBuyAttribute"].asString() == "true";
}
std::string QueryUserBuyAttributeResult::getMessage()const
{
return message_;
}
bool QueryUserBuyAttributeResult::getUserBuyAttribute()const
{
return userBuyAttribute_;
}
int QueryUserBuyAttributeResult::getErrorCode()const
{
return errorCode_;
}
bool QueryUserBuyAttributeResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,29 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryUserEvaluationRequest;
QueryUserEvaluationRequest::QueryUserEvaluationRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserEvaluation")
{
setMethod(HttpRequest::Method::Post);
}
QueryUserEvaluationRequest::~QueryUserEvaluationRequest()
{}

View File

@@ -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 <alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryUserEvaluationResult::QueryUserEvaluationResult() :
ServiceResult()
{}
QueryUserEvaluationResult::QueryUserEvaluationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryUserEvaluationResult::~QueryUserEvaluationResult()
{}
void QueryUserEvaluationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["UserEvaluation"].isNull())
userEvaluation_ = value["UserEvaluation"].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 QueryUserEvaluationResult::getMessage()const
{
return message_;
}
int QueryUserEvaluationResult::getErrorCode()const
{
return errorCode_;
}
std::string QueryUserEvaluationResult::getUserEvaluation()const
{
return userEvaluation_;
}
bool QueryUserEvaluationResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,29 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryUserInfoRequest;
QueryUserInfoRequest::QueryUserInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserInfo")
{
setMethod(HttpRequest::Method::Post);
}
QueryUserInfoRequest::~QueryUserInfoRequest()
{}

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryUserInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryUserInfoResult::QueryUserInfoResult() :
ServiceResult()
{}
QueryUserInfoResult::QueryUserInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryUserInfoResult::~QueryUserInfoResult()
{}
void QueryUserInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto userInfoNode = value["UserInfo"];
if(!userInfoNode["CurNum"].isNull())
userInfo_.curNum = std::stoi(userInfoNode["CurNum"].asString());
if(!userInfoNode["MemberConcurrentMax"].isNull())
userInfo_.memberConcurrentMax = std::stoi(userInfoNode["MemberConcurrentMax"].asString());
if(!userInfoNode["MaxNum"].isNull())
userInfo_.maxNum = std::stoi(userInfoNode["MaxNum"].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 QueryUserInfoResult::getMessage()const
{
return message_;
}
QueryUserInfoResult::UserInfo QueryUserInfoResult::getUserInfo()const
{
return userInfo_;
}
int QueryUserInfoResult::getErrorCode()const
{
return errorCode_;
}
bool QueryUserInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryUserListRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryUserListRequest;
QueryUserListRequest::QueryUserListRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserList")
{
setMethod(HttpRequest::Method::Post);
}
QueryUserListRequest::~QueryUserListRequest()
{}
int QueryUserListRequest::getPageSize()const
{
return pageSize_;
}
void QueryUserListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int QueryUserListRequest::getPageNum()const
{
return pageNum_;
}
void QueryUserListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}

View File

@@ -0,0 +1,105 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryUserListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryUserListResult::QueryUserListResult() :
ServiceResult()
{}
QueryUserListResult::QueryUserListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryUserListResult::~QueryUserListResult()
{}
void QueryUserListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allUserInfosNode = dataNode["UserInfos"]["UserInfo"];
for (auto dataNodeUserInfosUserInfo : allUserInfosNode)
{
Data::UserInfo userInfoObject;
if(!dataNodeUserInfosUserInfo["CreateTime"].isNull())
userInfoObject.createTime = std::stol(dataNodeUserInfosUserInfo["CreateTime"].asString());
if(!dataNodeUserInfosUserInfo["GroupName"].isNull())
userInfoObject.groupName = dataNodeUserInfosUserInfo["GroupName"].asString();
if(!dataNodeUserInfosUserInfo["UserName"].isNull())
userInfoObject.userName = dataNodeUserInfosUserInfo["UserName"].asString();
if(!dataNodeUserInfosUserInfo["GroupId"].isNull())
userInfoObject.groupId = dataNodeUserInfosUserInfo["GroupId"].asString();
if(!dataNodeUserInfosUserInfo["GroupName"].isNull())
userInfoObject.groupName1 = dataNodeUserInfosUserInfo["GroupName"].asString();
if(!dataNodeUserInfosUserInfo["DepartName"].isNull())
userInfoObject.departName = dataNodeUserInfosUserInfo["DepartName"].asString();
if(!dataNodeUserInfosUserInfo["DepartId"].isNull())
userInfoObject.departId = dataNodeUserInfosUserInfo["DepartId"].asString();
if(!dataNodeUserInfosUserInfo["UserEmail"].isNull())
userInfoObject.userEmail = dataNodeUserInfosUserInfo["UserEmail"].asString();
if(!dataNodeUserInfosUserInfo["UserTel"].isNull())
userInfoObject.userTel = dataNodeUserInfosUserInfo["UserTel"].asString();
if(!dataNodeUserInfosUserInfo["UserMobile"].isNull())
userInfoObject.userMobile = dataNodeUserInfosUserInfo["UserMobile"].asString();
if(!dataNodeUserInfosUserInfo["UserAvatarUrl"].isNull())
userInfoObject.userAvatarUrl = dataNodeUserInfosUserInfo["UserAvatarUrl"].asString();
data_.userInfos.push_back(userInfoObject);
}
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 QueryUserListResult::getMessage()const
{
return message_;
}
QueryUserListResult::Data QueryUserListResult::getData()const
{
return data_;
}
int QueryUserListResult::getErrorCode()const
{
return errorCode_;
}
bool QueryUserListResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h>
using AlibabaCloud::Aliyuncvc::Model::RemoveMeetingRequest;
RemoveMeetingRequest::RemoveMeetingRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "RemoveMeeting")
{
setMethod(HttpRequest::Method::Post);
}
RemoveMeetingRequest::~RemoveMeetingRequest()
{}
std::string RemoveMeetingRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void RemoveMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setBodyParameter("MeetingUUID", meetingUUID);
}

View File

@@ -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 <alibabacloud/aliyuncvc/model/RemoveMeetingResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
RemoveMeetingResult::RemoveMeetingResult() :
ServiceResult()
{}
RemoveMeetingResult::RemoveMeetingResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RemoveMeetingResult::~RemoveMeetingResult()
{}
void RemoveMeetingResult::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 RemoveMeetingResult::getMessage()const
{
return message_;
}
int RemoveMeetingResult::getErrorCode()const
{
return errorCode_;
}
bool RemoveMeetingResult::getSuccess()const
{
return success_;
}

View File

@@ -27,6 +27,8 @@ set(dypnsapi_public_header_model
include/alibabacloud/dypnsapi/model/DeleteVerifySchemeResult.h
include/alibabacloud/dypnsapi/model/DescribeVerifySchemeRequest.h
include/alibabacloud/dypnsapi/model/DescribeVerifySchemeResult.h
include/alibabacloud/dypnsapi/model/GetAuthTokenRequest.h
include/alibabacloud/dypnsapi/model/GetAuthTokenResult.h
include/alibabacloud/dypnsapi/model/GetMobileRequest.h
include/alibabacloud/dypnsapi/model/GetMobileResult.h
include/alibabacloud/dypnsapi/model/TwiceTelVerifyRequest.h
@@ -44,6 +46,8 @@ set(dypnsapi_src
src/model/DeleteVerifySchemeResult.cc
src/model/DescribeVerifySchemeRequest.cc
src/model/DescribeVerifySchemeResult.cc
src/model/GetAuthTokenRequest.cc
src/model/GetAuthTokenResult.cc
src/model/GetMobileRequest.cc
src/model/GetMobileResult.cc
src/model/TwiceTelVerifyRequest.cc

View File

@@ -28,6 +28,8 @@
#include "model/DeleteVerifySchemeResult.h"
#include "model/DescribeVerifySchemeRequest.h"
#include "model/DescribeVerifySchemeResult.h"
#include "model/GetAuthTokenRequest.h"
#include "model/GetAuthTokenResult.h"
#include "model/GetMobileRequest.h"
#include "model/GetMobileResult.h"
#include "model/TwiceTelVerifyRequest.h"
@@ -54,6 +56,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeVerifySchemeResult> DescribeVerifySchemeOutcome;
typedef std::future<DescribeVerifySchemeOutcome> DescribeVerifySchemeOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::DescribeVerifySchemeRequest&, const DescribeVerifySchemeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifySchemeAsyncHandler;
typedef Outcome<Error, Model::GetAuthTokenResult> GetAuthTokenOutcome;
typedef std::future<GetAuthTokenOutcome> GetAuthTokenOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::GetAuthTokenRequest&, const GetAuthTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAuthTokenAsyncHandler;
typedef Outcome<Error, Model::GetMobileResult> GetMobileOutcome;
typedef std::future<GetMobileOutcome> GetMobileOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::GetMobileRequest&, const GetMobileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMobileAsyncHandler;
@@ -80,6 +85,9 @@ namespace AlibabaCloud
DescribeVerifySchemeOutcome describeVerifyScheme(const Model::DescribeVerifySchemeRequest &request)const;
void describeVerifySchemeAsync(const Model::DescribeVerifySchemeRequest& request, const DescribeVerifySchemeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVerifySchemeOutcomeCallable describeVerifySchemeCallable(const Model::DescribeVerifySchemeRequest& request) const;
GetAuthTokenOutcome getAuthToken(const Model::GetAuthTokenRequest &request)const;
void getAuthTokenAsync(const Model::GetAuthTokenRequest& request, const GetAuthTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAuthTokenOutcomeCallable getAuthTokenCallable(const Model::GetAuthTokenRequest& request) const;
GetMobileOutcome getMobile(const Model::GetMobileRequest &request)const;
void getMobileAsync(const Model::GetMobileRequest& request, const GetMobileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMobileOutcomeCallable getMobileCallable(const Model::GetMobileRequest& request) const;

View File

@@ -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_DYPNSAPI_MODEL_GETAUTHTOKENREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHTOKENREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetAuthTokenRequest : public RpcServiceRequest
{
public:
GetAuthTokenRequest();
~GetAuthTokenRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOrigin()const;
void setOrigin(const std::string& origin);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getUrl()const;
void setUrl(const std::string& url);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string origin_;
long ownerId_;
std::string url_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETAUTHTOKENREQUEST_H_

View File

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

View File

@@ -31,21 +31,21 @@ DypnsapiClient::DypnsapiClient(const Credentials &credentials, const ClientConfi
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dypns");
}
DypnsapiClient::DypnsapiClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dypns");
}
DypnsapiClient::DypnsapiClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dypns");
}
DypnsapiClient::~DypnsapiClient()
@@ -159,6 +159,42 @@ DypnsapiClient::DescribeVerifySchemeOutcomeCallable DypnsapiClient::describeVeri
return task->get_future();
}
DypnsapiClient::GetAuthTokenOutcome DypnsapiClient::getAuthToken(const GetAuthTokenRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAuthTokenOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAuthTokenOutcome(GetAuthTokenResult(outcome.result()));
else
return GetAuthTokenOutcome(outcome.error());
}
void DypnsapiClient::getAuthTokenAsync(const GetAuthTokenRequest& request, const GetAuthTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAuthToken(request), context);
};
asyncExecute(new Runnable(fn));
}
DypnsapiClient::GetAuthTokenOutcomeCallable DypnsapiClient::getAuthTokenCallable(const GetAuthTokenRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAuthTokenOutcome()>>(
[this, request]()
{
return this->getAuthToken(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DypnsapiClient::GetMobileOutcome DypnsapiClient::getMobile(const GetMobileRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -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 <alibabacloud/dypnsapi/model/GetAuthTokenRequest.h>
using AlibabaCloud::Dypnsapi::Model::GetAuthTokenRequest;
GetAuthTokenRequest::GetAuthTokenRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "GetAuthToken")
{
setMethod(HttpRequest::Method::Post);
}
GetAuthTokenRequest::~GetAuthTokenRequest()
{}
long GetAuthTokenRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void GetAuthTokenRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string GetAuthTokenRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void GetAuthTokenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string GetAuthTokenRequest::getOrigin()const
{
return origin_;
}
void GetAuthTokenRequest::setOrigin(const std::string& origin)
{
origin_ = origin;
setParameter("Origin", origin);
}
long GetAuthTokenRequest::getOwnerId()const
{
return ownerId_;
}
void GetAuthTokenRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string GetAuthTokenRequest::getUrl()const
{
return url_;
}
void GetAuthTokenRequest::setUrl(const std::string& url)
{
url_ = url;
setParameter("Url", url);
}
std::string GetAuthTokenRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetAuthTokenRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dypnsapi/model/GetAuthTokenResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
GetAuthTokenResult::GetAuthTokenResult() :
ServiceResult()
{}
GetAuthTokenResult::GetAuthTokenResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAuthTokenResult::~GetAuthTokenResult()
{}
void GetAuthTokenResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto tokenInfoNode = value["TokenInfo"];
if(!tokenInfoNode["JwtToken"].isNull())
tokenInfo_.jwtToken = tokenInfoNode["JwtToken"].asString();
if(!tokenInfoNode["AccessToken"].isNull())
tokenInfo_.accessToken = tokenInfoNode["AccessToken"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string GetAuthTokenResult::getMessage()const
{
return message_;
}
GetAuthTokenResult::TokenInfo GetAuthTokenResult::getTokenInfo()const
{
return tokenInfo_;
}
std::string GetAuthTokenResult::getCode()const
{
return code_;
}

View File

@@ -223,6 +223,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DescribeDedicatedHostsResult.h
include/alibabacloud/ecs/model/DescribeDemandsRequest.h
include/alibabacloud/ecs/model/DescribeDemandsResult.h
include/alibabacloud/ecs/model/DescribeDeploymentSetSupportedInstanceTypeFamilyRequest.h
include/alibabacloud/ecs/model/DescribeDeploymentSetSupportedInstanceTypeFamilyResult.h
include/alibabacloud/ecs/model/DescribeDeploymentSetsRequest.h
include/alibabacloud/ecs/model/DescribeDeploymentSetsResult.h
include/alibabacloud/ecs/model/DescribeDiskMonitorDataRequest.h
@@ -794,6 +796,8 @@ set(ecs_src
src/model/DescribeDedicatedHostsResult.cc
src/model/DescribeDemandsRequest.cc
src/model/DescribeDemandsResult.cc
src/model/DescribeDeploymentSetSupportedInstanceTypeFamilyRequest.cc
src/model/DescribeDeploymentSetSupportedInstanceTypeFamilyResult.cc
src/model/DescribeDeploymentSetsRequest.cc
src/model/DescribeDeploymentSetsResult.cc
src/model/DescribeDiskMonitorDataRequest.cc

View File

@@ -224,6 +224,8 @@
#include "model/DescribeDedicatedHostsResult.h"
#include "model/DescribeDemandsRequest.h"
#include "model/DescribeDemandsResult.h"
#include "model/DescribeDeploymentSetSupportedInstanceTypeFamilyRequest.h"
#include "model/DescribeDeploymentSetSupportedInstanceTypeFamilyResult.h"
#include "model/DescribeDeploymentSetsRequest.h"
#include "model/DescribeDeploymentSetsResult.h"
#include "model/DescribeDiskMonitorDataRequest.h"
@@ -902,6 +904,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDemandsResult> DescribeDemandsOutcome;
typedef std::future<DescribeDemandsOutcome> DescribeDemandsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDemandsRequest&, const DescribeDemandsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDemandsAsyncHandler;
typedef Outcome<Error, Model::DescribeDeploymentSetSupportedInstanceTypeFamilyResult> DescribeDeploymentSetSupportedInstanceTypeFamilyOutcome;
typedef std::future<DescribeDeploymentSetSupportedInstanceTypeFamilyOutcome> DescribeDeploymentSetSupportedInstanceTypeFamilyOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDeploymentSetSupportedInstanceTypeFamilyRequest&, const DescribeDeploymentSetSupportedInstanceTypeFamilyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeploymentSetSupportedInstanceTypeFamilyAsyncHandler;
typedef Outcome<Error, Model::DescribeDeploymentSetsResult> DescribeDeploymentSetsOutcome;
typedef std::future<DescribeDeploymentSetsOutcome> DescribeDeploymentSetsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDeploymentSetsRequest&, const DescribeDeploymentSetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeploymentSetsAsyncHandler;
@@ -1759,6 +1764,9 @@ namespace AlibabaCloud
DescribeDemandsOutcome describeDemands(const Model::DescribeDemandsRequest &request)const;
void describeDemandsAsync(const Model::DescribeDemandsRequest& request, const DescribeDemandsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDemandsOutcomeCallable describeDemandsCallable(const Model::DescribeDemandsRequest& request) const;
DescribeDeploymentSetSupportedInstanceTypeFamilyOutcome describeDeploymentSetSupportedInstanceTypeFamily(const Model::DescribeDeploymentSetSupportedInstanceTypeFamilyRequest &request)const;
void describeDeploymentSetSupportedInstanceTypeFamilyAsync(const Model::DescribeDeploymentSetSupportedInstanceTypeFamilyRequest& request, const DescribeDeploymentSetSupportedInstanceTypeFamilyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDeploymentSetSupportedInstanceTypeFamilyOutcomeCallable describeDeploymentSetSupportedInstanceTypeFamilyCallable(const Model::DescribeDeploymentSetSupportedInstanceTypeFamilyRequest& request) const;
DescribeDeploymentSetsOutcome describeDeploymentSets(const Model::DescribeDeploymentSetsRequest &request)const;
void describeDeploymentSetsAsync(const Model::DescribeDeploymentSetsRequest& request, const DescribeDeploymentSetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDeploymentSetsOutcomeCallable describeDeploymentSetsCallable(const Model::DescribeDeploymentSetsRequest& request) const;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
int getSecondaryPrivateIpAddressCount()const;
void setSecondaryPrivateIpAddressCount(int secondaryPrivateIpAddressCount);
std::string getRegionId()const;
@@ -54,6 +56,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::string clientToken_;
int secondaryPrivateIpAddressCount_;
std::string regionId_;
std::string resourceOwnerAccount_;

View File

@@ -32,15 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_ECS_EXPORT AssignPrivateIpAddressesResult : public ServiceResult
{
public:
struct AssignedPrivateIpAddressesSet
{
std::vector<std::string> privateIpSet;
std::string networkInterfaceId;
};
AssignPrivateIpAddressesResult();
explicit AssignPrivateIpAddressesResult(const std::string &payload);
~AssignPrivateIpAddressesResult();
AssignedPrivateIpAddressesSet getAssignedPrivateIpAddressesSet()const;
protected:
void parse(const std::string &payload);
private:
AssignedPrivateIpAddressesSet assignedPrivateIpAddressesSet_;
};
}

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setDescription(const std::string& description);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getGroupCount()const;
void setGroupCount(long groupCount);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
@@ -65,6 +67,7 @@ namespace AlibabaCloud
std::string clientToken_;
std::string description_;
std::string regionId_;
long groupCount_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string deploymentSetName_;

View File

@@ -81,6 +81,8 @@ namespace AlibabaCloud
void setHostName(const std::string& hostName);
std::string getPassword()const;
void setPassword(const std::string& password);
int getDeploymentSetGroupNo()const;
void setDeploymentSetGroupNo(int deploymentSetGroupNo);
int getStorageSetPartitionNumber()const;
void setStorageSetPartitionNumber(int storageSetPartitionNumber);
std::vector<Tag> getTag()const;
@@ -201,6 +203,7 @@ namespace AlibabaCloud
std::string resourceGroupId_;
std::string hostName_;
std::string password_;
int deploymentSetGroupNo_;
int storageSetPartitionNumber_;
std::vector<Tag> tag_;
int autoRenewPeriod_;

View File

@@ -32,17 +32,59 @@ namespace AlibabaCloud
class ALIBABACLOUD_ECS_EXPORT CreateNetworkInterfaceResult : public ServiceResult
{
public:
struct PrivateIpSet
{
std::string privateIpAddress;
bool primary;
};
struct Tag
{
std::string tagKey;
std::string tagValue;
};
CreateNetworkInterfaceResult();
explicit CreateNetworkInterfaceResult(const std::string &payload);
~CreateNetworkInterfaceResult();
std::string getStatus()const;
std::string getPrivateIpAddress()const;
std::string getDescription()const;
std::string getZoneId()const;
std::string getResourceGroupId()const;
bool getServiceManaged()const;
std::string getVSwitchId()const;
std::string getNetworkInterfaceName()const;
std::string getNetworkInterfaceId()const;
std::string getMacAddress()const;
std::vector<std::string> getSecurityGroupIds()const;
long getServiceID()const;
std::string getType()const;
std::string getVpcId()const;
std::string getOwnerId()const;
std::vector<Tag> getTags()const;
std::vector<PrivateIpSet> getPrivateIpSets()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string privateIpAddress_;
std::string description_;
std::string zoneId_;
std::string resourceGroupId_;
bool serviceManaged_;
std::string vSwitchId_;
std::string networkInterfaceName_;
std::string networkInterfaceId_;
std::string macAddress_;
std::vector<std::string> securityGroupIds_;
long serviceID_;
std::string type_;
std::string vpcId_;
std::string ownerId_;
std::vector<Tag> tags_;
std::vector<PrivateIpSet> privateIpSets_;
};
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEDEPLOYMENTSETSUPPORTEDINSTANCETYPEFAMILYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEPLOYMENTSETSUPPORTEDINSTANCETYPEFAMILYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDeploymentSetSupportedInstanceTypeFamilyRequest : public RpcServiceRequest
{
public:
DescribeDeploymentSetSupportedInstanceTypeFamilyRequest();
~DescribeDeploymentSetSupportedInstanceTypeFamilyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEPLOYMENTSETSUPPORTEDINSTANCETYPEFAMILYREQUEST_H_

View File

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

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
std::string deploymentSetId;
std::string deploymentSetDescription;
int instanceAmount;
int groupCount;
std::string creationTime;
std::string strategy;
std::string deploymentSetName;

View File

@@ -84,6 +84,7 @@ namespace AlibabaCloud
bool portable;
std::string type;
int mountInstanceNum;
std::string serialNumber;
std::vector<Disk::MountInstance> mountInstances;
std::string creationTime;
std::string regionId;

View File

@@ -141,6 +141,7 @@ namespace AlibabaCloud
std::string zoneId;
std::string clusterId;
std::string hpcClusterId;
int deploymentSetGroupNo;
EcsCapacityReservationAttr ecsCapacityReservationAttr;
DedicatedHostAttribute dedicatedHostAttribute;
int gPUAmount;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getDeploymentSetGroupNo()const;
void setDeploymentSetGroupNo(int deploymentSetGroupNo);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::string getDeploymentSetId()const;
@@ -65,6 +67,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::string regionId_;
int deploymentSetGroupNo_;
std::string instanceType_;
std::string deploymentSetId_;
std::string resourceOwnerAccount_;

View File

@@ -91,6 +91,8 @@ namespace AlibabaCloud
void setHostName(const std::string& hostName);
std::string getPassword()const;
void setPassword(const std::string& password);
int getDeploymentSetGroupNo()const;
void setDeploymentSetGroupNo(int deploymentSetGroupNo);
int getStorageSetPartitionNumber()const;
void setStorageSetPartitionNumber(int storageSetPartitionNumber);
std::vector<Tag> getTag()const;
@@ -228,6 +230,7 @@ namespace AlibabaCloud
std::string resourceGroupId_;
std::string hostName_;
std::string password_;
int deploymentSetGroupNo_;
int storageSetPartitionNumber_;
std::vector<Tag> tag_;
std::string systemDiskAutoSnapshotPolicyId_;

Some files were not shown because too many files have changed in this diff Show More