Compare commits

...

11 Commits

Author SHA1 Message Date
sdk-team
c9ae7d0b7e Add face quality detection API. 2020-06-23 18:10:55 +08:00
sdk-team
def35a6602 Generated 2015-12-15 for CS. 2020-06-23 16:56:59 +08:00
sdk-team
da7aefe5aa Support SubmitOperationAuditInfo for Support self-service submission of approval information. 2020-06-23 16:26:17 +08:00
sdk-team
243879b17f Generated 2018-08-28 for Tag. 2020-06-23 16:23:57 +08:00
sdk-team
942248dfb0 Public beta version. 2020-06-23 14:06:07 +08:00
sdk-team
8f92463d90 Public beta version. 2020-06-23 10:04:31 +08:00
sdk-team
dbe8804b96 Public beta version. 2020-06-23 09:36:12 +08:00
sdk-team
6e880496ba Add support cn-shenzhen region. 2020-06-22 16:56:25 +08:00
sdk-team
fbf5bf0457 Add GetMultipleTrace api. 2020-06-22 12:15:04 +08:00
sdk-team
e32ce45b9d Add persons API. 2020-06-21 22:21:45 +08:00
sdk-team
053c0dc1a1 Supported TransformDBInstancePayType API. 2020-06-18 16:40:36 +08:00
373 changed files with 12271 additions and 4986 deletions

View File

@@ -1,3 +1,46 @@
2020-06-23 Version: 1.36.478
- Add face quality detection API.
2020-06-23 Version: 1.36.477
- Generated 2015-12-15 for `CS`.
2020-06-23 Version: 1.36.476
- Support SubmitOperationAuditInfo for Support self-service submission of approval information.
- Support SubmitOperationCredentials for self-service submission of certificate information.
- Support CancelOperationAudit for cancel audit.
- Support GetOperationOssUploadPolic for get oss policy.
- Support QueryOperationAuditInfoLis for query audit list.
- Support QueryOperationAuditInfoDetail for query audit details.
2020-06-23 Version: 1.36.475
- Generated 2018-08-28 for `Tag`.
2020-06-23 Version: 1.36.474
- Public beta version.
- Add Api Overseas.
2020-06-23 Version: 1.36.473
- Public beta version.
- Add Api Overseas.
2020-06-23 Version: 1.36.472
- Public beta version.
- Add Api Overseas.
2020-06-22 Version: 1.36.471
- Add support cn-shenzhen region.
2020-06-22 Version: 1.36.470
- Add GetMultipleTrace api.
- Add SearchTracesByPage api.
- Add GetStack api.
2020-06-21 Version: 1.36.469
- Add persons API.
2020-06-18 Version: 1.36.468
- Supported TransformDBInstancePayType API.
2020-06-18 Version: 1.36.467
- Add GetAuthToken OpenAPI.

View File

@@ -1 +1 @@
1.36.467
1.36.478

View File

