Initial construction.
This commit is contained in:
@@ -21,73 +21,57 @@ set(aliyuncvc_public_header
|
||||
include/alibabacloud/aliyuncvc/AliyuncvcExport.h )
|
||||
|
||||
set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateEvaluationResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateMeetingResult.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/DeleteMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.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/RemoveMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h )
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListMembersRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListMembersResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListUsersRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListUsersResult.h )
|
||||
|
||||
set(aliyuncvc_src
|
||||
src/AliyuncvcClient.cc
|
||||
src/model/ActiveMeetingCodeRequest.cc
|
||||
src/model/ActiveMeetingCodeResult.cc
|
||||
src/model/CheckMeetingCodeRequest.cc
|
||||
src/model/CheckMeetingCodeResult.cc
|
||||
src/model/ActiveMeetingRequest.cc
|
||||
src/model/ActiveMeetingResult.cc
|
||||
src/model/CreateEvaluationRequest.cc
|
||||
src/model/CreateEvaluationResult.cc
|
||||
src/model/CreateMeetingRequest.cc
|
||||
src/model/CreateMeetingResult.cc
|
||||
src/model/CreateUserRequest.cc
|
||||
src/model/CreateUserResult.cc
|
||||
src/model/CreateUserEvaluationsRequest.cc
|
||||
src/model/CreateUserEvaluationsResult.cc
|
||||
src/model/DeleteMeetingRequest.cc
|
||||
src/model/DeleteMeetingResult.cc
|
||||
src/model/DeleteUserRequest.cc
|
||||
src/model/DeleteUserResult.cc
|
||||
src/model/ListCommoditiesRequest.cc
|
||||
src/model/ListCommoditiesResult.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/RemoveMeetingRequest.cc
|
||||
src/model/RemoveMeetingResult.cc )
|
||||
src/model/GetMeetingRequest.cc
|
||||
src/model/GetMeetingResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/JoinMeetingRequest.cc
|
||||
src/model/JoinMeetingResult.cc
|
||||
src/model/ListEvaluationsRequest.cc
|
||||
src/model/ListEvaluationsResult.cc
|
||||
src/model/ListMembersRequest.cc
|
||||
src/model/ListMembersResult.cc
|
||||
src/model/ListUsersRequest.cc
|
||||
src/model/ListUsersResult.cc )
|
||||
|
||||
add_library(aliyuncvc ${LIB_TYPE}
|
||||
${aliyuncvc_public_header}
|
||||
|
||||
@@ -22,38 +22,30 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AliyuncvcExport.h"
|
||||
#include "model/ActiveMeetingCodeRequest.h"
|
||||
#include "model/ActiveMeetingCodeResult.h"
|
||||
#include "model/CheckMeetingCodeRequest.h"
|
||||
#include "model/CheckMeetingCodeResult.h"
|
||||
#include "model/ActiveMeetingRequest.h"
|
||||
#include "model/ActiveMeetingResult.h"
|
||||
#include "model/CreateEvaluationRequest.h"
|
||||
#include "model/CreateEvaluationResult.h"
|
||||
#include "model/CreateMeetingRequest.h"
|
||||
#include "model/CreateMeetingResult.h"
|
||||
#include "model/CreateUserRequest.h"
|
||||
#include "model/CreateUserResult.h"
|
||||
#include "model/CreateUserEvaluationsRequest.h"
|
||||
#include "model/CreateUserEvaluationsResult.h"
|
||||
#include "model/DeleteMeetingRequest.h"
|
||||
#include "model/DeleteMeetingResult.h"
|
||||
#include "model/DeleteUserRequest.h"
|
||||
#include "model/DeleteUserResult.h"
|
||||
#include "model/ListCommoditiesRequest.h"
|
||||
#include "model/ListCommoditiesResult.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/RemoveMeetingRequest.h"
|
||||
#include "model/RemoveMeetingResult.h"
|
||||
#include "model/GetMeetingRequest.h"
|
||||
#include "model/GetMeetingResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/JoinMeetingRequest.h"
|
||||
#include "model/JoinMeetingResult.h"
|
||||
#include "model/ListEvaluationsRequest.h"
|
||||
#include "model/ListEvaluationsResult.h"
|
||||
#include "model/ListMembersRequest.h"
|
||||
#include "model/ListMembersResult.h"
|
||||
#include "model/ListUsersRequest.h"
|
||||
#include "model/ListUsersResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -63,107 +55,83 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT AliyuncvcClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
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::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::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::CreateEvaluationResult> CreateEvaluationOutcome;
|
||||
typedef std::future<CreateEvaluationOutcome> CreateEvaluationOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateEvaluationRequest&, const CreateEvaluationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEvaluationAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMeetingResult> CreateMeetingOutcome;
|
||||
typedef std::future<CreateMeetingOutcome> CreateMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateMeetingRequest&, const CreateMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMeetingAsyncHandler;
|
||||
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::DeleteMeetingResult> DeleteMeetingOutcome;
|
||||
typedef std::future<DeleteMeetingOutcome> DeleteMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::DeleteMeetingRequest&, const DeleteMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteUserResult> DeleteUserOutcome;
|
||||
typedef std::future<DeleteUserOutcome> DeleteUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::DeleteUserRequest&, const DeleteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserAsyncHandler;
|
||||
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::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::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::GetMeetingResult> GetMeetingOutcome;
|
||||
typedef std::future<GetMeetingOutcome> GetMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMeetingRequest&, const GetMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMeetingAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::JoinMeetingResult> JoinMeetingOutcome;
|
||||
typedef std::future<JoinMeetingOutcome> JoinMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::JoinMeetingRequest&, const JoinMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinMeetingAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::ListMembersResult> ListMembersOutcome;
|
||||
typedef std::future<ListMembersOutcome> ListMembersOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListMembersRequest&, const ListMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
||||
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
|
||||
|
||||
AliyuncvcClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AliyuncvcClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AliyuncvcClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AliyuncvcClient();
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
CreateEvaluationOutcome createEvaluation(const Model::CreateEvaluationRequest &request)const;
|
||||
void createEvaluationAsync(const Model::CreateEvaluationRequest& request, const CreateEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateEvaluationOutcomeCallable createEvaluationCallable(const Model::CreateEvaluationRequest& request) const;
|
||||
CreateMeetingOutcome createMeeting(const Model::CreateMeetingRequest &request)const;
|
||||
void createMeetingAsync(const Model::CreateMeetingRequest& request, const CreateMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMeetingOutcomeCallable createMeetingCallable(const Model::CreateMeetingRequest& request) const;
|
||||
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;
|
||||
DeleteMeetingOutcome deleteMeeting(const Model::DeleteMeetingRequest &request)const;
|
||||
void deleteMeetingAsync(const Model::DeleteMeetingRequest& request, const DeleteMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMeetingOutcomeCallable deleteMeetingCallable(const Model::DeleteMeetingRequest& request) const;
|
||||
DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const;
|
||||
void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& 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;
|
||||
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;
|
||||
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;
|
||||
GetMeetingOutcome getMeeting(const Model::GetMeetingRequest &request)const;
|
||||
void getMeetingAsync(const Model::GetMeetingRequest& request, const GetMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMeetingOutcomeCallable getMeetingCallable(const Model::GetMeetingRequest& 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;
|
||||
JoinMeetingOutcome joinMeeting(const Model::JoinMeetingRequest &request)const;
|
||||
void joinMeetingAsync(const Model::JoinMeetingRequest& request, const JoinMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
JoinMeetingOutcomeCallable joinMeetingCallable(const Model::JoinMeetingRequest& 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;
|
||||
ListMembersOutcome listMembers(const Model::ListMembersRequest &request)const;
|
||||
void listMembersAsync(const Model::ListMembersRequest& request, const ListMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMembersOutcomeCallable listMembersCallable(const Model::ListMembersRequest& request) const;
|
||||
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
|
||||
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ActiveMeetingCodeRequest();
|
||||
~ActiveMeetingCodeRequest();
|
||||
ActiveMeetingRequest();
|
||||
~ActiveMeetingRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,19 +29,19 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
{
|
||||
std::string meetingCode;
|
||||
long validDate;
|
||||
long validTime;
|
||||
};
|
||||
|
||||
|
||||
ActiveMeetingCodeResult();
|
||||
explicit ActiveMeetingCodeResult(const std::string &payload);
|
||||
~ActiveMeetingCodeResult();
|
||||
ActiveMeetingResult();
|
||||
explicit ActiveMeetingResult(const std::string &payload);
|
||||
~ActiveMeetingResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
@@ -59,4 +59,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,19 +28,19 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateEvaluationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUserEvaluationsRequest();
|
||||
~CreateUserEvaluationsRequest();
|
||||
CreateEvaluationRequest();
|
||||
~CreateEvaluationRequest();
|
||||
|
||||
long getCreateTime()const;
|
||||
void setCreateTime(long createTime);
|
||||
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;
|
||||
@@ -55,9 +55,9 @@ namespace AlibabaCloud
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
long createTime_;
|
||||
std::string memo_;
|
||||
std::string description_;
|
||||
long createDate_;
|
||||
std::string memberUUID_;
|
||||
std::string userId_;
|
||||
std::string evaluation_;
|
||||
@@ -69,4 +69,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateEvaluationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateUserEvaluationsResult();
|
||||
explicit CreateUserEvaluationsResult(const std::string &payload);
|
||||
~CreateUserEvaluationsResult();
|
||||
CreateEvaluationResult();
|
||||
explicit CreateEvaluationResult(const std::string &payload);
|
||||
~CreateEvaluationResult();
|
||||
std::string getMessage()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -52,4 +52,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEEVALUATIONRESULT_H_
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
explicit CreateUserResult(const std::string &payload);
|
||||
~CreateUserResult();
|
||||
std::string getMessage()const;
|
||||
std::string getUserId()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -45,6 +46,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string userId_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteMeetingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveMeetingRequest();
|
||||
~RemoveMeetingRequest();
|
||||
DeleteMeetingRequest();
|
||||
~DeleteMeetingRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
@@ -45,4 +45,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteMeetingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveMeetingResult();
|
||||
explicit RemoveMeetingResult(const std::string &payload);
|
||||
~RemoveMeetingResult();
|
||||
DeleteMeetingResult();
|
||||
explicit DeleteMeetingResult(const std::string &payload);
|
||||
~DeleteMeetingResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -52,4 +52,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEMEETINGRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMeetingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMeetingInfoRequest();
|
||||
~QueryMeetingInfoRequest();
|
||||
GetMeetingRequest();
|
||||
~GetMeetingRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
@@ -45,4 +45,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,7 +29,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMeetingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
@@ -43,18 +43,18 @@ namespace AlibabaCloud
|
||||
std::string userAvatarUrl;
|
||||
};
|
||||
std::string meetingCode;
|
||||
long validDate;
|
||||
std::string meetingUUID;
|
||||
std::vector<MemberListItem> memberList;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
std::string meetingName;
|
||||
long createDate;
|
||||
long validTime;
|
||||
};
|
||||
|
||||
|
||||
QueryMeetingInfoResult();
|
||||
explicit QueryMeetingInfoResult(const std::string &payload);
|
||||
~QueryMeetingInfoResult();
|
||||
GetMeetingResult();
|
||||
explicit GetMeetingResult(const std::string &payload);
|
||||
~GetMeetingResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
@@ -72,4 +72,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryIsvUserInfoRequest();
|
||||
~QueryIsvUserInfoRequest();
|
||||
GetUserRequest();
|
||||
~GetUserRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
@@ -45,4 +45,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,7 +29,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UserInfo
|
||||
@@ -48,9 +48,9 @@ namespace AlibabaCloud
|
||||
};
|
||||
|
||||
|
||||
QueryIsvUserInfoResult();
|
||||
explicit QueryIsvUserInfoResult(const std::string &payload);
|
||||
~QueryIsvUserInfoResult();
|
||||
GetUserResult();
|
||||
explicit GetUserResult(const std::string &payload);
|
||||
~GetUserResult();
|
||||
std::string getMessage()const;
|
||||
UserInfo getUserInfo()const;
|
||||
int getErrorCode()const;
|
||||
@@ -68,4 +68,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETUSERRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinMeetingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckMeetingCodeRequest();
|
||||
~CheckMeetingCodeRequest();
|
||||
JoinMeetingRequest();
|
||||
~JoinMeetingRequest();
|
||||
|
||||
std::string getMeetingCode()const;
|
||||
void setMeetingCode(const std::string& meetingCode);
|
||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,7 +29,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT JoinMeetingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
@@ -51,9 +51,9 @@ namespace AlibabaCloud
|
||||
};
|
||||
|
||||
|
||||
CheckMeetingCodeResult();
|
||||
explicit CheckMeetingCodeResult(const std::string &payload);
|
||||
~CheckMeetingCodeResult();
|
||||
JoinMeetingResult();
|
||||
explicit JoinMeetingResult(const std::string &payload);
|
||||
~JoinMeetingResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
@@ -71,4 +71,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_JOINMEETINGRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* 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();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
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);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_
|
||||
@@ -1,70 +0,0 @@
|
||||
/*
|
||||
* 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_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListEvaluationsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryUserInfoRequest();
|
||||
~QueryUserInfoRequest();
|
||||
ListEvaluationsRequest();
|
||||
~ListEvaluationsRequest();
|
||||
|
||||
|
||||
private:
|
||||
@@ -42,4 +42,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListEvaluationsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryUserEvaluationResult();
|
||||
explicit QueryUserEvaluationResult(const std::string &payload);
|
||||
~QueryUserEvaluationResult();
|
||||
ListEvaluationsResult();
|
||||
explicit ListEvaluationsResult(const std::string &payload);
|
||||
~ListEvaluationsResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
std::string getUserEvaluation()const;
|
||||
@@ -54,4 +54,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTEVALUATIONSRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListMembersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMemberRecordRequest();
|
||||
~QueryMemberRecordRequest();
|
||||
ListMembersRequest();
|
||||
~ListMembersRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
@@ -45,4 +45,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,7 +29,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListMembersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
@@ -37,23 +37,26 @@ namespace AlibabaCloud
|
||||
struct MemberRecord
|
||||
{
|
||||
std::string status;
|
||||
std::string userName;
|
||||
std::string memberUUID;
|
||||
long endTime;
|
||||
std::string userId;
|
||||
long beginTime;
|
||||
};
|
||||
std::string meetingCode;
|
||||
std::string userName;
|
||||
std::vector<MemberRecord> memberInfos;
|
||||
std::string meetingUUID;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
std::string meetingName;
|
||||
std::vector<MemberRecord> memberRecordsList;
|
||||
long createDate;
|
||||
std::string memo;
|
||||
};
|
||||
|
||||
|
||||
QueryMemberRecordResult();
|
||||
explicit QueryMemberRecordResult(const std::string &payload);
|
||||
~QueryMemberRecordResult();
|
||||
ListMembersResult();
|
||||
explicit ListMembersResult(const std::string &payload);
|
||||
~ListMembersResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
@@ -71,4 +74,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTMEMBERSRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,24 +28,24 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryUserListRequest();
|
||||
~QueryUserListRequest();
|
||||
ListUsersRequest();
|
||||
~ListUsersRequest();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,7 +29,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListUsersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
@@ -42,7 +42,6 @@ namespace AlibabaCloud
|
||||
std::string userTel;
|
||||
long createTime;
|
||||
std::string userAvatarUrl;
|
||||
std::string groupName1;
|
||||
std::string userEmail;
|
||||
std::string departName;
|
||||
std::string groupId;
|
||||
@@ -55,9 +54,9 @@ namespace AlibabaCloud
|
||||
};
|
||||
|
||||
|
||||
QueryUserListResult();
|
||||
explicit QueryUserListResult(const std::string &payload);
|
||||
~QueryUserListResult();
|
||||
ListUsersResult();
|
||||
explicit ListUsersResult(const std::string &payload);
|
||||
~ListUsersResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
@@ -75,4 +74,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTUSERSRESULT_H_
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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_
|
||||
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* 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_
|
||||
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
* 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_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* 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_
|
||||
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
* 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_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* 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_
|
||||
@@ -51,72 +51,72 @@ AliyuncvcClient::AliyuncvcClient(const std::string & accessKeyId, const std::str
|
||||
AliyuncvcClient::~AliyuncvcClient()
|
||||
{}
|
||||
|
||||
AliyuncvcClient::ActiveMeetingCodeOutcome AliyuncvcClient::activeMeetingCode(const ActiveMeetingCodeRequest &request) const
|
||||
AliyuncvcClient::ActiveMeetingOutcome AliyuncvcClient::activeMeeting(const ActiveMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ActiveMeetingCodeOutcome(endpointOutcome.error());
|
||||
return ActiveMeetingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ActiveMeetingCodeOutcome(ActiveMeetingCodeResult(outcome.result()));
|
||||
return ActiveMeetingOutcome(ActiveMeetingResult(outcome.result()));
|
||||
else
|
||||
return ActiveMeetingCodeOutcome(outcome.error());
|
||||
return ActiveMeetingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::activeMeetingCodeAsync(const ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AliyuncvcClient::activeMeetingAsync(const ActiveMeetingRequest& request, const ActiveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, activeMeetingCode(request), context);
|
||||
handler(this, request, activeMeeting(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ActiveMeetingCodeOutcomeCallable AliyuncvcClient::activeMeetingCodeCallable(const ActiveMeetingCodeRequest &request) const
|
||||
AliyuncvcClient::ActiveMeetingOutcomeCallable AliyuncvcClient::activeMeetingCallable(const ActiveMeetingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ActiveMeetingCodeOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<ActiveMeetingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->activeMeetingCode(request);
|
||||
return this->activeMeeting(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CheckMeetingCodeOutcome AliyuncvcClient::checkMeetingCode(const CheckMeetingCodeRequest &request) const
|
||||
AliyuncvcClient::CreateEvaluationOutcome AliyuncvcClient::createEvaluation(const CreateEvaluationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CheckMeetingCodeOutcome(endpointOutcome.error());
|
||||
return CreateEvaluationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CheckMeetingCodeOutcome(CheckMeetingCodeResult(outcome.result()));
|
||||
return CreateEvaluationOutcome(CreateEvaluationResult(outcome.result()));
|
||||
else
|
||||
return CheckMeetingCodeOutcome(outcome.error());
|
||||
return CreateEvaluationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::checkMeetingCodeAsync(const CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AliyuncvcClient::createEvaluationAsync(const CreateEvaluationRequest& request, const CreateEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, checkMeetingCode(request), context);
|
||||
handler(this, request, createEvaluation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CheckMeetingCodeOutcomeCallable AliyuncvcClient::checkMeetingCodeCallable(const CheckMeetingCodeRequest &request) const
|
||||
AliyuncvcClient::CreateEvaluationOutcomeCallable AliyuncvcClient::createEvaluationCallable(const CreateEvaluationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CheckMeetingCodeOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<CreateEvaluationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->checkMeetingCode(request);
|
||||
return this->createEvaluation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -195,36 +195,36 @@ AliyuncvcClient::CreateUserOutcomeCallable AliyuncvcClient::createUserCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateUserEvaluationsOutcome AliyuncvcClient::createUserEvaluations(const CreateUserEvaluationsRequest &request) const
|
||||
AliyuncvcClient::DeleteMeetingOutcome AliyuncvcClient::deleteMeeting(const DeleteMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateUserEvaluationsOutcome(endpointOutcome.error());
|
||||
return DeleteMeetingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateUserEvaluationsOutcome(CreateUserEvaluationsResult(outcome.result()));
|
||||
return DeleteMeetingOutcome(DeleteMeetingResult(outcome.result()));
|
||||
else
|
||||
return CreateUserEvaluationsOutcome(outcome.error());
|
||||
return DeleteMeetingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::createUserEvaluationsAsync(const CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AliyuncvcClient::deleteMeetingAsync(const DeleteMeetingRequest& request, const DeleteMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createUserEvaluations(request), context);
|
||||
handler(this, request, deleteMeeting(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateUserEvaluationsOutcomeCallable AliyuncvcClient::createUserEvaluationsCallable(const CreateUserEvaluationsRequest &request) const
|
||||
AliyuncvcClient::DeleteMeetingOutcomeCallable AliyuncvcClient::deleteMeetingCallable(const DeleteMeetingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateUserEvaluationsOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<DeleteMeetingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createUserEvaluations(request);
|
||||
return this->deleteMeeting(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -267,360 +267,216 @@ AliyuncvcClient::DeleteUserOutcomeCallable AliyuncvcClient::deleteUserCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListCommoditiesOutcome AliyuncvcClient::listCommodities(const ListCommoditiesRequest &request) const
|
||||
AliyuncvcClient::GetMeetingOutcome AliyuncvcClient::getMeeting(const GetMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCommoditiesOutcome(endpointOutcome.error());
|
||||
return GetMeetingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCommoditiesOutcome(ListCommoditiesResult(outcome.result()));
|
||||
return GetMeetingOutcome(GetMeetingResult(outcome.result()));
|
||||
else
|
||||
return ListCommoditiesOutcome(outcome.error());
|
||||
return GetMeetingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::listCommoditiesAsync(const ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AliyuncvcClient::getMeetingAsync(const GetMeetingRequest& request, const GetMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCommodities(request), context);
|
||||
handler(this, request, getMeeting(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListCommoditiesOutcomeCallable AliyuncvcClient::listCommoditiesCallable(const ListCommoditiesRequest &request) const
|
||||
AliyuncvcClient::GetMeetingOutcomeCallable AliyuncvcClient::getMeetingCallable(const GetMeetingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCommoditiesOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<GetMeetingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCommodities(request);
|
||||
return this->getMeeting(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryIsvUserInfoOutcome AliyuncvcClient::queryIsvUserInfo(const QueryIsvUserInfoRequest &request) const
|
||||
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryIsvUserInfoOutcome(endpointOutcome.error());
|
||||
return GetUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryIsvUserInfoOutcome(QueryIsvUserInfoResult(outcome.result()));
|
||||
return GetUserOutcome(GetUserResult(outcome.result()));
|
||||
else
|
||||
return QueryIsvUserInfoOutcome(outcome.error());
|
||||
return GetUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryIsvUserInfoAsync(const QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AliyuncvcClient::getUserAsync(const GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryIsvUserInfo(request), context);
|
||||
handler(this, request, getUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryIsvUserInfoOutcomeCallable AliyuncvcClient::queryIsvUserInfoCallable(const QueryIsvUserInfoRequest &request) const
|
||||
AliyuncvcClient::GetUserOutcomeCallable AliyuncvcClient::getUserCallable(const GetUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryIsvUserInfoOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<GetUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryIsvUserInfo(request);
|
||||
return this->getUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMeetingInfoOutcome AliyuncvcClient::queryMeetingInfo(const QueryMeetingInfoRequest &request) const
|
||||
AliyuncvcClient::JoinMeetingOutcome AliyuncvcClient::joinMeeting(const JoinMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryMeetingInfoOutcome(endpointOutcome.error());
|
||||
return JoinMeetingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryMeetingInfoOutcome(QueryMeetingInfoResult(outcome.result()));
|
||||
return JoinMeetingOutcome(JoinMeetingResult(outcome.result()));
|
||||
else
|
||||
return QueryMeetingInfoOutcome(outcome.error());
|
||||
return JoinMeetingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryMeetingInfoAsync(const QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AliyuncvcClient::joinMeetingAsync(const JoinMeetingRequest& request, const JoinMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryMeetingInfo(request), context);
|
||||
handler(this, request, joinMeeting(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMeetingInfoOutcomeCallable AliyuncvcClient::queryMeetingInfoCallable(const QueryMeetingInfoRequest &request) const
|
||||
AliyuncvcClient::JoinMeetingOutcomeCallable AliyuncvcClient::joinMeetingCallable(const JoinMeetingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryMeetingInfoOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<JoinMeetingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryMeetingInfo(request);
|
||||
return this->joinMeeting(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMemberRecordOutcome AliyuncvcClient::queryMemberRecord(const QueryMemberRecordRequest &request) const
|
||||
AliyuncvcClient::ListEvaluationsOutcome AliyuncvcClient::listEvaluations(const ListEvaluationsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryMemberRecordOutcome(endpointOutcome.error());
|
||||
return ListEvaluationsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryMemberRecordOutcome(QueryMemberRecordResult(outcome.result()));
|
||||
return ListEvaluationsOutcome(ListEvaluationsResult(outcome.result()));
|
||||
else
|
||||
return QueryMemberRecordOutcome(outcome.error());
|
||||
return ListEvaluationsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryMemberRecordAsync(const QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AliyuncvcClient::listEvaluationsAsync(const ListEvaluationsRequest& request, const ListEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryMemberRecord(request), context);
|
||||
handler(this, request, listEvaluations(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMemberRecordOutcomeCallable AliyuncvcClient::queryMemberRecordCallable(const QueryMemberRecordRequest &request) const
|
||||
AliyuncvcClient::ListEvaluationsOutcomeCallable AliyuncvcClient::listEvaluationsCallable(const ListEvaluationsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryMemberRecordOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<ListEvaluationsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryMemberRecord(request);
|
||||
return this->listEvaluations(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryStatisticsOutcome AliyuncvcClient::queryStatistics(const QueryStatisticsRequest &request) const
|
||||
AliyuncvcClient::ListMembersOutcome AliyuncvcClient::listMembers(const ListMembersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryStatisticsOutcome(endpointOutcome.error());
|
||||
return ListMembersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryStatisticsOutcome(QueryStatisticsResult(outcome.result()));
|
||||
return ListMembersOutcome(ListMembersResult(outcome.result()));
|
||||
else
|
||||
return QueryStatisticsOutcome(outcome.error());
|
||||
return ListMembersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryStatisticsAsync(const QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AliyuncvcClient::listMembersAsync(const ListMembersRequest& request, const ListMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryStatistics(request), context);
|
||||
handler(this, request, listMembers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryStatisticsOutcomeCallable AliyuncvcClient::queryStatisticsCallable(const QueryStatisticsRequest &request) const
|
||||
AliyuncvcClient::ListMembersOutcomeCallable AliyuncvcClient::listMembersCallable(const ListMembersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryStatisticsOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<ListMembersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryStatistics(request);
|
||||
return this->listMembers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryUserBuyAttributeOutcome AliyuncvcClient::queryUserBuyAttribute(const QueryUserBuyAttributeRequest &request) const
|
||||
AliyuncvcClient::ListUsersOutcome AliyuncvcClient::listUsers(const ListUsersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryUserBuyAttributeOutcome(endpointOutcome.error());
|
||||
return ListUsersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryUserBuyAttributeOutcome(QueryUserBuyAttributeResult(outcome.result()));
|
||||
return ListUsersOutcome(ListUsersResult(outcome.result()));
|
||||
else
|
||||
return QueryUserBuyAttributeOutcome(outcome.error());
|
||||
return ListUsersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryUserBuyAttributeAsync(const QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AliyuncvcClient::listUsersAsync(const ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryUserBuyAttribute(request), context);
|
||||
handler(this, request, listUsers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryUserBuyAttributeOutcomeCallable AliyuncvcClient::queryUserBuyAttributeCallable(const QueryUserBuyAttributeRequest &request) const
|
||||
AliyuncvcClient::ListUsersOutcomeCallable AliyuncvcClient::listUsersCallable(const ListUsersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryUserBuyAttributeOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<ListUsersOutcome()>>(
|
||||
[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::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);
|
||||
return this->listUsers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
|
||||
@@ -14,36 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::ActiveMeetingCodeRequest;
|
||||
using AlibabaCloud::Aliyuncvc::Model::ActiveMeetingRequest;
|
||||
|
||||
ActiveMeetingCodeRequest::ActiveMeetingCodeRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "ActiveMeetingCode")
|
||||
ActiveMeetingRequest::ActiveMeetingRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "ActiveMeeting")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ActiveMeetingCodeRequest::~ActiveMeetingCodeRequest()
|
||||
ActiveMeetingRequest::~ActiveMeetingRequest()
|
||||
{}
|
||||
|
||||
std::string ActiveMeetingCodeRequest::getMeetingUUID()const
|
||||
std::string ActiveMeetingRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void ActiveMeetingCodeRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
void ActiveMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string ActiveMeetingCodeRequest::getMeetingCode()const
|
||||
std::string ActiveMeetingRequest::getMeetingCode()const
|
||||
{
|
||||
return meetingCode_;
|
||||
}
|
||||
|
||||
void ActiveMeetingCodeRequest::setMeetingCode(const std::string& meetingCode)
|
||||
void ActiveMeetingRequest::setMeetingCode(const std::string& meetingCode)
|
||||
{
|
||||
meetingCode_ = meetingCode;
|
||||
setCoreParameter("MeetingCode", meetingCode);
|
||||
@@ -14,34 +14,34 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h>
|
||||
#include <alibabacloud/aliyuncvc/model/ActiveMeetingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
ActiveMeetingCodeResult::ActiveMeetingCodeResult() :
|
||||
ActiveMeetingResult::ActiveMeetingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ActiveMeetingCodeResult::ActiveMeetingCodeResult(const std::string &payload) :
|
||||
ActiveMeetingResult::ActiveMeetingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ActiveMeetingCodeResult::~ActiveMeetingCodeResult()
|
||||
ActiveMeetingResult::~ActiveMeetingResult()
|
||||
{}
|
||||
|
||||
void ActiveMeetingCodeResult::parse(const std::string &payload)
|
||||
void ActiveMeetingResult::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["ValidTime"].isNull())
|
||||
meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString());
|
||||
if(!meetingInfoNode["MeetingCode"].isNull())
|
||||
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
@@ -53,22 +53,22 @@ void ActiveMeetingCodeResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
ActiveMeetingCodeResult::MeetingInfo ActiveMeetingCodeResult::getMeetingInfo()const
|
||||
ActiveMeetingResult::MeetingInfo ActiveMeetingResult::getMeetingInfo()const
|
||||
{
|
||||
return meetingInfo_;
|
||||
}
|
||||
|
||||
std::string ActiveMeetingCodeResult::getMessage()const
|
||||
std::string ActiveMeetingResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ActiveMeetingCodeResult::getErrorCode()const
|
||||
int ActiveMeetingResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool ActiveMeetingCodeResult::getSuccess()const
|
||||
bool ActiveMeetingResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
128
aliyuncvc/src/model/CreateEvaluationRequest.cc
Normal file
128
aliyuncvc/src/model/CreateEvaluationRequest.cc
Normal 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/CreateEvaluationRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::CreateEvaluationRequest;
|
||||
|
||||
CreateEvaluationRequest::CreateEvaluationRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateEvaluation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateEvaluationRequest::~CreateEvaluationRequest()
|
||||
{}
|
||||
|
||||
long CreateEvaluationRequest::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
void CreateEvaluationRequest::setCreateTime(long createTime)
|
||||
{
|
||||
createTime_ = createTime;
|
||||
setCoreParameter("CreateTime", std::to_string(createTime));
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getMemo()const
|
||||
{
|
||||
return memo_;
|
||||
}
|
||||
|
||||
void CreateEvaluationRequest::setMemo(const std::string& memo)
|
||||
{
|
||||
memo_ = memo;
|
||||
setCoreParameter("Memo", memo);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateEvaluationRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getMemberUUID()const
|
||||
{
|
||||
return memberUUID_;
|
||||
}
|
||||
|
||||
void CreateEvaluationRequest::setMemberUUID(const std::string& memberUUID)
|
||||
{
|
||||
memberUUID_ = memberUUID;
|
||||
setCoreParameter("MemberUUID", memberUUID);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void CreateEvaluationRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getEvaluation()const
|
||||
{
|
||||
return evaluation_;
|
||||
}
|
||||
|
||||
void CreateEvaluationRequest::setEvaluation(const std::string& evaluation)
|
||||
{
|
||||
evaluation_ = evaluation;
|
||||
setCoreParameter("Evaluation", evaluation);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getScore()const
|
||||
{
|
||||
return score_;
|
||||
}
|
||||
|
||||
void CreateEvaluationRequest::setScore(const std::string& score)
|
||||
{
|
||||
score_ = score;
|
||||
setCoreParameter("Score", score);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void CreateEvaluationRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateEvaluationRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h>
|
||||
#include <alibabacloud/aliyuncvc/model/CreateEvaluationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
CreateUserEvaluationsResult::CreateUserEvaluationsResult() :
|
||||
CreateEvaluationResult::CreateEvaluationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateUserEvaluationsResult::CreateUserEvaluationsResult(const std::string &payload) :
|
||||
CreateEvaluationResult::CreateEvaluationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateUserEvaluationsResult::~CreateUserEvaluationsResult()
|
||||
CreateEvaluationResult::~CreateEvaluationResult()
|
||||
{}
|
||||
|
||||
void CreateUserEvaluationsResult::parse(const std::string &payload)
|
||||
void CreateEvaluationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -48,17 +48,17 @@ void CreateUserEvaluationsResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::string CreateUserEvaluationsResult::getMessage()const
|
||||
std::string CreateEvaluationResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CreateUserEvaluationsResult::getErrorCode()const
|
||||
std::string CreateEvaluationResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CreateUserEvaluationsResult::getSuccess()const
|
||||
bool CreateEvaluationResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Aliyuncvc::Model::CreateMeetingRequest;
|
||||
|
||||
CreateMeetingRequest::CreateMeetingRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateMeeting")
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateMeeting")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
@@ -1,128 +0,0 @@
|
||||
/*
|
||||
* 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;
|
||||
setCoreParameter("Memo", memo);
|
||||
}
|
||||
|
||||
std::string CreateUserEvaluationsRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateUserEvaluationsRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
long CreateUserEvaluationsRequest::getCreateDate()const
|
||||
{
|
||||
return createDate_;
|
||||
}
|
||||
|
||||
void CreateUserEvaluationsRequest::setCreateDate(long createDate)
|
||||
{
|
||||
createDate_ = createDate;
|
||||
setCoreParameter("CreateDate", std::to_string(createDate));
|
||||
}
|
||||
|
||||
std::string CreateUserEvaluationsRequest::getMemberUUID()const
|
||||
{
|
||||
return memberUUID_;
|
||||
}
|
||||
|
||||
void CreateUserEvaluationsRequest::setMemberUUID(const std::string& memberUUID)
|
||||
{
|
||||
memberUUID_ = memberUUID;
|
||||
setCoreParameter("MemberUUID", memberUUID);
|
||||
}
|
||||
|
||||
std::string CreateUserEvaluationsRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void CreateUserEvaluationsRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string CreateUserEvaluationsRequest::getEvaluation()const
|
||||
{
|
||||
return evaluation_;
|
||||
}
|
||||
|
||||
void CreateUserEvaluationsRequest::setEvaluation(const std::string& evaluation)
|
||||
{
|
||||
evaluation_ = evaluation;
|
||||
setCoreParameter("Evaluation", evaluation);
|
||||
}
|
||||
|
||||
std::string CreateUserEvaluationsRequest::getScore()const
|
||||
{
|
||||
return score_;
|
||||
}
|
||||
|
||||
void CreateUserEvaluationsRequest::setScore(const std::string& score)
|
||||
{
|
||||
score_ = score;
|
||||
setCoreParameter("Score", score);
|
||||
}
|
||||
|
||||
std::string CreateUserEvaluationsRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void CreateUserEvaluationsRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string CreateUserEvaluationsRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateUserEvaluationsRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Aliyuncvc::Model::CreateUserRequest;
|
||||
|
||||
CreateUserRequest::CreateUserRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateUser")
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
@@ -45,6 +45,8 @@ 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();
|
||||
|
||||
}
|
||||
|
||||
@@ -53,6 +55,11 @@ std::string CreateUserResult::getMessage()const
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CreateUserResult::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
int CreateUserResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
|
||||
@@ -14,25 +14,25 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/model/DeleteMeetingRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::RemoveMeetingRequest;
|
||||
using AlibabaCloud::Aliyuncvc::Model::DeleteMeetingRequest;
|
||||
|
||||
RemoveMeetingRequest::RemoveMeetingRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "RemoveMeeting")
|
||||
DeleteMeetingRequest::DeleteMeetingRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "DeleteMeeting")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveMeetingRequest::~RemoveMeetingRequest()
|
||||
DeleteMeetingRequest::~DeleteMeetingRequest()
|
||||
{}
|
||||
|
||||
std::string RemoveMeetingRequest::getMeetingUUID()const
|
||||
std::string DeleteMeetingRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void RemoveMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
void DeleteMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/RemoveMeetingResult.h>
|
||||
#include <alibabacloud/aliyuncvc/model/DeleteMeetingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
RemoveMeetingResult::RemoveMeetingResult() :
|
||||
DeleteMeetingResult::DeleteMeetingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RemoveMeetingResult::RemoveMeetingResult(const std::string &payload) :
|
||||
DeleteMeetingResult::DeleteMeetingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RemoveMeetingResult::~RemoveMeetingResult()
|
||||
DeleteMeetingResult::~DeleteMeetingResult()
|
||||
{}
|
||||
|
||||
void RemoveMeetingResult::parse(const std::string &payload)
|
||||
void DeleteMeetingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -48,17 +48,17 @@ void RemoveMeetingResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::string RemoveMeetingResult::getMessage()const
|
||||
std::string DeleteMeetingResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int RemoveMeetingResult::getErrorCode()const
|
||||
int DeleteMeetingResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool RemoveMeetingResult::getSuccess()const
|
||||
bool DeleteMeetingResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Aliyuncvc::Model::DeleteUserRequest;
|
||||
|
||||
DeleteUserRequest::DeleteUserRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "DeleteUser")
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "DeleteUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
@@ -14,25 +14,25 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/model/GetMeetingRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::QueryMeetingInfoRequest;
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetMeetingRequest;
|
||||
|
||||
QueryMeetingInfoRequest::QueryMeetingInfoRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMeetingInfo")
|
||||
GetMeetingRequest::GetMeetingRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetMeeting")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryMeetingInfoRequest::~QueryMeetingInfoRequest()
|
||||
GetMeetingRequest::~GetMeetingRequest()
|
||||
{}
|
||||
|
||||
std::string QueryMeetingInfoRequest::getMeetingUUID()const
|
||||
std::string GetMeetingRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void QueryMeetingInfoRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
void GetMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h>
|
||||
#include <alibabacloud/aliyuncvc/model/GetMeetingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
QueryMeetingInfoResult::QueryMeetingInfoResult() :
|
||||
GetMeetingResult::GetMeetingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMeetingInfoResult::QueryMeetingInfoResult(const std::string &payload) :
|
||||
GetMeetingResult::GetMeetingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMeetingInfoResult::~QueryMeetingInfoResult()
|
||||
GetMeetingResult::~GetMeetingResult()
|
||||
{}
|
||||
|
||||
void QueryMeetingInfoResult::parse(const std::string &payload)
|
||||
void GetMeetingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -42,12 +42,12 @@ void QueryMeetingInfoResult::parse(const std::string &payload)
|
||||
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["ValidTime"].isNull())
|
||||
meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString());
|
||||
if(!meetingInfoNode["MeetingCode"].isNull())
|
||||
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
|
||||
if(!meetingInfoNode["CreateDate"].isNull())
|
||||
meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].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())
|
||||
@@ -77,22 +77,22 @@ void QueryMeetingInfoResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
QueryMeetingInfoResult::MeetingInfo QueryMeetingInfoResult::getMeetingInfo()const
|
||||
GetMeetingResult::MeetingInfo GetMeetingResult::getMeetingInfo()const
|
||||
{
|
||||
return meetingInfo_;
|
||||
}
|
||||
|
||||
std::string QueryMeetingInfoResult::getMessage()const
|
||||
std::string GetMeetingResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int QueryMeetingInfoResult::getErrorCode()const
|
||||
int GetMeetingResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool QueryMeetingInfoResult::getSuccess()const
|
||||
bool GetMeetingResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -14,25 +14,25 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/model/GetUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::QueryIsvUserInfoRequest;
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetUserRequest;
|
||||
|
||||
QueryIsvUserInfoRequest::QueryIsvUserInfoRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryIsvUserInfo")
|
||||
GetUserRequest::GetUserRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryIsvUserInfoRequest::~QueryIsvUserInfoRequest()
|
||||
GetUserRequest::~GetUserRequest()
|
||||
{}
|
||||
|
||||
std::string QueryIsvUserInfoRequest::getUserId()const
|
||||
std::string GetUserRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void QueryIsvUserInfoRequest::setUserId(const std::string& userId)
|
||||
void GetUserRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h>
|
||||
#include <alibabacloud/aliyuncvc/model/GetUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
QueryIsvUserInfoResult::QueryIsvUserInfoResult() :
|
||||
GetUserResult::GetUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryIsvUserInfoResult::QueryIsvUserInfoResult(const std::string &payload) :
|
||||
GetUserResult::GetUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryIsvUserInfoResult::~QueryIsvUserInfoResult()
|
||||
GetUserResult::~GetUserResult()
|
||||
{}
|
||||
|
||||
void QueryIsvUserInfoResult::parse(const std::string &payload)
|
||||
void GetUserResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -71,22 +71,22 @@ void QueryIsvUserInfoResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::string QueryIsvUserInfoResult::getMessage()const
|
||||
std::string GetUserResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryIsvUserInfoResult::UserInfo QueryIsvUserInfoResult::getUserInfo()const
|
||||
GetUserResult::UserInfo GetUserResult::getUserInfo()const
|
||||
{
|
||||
return userInfo_;
|
||||
}
|
||||
|
||||
int QueryIsvUserInfoResult::getErrorCode()const
|
||||
int GetUserResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool QueryIsvUserInfoResult::getSuccess()const
|
||||
bool GetUserResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -14,36 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/model/JoinMeetingRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::CheckMeetingCodeRequest;
|
||||
using AlibabaCloud::Aliyuncvc::Model::JoinMeetingRequest;
|
||||
|
||||
CheckMeetingCodeRequest::CheckMeetingCodeRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "CheckMeetingCode")
|
||||
JoinMeetingRequest::JoinMeetingRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "JoinMeeting")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckMeetingCodeRequest::~CheckMeetingCodeRequest()
|
||||
JoinMeetingRequest::~JoinMeetingRequest()
|
||||
{}
|
||||
|
||||
std::string CheckMeetingCodeRequest::getMeetingCode()const
|
||||
std::string JoinMeetingRequest::getMeetingCode()const
|
||||
{
|
||||
return meetingCode_;
|
||||
}
|
||||
|
||||
void CheckMeetingCodeRequest::setMeetingCode(const std::string& meetingCode)
|
||||
void JoinMeetingRequest::setMeetingCode(const std::string& meetingCode)
|
||||
{
|
||||
meetingCode_ = meetingCode;
|
||||
setCoreParameter("MeetingCode", meetingCode);
|
||||
}
|
||||
|
||||
std::string CheckMeetingCodeRequest::getUserId()const
|
||||
std::string JoinMeetingRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void CheckMeetingCodeRequest::setUserId(const std::string& userId)
|
||||
void JoinMeetingRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h>
|
||||
#include <alibabacloud/aliyuncvc/model/JoinMeetingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
CheckMeetingCodeResult::CheckMeetingCodeResult() :
|
||||
JoinMeetingResult::JoinMeetingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckMeetingCodeResult::CheckMeetingCodeResult(const std::string &payload) :
|
||||
JoinMeetingResult::JoinMeetingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckMeetingCodeResult::~CheckMeetingCodeResult()
|
||||
JoinMeetingResult::~JoinMeetingResult()
|
||||
{}
|
||||
|
||||
void CheckMeetingCodeResult::parse(const std::string &payload)
|
||||
void JoinMeetingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -70,22 +70,22 @@ void CheckMeetingCodeResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
CheckMeetingCodeResult::MeetingInfo CheckMeetingCodeResult::getMeetingInfo()const
|
||||
JoinMeetingResult::MeetingInfo JoinMeetingResult::getMeetingInfo()const
|
||||
{
|
||||
return meetingInfo_;
|
||||
}
|
||||
|
||||
std::string CheckMeetingCodeResult::getMessage()const
|
||||
std::string JoinMeetingResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CheckMeetingCodeResult::getErrorCode()const
|
||||
int JoinMeetingResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CheckMeetingCodeResult::getSuccess()const
|
||||
bool JoinMeetingResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* 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()
|
||||
{}
|
||||
|
||||
int ListCommoditiesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCommoditiesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListCommoditiesRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListCommoditiesRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListCommoditiesRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListCommoditiesRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int ListCommoditiesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCommoditiesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
/*
|
||||
* 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_;
|
||||
}
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::QueryUserInfoRequest;
|
||||
using AlibabaCloud::Aliyuncvc::Model::ListEvaluationsRequest;
|
||||
|
||||
QueryUserInfoRequest::QueryUserInfoRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserInfo")
|
||||
ListEvaluationsRequest::ListEvaluationsRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "ListEvaluations")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryUserInfoRequest::~QueryUserInfoRequest()
|
||||
ListEvaluationsRequest::~ListEvaluationsRequest()
|
||||
{}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h>
|
||||
#include <alibabacloud/aliyuncvc/model/ListEvaluationsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
QueryUserEvaluationResult::QueryUserEvaluationResult() :
|
||||
ListEvaluationsResult::ListEvaluationsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryUserEvaluationResult::QueryUserEvaluationResult(const std::string &payload) :
|
||||
ListEvaluationsResult::ListEvaluationsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryUserEvaluationResult::~QueryUserEvaluationResult()
|
||||
ListEvaluationsResult::~ListEvaluationsResult()
|
||||
{}
|
||||
|
||||
void QueryUserEvaluationResult::parse(const std::string &payload)
|
||||
void ListEvaluationsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -50,22 +50,22 @@ void QueryUserEvaluationResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::string QueryUserEvaluationResult::getMessage()const
|
||||
std::string ListEvaluationsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int QueryUserEvaluationResult::getErrorCode()const
|
||||
int ListEvaluationsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string QueryUserEvaluationResult::getUserEvaluation()const
|
||||
std::string ListEvaluationsResult::getUserEvaluation()const
|
||||
{
|
||||
return userEvaluation_;
|
||||
}
|
||||
|
||||
bool QueryUserEvaluationResult::getSuccess()const
|
||||
bool ListEvaluationsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -14,25 +14,25 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/model/ListMembersRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::QueryMemberRecordRequest;
|
||||
using AlibabaCloud::Aliyuncvc::Model::ListMembersRequest;
|
||||
|
||||
QueryMemberRecordRequest::QueryMemberRecordRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMemberRecord")
|
||||
ListMembersRequest::ListMembersRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "ListMembers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryMemberRecordRequest::~QueryMemberRecordRequest()
|
||||
ListMembersRequest::~ListMembersRequest()
|
||||
{}
|
||||
|
||||
std::string QueryMemberRecordRequest::getMeetingUUID()const
|
||||
std::string ListMembersRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void QueryMemberRecordRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
void ListMembersRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h>
|
||||
#include <alibabacloud/aliyuncvc/model/ListMembersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
QueryMemberRecordResult::QueryMemberRecordResult() :
|
||||
ListMembersResult::ListMembersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMemberRecordResult::QueryMemberRecordResult(const std::string &payload) :
|
||||
ListMembersResult::ListMembersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMemberRecordResult::~QueryMemberRecordResult()
|
||||
ListMembersResult::~ListMembersResult()
|
||||
{}
|
||||
|
||||
void QueryMemberRecordResult::parse(const std::string &payload)
|
||||
void ListMembersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -48,23 +48,29 @@ void QueryMemberRecordResult::parse(const std::string &payload)
|
||||
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["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 allMemberRecordsListNode = meetingInfoNode["MemberRecordsList"]["MemberRecord"];
|
||||
for (auto meetingInfoNodeMemberRecordsListMemberRecord : allMemberRecordsListNode)
|
||||
auto allMemberInfosNode = meetingInfoNode["MemberInfos"]["MemberRecord"];
|
||||
for (auto meetingInfoNodeMemberInfosMemberRecord : allMemberInfosNode)
|
||||
{
|
||||
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(!meetingInfoNodeMemberInfosMemberRecord["MemberUUID"].isNull())
|
||||
memberRecordObject.memberUUID = meetingInfoNodeMemberInfosMemberRecord["MemberUUID"].asString();
|
||||
if(!meetingInfoNodeMemberInfosMemberRecord["UserId"].isNull())
|
||||
memberRecordObject.userId = meetingInfoNodeMemberInfosMemberRecord["UserId"].asString();
|
||||
if(!meetingInfoNodeMemberInfosMemberRecord["Status"].isNull())
|
||||
memberRecordObject.status = meetingInfoNodeMemberInfosMemberRecord["Status"].asString();
|
||||
if(!meetingInfoNodeMemberInfosMemberRecord["BeginTime"].isNull())
|
||||
memberRecordObject.beginTime = std::stol(meetingInfoNodeMemberInfosMemberRecord["BeginTime"].asString());
|
||||
if(!meetingInfoNodeMemberInfosMemberRecord["EndTime"].isNull())
|
||||
memberRecordObject.endTime = std::stol(meetingInfoNodeMemberInfosMemberRecord["EndTime"].asString());
|
||||
if(!meetingInfoNodeMemberInfosMemberRecord["UserName"].isNull())
|
||||
memberRecordObject.userName = meetingInfoNodeMemberInfosMemberRecord["UserName"].asString();
|
||||
meetingInfo_.memberInfos.push_back(memberRecordObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
@@ -75,22 +81,22 @@ void QueryMemberRecordResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
QueryMemberRecordResult::MeetingInfo QueryMemberRecordResult::getMeetingInfo()const
|
||||
ListMembersResult::MeetingInfo ListMembersResult::getMeetingInfo()const
|
||||
{
|
||||
return meetingInfo_;
|
||||
}
|
||||
|
||||
std::string QueryMemberRecordResult::getMessage()const
|
||||
std::string ListMembersResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int QueryMemberRecordResult::getErrorCode()const
|
||||
int ListMembersResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool QueryMemberRecordResult::getSuccess()const
|
||||
bool ListMembersResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryUserListRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/model/ListUsersRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::QueryUserListRequest;
|
||||
using AlibabaCloud::Aliyuncvc::Model::ListUsersRequest;
|
||||
|
||||
QueryUserListRequest::QueryUserListRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserList")
|
||||
ListUsersRequest::ListUsersRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "ListUsers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryUserListRequest::~QueryUserListRequest()
|
||||
ListUsersRequest::~ListUsersRequest()
|
||||
{}
|
||||
|
||||
int QueryUserListRequest::getPageSize()const
|
||||
int ListUsersRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryUserListRequest::setPageSize(int pageSize)
|
||||
void ListUsersRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int QueryUserListRequest::getPageNum()const
|
||||
int ListUsersRequest::getPageNumber()const
|
||||
{
|
||||
return pageNum_;
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void QueryUserListRequest::setPageNum(int pageNum)
|
||||
void ListUsersRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/QueryUserListResult.h>
|
||||
#include <alibabacloud/aliyuncvc/model/ListUsersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
QueryUserListResult::QueryUserListResult() :
|
||||
ListUsersResult::ListUsersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryUserListResult::QueryUserListResult(const std::string &payload) :
|
||||
ListUsersResult::ListUsersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryUserListResult::~QueryUserListResult()
|
||||
ListUsersResult::~ListUsersResult()
|
||||
{}
|
||||
|
||||
void QueryUserListResult::parse(const std::string &payload)
|
||||
void ListUsersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -58,8 +58,6 @@ void QueryUserListResult::parse(const std::string &payload)
|
||||
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())
|
||||
@@ -83,22 +81,22 @@ void QueryUserListResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::string QueryUserListResult::getMessage()const
|
||||
std::string ListUsersResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryUserListResult::Data QueryUserListResult::getData()const
|
||||
ListUsersResult::Data ListUsersResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int QueryUserListResult::getErrorCode()const
|
||||
int ListUsersResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool QueryUserListResult::getSuccess()const
|
||||
bool ListUsersResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string QueryStatisticsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void QueryStatisticsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
/*
|
||||
* 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_;
|
||||
}
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* 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()
|
||||
{}
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* 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_;
|
||||
}
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* 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()
|
||||
{}
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
/*
|
||||
* 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_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user