@@ -25,16 +25,12 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/ActiveDeviceResult.h
include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h
include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h
include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h
include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h
include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h
include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h
include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesRequest.h
include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesResult.h
include/alibabacloud/aliyuncvc/model/CallDeviceRequest.h
include/alibabacloud/aliyuncvc/model/CallDeviceResult.h
include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h
include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h
include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h
@@ -47,8 +43,6 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/CreateUserRequest.h
include/alibabacloud/aliyuncvc/model/CreateUserResult.h
include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h
include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h
include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.h
include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h
include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h
@@ -85,8 +79,6 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h
include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h
@@ -103,28 +95,10 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h
include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h
include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h
include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h
include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h
include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h
include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h
include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h
include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h
include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h
include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h
include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserListResult.h
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h
include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h
include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h
include/alibabacloud/aliyuncvc/model/StartLiveRequest.h
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
@@ -140,16 +114,12 @@ set(aliyuncvc_src
src/model/ActiveDeviceResult.cc
src/model/ActiveMeetingRequest.cc
src/model/ActiveMeetingResult.cc
src/model/ActiveMeetingCodeRequest.cc
src/model/ActiveMeetingCodeResult.cc
src/model/BatchCreateDeviceRequest.cc
src/model/BatchCreateDeviceResult.cc
src/model/BatchDeleteDevicesRequest.cc
src/model/BatchDeleteDevicesResult.cc
src/model/CallDeviceRequest.cc
src/model/CallDeviceResult.cc
src/model/CheckMeetingCodeRequest.cc
src/model/CheckMeetingCodeResult.cc
src/model/CreateDeviceMeetingRequest.cc
src/model/CreateDeviceMeetingResult.cc
src/model/CreateEvaluationRequest.cc
@@ -162,8 +132,6 @@ set(aliyuncvc_src
src/model/CreateMeetingInternationalResult.cc
src/model/CreateUserRequest.cc
src/model/CreateUserResult.cc
src/model/CreateUserEvaluationsRequest.cc
src/model/CreateUserEvaluationsResult.cc
src/model/CreateUserInternationalRequest.cc
src/model/CreateUserInternationalResult.cc
src/model/DeleteDeviceRequest.cc
@@ -200,8 +168,6 @@ set(aliyuncvc_src
src/model/JoinMeetingResult.cc
src/model/JoinMeetingInternationalRequest.cc
src/model/JoinMeetingInternationalResult.cc
src/model/ListCommoditiesRequest.cc
src/model/ListCommoditiesResult.cc
src/model/ListDeviceIpRequest.cc
src/model/ListDeviceIpResult.cc
src/model/ListDevicesRequest.cc
@@ -218,28 +184,10 @@ set(aliyuncvc_src
src/model/ModifyMeetingPasswordResult.cc
src/model/ModifyMeetingPasswordInternationalRequest.cc
src/model/ModifyMeetingPasswordInternationalResult.cc
src/model/QueryIsvUserInfoRequest.cc
src/model/QueryIsvUserInfoResult.cc
src/model/QueryMeetingInfoRequest.cc
src/model/QueryMeetingInfoResult.cc
src/model/QueryMemberRecordRequest.cc
src/model/QueryMemberRecordResult.cc
src/model/QueryStatisticsRequest.cc
src/model/QueryStatisticsResult.cc
src/model/QueryUserBuyAttributeRequest.cc
src/model/QueryUserBuyAttributeResult.cc
src/model/QueryUserEvaluationRequest.cc
src/model/QueryUserEvaluationResult.cc
src/model/QueryUserInfoRequest.cc
src/model/QueryUserInfoResult.cc
src/model/QueryUserListRequest.cc
src/model/QueryUserListResult.cc
src/model/RegisterDeviceRequest.cc
src/model/RegisterDeviceResult.cc
src/model/RegisterUemDeviceRequest.cc
src/model/RegisterUemDeviceResult.cc
src/model/RemoveMeetingRequest.cc
src/model/RemoveMeetingResult.cc
src/model/StartLiveRequest.cc
src/model/StartLiveResult.cc
src/model/UpdateDeviceHeartBeatRequest.cc

View File

@@ -26,16 +26,12 @@
#include "model/ActiveDeviceResult.h"
#include "model/ActiveMeetingRequest.h"
#include "model/ActiveMeetingResult.h"
#include "model/ActiveMeetingCodeRequest.h"
#include "model/ActiveMeetingCodeResult.h"
#include "model/BatchCreateDeviceRequest.h"
#include "model/BatchCreateDeviceResult.h"
#include "model/BatchDeleteDevicesRequest.h"
#include "model/BatchDeleteDevicesResult.h"
#include "model/CallDeviceRequest.h"
#include "model/CallDeviceResult.h"
#include "model/CheckMeetingCodeRequest.h"
#include "model/CheckMeetingCodeResult.h"
#include "model/CreateDeviceMeetingRequest.h"
#include "model/CreateDeviceMeetingResult.h"
#include "model/CreateEvaluationRequest.h"
@@ -48,8 +44,6 @@
#include "model/CreateMeetingInternationalResult.h"
#include "model/CreateUserRequest.h"
#include "model/CreateUserResult.h"
#include "model/CreateUserEvaluationsRequest.h"
#include "model/CreateUserEvaluationsResult.h"
#include "model/CreateUserInternationalRequest.h"
#include "model/CreateUserInternationalResult.h"
#include "model/DeleteDeviceRequest.h"
@@ -86,8 +80,6 @@
#include "model/JoinMeetingResult.h"
#include "model/JoinMeetingInternationalRequest.h"
#include "model/JoinMeetingInternationalResult.h"
#include "model/ListCommoditiesRequest.h"
#include "model/ListCommoditiesResult.h"
#include "model/ListDeviceIpRequest.h"
#include "model/ListDeviceIpResult.h"
#include "model/ListDevicesRequest.h"
@@ -104,28 +96,10 @@
#include "model/ModifyMeetingPasswordResult.h"
#include "model/ModifyMeetingPasswordInternationalRequest.h"
#include "model/ModifyMeetingPasswordInternationalResult.h"
#include "model/QueryIsvUserInfoRequest.h"
#include "model/QueryIsvUserInfoResult.h"
#include "model/QueryMeetingInfoRequest.h"
#include "model/QueryMeetingInfoResult.h"
#include "model/QueryMemberRecordRequest.h"
#include "model/QueryMemberRecordResult.h"
#include "model/QueryStatisticsRequest.h"
#include "model/QueryStatisticsResult.h"
#include "model/QueryUserBuyAttributeRequest.h"
#include "model/QueryUserBuyAttributeResult.h"
#include "model/QueryUserEvaluationRequest.h"
#include "model/QueryUserEvaluationResult.h"
#include "model/QueryUserInfoRequest.h"
#include "model/QueryUserInfoResult.h"
#include "model/QueryUserListRequest.h"
#include "model/QueryUserListResult.h"
#include "model/RegisterDeviceRequest.h"
#include "model/RegisterDeviceResult.h"
#include "model/RegisterUemDeviceRequest.h"
#include "model/RegisterUemDeviceResult.h"
#include "model/RemoveMeetingRequest.h"
#include "model/RemoveMeetingResult.h"
#include "model/StartLiveRequest.h"
#include "model/StartLiveResult.h"
#include "model/UpdateDeviceHeartBeatRequest.h"
@@ -149,9 +123,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ActiveMeetingResult> ActiveMeetingOutcome;
typedef std::future<ActiveMeetingOutcome> ActiveMeetingOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ActiveMeetingRequest&, const ActiveMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveMeetingAsyncHandler;
typedef Outcome<Error, Model::ActiveMeetingCodeResult> ActiveMeetingCodeOutcome;
typedef std::future<ActiveMeetingCodeOutcome> ActiveMeetingCodeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ActiveMeetingCodeRequest&, const ActiveMeetingCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveMeetingCodeAsyncHandler;
typedef Outcome<Error, Model::BatchCreateDeviceResult> BatchCreateDeviceOutcome;
typedef std::future<BatchCreateDeviceOutcome> BatchCreateDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::BatchCreateDeviceRequest&, const BatchCreateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchCreateDeviceAsyncHandler;
@@ -161,9 +132,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CallDeviceResult> CallDeviceOutcome;
typedef std::future<CallDeviceOutcome> CallDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CallDeviceRequest&, const CallDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CallDeviceAsyncHandler;
typedef Outcome<Error, Model::CheckMeetingCodeResult> CheckMeetingCodeOutcome;
typedef std::future<CheckMeetingCodeOutcome> CheckMeetingCodeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CheckMeetingCodeRequest&, const CheckMeetingCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckMeetingCodeAsyncHandler;
typedef Outcome<Error, Model::CreateDeviceMeetingResult> CreateDeviceMeetingOutcome;
typedef std::future<CreateDeviceMeetingOutcome> CreateDeviceMeetingOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateDeviceMeetingRequest&, const CreateDeviceMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeviceMeetingAsyncHandler;
@@ -182,9 +150,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateUserResult> CreateUserOutcome;
typedef std::future<CreateUserOutcome> CreateUserOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserRequest&, const CreateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAsyncHandler;
typedef Outcome<Error, Model::CreateUserEvaluationsResult> CreateUserEvaluationsOutcome;
typedef std::future<CreateUserEvaluationsOutcome> CreateUserEvaluationsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserEvaluationsRequest&, const CreateUserEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserEvaluationsAsyncHandler;
typedef Outcome<Error, Model::CreateUserInternationalResult> CreateUserInternationalOutcome;
typedef std::future<CreateUserInternationalOutcome> CreateUserInternationalOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserInternationalRequest&, const CreateUserInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserInternationalAsyncHandler;
@@ -239,9 +204,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::JoinMeetingInternationalResult> JoinMeetingInternationalOutcome;
typedef std::future<JoinMeetingInternationalOutcome> JoinMeetingInternationalOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::JoinMeetingInternationalRequest&, const JoinMeetingInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinMeetingInternationalAsyncHandler;
typedef Outcome<Error, Model::ListCommoditiesResult> ListCommoditiesOutcome;
typedef std::future<ListCommoditiesOutcome> ListCommoditiesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListCommoditiesRequest&, const ListCommoditiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCommoditiesAsyncHandler;
typedef Outcome<Error, Model::ListDeviceIpResult> ListDeviceIpOutcome;
typedef std::future<ListDeviceIpOutcome> ListDeviceIpOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListDeviceIpRequest&, const ListDeviceIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceIpAsyncHandler;
@@ -266,39 +228,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
typedef Outcome<Error, Model::QueryIsvUserInfoResult> QueryIsvUserInfoOutcome;
typedef std::future<QueryIsvUserInfoOutcome> QueryIsvUserInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryIsvUserInfoRequest&, const QueryIsvUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryIsvUserInfoAsyncHandler;
typedef Outcome<Error, Model::QueryMeetingInfoResult> QueryMeetingInfoOutcome;
typedef std::future<QueryMeetingInfoOutcome> QueryMeetingInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMeetingInfoRequest&, const QueryMeetingInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMeetingInfoAsyncHandler;
typedef Outcome<Error, Model::QueryMemberRecordResult> QueryMemberRecordOutcome;
typedef std::future<QueryMemberRecordOutcome> QueryMemberRecordOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMemberRecordRequest&, const QueryMemberRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMemberRecordAsyncHandler;
typedef Outcome<Error, Model::QueryStatisticsResult> QueryStatisticsOutcome;
typedef std::future<QueryStatisticsOutcome> QueryStatisticsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryStatisticsRequest&, const QueryStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryStatisticsAsyncHandler;
typedef Outcome<Error, Model::QueryUserBuyAttributeResult> QueryUserBuyAttributeOutcome;
typedef std::future<QueryUserBuyAttributeOutcome> QueryUserBuyAttributeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserBuyAttributeRequest&, const QueryUserBuyAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserBuyAttributeAsyncHandler;
typedef Outcome<Error, Model::QueryUserEvaluationResult> QueryUserEvaluationOutcome;
typedef std::future<QueryUserEvaluationOutcome> QueryUserEvaluationOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserEvaluationRequest&, const QueryUserEvaluationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserEvaluationAsyncHandler;
typedef Outcome<Error, Model::QueryUserInfoResult> QueryUserInfoOutcome;
typedef std::future<QueryUserInfoOutcome> QueryUserInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserInfoRequest&, const QueryUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserInfoAsyncHandler;
typedef Outcome<Error, Model::QueryUserListResult> QueryUserListOutcome;
typedef std::future<QueryUserListOutcome> QueryUserListOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserListRequest&, const QueryUserListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserListAsyncHandler;
typedef Outcome<Error, Model::RegisterDeviceResult> RegisterDeviceOutcome;
typedef std::future<RegisterDeviceOutcome> RegisterDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterDeviceRequest&, const RegisterDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterDeviceAsyncHandler;
typedef Outcome<Error, Model::RegisterUemDeviceResult> RegisterUemDeviceOutcome;
typedef std::future<RegisterUemDeviceOutcome> RegisterUemDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterUemDeviceRequest&, const RegisterUemDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterUemDeviceAsyncHandler;
typedef Outcome<Error, Model::RemoveMeetingResult> RemoveMeetingOutcome;
typedef std::future<RemoveMeetingOutcome> RemoveMeetingOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RemoveMeetingRequest&, const RemoveMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveMeetingAsyncHandler;
typedef Outcome<Error, Model::StartLiveResult> StartLiveOutcome;
typedef std::future<StartLiveOutcome> StartLiveOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::StartLiveRequest&, const StartLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveAsyncHandler;
@@ -322,9 +257,6 @@ namespace AlibabaCloud
ActiveMeetingOutcome activeMeeting(const Model::ActiveMeetingRequest &request)const;
void activeMeetingAsync(const Model::ActiveMeetingRequest& request, const ActiveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ActiveMeetingOutcomeCallable activeMeetingCallable(const Model::ActiveMeetingRequest& request) const;
ActiveMeetingCodeOutcome activeMeetingCode(const Model::ActiveMeetingCodeRequest &request)const;
void activeMeetingCodeAsync(const Model::ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ActiveMeetingCodeOutcomeCallable activeMeetingCodeCallable(const Model::ActiveMeetingCodeRequest& request) const;
BatchCreateDeviceOutcome batchCreateDevice(const Model::BatchCreateDeviceRequest &request)const;
void batchCreateDeviceAsync(const Model::BatchCreateDeviceRequest& request, const BatchCreateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchCreateDeviceOutcomeCallable batchCreateDeviceCallable(const Model::BatchCreateDeviceRequest& request) const;
@@ -334,9 +266,6 @@ namespace AlibabaCloud
CallDeviceOutcome callDevice(const Model::CallDeviceRequest &request)const;
void callDeviceAsync(const Model::CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CallDeviceOutcomeCallable callDeviceCallable(const Model::CallDeviceRequest& request) const;
CheckMeetingCodeOutcome checkMeetingCode(const Model::CheckMeetingCodeRequest &request)const;
void checkMeetingCodeAsync(const Model::CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckMeetingCodeOutcomeCallable checkMeetingCodeCallable(const Model::CheckMeetingCodeRequest& request) const;
CreateDeviceMeetingOutcome createDeviceMeeting(const Model::CreateDeviceMeetingRequest &request)const;
void createDeviceMeetingAsync(const Model::CreateDeviceMeetingRequest& request, const CreateDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDeviceMeetingOutcomeCallable createDeviceMeetingCallable(const Model::CreateDeviceMeetingRequest& request) const;
@@ -355,9 +284,6 @@ namespace AlibabaCloud
CreateUserOutcome createUser(const Model::CreateUserRequest &request)const;
void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const;
CreateUserEvaluationsOutcome createUserEvaluations(const Model::CreateUserEvaluationsRequest &request)const;
void createUserEvaluationsAsync(const Model::CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserEvaluationsOutcomeCallable createUserEvaluationsCallable(const Model::CreateUserEvaluationsRequest& request) const;
CreateUserInternationalOutcome createUserInternational(const Model::CreateUserInternationalRequest &request)const;
void createUserInternationalAsync(const Model::CreateUserInternationalRequest& request, const CreateUserInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserInternationalOutcomeCallable createUserInternationalCallable(const Model::CreateUserInternationalRequest& request) const;
@@ -412,9 +338,6 @@ namespace AlibabaCloud
JoinMeetingInternationalOutcome joinMeetingInternational(const Model::JoinMeetingInternationalRequest &request)const;
void joinMeetingInternationalAsync(const Model::JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
JoinMeetingInternationalOutcomeCallable joinMeetingInternationalCallable(const Model::JoinMeetingInternationalRequest& request) const;
ListCommoditiesOutcome listCommodities(const Model::ListCommoditiesRequest &request)const;
void listCommoditiesAsync(const Model::ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCommoditiesOutcomeCallable listCommoditiesCallable(const Model::ListCommoditiesRequest& request) const;
ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const;
void listDeviceIpAsync(const Model::ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const;
@@ -439,39 +362,12 @@ namespace AlibabaCloud
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
QueryIsvUserInfoOutcome queryIsvUserInfo(const Model::QueryIsvUserInfoRequest &request)const;
void queryIsvUserInfoAsync(const Model::QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryIsvUserInfoOutcomeCallable queryIsvUserInfoCallable(const Model::QueryIsvUserInfoRequest& request) const;
QueryMeetingInfoOutcome queryMeetingInfo(const Model::QueryMeetingInfoRequest &request)const;
void queryMeetingInfoAsync(const Model::QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMeetingInfoOutcomeCallable queryMeetingInfoCallable(const Model::QueryMeetingInfoRequest& request) const;
QueryMemberRecordOutcome queryMemberRecord(const Model::QueryMemberRecordRequest &request)const;
void queryMemberRecordAsync(const Model::QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMemberRecordOutcomeCallable queryMemberRecordCallable(const Model::QueryMemberRecordRequest& request) const;
QueryStatisticsOutcome queryStatistics(const Model::QueryStatisticsRequest &request)const;
void queryStatisticsAsync(const Model::QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryStatisticsOutcomeCallable queryStatisticsCallable(const Model::QueryStatisticsRequest& request) const;
QueryUserBuyAttributeOutcome queryUserBuyAttribute(const Model::QueryUserBuyAttributeRequest &request)const;
void queryUserBuyAttributeAsync(const Model::QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserBuyAttributeOutcomeCallable queryUserBuyAttributeCallable(const Model::QueryUserBuyAttributeRequest& request) const;
QueryUserEvaluationOutcome queryUserEvaluation(const Model::QueryUserEvaluationRequest &request)const;
void queryUserEvaluationAsync(const Model::QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserEvaluationOutcomeCallable queryUserEvaluationCallable(const Model::QueryUserEvaluationRequest& request) const;
QueryUserInfoOutcome queryUserInfo(const Model::QueryUserInfoRequest &request)const;
void queryUserInfoAsync(const Model::QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserInfoOutcomeCallable queryUserInfoCallable(const Model::QueryUserInfoRequest& request) const;
QueryUserListOutcome queryUserList(const Model::QueryUserListRequest &request)const;
void queryUserListAsync(const Model::QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserListOutcomeCallable queryUserListCallable(const Model::QueryUserListRequest& request) const;
RegisterDeviceOutcome registerDevice(const Model::RegisterDeviceRequest &request)const;
void registerDeviceAsync(const Model::RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterDeviceOutcomeCallable registerDeviceCallable(const Model::RegisterDeviceRequest& request) const;
RegisterUemDeviceOutcome registerUemDevice(const Model::RegisterUemDeviceRequest &request)const;
void registerUemDeviceAsync(const Model::RegisterUemDeviceRequest& request, const RegisterUemDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterUemDeviceOutcomeCallable registerUemDeviceCallable(const Model::RegisterUemDeviceRequest& request) const;
RemoveMeetingOutcome removeMeeting(const Model::RemoveMeetingRequest &request)const;
void removeMeetingAsync(const Model::RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveMeetingOutcomeCallable removeMeetingCallable(const Model::RemoveMeetingRequest& request) const;
StartLiveOutcome startLive(const Model::StartLiveRequest &request)const;
void startLiveAsync(const Model::StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartLiveOutcomeCallable startLiveCallable(const Model::StartLiveRequest& request) const;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
CallDeviceRequest();
~CallDeviceRequest();
std::string getInviteName()const;
void setInviteName(const std::string& inviteName);
std::string getOperateUserId()const;
void setOperateUserId(const std::string& operateUserId);
bool getJoinMeetingFlag()const;
@@ -45,6 +47,7 @@ namespace AlibabaCloud
void setSN(const std::string& sN);
private:
std::string inviteName_;
std::string operateUserId_;
bool joinMeetingFlag_;
std::string meetingCode_;

View File

@@ -1,74 +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_CHECKMEETINGCODERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeResult : public ServiceResult
{
public:
struct MeetingInfo
{
struct SlsInfo
{
std::string project;
std::string logstore;
std::string logServiceEndpoint;
};
SlsInfo slsInfo;
std::string meetingDomain;
std::string meetingCode;
std::string memberUUID;
std::string meetingUUID;
std::string clientAppId;
std::string meetingAppId;
std::string meetingToken;
};
CheckMeetingCodeResult();
explicit CheckMeetingCodeResult(const std::string &payload);
~CheckMeetingCodeResult();
MeetingInfo getMeetingInfo()const;
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
MeetingInfo meetingInfo_;
std::string message_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_

View File

@@ -39,10 +39,22 @@ namespace AlibabaCloud
void setMeetingName(const std::string& meetingName);
std::string getUserId()const;
void setUserId(const std::string& userId);
bool getOpenPasswordFlag()const;
void setOpenPasswordFlag(bool openPasswordFlag);
std::string getPassword()const;
void setPassword(const std::string& password);
bool getMasterEnableFlag()const;
void setMasterEnableFlag(bool masterEnableFlag);
std::string getMeetingMode()const;
void setMeetingMode(const std::string& meetingMode);
private:
std::string meetingName_;
std::string userId_;
bool openPasswordFlag_;
std::string password_;
bool masterEnableFlag_;
std::string meetingMode_;
};
}

View File

@@ -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.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsRequest : public RpcServiceRequest
{
public:
CreateUserEvaluationsRequest();
~CreateUserEvaluationsRequest();
std::string getMemo()const;
void setMemo(const std::string& memo);
std::string getDescription()const;
void setDescription(const std::string& description);
long getCreateDate()const;
void setCreateDate(long createDate);
std::string getMemberUUID()const;
void setMemberUUID(const std::string& memberUUID);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getEvaluation()const;
void setEvaluation(const std::string& evaluation);
std::string getScore()const;
void setScore(const std::string& score);
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
std::string getAppId()const;
void setAppId(const std::string& appId);
private:
std::string memo_;
std::string description_;
long createDate_;
std::string memberUUID_;
std::string userId_;
std::string evaluation_;
std::string score_;
std::string meetingUUID_;
std::string appId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_

View File

@@ -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_;

View File

@@ -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();
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string endTime_;
std::string startTime_;
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_

View File

@@ -34,7 +34,7 @@ namespace AlibabaCloud
public:
struct Data
{
struct Data
struct Device
{
std::string status;
std::string castScreenCode;
@@ -48,7 +48,7 @@ namespace AlibabaCloud
int pageSize;
int pageNumber;
int total;
std::vector<Data> devices;
std::vector<Device> devices;
};

View File

@@ -1,71 +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_QUERYISVUSERINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoResult : public ServiceResult
{
public:
struct UserInfo
{
std::string groupName;
std::string userMobile;
std::string userName;
std::string userTel;
std::string userId;
long createTime;
std::string userAvatarUrl;
std::string userEmail;
std::string departName;
std::string groupId;
std::string departId;
};
QueryIsvUserInfoResult();
explicit QueryIsvUserInfoResult(const std::string &payload);
~QueryIsvUserInfoResult();
std::string getMessage()const;
UserInfo getUserInfo()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
UserInfo userInfo_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_

View File

@@ -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_QUERYMEETINGINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoResult : public ServiceResult
{
public:
struct MeetingInfo
{
struct MemberListItem
{
std::string status;
std::string userName;
std::string memberUUID;
std::string userId;
std::string userAvatarUrl;
};
std::string meetingCode;
long validDate;
std::string meetingUUID;
std::vector<MemberListItem> memberList;
std::string userId;
std::string meetingName;
long createDate;
};
QueryMeetingInfoResult();
explicit QueryMeetingInfoResult(const std::string &payload);
~QueryMeetingInfoResult();
MeetingInfo getMeetingInfo()const;
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
MeetingInfo meetingInfo_;
std::string message_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_

View File

@@ -1,74 +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_QUERYMEMBERRECORDRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordResult : public ServiceResult
{
public:
struct MeetingInfo
{
struct MemberRecord
{
std::string status;
std::string memberUUID;
std::string userId;
};
std::string meetingCode;
std::string userName;
std::string meetingUUID;
std::string userId;
std::string meetingName;
std::vector<MemberRecord> memberRecordsList;
long createDate;
std::string memo;
};
QueryMemberRecordResult();
explicit QueryMemberRecordResult(const std::string &payload);
~QueryMemberRecordResult();
MeetingInfo getMeetingInfo()const;
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
MeetingInfo meetingInfo_;
std::string message_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_

View File

@@ -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_

View File

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

View File

@@ -1,78 +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_QUERYUSERLISTRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListResult : public ServiceResult
{
public:
struct Data
{
struct UserInfo
{
std::string groupName;
std::string userMobile;
std::string userName;
std::string userTel;
long createTime;
std::string userAvatarUrl;
std::string groupName1;
std::string userEmail;
std::string departName;
std::string groupId;
std::string departId;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<UserInfo> userInfos;
};
QueryUserListResult();
explicit QueryUserListResult(const std::string &payload);
~QueryUserListResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_

View File

@@ -1,48 +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_REMOVEMEETINGREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingRequest : public RpcServiceRequest
{
public:
RemoveMeetingRequest();
~RemoveMeetingRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
private:
std::string meetingUUID_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_

View File

@@ -123,42 +123,6 @@ AliyuncvcClient::ActiveMeetingOutcomeCallable AliyuncvcClient::activeMeetingCall
return task->get_future();
}
AliyuncvcClient::ActiveMeetingCodeOutcome AliyuncvcClient::activeMeetingCode(const ActiveMeetingCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ActiveMeetingCodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ActiveMeetingCodeOutcome(ActiveMeetingCodeResult(outcome.result()));
else
return ActiveMeetingCodeOutcome(outcome.error());
}
void AliyuncvcClient::activeMeetingCodeAsync(const ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, activeMeetingCode(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ActiveMeetingCodeOutcomeCallable AliyuncvcClient::activeMeetingCodeCallable(const ActiveMeetingCodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ActiveMeetingCodeOutcome()>>(
[this, request]()
{
return this->activeMeetingCode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::BatchCreateDeviceOutcome AliyuncvcClient::batchCreateDevice(const BatchCreateDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -267,42 +231,6 @@ AliyuncvcClient::CallDeviceOutcomeCallable AliyuncvcClient::callDeviceCallable(c
return task->get_future();
}
AliyuncvcClient::CheckMeetingCodeOutcome AliyuncvcClient::checkMeetingCode(const CheckMeetingCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CheckMeetingCodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CheckMeetingCodeOutcome(CheckMeetingCodeResult(outcome.result()));
else
return CheckMeetingCodeOutcome(outcome.error());
}
void AliyuncvcClient::checkMeetingCodeAsync(const CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, checkMeetingCode(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CheckMeetingCodeOutcomeCallable AliyuncvcClient::checkMeetingCodeCallable(const CheckMeetingCodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CheckMeetingCodeOutcome()>>(
[this, request]()
{
return this->checkMeetingCode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CreateDeviceMeetingOutcome AliyuncvcClient::createDeviceMeeting(const CreateDeviceMeetingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -519,42 +447,6 @@ AliyuncvcClient::CreateUserOutcomeCallable AliyuncvcClient::createUserCallable(c
return task->get_future();
}
AliyuncvcClient::CreateUserEvaluationsOutcome AliyuncvcClient::createUserEvaluations(const CreateUserEvaluationsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateUserEvaluationsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateUserEvaluationsOutcome(CreateUserEvaluationsResult(outcome.result()));
else
return CreateUserEvaluationsOutcome(outcome.error());
}
void AliyuncvcClient::createUserEvaluationsAsync(const CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createUserEvaluations(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CreateUserEvaluationsOutcomeCallable AliyuncvcClient::createUserEvaluationsCallable(const CreateUserEvaluationsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateUserEvaluationsOutcome()>>(
[this, request]()
{
return this->createUserEvaluations(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CreateUserInternationalOutcome AliyuncvcClient::createUserInternational(const CreateUserInternationalRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1203,42 +1095,6 @@ AliyuncvcClient::JoinMeetingInternationalOutcomeCallable AliyuncvcClient::joinMe
return task->get_future();
}
AliyuncvcClient::ListCommoditiesOutcome AliyuncvcClient::listCommodities(const ListCommoditiesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListCommoditiesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListCommoditiesOutcome(ListCommoditiesResult(outcome.result()));
else
return ListCommoditiesOutcome(outcome.error());
}
void AliyuncvcClient::listCommoditiesAsync(const ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listCommodities(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ListCommoditiesOutcomeCallable AliyuncvcClient::listCommoditiesCallable(const ListCommoditiesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListCommoditiesOutcome()>>(
[this, request]()
{
return this->listCommodities(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1527,294 +1383,6 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie
return task->get_future();
}
AliyuncvcClient::QueryIsvUserInfoOutcome AliyuncvcClient::queryIsvUserInfo(const QueryIsvUserInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryIsvUserInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryIsvUserInfoOutcome(QueryIsvUserInfoResult(outcome.result()));
else
return QueryIsvUserInfoOutcome(outcome.error());
}
void AliyuncvcClient::queryIsvUserInfoAsync(const QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryIsvUserInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryIsvUserInfoOutcomeCallable AliyuncvcClient::queryIsvUserInfoCallable(const QueryIsvUserInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryIsvUserInfoOutcome()>>(
[this, request]()
{
return this->queryIsvUserInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryMeetingInfoOutcome AliyuncvcClient::queryMeetingInfo(const QueryMeetingInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryMeetingInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryMeetingInfoOutcome(QueryMeetingInfoResult(outcome.result()));
else
return QueryMeetingInfoOutcome(outcome.error());
}
void AliyuncvcClient::queryMeetingInfoAsync(const QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryMeetingInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryMeetingInfoOutcomeCallable AliyuncvcClient::queryMeetingInfoCallable(const QueryMeetingInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryMeetingInfoOutcome()>>(
[this, request]()
{
return this->queryMeetingInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryMemberRecordOutcome AliyuncvcClient::queryMemberRecord(const QueryMemberRecordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryMemberRecordOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryMemberRecordOutcome(QueryMemberRecordResult(outcome.result()));
else
return QueryMemberRecordOutcome(outcome.error());
}
void AliyuncvcClient::queryMemberRecordAsync(const QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryMemberRecord(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryMemberRecordOutcomeCallable AliyuncvcClient::queryMemberRecordCallable(const QueryMemberRecordRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryMemberRecordOutcome()>>(
[this, request]()
{
return this->queryMemberRecord(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryStatisticsOutcome AliyuncvcClient::queryStatistics(const QueryStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryStatisticsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryStatisticsOutcome(QueryStatisticsResult(outcome.result()));
else
return QueryStatisticsOutcome(outcome.error());
}
void AliyuncvcClient::queryStatisticsAsync(const QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryStatistics(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryStatisticsOutcomeCallable AliyuncvcClient::queryStatisticsCallable(const QueryStatisticsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryStatisticsOutcome()>>(
[this, request]()
{
return this->queryStatistics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserBuyAttributeOutcome AliyuncvcClient::queryUserBuyAttribute(const QueryUserBuyAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserBuyAttributeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserBuyAttributeOutcome(QueryUserBuyAttributeResult(outcome.result()));
else
return QueryUserBuyAttributeOutcome(outcome.error());
}
void AliyuncvcClient::queryUserBuyAttributeAsync(const QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserBuyAttribute(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserBuyAttributeOutcomeCallable AliyuncvcClient::queryUserBuyAttributeCallable(const QueryUserBuyAttributeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserBuyAttributeOutcome()>>(
[this, request]()
{
return this->queryUserBuyAttribute(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserEvaluationOutcome AliyuncvcClient::queryUserEvaluation(const QueryUserEvaluationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserEvaluationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserEvaluationOutcome(QueryUserEvaluationResult(outcome.result()));
else
return QueryUserEvaluationOutcome(outcome.error());
}
void AliyuncvcClient::queryUserEvaluationAsync(const QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserEvaluation(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserEvaluationOutcomeCallable AliyuncvcClient::queryUserEvaluationCallable(const QueryUserEvaluationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserEvaluationOutcome()>>(
[this, request]()
{
return this->queryUserEvaluation(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserInfoOutcome AliyuncvcClient::queryUserInfo(const QueryUserInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserInfoOutcome(QueryUserInfoResult(outcome.result()));
else
return QueryUserInfoOutcome(outcome.error());
}
void AliyuncvcClient::queryUserInfoAsync(const QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserInfoOutcomeCallable AliyuncvcClient::queryUserInfoCallable(const QueryUserInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserInfoOutcome()>>(
[this, request]()
{
return this->queryUserInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserListOutcome AliyuncvcClient::queryUserList(const QueryUserListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserListOutcome(QueryUserListResult(outcome.result()));
else
return QueryUserListOutcome(outcome.error());
}
void AliyuncvcClient::queryUserListAsync(const QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserList(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserListOutcomeCallable AliyuncvcClient::queryUserListCallable(const QueryUserListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserListOutcome()>>(
[this, request]()
{
return this->queryUserList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1887,42 +1455,6 @@ AliyuncvcClient::RegisterUemDeviceOutcomeCallable AliyuncvcClient::registerUemDe
return task->get_future();
}
AliyuncvcClient::RemoveMeetingOutcome AliyuncvcClient::removeMeeting(const RemoveMeetingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RemoveMeetingOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RemoveMeetingOutcome(RemoveMeetingResult(outcome.result()));
else
return RemoveMeetingOutcome(outcome.error());
}
void AliyuncvcClient::removeMeetingAsync(const RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, removeMeeting(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::RemoveMeetingOutcomeCallable AliyuncvcClient::removeMeetingCallable(const RemoveMeetingRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RemoveMeetingOutcome()>>(
[this, request]()
{
return this->removeMeeting(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -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/ActiveMeetingCodeRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ActiveMeetingCodeRequest;
ActiveMeetingCodeRequest::ActiveMeetingCodeRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "ActiveMeetingCode")
{
setMethod(HttpRequest::Method::Post);
}
ActiveMeetingCodeRequest::~ActiveMeetingCodeRequest()
{}
std::string ActiveMeetingCodeRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void ActiveMeetingCodeRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setParameter("MeetingUUID", meetingUUID);
}
std::string ActiveMeetingCodeRequest::getMeetingCode()const
{
return meetingCode_;
}
void ActiveMeetingCodeRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setParameter("MeetingCode", meetingCode);
}

View File

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

View File

@@ -27,6 +27,17 @@ CallDeviceRequest::CallDeviceRequest() :
CallDeviceRequest::~CallDeviceRequest()
{}
std::string CallDeviceRequest::getInviteName()const
{
return inviteName_;
}
void CallDeviceRequest::setInviteName(const std::string& inviteName)
{
inviteName_ = inviteName;
setBodyParameter("InviteName", inviteName);
}
std::string CallDeviceRequest::getOperateUserId()const
{
return operateUserId_;

View File

@@ -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/CheckMeetingCodeRequest.h>
using AlibabaCloud::Aliyuncvc::Model::CheckMeetingCodeRequest;
CheckMeetingCodeRequest::CheckMeetingCodeRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "CheckMeetingCode")
{
setMethod(HttpRequest::Method::Post);
}
CheckMeetingCodeRequest::~CheckMeetingCodeRequest()
{}
std::string CheckMeetingCodeRequest::getMeetingCode()const
{
return meetingCode_;
}
void CheckMeetingCodeRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setBodyParameter("MeetingCode", meetingCode);
}
std::string CheckMeetingCodeRequest::getUserId()const
{
return userId_;
}
void CheckMeetingCodeRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setBodyParameter("UserId", userId);
}

View File

@@ -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/CheckMeetingCodeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
CheckMeetingCodeResult::CheckMeetingCodeResult() :
ServiceResult()
{}
CheckMeetingCodeResult::CheckMeetingCodeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckMeetingCodeResult::~CheckMeetingCodeResult()
{}
void CheckMeetingCodeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto meetingInfoNode = value["MeetingInfo"];
if(!meetingInfoNode["MeetingDomain"].isNull())
meetingInfo_.meetingDomain = meetingInfoNode["MeetingDomain"].asString();
if(!meetingInfoNode["MeetingToken"].isNull())
meetingInfo_.meetingToken = meetingInfoNode["MeetingToken"].asString();
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["MemberUUID"].isNull())
meetingInfo_.memberUUID = meetingInfoNode["MemberUUID"].asString();
if(!meetingInfoNode["ClientAppId"].isNull())
meetingInfo_.clientAppId = meetingInfoNode["ClientAppId"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
if(!meetingInfoNode["MeetingAppId"].isNull())
meetingInfo_.meetingAppId = meetingInfoNode["MeetingAppId"].asString();
auto slsInfoNode = meetingInfoNode["SlsInfo"];
if(!slsInfoNode["LogServiceEndpoint"].isNull())
meetingInfo_.slsInfo.logServiceEndpoint = slsInfoNode["LogServiceEndpoint"].asString();
if(!slsInfoNode["Logstore"].isNull())
meetingInfo_.slsInfo.logstore = slsInfoNode["Logstore"].asString();
if(!slsInfoNode["Project"].isNull())
meetingInfo_.slsInfo.project = slsInfoNode["Project"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
CheckMeetingCodeResult::MeetingInfo CheckMeetingCodeResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string CheckMeetingCodeResult::getMessage()const
{
return message_;
}
int CheckMeetingCodeResult::getErrorCode()const
{
return errorCode_;
}
bool CheckMeetingCodeResult::getSuccess()const
{
return success_;
}

View File

@@ -19,7 +19,7 @@
using AlibabaCloud::Aliyuncvc::Model::CreateMeetingRequest;
CreateMeetingRequest::CreateMeetingRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateMeeting")
RpcServiceRequest("aliyuncvc", "2019-10-30", "CreateMeeting")
{
setMethod(HttpRequest::Method::Post);
}
@@ -49,3 +49,47 @@ void CreateMeetingRequest::setUserId(const std::string& userId)
setBodyParameter("UserId", userId);
}
bool CreateMeetingRequest::getOpenPasswordFlag()const
{
return openPasswordFlag_;
}
void CreateMeetingRequest::setOpenPasswordFlag(bool openPasswordFlag)
{
openPasswordFlag_ = openPasswordFlag;
setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false");
}
std::string CreateMeetingRequest::getPassword()const
{
return password_;
}
void CreateMeetingRequest::setPassword(const std::string& password)
{
password_ = password;
setBodyParameter("Password", password);
}
bool CreateMeetingRequest::getMasterEnableFlag()const
{
return masterEnableFlag_;
}
void CreateMeetingRequest::setMasterEnableFlag(bool masterEnableFlag)
{
masterEnableFlag_ = masterEnableFlag;
setBodyParameter("MasterEnableFlag", masterEnableFlag ? "true" : "false");
}
std::string CreateMeetingRequest::getMeetingMode()const
{
return meetingMode_;
}
void CreateMeetingRequest::setMeetingMode(const std::string& meetingMode)
{
meetingMode_ = meetingMode;
setBodyParameter("MeetingMode", meetingMode);
}

View File

@@ -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;
setParameter("Memo", memo);
}
std::string CreateUserEvaluationsRequest::getDescription()const
{
return description_;
}
void CreateUserEvaluationsRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
long CreateUserEvaluationsRequest::getCreateDate()const
{
return createDate_;
}
void CreateUserEvaluationsRequest::setCreateDate(long createDate)
{
createDate_ = createDate;
setParameter("CreateDate", std::to_string(createDate));
}
std::string CreateUserEvaluationsRequest::getMemberUUID()const
{
return memberUUID_;
}
void CreateUserEvaluationsRequest::setMemberUUID(const std::string& memberUUID)
{
memberUUID_ = memberUUID;
setParameter("MemberUUID", memberUUID);
}
std::string CreateUserEvaluationsRequest::getUserId()const
{
return userId_;
}
void CreateUserEvaluationsRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setParameter("UserId", userId);
}
std::string CreateUserEvaluationsRequest::getEvaluation()const
{
return evaluation_;
}
void CreateUserEvaluationsRequest::setEvaluation(const std::string& evaluation)
{
evaluation_ = evaluation;
setParameter("Evaluation", evaluation);
}
std::string CreateUserEvaluationsRequest::getScore()const
{
return score_;
}
void CreateUserEvaluationsRequest::setScore(const std::string& score)
{
score_ = score;
setParameter("Score", score);
}
std::string CreateUserEvaluationsRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void CreateUserEvaluationsRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setParameter("MeetingUUID", meetingUUID);
}
std::string CreateUserEvaluationsRequest::getAppId()const
{
return appId_;
}
void CreateUserEvaluationsRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}

View File

@@ -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);
}

View File

@@ -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_;

View File

@@ -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);
}

View File

@@ -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()
{}
std::string ListCommoditiesRequest::getEndTime()const
{
return endTime_;
}
void ListCommoditiesRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string ListCommoditiesRequest::getStartTime()const
{
return startTime_;
}
void ListCommoditiesRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
int ListCommoditiesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListCommoditiesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int ListCommoditiesRequest::getPageSize()const
{
return pageSize_;
}
void ListCommoditiesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -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_;
}

View File

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

View File

@@ -46,27 +46,27 @@ void ListDevicesResult::parse(const std::string &payload)
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allDevicesNode = dataNode["Devices"]["data"];
for (auto dataNodeDevicesdata : allDevicesNode)
auto allDevicesNode = dataNode["Devices"]["Device"];
for (auto dataNodeDevicesDevice : allDevicesNode)
{
Data::Data dataObject;
if(!dataNodeDevicesdata["ActivationCode"].isNull())
dataObject.activationCode = dataNodeDevicesdata["ActivationCode"].asString();
if(!dataNodeDevicesdata["ConferenceCode"].isNull())
dataObject.conferenceCode = dataNodeDevicesdata["ConferenceCode"].asString();
if(!dataNodeDevicesdata["ConferenceName"].isNull())
dataObject.conferenceName = dataNodeDevicesdata["ConferenceName"].asString();
if(!dataNodeDevicesdata["CreateTime"].isNull())
dataObject.createTime = dataNodeDevicesdata["CreateTime"].asString();
if(!dataNodeDevicesdata["PictureUrl"].isNull())
dataObject.pictureUrl = dataNodeDevicesdata["PictureUrl"].asString();
if(!dataNodeDevicesdata["SN"].isNull())
dataObject.sN = dataNodeDevicesdata["SN"].asString();
if(!dataNodeDevicesdata["Status"].isNull())
dataObject.status = dataNodeDevicesdata["Status"].asString();
if(!dataNodeDevicesdata["CastScreenCode"].isNull())
dataObject.castScreenCode = dataNodeDevicesdata["CastScreenCode"].asString();
data_.devices.push_back(dataObject);
Data::Device deviceObject;
if(!dataNodeDevicesDevice["ActivationCode"].isNull())
deviceObject.activationCode = dataNodeDevicesDevice["ActivationCode"].asString();
if(!dataNodeDevicesDevice["ConferenceCode"].isNull())
deviceObject.conferenceCode = dataNodeDevicesDevice["ConferenceCode"].asString();
if(!dataNodeDevicesDevice["ConferenceName"].isNull())
deviceObject.conferenceName = dataNodeDevicesDevice["ConferenceName"].asString();
if(!dataNodeDevicesDevice["CreateTime"].isNull())
deviceObject.createTime = dataNodeDevicesDevice["CreateTime"].asString();
if(!dataNodeDevicesDevice["PictureUrl"].isNull())
deviceObject.pictureUrl = dataNodeDevicesDevice["PictureUrl"].asString();
if(!dataNodeDevicesDevice["SN"].isNull())
deviceObject.sN = dataNodeDevicesDevice["SN"].asString();
if(!dataNodeDevicesDevice["Status"].isNull())
deviceObject.status = dataNodeDevicesDevice["Status"].asString();
if(!dataNodeDevicesDevice["CastScreenCode"].isNull())
deviceObject.castScreenCode = dataNodeDevicesDevice["CastScreenCode"].asString();
data_.devices.push_back(deviceObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());

View File

@@ -1,93 +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/QueryIsvUserInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryIsvUserInfoResult::QueryIsvUserInfoResult() :
ServiceResult()
{}
QueryIsvUserInfoResult::QueryIsvUserInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryIsvUserInfoResult::~QueryIsvUserInfoResult()
{}
void QueryIsvUserInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto userInfoNode = value["UserInfo"];
if(!userInfoNode["UserName"].isNull())
userInfo_.userName = userInfoNode["UserName"].asString();
if(!userInfoNode["CreateTime"].isNull())
userInfo_.createTime = std::stol(userInfoNode["CreateTime"].asString());
if(!userInfoNode["GroupId"].isNull())
userInfo_.groupId = userInfoNode["GroupId"].asString();
if(!userInfoNode["GroupName"].isNull())
userInfo_.groupName = userInfoNode["GroupName"].asString();
if(!userInfoNode["UserId"].isNull())
userInfo_.userId = userInfoNode["UserId"].asString();
if(!userInfoNode["UserTel"].isNull())
userInfo_.userTel = userInfoNode["UserTel"].asString();
if(!userInfoNode["UserEmail"].isNull())
userInfo_.userEmail = userInfoNode["UserEmail"].asString();
if(!userInfoNode["UserMobile"].isNull())
userInfo_.userMobile = userInfoNode["UserMobile"].asString();
if(!userInfoNode["UserAvatarUrl"].isNull())
userInfo_.userAvatarUrl = userInfoNode["UserAvatarUrl"].asString();
if(!userInfoNode["DepartId"].isNull())
userInfo_.departId = userInfoNode["DepartId"].asString();
if(!userInfoNode["DepartName"].isNull())
userInfo_.departName = userInfoNode["DepartName"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string QueryIsvUserInfoResult::getMessage()const
{
return message_;
}
QueryIsvUserInfoResult::UserInfo QueryIsvUserInfoResult::getUserInfo()const
{
return userInfo_;
}
int QueryIsvUserInfoResult::getErrorCode()const
{
return errorCode_;
}
bool QueryIsvUserInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -1,99 +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/QueryMeetingInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryMeetingInfoResult::QueryMeetingInfoResult() :
ServiceResult()
{}
QueryMeetingInfoResult::QueryMeetingInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryMeetingInfoResult::~QueryMeetingInfoResult()
{}
void QueryMeetingInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto meetingInfoNode = value["MeetingInfo"];
if(!meetingInfoNode["MeetingName"].isNull())
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
if(!meetingInfoNode["ValidDate"].isNull())
meetingInfo_.validDate = std::stol(meetingInfoNode["ValidDate"].asString());
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["CreateDate"].isNull())
meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString());
if(!meetingInfoNode["UserId"].isNull())
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"];
for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode)
{
MeetingInfo::MemberListItem memberListItemObject;
if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull())
memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString();
if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull())
memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString();
if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull())
memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString();
if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull())
memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString();
if(!meetingInfoNodeMemberListMemberListItem["Status"].isNull())
memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString();
meetingInfo_.memberList.push_back(memberListItemObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
QueryMeetingInfoResult::MeetingInfo QueryMeetingInfoResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string QueryMeetingInfoResult::getMessage()const
{
return message_;
}
int QueryMeetingInfoResult::getErrorCode()const
{
return errorCode_;
}
bool QueryMeetingInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -1,97 +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/QueryMemberRecordResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryMemberRecordResult::QueryMemberRecordResult() :
ServiceResult()
{}
QueryMemberRecordResult::QueryMemberRecordResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryMemberRecordResult::~QueryMemberRecordResult()
{}
void QueryMemberRecordResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto meetingInfoNode = value["MeetingInfo"];
if(!meetingInfoNode["MeetingName"].isNull())
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["Memo"].isNull())
meetingInfo_.memo = meetingInfoNode["Memo"].asString();
if(!meetingInfoNode["UserName"].isNull())
meetingInfo_.userName = meetingInfoNode["UserName"].asString();
if(!meetingInfoNode["CreateDate"].isNull())
meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString());
if(!meetingInfoNode["UserId"].isNull())
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
auto allMemberRecordsListNode = meetingInfoNode["MemberRecordsList"]["MemberRecord"];
for (auto meetingInfoNodeMemberRecordsListMemberRecord : allMemberRecordsListNode)
{
MeetingInfo::MemberRecord memberRecordObject;
if(!meetingInfoNodeMemberRecordsListMemberRecord["MemberUUID"].isNull())
memberRecordObject.memberUUID = meetingInfoNodeMemberRecordsListMemberRecord["MemberUUID"].asString();
if(!meetingInfoNodeMemberRecordsListMemberRecord["UserId"].isNull())
memberRecordObject.userId = meetingInfoNodeMemberRecordsListMemberRecord["UserId"].asString();
if(!meetingInfoNodeMemberRecordsListMemberRecord["Status"].isNull())
memberRecordObject.status = meetingInfoNodeMemberRecordsListMemberRecord["Status"].asString();
meetingInfo_.memberRecordsList.push_back(memberRecordObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
QueryMemberRecordResult::MeetingInfo QueryMemberRecordResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string QueryMemberRecordResult::getMessage()const
{
return message_;
}
int QueryMemberRecordResult::getErrorCode()const
{
return errorCode_;
}
bool QueryMemberRecordResult::getSuccess()const
{
return success_;
}

View File

@@ -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;
setParameter("EndTime", endTime);
}
std::string QueryStatisticsRequest::getStartTime()const
{
return startTime_;
}
void QueryStatisticsRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}

View File

@@ -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_;
}

View File

@@ -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()
{}

View File

@@ -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_;
}

View File

@@ -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()
{}

View File

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

View File

@@ -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/QueryUserInfoRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryUserInfoRequest;
QueryUserInfoRequest::QueryUserInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserInfo")
{
setMethod(HttpRequest::Method::Post);
}
QueryUserInfoRequest::~QueryUserInfoRequest()
{}

View File

@@ -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_;
}

View File

@@ -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/QueryUserListRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryUserListRequest;
QueryUserListRequest::QueryUserListRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserList")
{
setMethod(HttpRequest::Method::Post);
}
QueryUserListRequest::~QueryUserListRequest()
{}
int QueryUserListRequest::getPageSize()const
{
return pageSize_;
}
void QueryUserListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int QueryUserListRequest::getPageNum()const
{
return pageNum_;
}
void QueryUserListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}

View File

@@ -1,105 +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/QueryUserListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryUserListResult::QueryUserListResult() :
ServiceResult()
{}
QueryUserListResult::QueryUserListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryUserListResult::~QueryUserListResult()
{}
void QueryUserListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allUserInfosNode = dataNode["UserInfos"]["UserInfo"];
for (auto dataNodeUserInfosUserInfo : allUserInfosNode)
{
Data::UserInfo userInfoObject;
if(!dataNodeUserInfosUserInfo["CreateTime"].isNull())
userInfoObject.createTime = std::stol(dataNodeUserInfosUserInfo["CreateTime"].asString());
if(!dataNodeUserInfosUserInfo["GroupName"].isNull())
userInfoObject.groupName = dataNodeUserInfosUserInfo["GroupName"].asString();
if(!dataNodeUserInfosUserInfo["UserName"].isNull())
userInfoObject.userName = dataNodeUserInfosUserInfo["UserName"].asString();
if(!dataNodeUserInfosUserInfo["GroupId"].isNull())
userInfoObject.groupId = dataNodeUserInfosUserInfo["GroupId"].asString();
if(!dataNodeUserInfosUserInfo["GroupName"].isNull())
userInfoObject.groupName1 = dataNodeUserInfosUserInfo["GroupName"].asString();
if(!dataNodeUserInfosUserInfo["DepartName"].isNull())
userInfoObject.departName = dataNodeUserInfosUserInfo["DepartName"].asString();
if(!dataNodeUserInfosUserInfo["DepartId"].isNull())
userInfoObject.departId = dataNodeUserInfosUserInfo["DepartId"].asString();
if(!dataNodeUserInfosUserInfo["UserEmail"].isNull())
userInfoObject.userEmail = dataNodeUserInfosUserInfo["UserEmail"].asString();
if(!dataNodeUserInfosUserInfo["UserTel"].isNull())
userInfoObject.userTel = dataNodeUserInfosUserInfo["UserTel"].asString();
if(!dataNodeUserInfosUserInfo["UserMobile"].isNull())
userInfoObject.userMobile = dataNodeUserInfosUserInfo["UserMobile"].asString();
if(!dataNodeUserInfosUserInfo["UserAvatarUrl"].isNull())
userInfoObject.userAvatarUrl = dataNodeUserInfosUserInfo["UserAvatarUrl"].asString();
data_.userInfos.push_back(userInfoObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string QueryUserListResult::getMessage()const
{
return message_;
}
QueryUserListResult::Data QueryUserListResult::getData()const
{
return data_;
}
int QueryUserListResult::getErrorCode()const
{
return errorCode_;
}
bool QueryUserListResult::getSuccess()const
{
return success_;
}

View File

@@ -1,40 +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/RemoveMeetingRequest.h>
using AlibabaCloud::Aliyuncvc::Model::RemoveMeetingRequest;
RemoveMeetingRequest::RemoveMeetingRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "RemoveMeeting")
{
setMethod(HttpRequest::Method::Post);
}
RemoveMeetingRequest::~RemoveMeetingRequest()
{}
std::string RemoveMeetingRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void RemoveMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setBodyParameter("MeetingUUID", meetingUUID);
}

View File

@@ -43,12 +43,22 @@ set(arms_public_header_model
include/alibabacloud/arms/model/DeleteAlertRulesResult.h
include/alibabacloud/arms/model/DeleteRetcodeAppRequest.h
include/alibabacloud/arms/model/DeleteRetcodeAppResult.h
include/alibabacloud/arms/model/DeleteTraceAppRequest.h
include/alibabacloud/arms/model/DeleteTraceAppResult.h
include/alibabacloud/arms/model/DescribeTraceLicenseKeyRequest.h
include/alibabacloud/arms/model/DescribeTraceLicenseKeyResult.h
include/alibabacloud/arms/model/DescribeTraceLocationRequest.h
include/alibabacloud/arms/model/DescribeTraceLocationResult.h
include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h
include/alibabacloud/arms/model/GetConsistencySnapshotResult.h
include/alibabacloud/arms/model/GetMultipleTraceRequest.h
include/alibabacloud/arms/model/GetMultipleTraceResult.h
include/alibabacloud/arms/model/GetPrometheusApiTokenRequest.h
include/alibabacloud/arms/model/GetPrometheusApiTokenResult.h
include/alibabacloud/arms/model/GetRetcodeShareUrlRequest.h
include/alibabacloud/arms/model/GetRetcodeShareUrlResult.h
include/alibabacloud/arms/model/GetStackRequest.h
include/alibabacloud/arms/model/GetStackResult.h
include/alibabacloud/arms/model/GetTraceRequest.h
include/alibabacloud/arms/model/GetTraceResult.h
include/alibabacloud/arms/model/ImportAppAlertRulesRequest.h
@@ -87,6 +97,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/SearchTraceAppByPageResult.h
include/alibabacloud/arms/model/SearchTracesRequest.h
include/alibabacloud/arms/model/SearchTracesResult.h
include/alibabacloud/arms/model/SearchTracesByPageRequest.h
include/alibabacloud/arms/model/SearchTracesByPageResult.h
include/alibabacloud/arms/model/SetRetcodeShareStatusRequest.h
include/alibabacloud/arms/model/SetRetcodeShareStatusResult.h
include/alibabacloud/arms/model/StartAlertRequest.h
@@ -124,12 +136,22 @@ set(arms_src
src/model/DeleteAlertRulesResult.cc
src/model/DeleteRetcodeAppRequest.cc
src/model/DeleteRetcodeAppResult.cc
src/model/DeleteTraceAppRequest.cc
src/model/DeleteTraceAppResult.cc
src/model/DescribeTraceLicenseKeyRequest.cc
src/model/DescribeTraceLicenseKeyResult.cc
src/model/DescribeTraceLocationRequest.cc
src/model/DescribeTraceLocationResult.cc
src/model/GetConsistencySnapshotRequest.cc
src/model/GetConsistencySnapshotResult.cc
src/model/GetMultipleTraceRequest.cc
src/model/GetMultipleTraceResult.cc
src/model/GetPrometheusApiTokenRequest.cc
src/model/GetPrometheusApiTokenResult.cc
src/model/GetRetcodeShareUrlRequest.cc
src/model/GetRetcodeShareUrlResult.cc
src/model/GetStackRequest.cc
src/model/GetStackResult.cc
src/model/GetTraceRequest.cc
src/model/GetTraceResult.cc
src/model/ImportAppAlertRulesRequest.cc
@@ -168,6 +190,8 @@ set(arms_src
src/model/SearchTraceAppByPageResult.cc
src/model/SearchTracesRequest.cc
src/model/SearchTracesResult.cc
src/model/SearchTracesByPageRequest.cc
src/model/SearchTracesByPageResult.cc
src/model/SetRetcodeShareStatusRequest.cc
src/model/SetRetcodeShareStatusResult.cc
src/model/StartAlertRequest.cc

View File

@@ -44,12 +44,22 @@
#include "model/DeleteAlertRulesResult.h"
#include "model/DeleteRetcodeAppRequest.h"
#include "model/DeleteRetcodeAppResult.h"
#include "model/DeleteTraceAppRequest.h"
#include "model/DeleteTraceAppResult.h"
#include "model/DescribeTraceLicenseKeyRequest.h"
#include "model/DescribeTraceLicenseKeyResult.h"
#include "model/DescribeTraceLocationRequest.h"
#include "model/DescribeTraceLocationResult.h"
#include "model/GetConsistencySnapshotRequest.h"
#include "model/GetConsistencySnapshotResult.h"
#include "model/GetMultipleTraceRequest.h"
#include "model/GetMultipleTraceResult.h"
#include "model/GetPrometheusApiTokenRequest.h"
#include "model/GetPrometheusApiTokenResult.h"
#include "model/GetRetcodeShareUrlRequest.h"
#include "model/GetRetcodeShareUrlResult.h"
#include "model/GetStackRequest.h"
#include "model/GetStackResult.h"
#include "model/GetTraceRequest.h"
#include "model/GetTraceResult.h"
#include "model/ImportAppAlertRulesRequest.h"
@@ -88,6 +98,8 @@
#include "model/SearchTraceAppByPageResult.h"
#include "model/SearchTracesRequest.h"
#include "model/SearchTracesResult.h"
#include "model/SearchTracesByPageRequest.h"
#include "model/SearchTracesByPageResult.h"
#include "model/SetRetcodeShareStatusRequest.h"
#include "model/SetRetcodeShareStatusResult.h"
#include "model/StartAlertRequest.h"
@@ -142,15 +154,30 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteRetcodeAppResult> DeleteRetcodeAppOutcome;
typedef std::future<DeleteRetcodeAppOutcome> DeleteRetcodeAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteRetcodeAppRequest&, const DeleteRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRetcodeAppAsyncHandler;
typedef Outcome<Error, Model::DeleteTraceAppResult> DeleteTraceAppOutcome;
typedef std::future<DeleteTraceAppOutcome> DeleteTraceAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteTraceAppRequest&, const DeleteTraceAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTraceAppAsyncHandler;
typedef Outcome<Error, Model::DescribeTraceLicenseKeyResult> DescribeTraceLicenseKeyOutcome;
typedef std::future<DescribeTraceLicenseKeyOutcome> DescribeTraceLicenseKeyOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DescribeTraceLicenseKeyRequest&, const DescribeTraceLicenseKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTraceLicenseKeyAsyncHandler;
typedef Outcome<Error, Model::DescribeTraceLocationResult> DescribeTraceLocationOutcome;
typedef std::future<DescribeTraceLocationOutcome> DescribeTraceLocationOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DescribeTraceLocationRequest&, const DescribeTraceLocationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTraceLocationAsyncHandler;
typedef Outcome<Error, Model::GetConsistencySnapshotResult> GetConsistencySnapshotOutcome;
typedef std::future<GetConsistencySnapshotOutcome> GetConsistencySnapshotOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetConsistencySnapshotRequest&, const GetConsistencySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConsistencySnapshotAsyncHandler;
typedef Outcome<Error, Model::GetMultipleTraceResult> GetMultipleTraceOutcome;
typedef std::future<GetMultipleTraceOutcome> GetMultipleTraceOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetMultipleTraceRequest&, const GetMultipleTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMultipleTraceAsyncHandler;
typedef Outcome<Error, Model::GetPrometheusApiTokenResult> GetPrometheusApiTokenOutcome;
typedef std::future<GetPrometheusApiTokenOutcome> GetPrometheusApiTokenOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetPrometheusApiTokenRequest&, const GetPrometheusApiTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrometheusApiTokenAsyncHandler;
typedef Outcome<Error, Model::GetRetcodeShareUrlResult> GetRetcodeShareUrlOutcome;
typedef std::future<GetRetcodeShareUrlOutcome> GetRetcodeShareUrlOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetRetcodeShareUrlRequest&, const GetRetcodeShareUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRetcodeShareUrlAsyncHandler;
typedef Outcome<Error, Model::GetStackResult> GetStackOutcome;
typedef std::future<GetStackOutcome> GetStackOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetStackRequest&, const GetStackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStackAsyncHandler;
typedef Outcome<Error, Model::GetTraceResult> GetTraceOutcome;
typedef std::future<GetTraceOutcome> GetTraceOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetTraceRequest&, const GetTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTraceAsyncHandler;
@@ -208,6 +235,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SearchTracesResult> SearchTracesOutcome;
typedef std::future<SearchTracesOutcome> SearchTracesOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SearchTracesRequest&, const SearchTracesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTracesAsyncHandler;
typedef Outcome<Error, Model::SearchTracesByPageResult> SearchTracesByPageOutcome;
typedef std::future<SearchTracesByPageOutcome> SearchTracesByPageOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SearchTracesByPageRequest&, const SearchTracesByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTracesByPageAsyncHandler;
typedef Outcome<Error, Model::SetRetcodeShareStatusResult> SetRetcodeShareStatusOutcome;
typedef std::future<SetRetcodeShareStatusOutcome> SetRetcodeShareStatusOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SetRetcodeShareStatusRequest&, const SetRetcodeShareStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetRetcodeShareStatusAsyncHandler;
@@ -264,15 +294,30 @@ namespace AlibabaCloud
DeleteRetcodeAppOutcome deleteRetcodeApp(const Model::DeleteRetcodeAppRequest &request)const;
void deleteRetcodeAppAsync(const Model::DeleteRetcodeAppRequest& request, const DeleteRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRetcodeAppOutcomeCallable deleteRetcodeAppCallable(const Model::DeleteRetcodeAppRequest& request) const;
DeleteTraceAppOutcome deleteTraceApp(const Model::DeleteTraceAppRequest &request)const;
void deleteTraceAppAsync(const Model::DeleteTraceAppRequest& request, const DeleteTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTraceAppOutcomeCallable deleteTraceAppCallable(const Model::DeleteTraceAppRequest& request) const;
DescribeTraceLicenseKeyOutcome describeTraceLicenseKey(const Model::DescribeTraceLicenseKeyRequest &request)const;
void describeTraceLicenseKeyAsync(const Model::DescribeTraceLicenseKeyRequest& request, const DescribeTraceLicenseKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTraceLicenseKeyOutcomeCallable describeTraceLicenseKeyCallable(const Model::DescribeTraceLicenseKeyRequest& request) const;
DescribeTraceLocationOutcome describeTraceLocation(const Model::DescribeTraceLocationRequest &request)const;
void describeTraceLocationAsync(const Model::DescribeTraceLocationRequest& request, const DescribeTraceLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTraceLocationOutcomeCallable describeTraceLocationCallable(const Model::DescribeTraceLocationRequest& request) const;
GetConsistencySnapshotOutcome getConsistencySnapshot(const Model::GetConsistencySnapshotRequest &request)const;
void getConsistencySnapshotAsync(const Model::GetConsistencySnapshotRequest& request, const GetConsistencySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetConsistencySnapshotOutcomeCallable getConsistencySnapshotCallable(const Model::GetConsistencySnapshotRequest& request) const;
GetMultipleTraceOutcome getMultipleTrace(const Model::GetMultipleTraceRequest &request)const;
void getMultipleTraceAsync(const Model::GetMultipleTraceRequest& request, const GetMultipleTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMultipleTraceOutcomeCallable getMultipleTraceCallable(const Model::GetMultipleTraceRequest& request) const;
GetPrometheusApiTokenOutcome getPrometheusApiToken(const Model::GetPrometheusApiTokenRequest &request)const;
void getPrometheusApiTokenAsync(const Model::GetPrometheusApiTokenRequest& request, const GetPrometheusApiTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPrometheusApiTokenOutcomeCallable getPrometheusApiTokenCallable(const Model::GetPrometheusApiTokenRequest& request) const;
GetRetcodeShareUrlOutcome getRetcodeShareUrl(const Model::GetRetcodeShareUrlRequest &request)const;
void getRetcodeShareUrlAsync(const Model::GetRetcodeShareUrlRequest& request, const GetRetcodeShareUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetRetcodeShareUrlOutcomeCallable getRetcodeShareUrlCallable(const Model::GetRetcodeShareUrlRequest& request) const;
GetStackOutcome getStack(const Model::GetStackRequest &request)const;
void getStackAsync(const Model::GetStackRequest& request, const GetStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStackOutcomeCallable getStackCallable(const Model::GetStackRequest& request) const;
GetTraceOutcome getTrace(const Model::GetTraceRequest &request)const;
void getTraceAsync(const Model::GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTraceOutcomeCallable getTraceCallable(const Model::GetTraceRequest& request) const;
@@ -330,6 +375,9 @@ namespace AlibabaCloud
SearchTracesOutcome searchTraces(const Model::SearchTracesRequest &request)const;
void searchTracesAsync(const Model::SearchTracesRequest& request, const SearchTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchTracesOutcomeCallable searchTracesCallable(const Model::SearchTracesRequest& request) const;
SearchTracesByPageOutcome searchTracesByPage(const Model::SearchTracesByPageRequest &request)const;
void searchTracesByPageAsync(const Model::SearchTracesByPageRequest& request, const SearchTracesByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchTracesByPageOutcomeCallable searchTracesByPageCallable(const Model::SearchTracesByPageRequest& request) const;
SetRetcodeShareStatusOutcome setRetcodeShareStatus(const Model::SetRetcodeShareStatusRequest &request)const;
void setRetcodeShareStatusAsync(const Model::SetRetcodeShareStatusRequest& request, const SetRetcodeShareStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetRetcodeShareStatusOutcomeCallable setRetcodeShareStatusCallable(const Model::SetRetcodeShareStatusRequest& request) const;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETETRACEAPPREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_DELETETRACEAPPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DeleteTraceAppRequest : public RpcServiceRequest
{
public:
DeleteTraceAppRequest();
~DeleteTraceAppRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getType()const;
void setType(const std::string& type);
private:
std::string regionId_;
std::string appId_;
std::string type_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETETRACEAPPREQUEST_H_

View File

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

View File

@@ -14,32 +14,35 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationRequest : public RpcServiceRequest
class ALIBABACLOUD_ARMS_EXPORT DescribeTraceLicenseKeyRequest : public RpcServiceRequest
{
public:
QueryUserEvaluationRequest();
~QueryUserEvaluationRequest();
DescribeTraceLicenseKeyRequest();
~DescribeTraceLicenseKeyRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYREQUEST_H_

View File

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

View File

@@ -14,35 +14,35 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoRequest : public RpcServiceRequest
class ALIBABACLOUD_ARMS_EXPORT DescribeTraceLocationRequest : public RpcServiceRequest
{
public:
QueryIsvUserInfoRequest();
~QueryIsvUserInfoRequest();
DescribeTraceLocationRequest();
~DescribeTraceLocationRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string userId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONREQUEST_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_ARMS_MODEL_DESCRIBETRACELOCATIONRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DescribeTraceLocationResult : public ServiceResult
{
public:
struct RegionConfig
{
std::string regionNo;
std::string url;
};
DescribeTraceLocationResult();
explicit DescribeTraceLocationResult(const std::string &payload);
~DescribeTraceLocationResult();
std::vector<RegionConfig> getRegionConfigs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<RegionConfig> regionConfigs_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONRESULT_H_

View File

@@ -14,38 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACEREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeRequest : public RpcServiceRequest
class ALIBABACLOUD_ARMS_EXPORT GetMultipleTraceRequest : public RpcServiceRequest
{
public:
CheckMeetingCodeRequest();
~CheckMeetingCodeRequest();
GetMultipleTraceRequest();
~GetMultipleTraceRequest();
std::string getMeetingCode()const;
void setMeetingCode(const std::string& meetingCode);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::vector<std::string> getTraceIDs()const;
void setTraceIDs(const std::vector<std::string>& traceIDs);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string meetingCode_;
std::string userId_;
std::vector<std::string> traceIDs_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACEREQUEST_H_

View File

@@ -0,0 +1,86 @@
/*
* 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_ARMS_MODEL_GETMULTIPLETRACERESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetMultipleTraceResult : public ServiceResult
{
public:
struct MultiCallChainInfo
{
struct Span
{
struct TagEntry
{
std::string value;
std::string key;
};
struct LogEvent
{
struct TagEntry2
{
std::string value;
std::string key;
};
std::vector<LogEvent::TagEntry2> tagEntryList1;
long timestamp;
};
bool haveStack;
std::string serviceIp;
std::vector<Span::LogEvent> logEventList;
std::string operationName;
std::string serviceName;
std::string rpcId;
int rpcType;
std::string traceID;
long duration;
std::vector<Span::TagEntry> tagEntryList;
long timestamp;
std::string resultCode;
};
std::string traceID;
std::vector<MultiCallChainInfo::Span> spans;
};
GetMultipleTraceResult();
explicit GetMultipleTraceResult(const std::string &payload);
~GetMultipleTraceResult();
std::vector<MultiCallChainInfo> getMultiCallChainInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<MultiCallChainInfo> multiCallChainInfos_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETSTACKREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETSTACKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetStackRequest : public RpcServiceRequest
{
public:
GetStackRequest();
~GetStackRequest();
std::string getTraceID()const;
void setTraceID(const std::string& traceID);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getRpcID()const;
void setRpcID(const std::string& rpcID);
private:
std::string traceID_;
std::string regionId_;
std::string rpcID_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSTACKREQUEST_H_

View File

@@ -14,44 +14,54 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_GETSTACKRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETSTACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeResult : public ServiceResult
class ALIBABACLOUD_ARMS_EXPORT GetStackResult : public ServiceResult
{
public:
struct StackInfoItem
{
struct ExtInfoItem
{
std::string type;
std::string info;
};
std::string line;
std::string serviceName;
std::vector<StackInfoItem::ExtInfoItem> extInfo;
std::string rpcId;
long startTime;
long duration;
std::string api;
std::string exception;
};
QueryUserBuyAttributeResult();
explicit QueryUserBuyAttributeResult(const std::string &payload);
~QueryUserBuyAttributeResult();
std::string getMessage()const;
bool getUserBuyAttribute()const;
int getErrorCode()const;
bool getSuccess()const;
GetStackResult();
explicit GetStackResult(const std::string &payload);
~GetStackResult();
std::vector<StackInfoItem> getStackInfo()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
bool userBuyAttribute_;
int errorCode_;
bool success_;
std::vector<StackInfoItem> stackInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSTACKRESULT_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGEREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT SearchTracesByPageRequest : public RpcServiceRequest
{
public:
struct ExclusionFilters
{
std::string value;
std::string key;
};
public:
SearchTracesByPageRequest();
~SearchTracesByPageRequest();
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
bool getReverse()const;
void setReverse(bool reverse);
long getMinDuration()const;
void setMinDuration(long minDuration);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getServiceIp()const;
void setServiceIp(const std::string& serviceIp);
std::vector<ExclusionFilters> getExclusionFilters()const;
void setExclusionFilters(const std::vector<ExclusionFilters>& exclusionFilters);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOperationName()const;
void setOperationName(const std::string& operationName);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
private:
long endTime_;
long startTime_;
bool reverse_;
long minDuration_;
int pageNumber_;
std::string serviceIp_;
std::vector<ExclusionFilters> exclusionFilters_;
std::string regionId_;
std::string operationName_;
int pageSize_;
std::string serviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGEREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_ARMS_MODEL_SEARCHTRACESBYPAGERESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT SearchTracesByPageResult : public ServiceResult
{
public:
struct PageBean
{
struct TraceInfo
{
std::string serviceIp;
std::string operationName;
std::string serviceName;
std::string traceID;
long duration;
long timestamp;
};
int pageSize;
int pageNumber;
int total;
std::vector<TraceInfo> traceInfos;
};
SearchTracesByPageResult();
explicit SearchTracesByPageResult(const std::string &payload);
~SearchTracesByPageResult();
PageBean getPageBean()const;
protected:
void parse(const std::string &payload);
private:
PageBean pageBean_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGERESULT_H_

View File

@@ -447,6 +447,114 @@ ARMSClient::DeleteRetcodeAppOutcomeCallable ARMSClient::deleteRetcodeAppCallable
return task->get_future();
}
ARMSClient::DeleteTraceAppOutcome ARMSClient::deleteTraceApp(const DeleteTraceAppRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteTraceAppOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteTraceAppOutcome(DeleteTraceAppResult(outcome.result()));
else
return DeleteTraceAppOutcome(outcome.error());
}
void ARMSClient::deleteTraceAppAsync(const DeleteTraceAppRequest& request, const DeleteTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteTraceApp(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::DeleteTraceAppOutcomeCallable ARMSClient::deleteTraceAppCallable(const DeleteTraceAppRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteTraceAppOutcome()>>(
[this, request]()
{
return this->deleteTraceApp(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::DescribeTraceLicenseKeyOutcome ARMSClient::describeTraceLicenseKey(const DescribeTraceLicenseKeyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeTraceLicenseKeyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeTraceLicenseKeyOutcome(DescribeTraceLicenseKeyResult(outcome.result()));
else
return DescribeTraceLicenseKeyOutcome(outcome.error());
}
void ARMSClient::describeTraceLicenseKeyAsync(const DescribeTraceLicenseKeyRequest& request, const DescribeTraceLicenseKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeTraceLicenseKey(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::DescribeTraceLicenseKeyOutcomeCallable ARMSClient::describeTraceLicenseKeyCallable(const DescribeTraceLicenseKeyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeTraceLicenseKeyOutcome()>>(
[this, request]()
{
return this->describeTraceLicenseKey(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::DescribeTraceLocationOutcome ARMSClient::describeTraceLocation(const DescribeTraceLocationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeTraceLocationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeTraceLocationOutcome(DescribeTraceLocationResult(outcome.result()));
else
return DescribeTraceLocationOutcome(outcome.error());
}
void ARMSClient::describeTraceLocationAsync(const DescribeTraceLocationRequest& request, const DescribeTraceLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeTraceLocation(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::DescribeTraceLocationOutcomeCallable ARMSClient::describeTraceLocationCallable(const DescribeTraceLocationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeTraceLocationOutcome()>>(
[this, request]()
{
return this->describeTraceLocation(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetConsistencySnapshotOutcome ARMSClient::getConsistencySnapshot(const GetConsistencySnapshotRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -483,6 +591,42 @@ ARMSClient::GetConsistencySnapshotOutcomeCallable ARMSClient::getConsistencySnap
return task->get_future();
}
ARMSClient::GetMultipleTraceOutcome ARMSClient::getMultipleTrace(const GetMultipleTraceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetMultipleTraceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetMultipleTraceOutcome(GetMultipleTraceResult(outcome.result()));
else
return GetMultipleTraceOutcome(outcome.error());
}
void ARMSClient::getMultipleTraceAsync(const GetMultipleTraceRequest& request, const GetMultipleTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getMultipleTrace(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetMultipleTraceOutcomeCallable ARMSClient::getMultipleTraceCallable(const GetMultipleTraceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetMultipleTraceOutcome()>>(
[this, request]()
{
return this->getMultipleTrace(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetPrometheusApiTokenOutcome ARMSClient::getPrometheusApiToken(const GetPrometheusApiTokenRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -555,6 +699,42 @@ ARMSClient::GetRetcodeShareUrlOutcomeCallable ARMSClient::getRetcodeShareUrlCall
return task->get_future();
}
ARMSClient::GetStackOutcome ARMSClient::getStack(const GetStackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStackOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetStackOutcome(GetStackResult(outcome.result()));
else
return GetStackOutcome(outcome.error());
}
void ARMSClient::getStackAsync(const GetStackRequest& request, const GetStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getStack(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetStackOutcomeCallable ARMSClient::getStackCallable(const GetStackRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetStackOutcome()>>(
[this, request]()
{
return this->getStack(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetTraceOutcome ARMSClient::getTrace(const GetTraceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1239,6 +1419,42 @@ ARMSClient::SearchTracesOutcomeCallable ARMSClient::searchTracesCallable(const S
return task->get_future();
}
ARMSClient::SearchTracesByPageOutcome ARMSClient::searchTracesByPage(const SearchTracesByPageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SearchTracesByPageOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SearchTracesByPageOutcome(SearchTracesByPageResult(outcome.result()));
else
return SearchTracesByPageOutcome(outcome.error());
}
void ARMSClient::searchTracesByPageAsync(const SearchTracesByPageRequest& request, const SearchTracesByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, searchTracesByPage(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::SearchTracesByPageOutcomeCallable ARMSClient::searchTracesByPageCallable(const SearchTracesByPageRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SearchTracesByPageOutcome()>>(
[this, request]()
{
return this->searchTracesByPage(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::SetRetcodeShareStatusOutcome ARMSClient::setRetcodeShareStatus(const SetRetcodeShareStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/DeleteTraceAppRequest.h>
using AlibabaCloud::ARMS::Model::DeleteTraceAppRequest;
DeleteTraceAppRequest::DeleteTraceAppRequest() :
RpcServiceRequest("arms", "2019-08-08", "DeleteTraceApp")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTraceAppRequest::~DeleteTraceAppRequest()
{}
std::string DeleteTraceAppRequest::getRegionId()const
{
return regionId_;
}
void DeleteTraceAppRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteTraceAppRequest::getAppId()const
{
return appId_;
}
void DeleteTraceAppRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}
std::string DeleteTraceAppRequest::getType()const
{
return type_;
}
void DeleteTraceAppRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}

View File

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

View File

@@ -14,27 +14,27 @@
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h>
#include <alibabacloud/arms/model/DescribeTraceLicenseKeyRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryMeetingInfoRequest;
using AlibabaCloud::ARMS::Model::DescribeTraceLicenseKeyRequest;
QueryMeetingInfoRequest::QueryMeetingInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMeetingInfo")
DescribeTraceLicenseKeyRequest::DescribeTraceLicenseKeyRequest() :
RpcServiceRequest("arms", "2019-08-08", "DescribeTraceLicenseKey")
{
setMethod(HttpRequest::Method::Post);
}
QueryMeetingInfoRequest::~QueryMeetingInfoRequest()
DescribeTraceLicenseKeyRequest::~DescribeTraceLicenseKeyRequest()
{}
std::string QueryMeetingInfoRequest::getMeetingUUID()const
std::string DescribeTraceLicenseKeyRequest::getRegionId()const
{
return meetingUUID_;
return regionId_;
}
void QueryMeetingInfoRequest::setMeetingUUID(const std::string& meetingUUID)
void DescribeTraceLicenseKeyRequest::setRegionId(const std::string& regionId)
{
meetingUUID_ = meetingUUID;
setBodyParameter("MeetingUUID", meetingUUID);
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

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

View File

@@ -14,27 +14,27 @@
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h>
#include <alibabacloud/arms/model/DescribeTraceLocationRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryIsvUserInfoRequest;
using AlibabaCloud::ARMS::Model::DescribeTraceLocationRequest;
QueryIsvUserInfoRequest::QueryIsvUserInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryIsvUserInfo")
DescribeTraceLocationRequest::DescribeTraceLocationRequest() :
RpcServiceRequest("arms", "2019-08-08", "DescribeTraceLocation")
{
setMethod(HttpRequest::Method::Post);
}
QueryIsvUserInfoRequest::~QueryIsvUserInfoRequest()
DescribeTraceLocationRequest::~DescribeTraceLocationRequest()
{}
std::string QueryIsvUserInfoRequest::getUserId()const
std::string DescribeTraceLocationRequest::getRegionId()const
{
return userId_;
return regionId_;
}
void QueryIsvUserInfoRequest::setUserId(const std::string& userId)
void DescribeTraceLocationRequest::setRegionId(const std::string& regionId)
{
userId_ = userId;
setParameter("UserId", userId);
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -0,0 +1,59 @@
/*
* 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/arms/model/DescribeTraceLocationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
DescribeTraceLocationResult::DescribeTraceLocationResult() :
ServiceResult()
{}
DescribeTraceLocationResult::DescribeTraceLocationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeTraceLocationResult::~DescribeTraceLocationResult()
{}
void DescribeTraceLocationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allRegionConfigsNode = value["RegionConfigs"]["RegionConfig"];
for (auto valueRegionConfigsRegionConfig : allRegionConfigsNode)
{
RegionConfig regionConfigsObject;
if(!valueRegionConfigsRegionConfig["RegionNo"].isNull())
regionConfigsObject.regionNo = valueRegionConfigsRegionConfig["RegionNo"].asString();
if(!valueRegionConfigsRegionConfig["Url"].isNull())
regionConfigsObject.url = valueRegionConfigsRegionConfig["Url"].asString();
regionConfigs_.push_back(regionConfigsObject);
}
}
std::vector<DescribeTraceLocationResult::RegionConfig> DescribeTraceLocationResult::getRegionConfigs()const
{
return regionConfigs_;
}

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetMultipleTraceRequest.h>
using AlibabaCloud::ARMS::Model::GetMultipleTraceRequest;
GetMultipleTraceRequest::GetMultipleTraceRequest() :
RpcServiceRequest("arms", "2019-08-08", "GetMultipleTrace")
{
setMethod(HttpRequest::Method::Post);
}
GetMultipleTraceRequest::~GetMultipleTraceRequest()
{}
std::vector<std::string> GetMultipleTraceRequest::getTraceIDs()const
{
return traceIDs_;
}
void GetMultipleTraceRequest::setTraceIDs(const std::vector<std::string>& traceIDs)
{
traceIDs_ = traceIDs;
for(int dep1 = 0; dep1!= traceIDs.size(); dep1++) {
setParameter("TraceIDs."+ std::to_string(dep1), traceIDs.at(dep1));
}
}
std::string GetMultipleTraceRequest::getRegionId()const
{
return regionId_;
}
void GetMultipleTraceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -0,0 +1,111 @@
/*
* 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/arms/model/GetMultipleTraceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetMultipleTraceResult::GetMultipleTraceResult() :
ServiceResult()
{}
GetMultipleTraceResult::GetMultipleTraceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMultipleTraceResult::~GetMultipleTraceResult()
{}
void GetMultipleTraceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allMultiCallChainInfosNode = value["MultiCallChainInfos"]["MultiCallChainInfo"];
for (auto valueMultiCallChainInfosMultiCallChainInfo : allMultiCallChainInfosNode)
{
MultiCallChainInfo multiCallChainInfosObject;
if(!valueMultiCallChainInfosMultiCallChainInfo["TraceID"].isNull())
multiCallChainInfosObject.traceID = valueMultiCallChainInfosMultiCallChainInfo["TraceID"].asString();
auto allSpansNode = allMultiCallChainInfosNode["Spans"]["Span"];
for (auto allMultiCallChainInfosNodeSpansSpan : allSpansNode)
{
MultiCallChainInfo::Span spansObject;
if(!allMultiCallChainInfosNodeSpansSpan["TraceID"].isNull())
spansObject.traceID = allMultiCallChainInfosNodeSpansSpan["TraceID"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["OperationName"].isNull())
spansObject.operationName = allMultiCallChainInfosNodeSpansSpan["OperationName"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["Duration"].isNull())
spansObject.duration = std::stol(allMultiCallChainInfosNodeSpansSpan["Duration"].asString());
if(!allMultiCallChainInfosNodeSpansSpan["ServiceName"].isNull())
spansObject.serviceName = allMultiCallChainInfosNodeSpansSpan["ServiceName"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["ServiceIp"].isNull())
spansObject.serviceIp = allMultiCallChainInfosNodeSpansSpan["ServiceIp"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["Timestamp"].isNull())
spansObject.timestamp = std::stol(allMultiCallChainInfosNodeSpansSpan["Timestamp"].asString());
if(!allMultiCallChainInfosNodeSpansSpan["RpcId"].isNull())
spansObject.rpcId = allMultiCallChainInfosNodeSpansSpan["RpcId"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["ResultCode"].isNull())
spansObject.resultCode = allMultiCallChainInfosNodeSpansSpan["ResultCode"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["HaveStack"].isNull())
spansObject.haveStack = allMultiCallChainInfosNodeSpansSpan["HaveStack"].asString() == "true";
if(!allMultiCallChainInfosNodeSpansSpan["RpcType"].isNull())
spansObject.rpcType = std::stoi(allMultiCallChainInfosNodeSpansSpan["RpcType"].asString());
auto allTagEntryListNode = allSpansNode["TagEntryList"]["TagEntry"];
for (auto allSpansNodeTagEntryListTagEntry : allTagEntryListNode)
{
MultiCallChainInfo::Span::TagEntry tagEntryListObject;
if(!allSpansNodeTagEntryListTagEntry["Key"].isNull())
tagEntryListObject.key = allSpansNodeTagEntryListTagEntry["Key"].asString();
if(!allSpansNodeTagEntryListTagEntry["Value"].isNull())
tagEntryListObject.value = allSpansNodeTagEntryListTagEntry["Value"].asString();
spansObject.tagEntryList.push_back(tagEntryListObject);
}
auto allLogEventListNode = allSpansNode["LogEventList"]["LogEvent"];
for (auto allSpansNodeLogEventListLogEvent : allLogEventListNode)
{
MultiCallChainInfo::Span::LogEvent logEventListObject;
if(!allSpansNodeLogEventListLogEvent["Timestamp"].isNull())
logEventListObject.timestamp = std::stol(allSpansNodeLogEventListLogEvent["Timestamp"].asString());
auto allTagEntryList1Node = allLogEventListNode["TagEntryList"]["TagEntry"];
for (auto allLogEventListNodeTagEntryListTagEntry : allTagEntryList1Node)
{
MultiCallChainInfo::Span::LogEvent::TagEntry2 tagEntryList1Object;
if(!allLogEventListNodeTagEntryListTagEntry["Key"].isNull())
tagEntryList1Object.key = allLogEventListNodeTagEntryListTagEntry["Key"].asString();
if(!allLogEventListNodeTagEntryListTagEntry["Value"].isNull())
tagEntryList1Object.value = allLogEventListNodeTagEntryListTagEntry["Value"].asString();
logEventListObject.tagEntryList1.push_back(tagEntryList1Object);
}
spansObject.logEventList.push_back(logEventListObject);
}
multiCallChainInfosObject.spans.push_back(spansObject);
}
multiCallChainInfos_.push_back(multiCallChainInfosObject);
}
}
std::vector<GetMultipleTraceResult::MultiCallChainInfo> GetMultipleTraceResult::getMultiCallChainInfos()const
{
return multiCallChainInfos_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetStackRequest.h>
using AlibabaCloud::ARMS::Model::GetStackRequest;
GetStackRequest::GetStackRequest() :
RpcServiceRequest("arms", "2019-08-08", "GetStack")
{
setMethod(HttpRequest::Method::Post);
}
GetStackRequest::~GetStackRequest()
{}
std::string GetStackRequest::getTraceID()const
{
return traceID_;
}
void GetStackRequest::setTraceID(const std::string& traceID)
{
traceID_ = traceID;
setParameter("TraceID", traceID);
}
std::string GetStackRequest::getRegionId()const
{
return regionId_;
}
void GetStackRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetStackRequest::getRpcID()const
{
return rpcID_;
}
void GetStackRequest::setRpcID(const std::string& rpcID)
{
rpcID_ = rpcID;
setParameter("RpcID", rpcID);
}

View File

@@ -0,0 +1,79 @@
/*
* 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/arms/model/GetStackResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetStackResult::GetStackResult() :
ServiceResult()
{}
GetStackResult::GetStackResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetStackResult::~GetStackResult()
{}
void GetStackResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allStackInfoNode = value["StackInfo"]["StackInfoItem"];
for (auto valueStackInfoStackInfoItem : allStackInfoNode)
{
StackInfoItem stackInfoObject;
if(!valueStackInfoStackInfoItem["StartTime"].isNull())
stackInfoObject.startTime = std::stol(valueStackInfoStackInfoItem["StartTime"].asString());
if(!valueStackInfoStackInfoItem["Duration"].isNull())
stackInfoObject.duration = std::stol(valueStackInfoStackInfoItem["Duration"].asString());
if(!valueStackInfoStackInfoItem["RpcId"].isNull())
stackInfoObject.rpcId = valueStackInfoStackInfoItem["RpcId"].asString();
if(!valueStackInfoStackInfoItem["ServiceName"].isNull())
stackInfoObject.serviceName = valueStackInfoStackInfoItem["ServiceName"].asString();
if(!valueStackInfoStackInfoItem["Api"].isNull())
stackInfoObject.api = valueStackInfoStackInfoItem["Api"].asString();
if(!valueStackInfoStackInfoItem["Exception"].isNull())
stackInfoObject.exception = valueStackInfoStackInfoItem["Exception"].asString();
if(!valueStackInfoStackInfoItem["Line"].isNull())
stackInfoObject.line = valueStackInfoStackInfoItem["Line"].asString();
auto allExtInfoNode = allStackInfoNode["ExtInfo"]["ExtInfoItem"];
for (auto allStackInfoNodeExtInfoExtInfoItem : allExtInfoNode)
{
StackInfoItem::ExtInfoItem extInfoObject;
if(!allStackInfoNodeExtInfoExtInfoItem["Type"].isNull())
extInfoObject.type = allStackInfoNodeExtInfoExtInfoItem["Type"].asString();
if(!allStackInfoNodeExtInfoExtInfoItem["Info"].isNull())
extInfoObject.info = allStackInfoNodeExtInfoExtInfoItem["Info"].asString();
stackInfoObject.extInfo.push_back(extInfoObject);
}
stackInfo_.push_back(stackInfoObject);
}
}
std::vector<GetStackResult::StackInfoItem> GetStackResult::getStackInfo()const
{
return stackInfo_;
}

View File

@@ -0,0 +1,155 @@
/*
* 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/arms/model/SearchTracesByPageRequest.h>
using AlibabaCloud::ARMS::Model::SearchTracesByPageRequest;
SearchTracesByPageRequest::SearchTracesByPageRequest() :
RpcServiceRequest("arms", "2019-08-08", "SearchTracesByPage")
{
setMethod(HttpRequest::Method::Post);
}
SearchTracesByPageRequest::~SearchTracesByPageRequest()
{}
long SearchTracesByPageRequest::getEndTime()const
{
return endTime_;
}
void SearchTracesByPageRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
}
long SearchTracesByPageRequest::getStartTime()const
{
return startTime_;
}
void SearchTracesByPageRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
}
bool SearchTracesByPageRequest::getReverse()const
{
return reverse_;
}
void SearchTracesByPageRequest::setReverse(bool reverse)
{
reverse_ = reverse;
setParameter("Reverse", reverse ? "true" : "false");
}
long SearchTracesByPageRequest::getMinDuration()const
{
return minDuration_;
}
void SearchTracesByPageRequest::setMinDuration(long minDuration)
{
minDuration_ = minDuration;
setParameter("MinDuration", std::to_string(minDuration));
}
int SearchTracesByPageRequest::getPageNumber()const
{
return pageNumber_;
}
void SearchTracesByPageRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string SearchTracesByPageRequest::getServiceIp()const
{
return serviceIp_;
}
void SearchTracesByPageRequest::setServiceIp(const std::string& serviceIp)
{
serviceIp_ = serviceIp;
setParameter("ServiceIp", serviceIp);
}
std::vector<SearchTracesByPageRequest::ExclusionFilters> SearchTracesByPageRequest::getExclusionFilters()const
{
return exclusionFilters_;
}
void SearchTracesByPageRequest::setExclusionFilters(const std::vector<ExclusionFilters>& exclusionFilters)
{
exclusionFilters_ = exclusionFilters;
for(int dep1 = 0; dep1!= exclusionFilters.size(); dep1++) {
auto exclusionFiltersObj = exclusionFilters.at(dep1);
std::string exclusionFiltersObjStr = "ExclusionFilters." + std::to_string(dep1 + 1);
setParameter(exclusionFiltersObjStr + ".Value", exclusionFiltersObj.value);
setParameter(exclusionFiltersObjStr + ".Key", exclusionFiltersObj.key);
}
}
std::string SearchTracesByPageRequest::getRegionId()const
{
return regionId_;
}
void SearchTracesByPageRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string SearchTracesByPageRequest::getOperationName()const
{
return operationName_;
}
void SearchTracesByPageRequest::setOperationName(const std::string& operationName)
{
operationName_ = operationName;
setParameter("OperationName", operationName);
}
int SearchTracesByPageRequest::getPageSize()const
{
return pageSize_;
}
void SearchTracesByPageRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string SearchTracesByPageRequest::getServiceName()const
{
return serviceName_;
}
void SearchTracesByPageRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setParameter("ServiceName", serviceName);
}

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/SearchTracesByPageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
SearchTracesByPageResult::SearchTracesByPageResult() :
ServiceResult()
{}
SearchTracesByPageResult::SearchTracesByPageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SearchTracesByPageResult::~SearchTracesByPageResult()
{}
void SearchTracesByPageResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto pageBeanNode = value["PageBean"];
if(!pageBeanNode["Total"].isNull())
pageBean_.total = std::stoi(pageBeanNode["Total"].asString());
if(!pageBeanNode["PageNumber"].isNull())
pageBean_.pageNumber = std::stoi(pageBeanNode["PageNumber"].asString());
if(!pageBeanNode["PageSize"].isNull())
pageBean_.pageSize = std::stoi(pageBeanNode["PageSize"].asString());
auto allTraceInfosNode = pageBeanNode["TraceInfos"]["TraceInfo"];
for (auto pageBeanNodeTraceInfosTraceInfo : allTraceInfosNode)
{
PageBean::TraceInfo traceInfoObject;
if(!pageBeanNodeTraceInfosTraceInfo["TraceID"].isNull())
traceInfoObject.traceID = pageBeanNodeTraceInfosTraceInfo["TraceID"].asString();
if(!pageBeanNodeTraceInfosTraceInfo["OperationName"].isNull())
traceInfoObject.operationName = pageBeanNodeTraceInfosTraceInfo["OperationName"].asString();
if(!pageBeanNodeTraceInfosTraceInfo["ServiceName"].isNull())
traceInfoObject.serviceName = pageBeanNodeTraceInfosTraceInfo["ServiceName"].asString();
if(!pageBeanNodeTraceInfosTraceInfo["ServiceIp"].isNull())
traceInfoObject.serviceIp = pageBeanNodeTraceInfosTraceInfo["ServiceIp"].asString();
if(!pageBeanNodeTraceInfosTraceInfo["Duration"].isNull())
traceInfoObject.duration = std::stol(pageBeanNodeTraceInfosTraceInfo["Duration"].asString());
if(!pageBeanNodeTraceInfosTraceInfo["Timestamp"].isNull())
traceInfoObject.timestamp = std::stol(pageBeanNodeTraceInfosTraceInfo["Timestamp"].asString());
pageBean_.traceInfos.push_back(traceInfoObject);
}
}
SearchTracesByPageResult::PageBean SearchTracesByPageResult::getPageBean()const
{
return pageBean_;
}

View File

@@ -23,22 +23,26 @@ set(cs_public_header
set(cs_public_header_model
include/alibabacloud/cs/model/AttachInstancesRequest.h
include/alibabacloud/cs/model/AttachInstancesResult.h
include/alibabacloud/cs/model/CancelClusterUpgradeRequest.h
include/alibabacloud/cs/model/CancelClusterUpgradeResult.h
include/alibabacloud/cs/model/CancelComponentUpgradeRequest.h
include/alibabacloud/cs/model/CancelComponentUpgradeResult.h
include/alibabacloud/cs/model/CancelWorkflowRequest.h
include/alibabacloud/cs/model/CancelWorkflowResult.h
include/alibabacloud/cs/model/CheckAliyunCSServiceRoleRequest.h
include/alibabacloud/cs/model/CheckAliyunCSServiceRoleResult.h
include/alibabacloud/cs/model/CreateClusterRequest.h
include/alibabacloud/cs/model/CreateClusterResult.h
include/alibabacloud/cs/model/CreateClusterByResourcesGroupRequest.h
include/alibabacloud/cs/model/CreateClusterByResourcesGroupResult.h
include/alibabacloud/cs/model/CreateServiceMeshRequest.h
include/alibabacloud/cs/model/CreateServiceMeshResult.h
include/alibabacloud/cs/model/CreateTemplateRequest.h
include/alibabacloud/cs/model/CreateTemplateResult.h
include/alibabacloud/cs/model/CreateTriggerHookRequest.h
include/alibabacloud/cs/model/CreateTriggerHookResult.h
include/alibabacloud/cs/model/DeleteClusterRequest.h
include/alibabacloud/cs/model/DeleteClusterResult.h
include/alibabacloud/cs/model/DeleteClusterNodeRequest.h
include/alibabacloud/cs/model/DeleteClusterNodeResult.h
include/alibabacloud/cs/model/DeleteClusterNodesRequest.h
include/alibabacloud/cs/model/DeleteClusterNodesResult.h
include/alibabacloud/cs/model/DeleteTemplateRequest.h
include/alibabacloud/cs/model/DeleteTemplateResult.h
include/alibabacloud/cs/model/DeleteTriggerHookRequest.h
include/alibabacloud/cs/model/DeleteTriggerHookResult.h
include/alibabacloud/cs/model/DescirbeWorkflowRequest.h
include/alibabacloud/cs/model/DescirbeWorkflowResult.h
include/alibabacloud/cs/model/DescribeAddonsRequest.h
@@ -51,77 +55,89 @@ set(cs_public_header_model
include/alibabacloud/cs/model/DescribeClusterAddonsVersionResult.h
include/alibabacloud/cs/model/DescribeClusterAttachScriptsRequest.h
include/alibabacloud/cs/model/DescribeClusterAttachScriptsResult.h
include/alibabacloud/cs/model/DescribeClusterCertsRequest.h
include/alibabacloud/cs/model/DescribeClusterCertsResult.h
include/alibabacloud/cs/model/DescribeClusterDetailRequest.h
include/alibabacloud/cs/model/DescribeClusterDetailResult.h
include/alibabacloud/cs/model/DescribeClusterEndpointsRequest.h
include/alibabacloud/cs/model/DescribeClusterEndpointsResult.h
include/alibabacloud/cs/model/DescribeClusterLogsRequest.h
include/alibabacloud/cs/model/DescribeClusterLogsResult.h
include/alibabacloud/cs/model/DescribeClusterNodesRequest.h
include/alibabacloud/cs/model/DescribeClusterNodesResult.h
include/alibabacloud/cs/model/DescribeClusterResourcesRequest.h
include/alibabacloud/cs/model/DescribeClusterResourcesResult.h
include/alibabacloud/cs/model/DescribeClusterUserKubeconfigRequest.h
include/alibabacloud/cs/model/DescribeClusterUserKubeconfigResult.h
include/alibabacloud/cs/model/DescribeClusterV2UserKubeconfigRequest.h
include/alibabacloud/cs/model/DescribeClusterV2UserKubeconfigResult.h
include/alibabacloud/cs/model/DescribeClustersRequest.h
include/alibabacloud/cs/model/DescribeClustersResult.h
include/alibabacloud/cs/model/DescribeEdgeClusterAttachScriptsRequest.h
include/alibabacloud/cs/model/DescribeEdgeClusterAttachScriptsResult.h
include/alibabacloud/cs/model/DescribeExternalAgentRequest.h
include/alibabacloud/cs/model/DescribeExternalAgentResult.h
include/alibabacloud/cs/model/DescribeTemplatesRequest.h
include/alibabacloud/cs/model/DescribeTemplatesResult.h
include/alibabacloud/cs/model/DescribeUserQuotaRequest.h
include/alibabacloud/cs/model/DescribeUserQuotaResult.h
include/alibabacloud/cs/model/DescribeWorkflowsRequest.h
include/alibabacloud/cs/model/DescribeWorkflowsResult.h
include/alibabacloud/cs/model/DownloadClusterNodeCertsRequest.h
include/alibabacloud/cs/model/DownloadClusterNodeCertsResult.h
include/alibabacloud/cs/model/GetUpgradeStatusRequest.h
include/alibabacloud/cs/model/GetUpgradeStatusResult.h
include/alibabacloud/cs/model/InstallClusterAddonsRequest.h
include/alibabacloud/cs/model/InstallClusterAddonsResult.h
include/alibabacloud/cs/model/ListTagResourcesRequest.h
include/alibabacloud/cs/model/ListTagResourcesResult.h
include/alibabacloud/cs/model/ModifyClusterRequest.h
include/alibabacloud/cs/model/ModifyClusterResult.h
include/alibabacloud/cs/model/ModifyClusterTagsRequest.h
include/alibabacloud/cs/model/ModifyClusterTagsResult.h
include/alibabacloud/cs/model/PauseClusterUpgradeRequest.h
include/alibabacloud/cs/model/PauseClusterUpgradeResult.h
include/alibabacloud/cs/model/PauseComponentUpgradeRequest.h
include/alibabacloud/cs/model/PauseComponentUpgradeResult.h
include/alibabacloud/cs/model/RemoveClusterNodesRequest.h
include/alibabacloud/cs/model/RemoveClusterNodesResult.h
include/alibabacloud/cs/model/RemoveWorkflowRequest.h
include/alibabacloud/cs/model/RemoveWorkflowResult.h
include/alibabacloud/cs/model/ResetClusterNodeRequest.h
include/alibabacloud/cs/model/ResetClusterNodeResult.h
include/alibabacloud/cs/model/RevokeClusterTokenRequest.h
include/alibabacloud/cs/model/RevokeClusterTokenResult.h
include/alibabacloud/cs/model/ResumeComponentUpgradeRequest.h
include/alibabacloud/cs/model/ResumeComponentUpgradeResult.h
include/alibabacloud/cs/model/ResumeUpgradeClusterRequest.h
include/alibabacloud/cs/model/ResumeUpgradeClusterResult.h
include/alibabacloud/cs/model/ScaleClusterRequest.h
include/alibabacloud/cs/model/ScaleClusterResult.h
include/alibabacloud/cs/model/ScaleOutClusterRequest.h
include/alibabacloud/cs/model/ScaleOutClusterResult.h
include/alibabacloud/cs/model/ServiceMeshAddClusterRequest.h
include/alibabacloud/cs/model/ServiceMeshAddClusterResult.h
include/alibabacloud/cs/model/ServiceMeshApiServerRequest.h
include/alibabacloud/cs/model/ServiceMeshApiServerResult.h
include/alibabacloud/cs/model/ServiceMeshRemoveClusterRequest.h
include/alibabacloud/cs/model/ServiceMeshRemoveClusterResult.h
include/alibabacloud/cs/model/StartWorkflowRequest.h
include/alibabacloud/cs/model/StartWorkflowResult.h
include/alibabacloud/cs/model/UnInstallClusterAddonsRequest.h
include/alibabacloud/cs/model/UnInstallClusterAddonsResult.h
include/alibabacloud/cs/model/UpdateK8sClusterUserConfigExpireRequest.h
include/alibabacloud/cs/model/UpdateK8sClusterUserConfigExpireResult.h
include/alibabacloud/cs/model/UpdateServiceMeshRequest.h
include/alibabacloud/cs/model/UpdateServiceMeshResult.h )
include/alibabacloud/cs/model/UpgradeClusterRequest.h
include/alibabacloud/cs/model/UpgradeClusterResult.h
include/alibabacloud/cs/model/UpgradeClusterAddonsRequest.h
include/alibabacloud/cs/model/UpgradeClusterAddonsResult.h )
set(cs_src
src/CSClient.cc
src/model/AttachInstancesRequest.cc
src/model/AttachInstancesResult.cc
src/model/CancelClusterUpgradeRequest.cc
src/model/CancelClusterUpgradeResult.cc
src/model/CancelComponentUpgradeRequest.cc
src/model/CancelComponentUpgradeResult.cc
src/model/CancelWorkflowRequest.cc
src/model/CancelWorkflowResult.cc
src/model/CheckAliyunCSServiceRoleRequest.cc
src/model/CheckAliyunCSServiceRoleResult.cc
src/model/CreateClusterRequest.cc
src/model/CreateClusterResult.cc
src/model/CreateClusterByResourcesGroupRequest.cc
src/model/CreateClusterByResourcesGroupResult.cc
src/model/CreateServiceMeshRequest.cc
src/model/CreateServiceMeshResult.cc
src/model/CreateTemplateRequest.cc
src/model/CreateTemplateResult.cc
src/model/CreateTriggerHookRequest.cc
src/model/CreateTriggerHookResult.cc
src/model/DeleteClusterRequest.cc
src/model/DeleteClusterResult.cc
src/model/DeleteClusterNodeRequest.cc
src/model/DeleteClusterNodeResult.cc
src/model/DeleteClusterNodesRequest.cc
src/model/DeleteClusterNodesResult.cc
src/model/DeleteTemplateRequest.cc
src/model/DeleteTemplateResult.cc
src/model/DeleteTriggerHookRequest.cc
src/model/DeleteTriggerHookResult.cc
src/model/DescirbeWorkflowRequest.cc
src/model/DescirbeWorkflowResult.cc
src/model/DescribeAddonsRequest.cc
@@ -134,56 +150,64 @@ set(cs_src
src/model/DescribeClusterAddonsVersionResult.cc
src/model/DescribeClusterAttachScriptsRequest.cc
src/model/DescribeClusterAttachScriptsResult.cc
src/model/DescribeClusterCertsRequest.cc
src/model/DescribeClusterCertsResult.cc
src/model/DescribeClusterDetailRequest.cc
src/model/DescribeClusterDetailResult.cc
src/model/DescribeClusterEndpointsRequest.cc
src/model/DescribeClusterEndpointsResult.cc
src/model/DescribeClusterLogsRequest.cc
src/model/DescribeClusterLogsResult.cc
src/model/DescribeClusterNodesRequest.cc
src/model/DescribeClusterNodesResult.cc
src/model/DescribeClusterResourcesRequest.cc
src/model/DescribeClusterResourcesResult.cc
src/model/DescribeClusterUserKubeconfigRequest.cc
src/model/DescribeClusterUserKubeconfigResult.cc
src/model/DescribeClusterV2UserKubeconfigRequest.cc
src/model/DescribeClusterV2UserKubeconfigResult.cc
src/model/DescribeClustersRequest.cc
src/model/DescribeClustersResult.cc
src/model/DescribeEdgeClusterAttachScriptsRequest.cc
src/model/DescribeEdgeClusterAttachScriptsResult.cc
src/model/DescribeExternalAgentRequest.cc
src/model/DescribeExternalAgentResult.cc
src/model/DescribeTemplatesRequest.cc
src/model/DescribeTemplatesResult.cc
src/model/DescribeUserQuotaRequest.cc
src/model/DescribeUserQuotaResult.cc
src/model/DescribeWorkflowsRequest.cc
src/model/DescribeWorkflowsResult.cc
src/model/DownloadClusterNodeCertsRequest.cc
src/model/DownloadClusterNodeCertsResult.cc
src/model/GetUpgradeStatusRequest.cc
src/model/GetUpgradeStatusResult.cc
src/model/InstallClusterAddonsRequest.cc
src/model/InstallClusterAddonsResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ModifyClusterRequest.cc
src/model/ModifyClusterResult.cc
src/model/ModifyClusterTagsRequest.cc
src/model/ModifyClusterTagsResult.cc
src/model/PauseClusterUpgradeRequest.cc
src/model/PauseClusterUpgradeResult.cc
src/model/PauseComponentUpgradeRequest.cc
src/model/PauseComponentUpgradeResult.cc
src/model/RemoveClusterNodesRequest.cc
src/model/RemoveClusterNodesResult.cc
src/model/RemoveWorkflowRequest.cc
src/model/RemoveWorkflowResult.cc
src/model/ResetClusterNodeRequest.cc
src/model/ResetClusterNodeResult.cc
src/model/RevokeClusterTokenRequest.cc
src/model/RevokeClusterTokenResult.cc
src/model/ResumeComponentUpgradeRequest.cc
src/model/ResumeComponentUpgradeResult.cc
src/model/ResumeUpgradeClusterRequest.cc
src/model/ResumeUpgradeClusterResult.cc
src/model/ScaleClusterRequest.cc
src/model/ScaleClusterResult.cc
src/model/ScaleOutClusterRequest.cc
src/model/ScaleOutClusterResult.cc
src/model/ServiceMeshAddClusterRequest.cc
src/model/ServiceMeshAddClusterResult.cc
src/model/ServiceMeshApiServerRequest.cc
src/model/ServiceMeshApiServerResult.cc
src/model/ServiceMeshRemoveClusterRequest.cc
src/model/ServiceMeshRemoveClusterResult.cc
src/model/StartWorkflowRequest.cc
src/model/StartWorkflowResult.cc
src/model/UnInstallClusterAddonsRequest.cc
src/model/UnInstallClusterAddonsResult.cc
src/model/UpdateK8sClusterUserConfigExpireRequest.cc
src/model/UpdateK8sClusterUserConfigExpireResult.cc
src/model/UpdateServiceMeshRequest.cc
src/model/UpdateServiceMeshResult.cc )
src/model/UpgradeClusterRequest.cc
src/model/UpgradeClusterResult.cc
src/model/UpgradeClusterAddonsRequest.cc
src/model/UpgradeClusterAddonsResult.cc )
add_library(cs ${LIB_TYPE}
${cs_public_header}

View File

@@ -24,22 +24,26 @@
#include "CSExport.h"
#include "model/AttachInstancesRequest.h"
#include "model/AttachInstancesResult.h"
#include "model/CancelClusterUpgradeRequest.h"
#include "model/CancelClusterUpgradeResult.h"
#include "model/CancelComponentUpgradeRequest.h"
#include "model/CancelComponentUpgradeResult.h"
#include "model/CancelWorkflowRequest.h"
#include "model/CancelWorkflowResult.h"
#include "model/CheckAliyunCSServiceRoleRequest.h"
#include "model/CheckAliyunCSServiceRoleResult.h"
#include "model/CreateClusterRequest.h"
#include "model/CreateClusterResult.h"
#include "model/CreateClusterByResourcesGroupRequest.h"
#include "model/CreateClusterByResourcesGroupResult.h"
#include "model/CreateServiceMeshRequest.h"
#include "model/CreateServiceMeshResult.h"
#include "model/CreateTemplateRequest.h"
#include "model/CreateTemplateResult.h"
#include "model/CreateTriggerHookRequest.h"
#include "model/CreateTriggerHookResult.h"
#include "model/DeleteClusterRequest.h"
#include "model/DeleteClusterResult.h"
#include "model/DeleteClusterNodeRequest.h"
#include "model/DeleteClusterNodeResult.h"
#include "model/DeleteClusterNodesRequest.h"
#include "model/DeleteClusterNodesResult.h"
#include "model/DeleteTemplateRequest.h"
#include "model/DeleteTemplateResult.h"
#include "model/DeleteTriggerHookRequest.h"
#include "model/DeleteTriggerHookResult.h"
#include "model/DescirbeWorkflowRequest.h"
#include "model/DescirbeWorkflowResult.h"
#include "model/DescribeAddonsRequest.h"
@@ -52,56 +56,64 @@
#include "model/DescribeClusterAddonsVersionResult.h"
#include "model/DescribeClusterAttachScriptsRequest.h"
#include "model/DescribeClusterAttachScriptsResult.h"
#include "model/DescribeClusterCertsRequest.h"
#include "model/DescribeClusterCertsResult.h"
#include "model/DescribeClusterDetailRequest.h"
#include "model/DescribeClusterDetailResult.h"
#include "model/DescribeClusterEndpointsRequest.h"
#include "model/DescribeClusterEndpointsResult.h"
#include "model/DescribeClusterLogsRequest.h"
#include "model/DescribeClusterLogsResult.h"
#include "model/DescribeClusterNodesRequest.h"
#include "model/DescribeClusterNodesResult.h"
#include "model/DescribeClusterResourcesRequest.h"
#include "model/DescribeClusterResourcesResult.h"
#include "model/DescribeClusterUserKubeconfigRequest.h"
#include "model/DescribeClusterUserKubeconfigResult.h"
#include "model/DescribeClusterV2UserKubeconfigRequest.h"
#include "model/DescribeClusterV2UserKubeconfigResult.h"
#include "model/DescribeClustersRequest.h"
#include "model/DescribeClustersResult.h"
#include "model/DescribeEdgeClusterAttachScriptsRequest.h"
#include "model/DescribeEdgeClusterAttachScriptsResult.h"
#include "model/DescribeExternalAgentRequest.h"
#include "model/DescribeExternalAgentResult.h"
#include "model/DescribeTemplatesRequest.h"
#include "model/DescribeTemplatesResult.h"
#include "model/DescribeUserQuotaRequest.h"
#include "model/DescribeUserQuotaResult.h"
#include "model/DescribeWorkflowsRequest.h"
#include "model/DescribeWorkflowsResult.h"
#include "model/DownloadClusterNodeCertsRequest.h"
#include "model/DownloadClusterNodeCertsResult.h"
#include "model/GetUpgradeStatusRequest.h"
#include "model/GetUpgradeStatusResult.h"
#include "model/InstallClusterAddonsRequest.h"
#include "model/InstallClusterAddonsResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ModifyClusterRequest.h"
#include "model/ModifyClusterResult.h"
#include "model/ModifyClusterTagsRequest.h"
#include "model/ModifyClusterTagsResult.h"
#include "model/PauseClusterUpgradeRequest.h"
#include "model/PauseClusterUpgradeResult.h"
#include "model/PauseComponentUpgradeRequest.h"
#include "model/PauseComponentUpgradeResult.h"
#include "model/RemoveClusterNodesRequest.h"
#include "model/RemoveClusterNodesResult.h"
#include "model/RemoveWorkflowRequest.h"
#include "model/RemoveWorkflowResult.h"
#include "model/ResetClusterNodeRequest.h"
#include "model/ResetClusterNodeResult.h"
#include "model/RevokeClusterTokenRequest.h"
#include "model/RevokeClusterTokenResult.h"
#include "model/ResumeComponentUpgradeRequest.h"
#include "model/ResumeComponentUpgradeResult.h"
#include "model/ResumeUpgradeClusterRequest.h"
#include "model/ResumeUpgradeClusterResult.h"
#include "model/ScaleClusterRequest.h"
#include "model/ScaleClusterResult.h"
#include "model/ScaleOutClusterRequest.h"
#include "model/ScaleOutClusterResult.h"
#include "model/ServiceMeshAddClusterRequest.h"
#include "model/ServiceMeshAddClusterResult.h"
#include "model/ServiceMeshApiServerRequest.h"
#include "model/ServiceMeshApiServerResult.h"
#include "model/ServiceMeshRemoveClusterRequest.h"
#include "model/ServiceMeshRemoveClusterResult.h"
#include "model/StartWorkflowRequest.h"
#include "model/StartWorkflowResult.h"
#include "model/UnInstallClusterAddonsRequest.h"
#include "model/UnInstallClusterAddonsResult.h"
#include "model/UpdateK8sClusterUserConfigExpireRequest.h"
#include "model/UpdateK8sClusterUserConfigExpireResult.h"
#include "model/UpdateServiceMeshRequest.h"
#include "model/UpdateServiceMeshResult.h"
#include "model/UpgradeClusterRequest.h"
#include "model/UpgradeClusterResult.h"
#include "model/UpgradeClusterAddonsRequest.h"
#include "model/UpgradeClusterAddonsResult.h"
namespace AlibabaCloud
@@ -114,30 +126,36 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AttachInstancesResult> AttachInstancesOutcome;
typedef std::future<AttachInstancesOutcome> AttachInstancesOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::AttachInstancesRequest&, const AttachInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachInstancesAsyncHandler;
typedef Outcome<Error, Model::CancelClusterUpgradeResult> CancelClusterUpgradeOutcome;
typedef std::future<CancelClusterUpgradeOutcome> CancelClusterUpgradeOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CancelClusterUpgradeRequest&, const CancelClusterUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelClusterUpgradeAsyncHandler;
typedef Outcome<Error, Model::CancelComponentUpgradeResult> CancelComponentUpgradeOutcome;
typedef std::future<CancelComponentUpgradeOutcome> CancelComponentUpgradeOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CancelComponentUpgradeRequest&, const CancelComponentUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelComponentUpgradeAsyncHandler;
typedef Outcome<Error, Model::CancelWorkflowResult> CancelWorkflowOutcome;
typedef std::future<CancelWorkflowOutcome> CancelWorkflowOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CancelWorkflowRequest&, const CancelWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelWorkflowAsyncHandler;
typedef Outcome<Error, Model::CheckAliyunCSServiceRoleResult> CheckAliyunCSServiceRoleOutcome;
typedef std::future<CheckAliyunCSServiceRoleOutcome> CheckAliyunCSServiceRoleOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CheckAliyunCSServiceRoleRequest&, const CheckAliyunCSServiceRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckAliyunCSServiceRoleAsyncHandler;
typedef Outcome<Error, Model::CreateClusterResult> CreateClusterOutcome;
typedef std::future<CreateClusterOutcome> CreateClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CreateClusterRequest&, const CreateClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterAsyncHandler;
typedef Outcome<Error, Model::CreateClusterByResourcesGroupResult> CreateClusterByResourcesGroupOutcome;
typedef std::future<CreateClusterByResourcesGroupOutcome> CreateClusterByResourcesGroupOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CreateClusterByResourcesGroupRequest&, const CreateClusterByResourcesGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterByResourcesGroupAsyncHandler;
typedef Outcome<Error, Model::CreateServiceMeshResult> CreateServiceMeshOutcome;
typedef std::future<CreateServiceMeshOutcome> CreateServiceMeshOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CreateServiceMeshRequest&, const CreateServiceMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceMeshAsyncHandler;
typedef Outcome<Error, Model::CreateTemplateResult> CreateTemplateOutcome;
typedef std::future<CreateTemplateOutcome> CreateTemplateOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CreateTemplateRequest&, const CreateTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTemplateAsyncHandler;
typedef Outcome<Error, Model::CreateTriggerHookResult> CreateTriggerHookOutcome;
typedef std::future<CreateTriggerHookOutcome> CreateTriggerHookOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::CreateTriggerHookRequest&, const CreateTriggerHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTriggerHookAsyncHandler;
typedef Outcome<Error, Model::DeleteClusterResult> DeleteClusterOutcome;
typedef std::future<DeleteClusterOutcome> DeleteClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DeleteClusterRequest&, const DeleteClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClusterAsyncHandler;
typedef Outcome<Error, Model::DeleteClusterNodeResult> DeleteClusterNodeOutcome;
typedef std::future<DeleteClusterNodeOutcome> DeleteClusterNodeOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DeleteClusterNodeRequest&, const DeleteClusterNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClusterNodeAsyncHandler;
typedef Outcome<Error, Model::DeleteClusterNodesResult> DeleteClusterNodesOutcome;
typedef std::future<DeleteClusterNodesOutcome> DeleteClusterNodesOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DeleteClusterNodesRequest&, const DeleteClusterNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClusterNodesAsyncHandler;
typedef Outcome<Error, Model::DeleteTemplateResult> DeleteTemplateOutcome;
typedef std::future<DeleteTemplateOutcome> DeleteTemplateOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DeleteTemplateRequest&, const DeleteTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTemplateAsyncHandler;
typedef Outcome<Error, Model::DeleteTriggerHookResult> DeleteTriggerHookOutcome;
typedef std::future<DeleteTriggerHookOutcome> DeleteTriggerHookOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DeleteTriggerHookRequest&, const DeleteTriggerHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTriggerHookAsyncHandler;
typedef Outcome<Error, Model::DescirbeWorkflowResult> DescirbeWorkflowOutcome;
typedef std::future<DescirbeWorkflowOutcome> DescirbeWorkflowOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescirbeWorkflowRequest&, const DescirbeWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescirbeWorkflowAsyncHandler;
@@ -156,21 +174,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeClusterAttachScriptsResult> DescribeClusterAttachScriptsOutcome;
typedef std::future<DescribeClusterAttachScriptsOutcome> DescribeClusterAttachScriptsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterAttachScriptsRequest&, const DescribeClusterAttachScriptsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterAttachScriptsAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterCertsResult> DescribeClusterCertsOutcome;
typedef std::future<DescribeClusterCertsOutcome> DescribeClusterCertsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterCertsRequest&, const DescribeClusterCertsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterCertsAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterDetailResult> DescribeClusterDetailOutcome;
typedef std::future<DescribeClusterDetailOutcome> DescribeClusterDetailOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterDetailRequest&, const DescribeClusterDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterEndpointsResult> DescribeClusterEndpointsOutcome;
typedef std::future<DescribeClusterEndpointsOutcome> DescribeClusterEndpointsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterEndpointsRequest&, const DescribeClusterEndpointsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterEndpointsAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterLogsResult> DescribeClusterLogsOutcome;
typedef std::future<DescribeClusterLogsOutcome> DescribeClusterLogsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterLogsRequest&, const DescribeClusterLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterLogsAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterNodesResult> DescribeClusterNodesOutcome;
typedef std::future<DescribeClusterNodesOutcome> DescribeClusterNodesOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterNodesRequest&, const DescribeClusterNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterNodesAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterResourcesResult> DescribeClusterResourcesOutcome;
typedef std::future<DescribeClusterResourcesOutcome> DescribeClusterResourcesOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterResourcesRequest&, const DescribeClusterResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterResourcesAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterUserKubeconfigResult> DescribeClusterUserKubeconfigOutcome;
typedef std::future<DescribeClusterUserKubeconfigOutcome> DescribeClusterUserKubeconfigOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClusterUserKubeconfigRequest&, const DescribeClusterUserKubeconfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterUserKubeconfigAsyncHandler;
@@ -180,45 +195,57 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeClustersResult> DescribeClustersOutcome;
typedef std::future<DescribeClustersOutcome> DescribeClustersOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeClustersRequest&, const DescribeClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClustersAsyncHandler;
typedef Outcome<Error, Model::DescribeEdgeClusterAttachScriptsResult> DescribeEdgeClusterAttachScriptsOutcome;
typedef std::future<DescribeEdgeClusterAttachScriptsOutcome> DescribeEdgeClusterAttachScriptsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeEdgeClusterAttachScriptsRequest&, const DescribeEdgeClusterAttachScriptsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEdgeClusterAttachScriptsAsyncHandler;
typedef Outcome<Error, Model::DescribeExternalAgentResult> DescribeExternalAgentOutcome;
typedef std::future<DescribeExternalAgentOutcome> DescribeExternalAgentOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeExternalAgentRequest&, const DescribeExternalAgentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExternalAgentAsyncHandler;
typedef Outcome<Error, Model::DescribeTemplatesResult> DescribeTemplatesOutcome;
typedef std::future<DescribeTemplatesOutcome> DescribeTemplatesOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeTemplatesRequest&, const DescribeTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTemplatesAsyncHandler;
typedef Outcome<Error, Model::DescribeUserQuotaResult> DescribeUserQuotaOutcome;
typedef std::future<DescribeUserQuotaOutcome> DescribeUserQuotaOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeUserQuotaRequest&, const DescribeUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserQuotaAsyncHandler;
typedef Outcome<Error, Model::DescribeWorkflowsResult> DescribeWorkflowsOutcome;
typedef std::future<DescribeWorkflowsOutcome> DescribeWorkflowsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DescribeWorkflowsRequest&, const DescribeWorkflowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWorkflowsAsyncHandler;
typedef Outcome<Error, Model::DownloadClusterNodeCertsResult> DownloadClusterNodeCertsOutcome;
typedef std::future<DownloadClusterNodeCertsOutcome> DownloadClusterNodeCertsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::DownloadClusterNodeCertsRequest&, const DownloadClusterNodeCertsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadClusterNodeCertsAsyncHandler;
typedef Outcome<Error, Model::GetUpgradeStatusResult> GetUpgradeStatusOutcome;
typedef std::future<GetUpgradeStatusOutcome> GetUpgradeStatusOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::GetUpgradeStatusRequest&, const GetUpgradeStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUpgradeStatusAsyncHandler;
typedef Outcome<Error, Model::InstallClusterAddonsResult> InstallClusterAddonsOutcome;
typedef std::future<InstallClusterAddonsOutcome> InstallClusterAddonsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::InstallClusterAddonsRequest&, const InstallClusterAddonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InstallClusterAddonsAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::ModifyClusterResult> ModifyClusterOutcome;
typedef std::future<ModifyClusterOutcome> ModifyClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ModifyClusterRequest&, const ModifyClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterAsyncHandler;
typedef Outcome<Error, Model::ModifyClusterTagsResult> ModifyClusterTagsOutcome;
typedef std::future<ModifyClusterTagsOutcome> ModifyClusterTagsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ModifyClusterTagsRequest&, const ModifyClusterTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterTagsAsyncHandler;
typedef Outcome<Error, Model::PauseClusterUpgradeResult> PauseClusterUpgradeOutcome;
typedef std::future<PauseClusterUpgradeOutcome> PauseClusterUpgradeOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::PauseClusterUpgradeRequest&, const PauseClusterUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PauseClusterUpgradeAsyncHandler;
typedef Outcome<Error, Model::PauseComponentUpgradeResult> PauseComponentUpgradeOutcome;
typedef std::future<PauseComponentUpgradeOutcome> PauseComponentUpgradeOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::PauseComponentUpgradeRequest&, const PauseComponentUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PauseComponentUpgradeAsyncHandler;
typedef Outcome<Error, Model::RemoveClusterNodesResult> RemoveClusterNodesOutcome;
typedef std::future<RemoveClusterNodesOutcome> RemoveClusterNodesOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::RemoveClusterNodesRequest&, const RemoveClusterNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveClusterNodesAsyncHandler;
typedef Outcome<Error, Model::RemoveWorkflowResult> RemoveWorkflowOutcome;
typedef std::future<RemoveWorkflowOutcome> RemoveWorkflowOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::RemoveWorkflowRequest&, const RemoveWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveWorkflowAsyncHandler;
typedef Outcome<Error, Model::ResetClusterNodeResult> ResetClusterNodeOutcome;
typedef std::future<ResetClusterNodeOutcome> ResetClusterNodeOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ResetClusterNodeRequest&, const ResetClusterNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetClusterNodeAsyncHandler;
typedef Outcome<Error, Model::RevokeClusterTokenResult> RevokeClusterTokenOutcome;
typedef std::future<RevokeClusterTokenOutcome> RevokeClusterTokenOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::RevokeClusterTokenRequest&, const RevokeClusterTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeClusterTokenAsyncHandler;
typedef Outcome<Error, Model::ResumeComponentUpgradeResult> ResumeComponentUpgradeOutcome;
typedef std::future<ResumeComponentUpgradeOutcome> ResumeComponentUpgradeOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ResumeComponentUpgradeRequest&, const ResumeComponentUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeComponentUpgradeAsyncHandler;
typedef Outcome<Error, Model::ResumeUpgradeClusterResult> ResumeUpgradeClusterOutcome;
typedef std::future<ResumeUpgradeClusterOutcome> ResumeUpgradeClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ResumeUpgradeClusterRequest&, const ResumeUpgradeClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeUpgradeClusterAsyncHandler;
typedef Outcome<Error, Model::ScaleClusterResult> ScaleClusterOutcome;
typedef std::future<ScaleClusterOutcome> ScaleClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ScaleClusterRequest&, const ScaleClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ScaleClusterAsyncHandler;
typedef Outcome<Error, Model::ScaleOutClusterResult> ScaleOutClusterOutcome;
typedef std::future<ScaleOutClusterOutcome> ScaleOutClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ScaleOutClusterRequest&, const ScaleOutClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ScaleOutClusterAsyncHandler;
typedef Outcome<Error, Model::ServiceMeshAddClusterResult> ServiceMeshAddClusterOutcome;
typedef std::future<ServiceMeshAddClusterOutcome> ServiceMeshAddClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ServiceMeshAddClusterRequest&, const ServiceMeshAddClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ServiceMeshAddClusterAsyncHandler;
typedef Outcome<Error, Model::ServiceMeshApiServerResult> ServiceMeshApiServerOutcome;
typedef std::future<ServiceMeshApiServerOutcome> ServiceMeshApiServerOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ServiceMeshApiServerRequest&, const ServiceMeshApiServerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ServiceMeshApiServerAsyncHandler;
typedef Outcome<Error, Model::ServiceMeshRemoveClusterResult> ServiceMeshRemoveClusterOutcome;
typedef std::future<ServiceMeshRemoveClusterOutcome> ServiceMeshRemoveClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::ServiceMeshRemoveClusterRequest&, const ServiceMeshRemoveClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ServiceMeshRemoveClusterAsyncHandler;
typedef Outcome<Error, Model::StartWorkflowResult> StartWorkflowOutcome;
typedef std::future<StartWorkflowOutcome> StartWorkflowOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::StartWorkflowRequest&, const StartWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartWorkflowAsyncHandler;
@@ -228,9 +255,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateK8sClusterUserConfigExpireResult> UpdateK8sClusterUserConfigExpireOutcome;
typedef std::future<UpdateK8sClusterUserConfigExpireOutcome> UpdateK8sClusterUserConfigExpireOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::UpdateK8sClusterUserConfigExpireRequest&, const UpdateK8sClusterUserConfigExpireOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateK8sClusterUserConfigExpireAsyncHandler;
typedef Outcome<Error, Model::UpdateServiceMeshResult> UpdateServiceMeshOutcome;
typedef std::future<UpdateServiceMeshOutcome> UpdateServiceMeshOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::UpdateServiceMeshRequest&, const UpdateServiceMeshOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceMeshAsyncHandler;
typedef Outcome<Error, Model::UpgradeClusterResult> UpgradeClusterOutcome;
typedef std::future<UpgradeClusterOutcome> UpgradeClusterOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::UpgradeClusterRequest&, const UpgradeClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeClusterAsyncHandler;
typedef Outcome<Error, Model::UpgradeClusterAddonsResult> UpgradeClusterAddonsOutcome;
typedef std::future<UpgradeClusterAddonsOutcome> UpgradeClusterAddonsOutcomeCallable;
typedef std::function<void(const CSClient*, const Model::UpgradeClusterAddonsRequest&, const UpgradeClusterAddonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeClusterAddonsAsyncHandler;
CSClient(const Credentials &credentials, const ClientConfiguration &configuration);
CSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -239,30 +269,36 @@ namespace AlibabaCloud
AttachInstancesOutcome attachInstances(const Model::AttachInstancesRequest &request)const;
void attachInstancesAsync(const Model::AttachInstancesRequest& request, const AttachInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachInstancesOutcomeCallable attachInstancesCallable(const Model::AttachInstancesRequest& request) const;
CancelClusterUpgradeOutcome cancelClusterUpgrade(const Model::CancelClusterUpgradeRequest &request)const;
void cancelClusterUpgradeAsync(const Model::CancelClusterUpgradeRequest& request, const CancelClusterUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelClusterUpgradeOutcomeCallable cancelClusterUpgradeCallable(const Model::CancelClusterUpgradeRequest& request) const;
CancelComponentUpgradeOutcome cancelComponentUpgrade(const Model::CancelComponentUpgradeRequest &request)const;
void cancelComponentUpgradeAsync(const Model::CancelComponentUpgradeRequest& request, const CancelComponentUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelComponentUpgradeOutcomeCallable cancelComponentUpgradeCallable(const Model::CancelComponentUpgradeRequest& request) const;
CancelWorkflowOutcome cancelWorkflow(const Model::CancelWorkflowRequest &request)const;
void cancelWorkflowAsync(const Model::CancelWorkflowRequest& request, const CancelWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelWorkflowOutcomeCallable cancelWorkflowCallable(const Model::CancelWorkflowRequest& request) const;
CheckAliyunCSServiceRoleOutcome checkAliyunCSServiceRole(const Model::CheckAliyunCSServiceRoleRequest &request)const;
void checkAliyunCSServiceRoleAsync(const Model::CheckAliyunCSServiceRoleRequest& request, const CheckAliyunCSServiceRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckAliyunCSServiceRoleOutcomeCallable checkAliyunCSServiceRoleCallable(const Model::CheckAliyunCSServiceRoleRequest& request) const;
CreateClusterOutcome createCluster(const Model::CreateClusterRequest &request)const;
void createClusterAsync(const Model::CreateClusterRequest& request, const CreateClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateClusterOutcomeCallable createClusterCallable(const Model::CreateClusterRequest& request) const;
CreateClusterByResourcesGroupOutcome createClusterByResourcesGroup(const Model::CreateClusterByResourcesGroupRequest &request)const;
void createClusterByResourcesGroupAsync(const Model::CreateClusterByResourcesGroupRequest& request, const CreateClusterByResourcesGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateClusterByResourcesGroupOutcomeCallable createClusterByResourcesGroupCallable(const Model::CreateClusterByResourcesGroupRequest& request) const;
CreateServiceMeshOutcome createServiceMesh(const Model::CreateServiceMeshRequest &request)const;
void createServiceMeshAsync(const Model::CreateServiceMeshRequest& request, const CreateServiceMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateServiceMeshOutcomeCallable createServiceMeshCallable(const Model::CreateServiceMeshRequest& request) const;
CreateTemplateOutcome createTemplate(const Model::CreateTemplateRequest &request)const;
void createTemplateAsync(const Model::CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTemplateOutcomeCallable createTemplateCallable(const Model::CreateTemplateRequest& request) const;
CreateTriggerHookOutcome createTriggerHook(const Model::CreateTriggerHookRequest &request)const;
void createTriggerHookAsync(const Model::CreateTriggerHookRequest& request, const CreateTriggerHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTriggerHookOutcomeCallable createTriggerHookCallable(const Model::CreateTriggerHookRequest& request) const;
DeleteClusterOutcome deleteCluster(const Model::DeleteClusterRequest &request)const;
void deleteClusterAsync(const Model::DeleteClusterRequest& request, const DeleteClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteClusterOutcomeCallable deleteClusterCallable(const Model::DeleteClusterRequest& request) const;
DeleteClusterNodeOutcome deleteClusterNode(const Model::DeleteClusterNodeRequest &request)const;
void deleteClusterNodeAsync(const Model::DeleteClusterNodeRequest& request, const DeleteClusterNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteClusterNodeOutcomeCallable deleteClusterNodeCallable(const Model::DeleteClusterNodeRequest& request) const;
DeleteClusterNodesOutcome deleteClusterNodes(const Model::DeleteClusterNodesRequest &request)const;
void deleteClusterNodesAsync(const Model::DeleteClusterNodesRequest& request, const DeleteClusterNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteClusterNodesOutcomeCallable deleteClusterNodesCallable(const Model::DeleteClusterNodesRequest& request) const;
DeleteTemplateOutcome deleteTemplate(const Model::DeleteTemplateRequest &request)const;
void deleteTemplateAsync(const Model::DeleteTemplateRequest& request, const DeleteTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTemplateOutcomeCallable deleteTemplateCallable(const Model::DeleteTemplateRequest& request) const;
DeleteTriggerHookOutcome deleteTriggerHook(const Model::DeleteTriggerHookRequest &request)const;
void deleteTriggerHookAsync(const Model::DeleteTriggerHookRequest& request, const DeleteTriggerHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTriggerHookOutcomeCallable deleteTriggerHookCallable(const Model::DeleteTriggerHookRequest& request) const;
DescirbeWorkflowOutcome descirbeWorkflow(const Model::DescirbeWorkflowRequest &request)const;
void descirbeWorkflowAsync(const Model::DescirbeWorkflowRequest& request, const DescirbeWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescirbeWorkflowOutcomeCallable descirbeWorkflowCallable(const Model::DescirbeWorkflowRequest& request) const;
@@ -281,21 +317,18 @@ namespace AlibabaCloud
DescribeClusterAttachScriptsOutcome describeClusterAttachScripts(const Model::DescribeClusterAttachScriptsRequest &request)const;
void describeClusterAttachScriptsAsync(const Model::DescribeClusterAttachScriptsRequest& request, const DescribeClusterAttachScriptsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterAttachScriptsOutcomeCallable describeClusterAttachScriptsCallable(const Model::DescribeClusterAttachScriptsRequest& request) const;
DescribeClusterCertsOutcome describeClusterCerts(const Model::DescribeClusterCertsRequest &request)const;
void describeClusterCertsAsync(const Model::DescribeClusterCertsRequest& request, const DescribeClusterCertsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterCertsOutcomeCallable describeClusterCertsCallable(const Model::DescribeClusterCertsRequest& request) const;
DescribeClusterDetailOutcome describeClusterDetail(const Model::DescribeClusterDetailRequest &request)const;
void describeClusterDetailAsync(const Model::DescribeClusterDetailRequest& request, const DescribeClusterDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterDetailOutcomeCallable describeClusterDetailCallable(const Model::DescribeClusterDetailRequest& request) const;
DescribeClusterEndpointsOutcome describeClusterEndpoints(const Model::DescribeClusterEndpointsRequest &request)const;
void describeClusterEndpointsAsync(const Model::DescribeClusterEndpointsRequest& request, const DescribeClusterEndpointsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterEndpointsOutcomeCallable describeClusterEndpointsCallable(const Model::DescribeClusterEndpointsRequest& request) const;
DescribeClusterLogsOutcome describeClusterLogs(const Model::DescribeClusterLogsRequest &request)const;
void describeClusterLogsAsync(const Model::DescribeClusterLogsRequest& request, const DescribeClusterLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterLogsOutcomeCallable describeClusterLogsCallable(const Model::DescribeClusterLogsRequest& request) const;
DescribeClusterNodesOutcome describeClusterNodes(const Model::DescribeClusterNodesRequest &request)const;
void describeClusterNodesAsync(const Model::DescribeClusterNodesRequest& request, const DescribeClusterNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterNodesOutcomeCallable describeClusterNodesCallable(const Model::DescribeClusterNodesRequest& request) const;
DescribeClusterResourcesOutcome describeClusterResources(const Model::DescribeClusterResourcesRequest &request)const;
void describeClusterResourcesAsync(const Model::DescribeClusterResourcesRequest& request, const DescribeClusterResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterResourcesOutcomeCallable describeClusterResourcesCallable(const Model::DescribeClusterResourcesRequest& request) const;
DescribeClusterUserKubeconfigOutcome describeClusterUserKubeconfig(const Model::DescribeClusterUserKubeconfigRequest &request)const;
void describeClusterUserKubeconfigAsync(const Model::DescribeClusterUserKubeconfigRequest& request, const DescribeClusterUserKubeconfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterUserKubeconfigOutcomeCallable describeClusterUserKubeconfigCallable(const Model::DescribeClusterUserKubeconfigRequest& request) const;
@@ -305,45 +338,57 @@ namespace AlibabaCloud
DescribeClustersOutcome describeClusters(const Model::DescribeClustersRequest &request)const;
void describeClustersAsync(const Model::DescribeClustersRequest& request, const DescribeClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClustersOutcomeCallable describeClustersCallable(const Model::DescribeClustersRequest& request) const;
DescribeEdgeClusterAttachScriptsOutcome describeEdgeClusterAttachScripts(const Model::DescribeEdgeClusterAttachScriptsRequest &request)const;
void describeEdgeClusterAttachScriptsAsync(const Model::DescribeEdgeClusterAttachScriptsRequest& request, const DescribeEdgeClusterAttachScriptsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEdgeClusterAttachScriptsOutcomeCallable describeEdgeClusterAttachScriptsCallable(const Model::DescribeEdgeClusterAttachScriptsRequest& request) const;
DescribeExternalAgentOutcome describeExternalAgent(const Model::DescribeExternalAgentRequest &request)const;
void describeExternalAgentAsync(const Model::DescribeExternalAgentRequest& request, const DescribeExternalAgentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeExternalAgentOutcomeCallable describeExternalAgentCallable(const Model::DescribeExternalAgentRequest& request) const;
DescribeTemplatesOutcome describeTemplates(const Model::DescribeTemplatesRequest &request)const;
void describeTemplatesAsync(const Model::DescribeTemplatesRequest& request, const DescribeTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTemplatesOutcomeCallable describeTemplatesCallable(const Model::DescribeTemplatesRequest& request) const;
DescribeUserQuotaOutcome describeUserQuota(const Model::DescribeUserQuotaRequest &request)const;
void describeUserQuotaAsync(const Model::DescribeUserQuotaRequest& request, const DescribeUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserQuotaOutcomeCallable describeUserQuotaCallable(const Model::DescribeUserQuotaRequest& request) const;
DescribeWorkflowsOutcome describeWorkflows(const Model::DescribeWorkflowsRequest &request)const;
void describeWorkflowsAsync(const Model::DescribeWorkflowsRequest& request, const DescribeWorkflowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeWorkflowsOutcomeCallable describeWorkflowsCallable(const Model::DescribeWorkflowsRequest& request) const;
DownloadClusterNodeCertsOutcome downloadClusterNodeCerts(const Model::DownloadClusterNodeCertsRequest &request)const;
void downloadClusterNodeCertsAsync(const Model::DownloadClusterNodeCertsRequest& request, const DownloadClusterNodeCertsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DownloadClusterNodeCertsOutcomeCallable downloadClusterNodeCertsCallable(const Model::DownloadClusterNodeCertsRequest& request) const;
GetUpgradeStatusOutcome getUpgradeStatus(const Model::GetUpgradeStatusRequest &request)const;
void getUpgradeStatusAsync(const Model::GetUpgradeStatusRequest& request, const GetUpgradeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUpgradeStatusOutcomeCallable getUpgradeStatusCallable(const Model::GetUpgradeStatusRequest& request) const;
InstallClusterAddonsOutcome installClusterAddons(const Model::InstallClusterAddonsRequest &request)const;
void installClusterAddonsAsync(const Model::InstallClusterAddonsRequest& request, const InstallClusterAddonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InstallClusterAddonsOutcomeCallable installClusterAddonsCallable(const Model::InstallClusterAddonsRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
ModifyClusterOutcome modifyCluster(const Model::ModifyClusterRequest &request)const;
void modifyClusterAsync(const Model::ModifyClusterRequest& request, const ModifyClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyClusterOutcomeCallable modifyClusterCallable(const Model::ModifyClusterRequest& request) const;
ModifyClusterTagsOutcome modifyClusterTags(const Model::ModifyClusterTagsRequest &request)const;
void modifyClusterTagsAsync(const Model::ModifyClusterTagsRequest& request, const ModifyClusterTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyClusterTagsOutcomeCallable modifyClusterTagsCallable(const Model::ModifyClusterTagsRequest& request) const;
PauseClusterUpgradeOutcome pauseClusterUpgrade(const Model::PauseClusterUpgradeRequest &request)const;
void pauseClusterUpgradeAsync(const Model::PauseClusterUpgradeRequest& request, const PauseClusterUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PauseClusterUpgradeOutcomeCallable pauseClusterUpgradeCallable(const Model::PauseClusterUpgradeRequest& request) const;
PauseComponentUpgradeOutcome pauseComponentUpgrade(const Model::PauseComponentUpgradeRequest &request)const;
void pauseComponentUpgradeAsync(const Model::PauseComponentUpgradeRequest& request, const PauseComponentUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PauseComponentUpgradeOutcomeCallable pauseComponentUpgradeCallable(const Model::PauseComponentUpgradeRequest& request) const;
RemoveClusterNodesOutcome removeClusterNodes(const Model::RemoveClusterNodesRequest &request)const;
void removeClusterNodesAsync(const Model::RemoveClusterNodesRequest& request, const RemoveClusterNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveClusterNodesOutcomeCallable removeClusterNodesCallable(const Model::RemoveClusterNodesRequest& request) const;
RemoveWorkflowOutcome removeWorkflow(const Model::RemoveWorkflowRequest &request)const;
void removeWorkflowAsync(const Model::RemoveWorkflowRequest& request, const RemoveWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveWorkflowOutcomeCallable removeWorkflowCallable(const Model::RemoveWorkflowRequest& request) const;
ResetClusterNodeOutcome resetClusterNode(const Model::ResetClusterNodeRequest &request)const;
void resetClusterNodeAsync(const Model::ResetClusterNodeRequest& request, const ResetClusterNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetClusterNodeOutcomeCallable resetClusterNodeCallable(const Model::ResetClusterNodeRequest& request) const;
RevokeClusterTokenOutcome revokeClusterToken(const Model::RevokeClusterTokenRequest &request)const;
void revokeClusterTokenAsync(const Model::RevokeClusterTokenRequest& request, const RevokeClusterTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RevokeClusterTokenOutcomeCallable revokeClusterTokenCallable(const Model::RevokeClusterTokenRequest& request) const;
ResumeComponentUpgradeOutcome resumeComponentUpgrade(const Model::ResumeComponentUpgradeRequest &request)const;
void resumeComponentUpgradeAsync(const Model::ResumeComponentUpgradeRequest& request, const ResumeComponentUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResumeComponentUpgradeOutcomeCallable resumeComponentUpgradeCallable(const Model::ResumeComponentUpgradeRequest& request) const;
ResumeUpgradeClusterOutcome resumeUpgradeCluster(const Model::ResumeUpgradeClusterRequest &request)const;
void resumeUpgradeClusterAsync(const Model::ResumeUpgradeClusterRequest& request, const ResumeUpgradeClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResumeUpgradeClusterOutcomeCallable resumeUpgradeClusterCallable(const Model::ResumeUpgradeClusterRequest& request) const;
ScaleClusterOutcome scaleCluster(const Model::ScaleClusterRequest &request)const;
void scaleClusterAsync(const Model::ScaleClusterRequest& request, const ScaleClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ScaleClusterOutcomeCallable scaleClusterCallable(const Model::ScaleClusterRequest& request) const;
ScaleOutClusterOutcome scaleOutCluster(const Model::ScaleOutClusterRequest &request)const;
void scaleOutClusterAsync(const Model::ScaleOutClusterRequest& request, const ScaleOutClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ScaleOutClusterOutcomeCallable scaleOutClusterCallable(const Model::ScaleOutClusterRequest& request) const;
ServiceMeshAddClusterOutcome serviceMeshAddCluster(const Model::ServiceMeshAddClusterRequest &request)const;
void serviceMeshAddClusterAsync(const Model::ServiceMeshAddClusterRequest& request, const ServiceMeshAddClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ServiceMeshAddClusterOutcomeCallable serviceMeshAddClusterCallable(const Model::ServiceMeshAddClusterRequest& request) const;
ServiceMeshApiServerOutcome serviceMeshApiServer(const Model::ServiceMeshApiServerRequest &request)const;
void serviceMeshApiServerAsync(const Model::ServiceMeshApiServerRequest& request, const ServiceMeshApiServerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ServiceMeshApiServerOutcomeCallable serviceMeshApiServerCallable(const Model::ServiceMeshApiServerRequest& request) const;
ServiceMeshRemoveClusterOutcome serviceMeshRemoveCluster(const Model::ServiceMeshRemoveClusterRequest &request)const;
void serviceMeshRemoveClusterAsync(const Model::ServiceMeshRemoveClusterRequest& request, const ServiceMeshRemoveClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ServiceMeshRemoveClusterOutcomeCallable serviceMeshRemoveClusterCallable(const Model::ServiceMeshRemoveClusterRequest& request) const;
StartWorkflowOutcome startWorkflow(const Model::StartWorkflowRequest &request)const;
void startWorkflowAsync(const Model::StartWorkflowRequest& request, const StartWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartWorkflowOutcomeCallable startWorkflowCallable(const Model::StartWorkflowRequest& request) const;
@@ -353,9 +398,12 @@ namespace AlibabaCloud
UpdateK8sClusterUserConfigExpireOutcome updateK8sClusterUserConfigExpire(const Model::UpdateK8sClusterUserConfigExpireRequest &request)const;
void updateK8sClusterUserConfigExpireAsync(const Model::UpdateK8sClusterUserConfigExpireRequest& request, const UpdateK8sClusterUserConfigExpireAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateK8sClusterUserConfigExpireOutcomeCallable updateK8sClusterUserConfigExpireCallable(const Model::UpdateK8sClusterUserConfigExpireRequest& request) const;
UpdateServiceMeshOutcome updateServiceMesh(const Model::UpdateServiceMeshRequest &request)const;
void updateServiceMeshAsync(const Model::UpdateServiceMeshRequest& request, const UpdateServiceMeshAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateServiceMeshOutcomeCallable updateServiceMeshCallable(const Model::UpdateServiceMeshRequest& request) const;
UpgradeClusterOutcome upgradeCluster(const Model::UpgradeClusterRequest &request)const;
void upgradeClusterAsync(const Model::UpgradeClusterRequest& request, const UpgradeClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeClusterOutcomeCallable upgradeClusterCallable(const Model::UpgradeClusterRequest& request) const;
UpgradeClusterAddonsOutcome upgradeClusterAddons(const Model::UpgradeClusterAddonsRequest &request)const;
void upgradeClusterAddonsAsync(const Model::UpgradeClusterAddonsRequest& request, const UpgradeClusterAddonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeClusterAddonsOutcomeCallable upgradeClusterAddonsCallable(const Model::UpgradeClusterAddonsRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADEREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADEREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeClusterCertsRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT CancelClusterUpgradeRequest : public RoaServiceRequest
{
public:
DescribeClusterCertsRequest();
~DescribeClusterCertsRequest();
CancelClusterUpgradeRequest();
~CancelClusterUpgradeRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
@@ -45,4 +45,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERRESULT_H_
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERRESULT_H_
#ifndef ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADERESULT_H_
#define ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADERESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT ServiceMeshApiServerResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT CancelClusterUpgradeResult : public ServiceResult
{
public:
ServiceMeshApiServerResult();
explicit ServiceMeshApiServerResult(const std::string &payload);
~ServiceMeshApiServerResult();
CancelClusterUpgradeResult();
explicit CancelClusterUpgradeResult(const std::string &payload);
~CancelClusterUpgradeResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERRESULT_H_
#endif // !ALIBABACLOUD_CS_MODEL_CANCELCLUSTERUPGRADERESULT_H_

View File

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

View File

@@ -0,0 +1,49 @@
/*
* 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_CS_MODEL_CANCELCOMPONENTUPGRADERESULT_H_
#define ALIBABACLOUD_CS_MODEL_CANCELCOMPONENTUPGRADERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cs/CSExport.h>
namespace AlibabaCloud
{
namespace CS
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT CancelComponentUpgradeResult : public ServiceResult
{
public:
CancelComponentUpgradeResult();
explicit CancelComponentUpgradeResult(const std::string &payload);
~CancelComponentUpgradeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CANCELCOMPONENTUPGRADERESULT_H_

View File

@@ -99,10 +99,10 @@ namespace AlibabaCloud
void setWorker_auto_renew_period(int worker_auto_renew_period);
int getMaster_auto_renew_period()const;
void setMaster_auto_renew_period(int master_auto_renew_period);
int getTimeout_mins()const;
void setTimeout_mins(int timeout_mins);
int getWorker_period()const;
void setWorker_period(int worker_period);
int getTimeout_mins()const;
void setTimeout_mins(int timeout_mins);
int getWorker_system_disk_size()const;
void setWorker_system_disk_size(int worker_system_disk_size);
std::string getOs_type()const;
@@ -151,8 +151,8 @@ namespace AlibabaCloud
std::string node_cidr_mask_;
int worker_auto_renew_period_;
int master_auto_renew_period_;
int timeout_mins_;
int worker_period_;
int timeout_mins_;
int worker_system_disk_size_;
std::string os_type_;
std::string cpu_policy_;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_CREATETEMPLATEREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_CREATETEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/cs/CSExport.h>
namespace AlibabaCloud
{
namespace CS
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT CreateTemplateRequest : public RoaServiceRequest
{
public:
CreateTemplateRequest();
~CreateTemplateRequest();
std::string get_Template()const;
void set_Template(const std::string& _template);
std::string getName()const;
void setName(const std::string& name);
std::string getTemplate_type()const;
void setTemplate_type(const std::string& template_type);
std::string getTags()const;
void setTags(const std::string& tags);
private:
std::string _template_;
std::string name_;
std::string template_type_;
std::string tags_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CREATETEMPLATEREQUEST_H_

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/cs/CSExport.h>
namespace AlibabaCloud
{
namespace CS
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT CreateTriggerHookRequest : public RoaServiceRequest
{
public:
CreateTriggerHookRequest();
~CreateTriggerHookRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getProject_id()const;
void setProject_id(const std::string& project_id);
std::string getTrigger_url()const;
void setTrigger_url(const std::string& trigger_url);
std::string getRegion_id()const;
void setRegion_id(const std::string& region_id);
std::string getAction()const;
void setAction(const std::string& action);
private:
std::string cluster_id_;
std::string project_id_;
std::string trigger_url_;
std::string region_id_;
std::string action_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHRESULT_H_
#define ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHRESULT_H_
#ifndef ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKRESULT_H_
#define ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT CreateServiceMeshResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT CreateTriggerHookResult : public ServiceResult
{
public:
CreateServiceMeshResult();
explicit CreateServiceMeshResult(const std::string &payload);
~CreateServiceMeshResult();
CreateTriggerHookResult();
explicit CreateTriggerHookResult(const std::string &payload);
~CreateTriggerHookResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHRESULT_H_
#endif // !ALIBABACLOUD_CS_MODEL_CREATETRIGGERHOOKRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_DELETETEMPLATEREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DELETETEMPLATEREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT RevokeClusterTokenRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT DeleteTemplateRequest : public RoaServiceRequest
{
public:
RevokeClusterTokenRequest();
~RevokeClusterTokenRequest();
DeleteTemplateRequest();
~DeleteTemplateRequest();
std::string getToken()const;
void setToken(const std::string& token);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
private:
std::string token_;
std::string templateId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_DELETETEMPLATEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODERESULT_H_
#define ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODERESULT_H_
#ifndef ALIBABACLOUD_CS_MODEL_DELETETEMPLATERESULT_H_
#define ALIBABACLOUD_CS_MODEL_DELETETEMPLATERESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DeleteClusterNodeResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT DeleteTemplateResult : public ServiceResult
{
public:
DeleteClusterNodeResult();
explicit DeleteClusterNodeResult(const std::string &payload);
~DeleteClusterNodeResult();
DeleteTemplateResult();
explicit DeleteTemplateResult(const std::string &payload);
~DeleteTemplateResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODERESULT_H_
#endif // !ALIBABACLOUD_CS_MODEL_DELETETEMPLATERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT CreateServiceMeshRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT DeleteTriggerHookRequest : public RoaServiceRequest
{
public:
CreateServiceMeshRequest();
~CreateServiceMeshRequest();
DeleteTriggerHookRequest();
~DeleteTriggerHookRequest();
private:
@@ -42,4 +42,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CREATESERVICEMESHREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHRESULT_H_
#define ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHRESULT_H_
#ifndef ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT UpdateServiceMeshResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT DeleteTriggerHookResult : public ServiceResult
{
public:
UpdateServiceMeshResult();
explicit UpdateServiceMeshResult(const std::string &payload);
~UpdateServiceMeshResult();
DeleteTriggerHookResult();
explicit DeleteTriggerHookResult(const std::string &payload);
~DeleteTriggerHookResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHRESULT_H_
#endif // !ALIBABACLOUD_CS_MODEL_DELETETRIGGERHOOKRESULT_H_

View File

@@ -35,10 +35,13 @@ namespace AlibabaCloud
DescribeAddonsRequest();
~DescribeAddonsRequest();
std::string getCluster_type()const;
void setCluster_type(const std::string& cluster_type);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string cluster_type_;
std::string region_;
};

View File

@@ -37,10 +37,18 @@ namespace AlibabaCloud
DescribeApiVersionResult();
explicit DescribeApiVersionResult(const std::string &payload);
~DescribeApiVersionResult();
std::string getDocker_version()const;
std::string getVersion()const;
std::string getBuild()const;
std::string getDocker_region_versions()const;
protected:
void parse(const std::string &payload);
private:
std::string docker_version_;
std::string version_;
std::string build_;
std::string docker_region_versions_;
};
}

View File

@@ -32,40 +32,29 @@ namespace AlibabaCloud
class ALIBABACLOUD_CS_EXPORT DescribeClusterAddonUpgradeStatusResult : public ServiceResult
{
public:
struct ComponentId
struct Addon_info
{
struct Addon_info
{
std::string message;
std::string version;
std::string ready_to_upgrade;
std::string component_name;
std::string yaml;
};
struct Tasks
{
std::string status;
std::string master_url;
std::string finished_at;
std::string created_at;
};
Tasks tasks;
std::string _template;
bool can_upgrade;
Addon_info addon_info;
std::string changed;
std::string category;
std::string message;
std::string version;
std::string component_name;
std::string yaml;
};
DescribeClusterAddonUpgradeStatusResult();
explicit DescribeClusterAddonUpgradeStatusResult(const std::string &payload);
~DescribeClusterAddonUpgradeStatusResult();
ComponentId getComponentId()const;
std::string get_Template()const;
bool getCan_upgrade()const;
Addon_info getAddon_info()const;
protected:
void parse(const std::string &payload);
private:
ComponentId componentId_;
std::string _template_;
bool can_upgrade_;
Addon_info addon_info_;
};
}

View File

@@ -37,32 +37,24 @@ namespace AlibabaCloud
DescribeClusterAddonsVersionResult();
explicit DescribeClusterAddonsVersionResult(const std::string &payload);
~DescribeClusterAddonsVersionResult();
std::string getPolicy()const;
std::string getNext_version()const;
std::string get_Template()const;
bool getCan_upgrade()const;
bool getExist()const;
std::string getMessage()const;
bool getRequired()const;
std::string getVersion()const;
bool getForce()const;
std::string getReady_to_upgrade()const;
std::string getChanged()const;
std::string getComponent_name()const;
protected:
void parse(const std::string &payload);
private:
std::string policy_;
std::string next_version_;
std::string _template_;
bool can_upgrade_;
bool exist_;
std::string message_;
bool required_;
std::string version_;
bool force_;
std::string ready_to_upgrade_;
std::string changed_;
std::string component_name_;

View File

@@ -35,11 +35,11 @@ namespace AlibabaCloud
DescribeClusterAttachScriptsRequest();
~DescribeClusterAttachScriptsRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string clusterId_;
std::string clusterId_;
};
}

View File

@@ -32,15 +32,68 @@ namespace AlibabaCloud
class ALIBABACLOUD_CS_EXPORT DescribeClusterDetailResult : public ServiceResult
{
public:
struct TagsItem
{
std::string value;
std::string key;
};
DescribeClusterDetailResult();
explicit DescribeClusterDetailResult(const std::string &payload);
~DescribeClusterDetailResult();
std::string getCluster_type()const;
std::string getResource_group_id()const;
std::string getData_disk_category()const;
std::string getDocker_version()const;
std::string getCluster_id()const;
std::string getExternal_loadbalancer_id()const;
std::string getUpdated()const;
std::string getRegion_id()const;
std::string getSize()const;
std::string getVpc_id()const;
std::string getVswitch_id()const;
std::string getMeta_data()const;
bool getDeletion_protection()const;
std::string getNetwork_mode()const;
std::string getSecurity_group_id()const;
std::vector<TagsItem> gettags()const;
std::string getName()const;
int getData_disk_size()const;
std::string getCreated()const;
std::string getState()const;
std::string getZone_id()const;
std::string getVswitch_cidr()const;
std::string getCurrent_version()const;
std::string getInstance_type()const;
protected:
void parse(const std::string &payload);
private:
std::string cluster_type_;
std::string resource_group_id_;
std::string data_disk_category_;
std::string docker_version_;
std::string cluster_id_;
std::string external_loadbalancer_id_;
std::string updated_;
std::string region_id_;
std::string size_;
std::string vpc_id_;
std::string vswitch_id_;
std::string meta_data_;
bool deletion_protection_;
std::string network_mode_;
std::string security_group_id_;
std::vector<TagsItem> tags_;
std::string name_;
int data_disk_size_;
std::string created_;
std::string state_;
std::string zone_id_;
std::string vswitch_cidr_;
std::string current_version_;
std::string instance_type_;
};
}

View File

@@ -37,10 +37,18 @@ namespace AlibabaCloud
DescribeClusterLogsResult();
explicit DescribeClusterLogsResult(const std::string &payload);
~DescribeClusterLogsResult();
std::string getCluster_id()const;
std::string getLog_level()const;
std::string getCluster_log()const;
std::string getCreated()const;
protected:
void parse(const std::string &payload);
private:
std::string cluster_id_;
std::string log_level_;
std::string cluster_log_;
std::string created_;
};
}

View File

@@ -39,12 +39,18 @@ namespace AlibabaCloud
void setPageSize(const std::string& pageSize);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getState()const;
void setState(const std::string& state);
std::string getNodepool_id()const;
void setNodepool_id(const std::string& nodepool_id);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
private:
std::string pageSize_;
std::string clusterId_;
std::string state_;
std::string nodepool_id_;
std::string pageNumber_;
};

View File

@@ -32,15 +32,47 @@ namespace AlibabaCloud
class ALIBABACLOUD_CS_EXPORT DescribeClusterNodesResult : public ServiceResult
{
public:
struct Page
{
int page_size;
int page_number;
int total_count;
};
struct Node
{
std::string instance_name;
std::string error_message;
std::string creation_time;
std::string image_id;
std::string instance_status;
std::string instance_type_family;
std::string host_name;
std::string source;
std::string instance_charge_type;
std::vector<std::string> ip_address;
std::string state;
std::string instance_role;
std::string nodepool_id;
std::string node_status;
std::string instance_id;
std::string node_name;
std::string instance_type;
std::string expired_time;
bool is_aliyun_node;
};
DescribeClusterNodesResult();
explicit DescribeClusterNodesResult(const std::string &payload);
~DescribeClusterNodesResult();
std::vector<Node> getnodes()const;
Page getPage()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Node> nodes_;
Page page_;
};
}

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERENDPOINTSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERENDPOINTSREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeClusterEndpointsRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT DescribeClusterResourcesRequest : public RoaServiceRequest
{
public:
DescribeClusterEndpointsRequest();
~DescribeClusterEndpointsRequest();
DescribeClusterResourcesRequest();
~DescribeClusterResourcesRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
@@ -45,4 +45,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERENDPOINTSREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_SERVICEMESHREMOVECLUSTERRESULT_H_
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHREMOVECLUSTERRESULT_H_
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESRESULT_H_
#include <string>
#include <vector>
@@ -29,21 +29,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT ServiceMeshRemoveClusterResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT DescribeClusterResourcesResult : public ServiceResult
{
public:
struct ResourcesItem
{
std::string resource_info;
std::string state;
std::string resource_type;
std::string instance_id;
};
ServiceMeshRemoveClusterResult();
explicit ServiceMeshRemoveClusterResult(const std::string &payload);
~ServiceMeshRemoveClusterResult();
DescribeClusterResourcesResult();
explicit DescribeClusterResourcesResult(const std::string &payload);
~DescribeClusterResourcesResult();
std::vector<ResourcesItem> getresources()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResourcesItem> resources_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHREMOVECLUSTERRESULT_H_
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERRESOURCESRESULT_H_

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