Compare commits

..

35 Commits

Author SHA1 Message Date
wb-hx510875
b32986689b test ci 2020-07-01 13:24:34 +08:00
sdk-team
db4bd7ae11 Add ListMetrics API. 2020-06-30 14:20:43 +08:00
sdk-team
7e4fbe6210 Supported Rotate. 2020-06-29 19:41:42 +08:00
sdk-team
de0798d2dd Supported Rotate. 2020-06-29 17:15:51 +08:00
sdk-team
2650ca7420 Add Model Parameter For InitFaceVerify API. 2020-06-29 12:48:10 +08:00
sdk-team
59d9eaf390 Supported Api EraseLogoInVideo. 2020-06-26 17:48:17 +08:00
sdk-team
1ae8883f81 Add DescribeBackupPlanBilling. 2020-06-24 12:38:11 +08:00
sdk-team
30469764de Add face quality detection API. 2020-06-23 23:57:16 +08:00
sdk-team
aeea3c2fea Add face quality detection API. 2020-06-23 21:21:35 +08:00
sdk-team
743309716b Add face quality detection API. 2020-06-23 20:07:28 +08:00
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
sdk-team
2070ee03ba Add GetAuthToken OpenAPI. 2020-06-18 15:38:53 +08:00
sdk-team
e611ec2db4 Public beta version. 2020-06-18 10:39:31 +08:00
sdk-team
57416bd581 Supported sync create eni and assign private ip. 2020-06-17 18:04:12 +08:00
sdk-team
2df6079b2d Public beta version. 2020-06-17 14:30:20 +08:00
sdk-team
39221a5319 Support TargetImageId in ApplyNodes Interface. 2020-06-16 16:35:28 +08:00
sdk-team
6bba61cebe Update monitor related API. 2020-06-16 00:29:30 +08:00
sdk-team
a869068f77 Generated 2019-09-10 for waf-openapi. 2020-06-15 14:06:18 +08:00
sdk-team
cf9eca9516 Generated 2019-09-10 for waf-openapi. 2020-06-15 12:27:04 +08:00
sdk-team
9ae74a6524 Add CreateProduct API ProductSecret in Response. 2020-06-12 13:50:54 +08:00
sdk-team
1855010705 Update monitor related API. 2020-06-12 11:26:37 +08:00
sdk-team
654af055e6 Add support for enable hbaseue extra module like lindorm-search or lindorm-sql. 2020-06-12 10:59:41 +08:00
sdk-team
07b50e30ef Support ServicePeriodUnit in QueryInstanceBill. 2020-06-11 21:17:59 +08:00
sdk-team
767dcb5bee Public beta version. 2020-06-10 22:13:03 +08:00
sdk-team
42b4be9e1f Public beta version. 2020-06-10 22:06:17 +08:00
886 changed files with 36038 additions and 6935 deletions

137
CHANGELOG
View File

@@ -1,3 +1,140 @@
2020-06-30 Version: 1.36.487
- Add ListMetrics API.
2020-06-29 Version: 1.36.486
- Supported Rotate.
2020-06-29 Version: 1.36.485
- Supported Rotate.
2020-06-29 Version: 1.36.484
- Add Model Parameter For InitFaceVerify API.
2020-06-26 Version: 1.36.483
- Supported Api EraseLogoInVideo.
2020-06-24 Version: 1.36.482
- Add DescribeBackupPlanBilling.
- Modify ConfigureBackupPlan.
- Modify CreateBackupPlan.
- Modify CreateRestoreTask.
- Modify DescribeRestoreTaskList.
- Modify DescribeBackupPlanList.
- Modify ModifyBackupSourceEndpoint.
- Modify ModifyBackupStrategy.
2020-06-23 Version: 1.36.481
- Add face quality detection API.
2020-06-23 Version: 1.36.480
- Add face quality detection API.
2020-06-23 Version: 1.36.479
- Add face quality detection API.
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.
2020-06-18 Version: 1.36.466
- Public beta version.
- Add Api Overseas.
2020-06-17 Version: 1.36.465
- Supported sync create eni and assign private ip.
2020-06-17 Version: 1.36.464
- Public beta version.
- Add Api Overseas.
2020-06-16 Version: 1.36.463
- Support TargetImageId in ApplyNodes Interface.
2020-06-16 Version: 1.36.462
- Update monitor related API.
2020-06-15 Version: 1.36.461
- Generated 2019-09-10 for `waf-openapi`.
2020-06-15 Version: 1.36.460
- Generated 2019-09-10 for `waf-openapi`.
2020-06-12 Version: 1.36.459
- Add CreateProduct API ProductSecret in Response.
- Add AMQP APIs, including CreateSubscribeRelation, CreateConsumerGroup, etc.
- Add LinkIoTEdge CreateSceneRule API.
- Add LinkIoTEdge DeleteSceneRule API.
- Add LinkIoTEdge UpdateSceneRule API.
- Add LinkIoTEdge GetSceneRule API.
- Add LinkIoTEdge QuerySceneRule API.
- Add LinkIoTEdge EnableSceneRule API.
- Add LinkIoTEdge DisableSceneRule API.
- Add LinkIoTEdge TriggerSceneRule API.
- Add LinkIoTEdge QuerySummarySceneRuleLog API.
- Add LinkIoTEdge QueryDetailSceneRuleLog API.
- Add LinkIoTEdge BindSceneRuleToEdgeInstance API.
- Add LinkIoTEdge UnbindSceneRuleFromEdgeInstance API.
- Add LinkIoTEdge QueryEdgeInstanceSceneRule API.
2020-06-12 Version: 1.36.458
- Update monitor related API.
2020-06-12 Version: 1.36.457
- Add support for enable hbaseue extra module like lindorm-search or lindorm-sql.
2020-06-11 Version: 1.36.456
- Support ServicePeriodUnit in QueryInstanceBill.
2020-06-10 Version: 1.36.455
- Public beta version.
- Add Api Overseas.
2020-06-10 Version: 1.36.454
- Public beta version.
- Add Api Overseas.
2020-06-08 Version: 1.36.453
- Generate dbfs sdk.

View File

@@ -1 +1 @@
1.36.453
1.36.487

View File

@@ -27,6 +27,10 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.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/CreateDeviceMeetingRequest.h
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h
include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h
@@ -63,6 +67,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/GetMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/GetMeetingMemberRequest.h
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
include/alibabacloud/aliyuncvc/model/GetUserResult.h
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h
@@ -75,6 +81,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h
include/alibabacloud/aliyuncvc/model/ListDevicesResult.h
include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h
include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h
include/alibabacloud/aliyuncvc/model/ListIsvStatisticsRequest.h
@@ -95,6 +103,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutRequest.h
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutResult.h
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordResult.h )
@@ -106,6 +116,10 @@ set(aliyuncvc_src
src/model/ActiveMeetingResult.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/CreateDeviceMeetingRequest.cc
src/model/CreateDeviceMeetingResult.cc
src/model/CreateEvaluationRequest.cc
@@ -142,6 +156,8 @@ set(aliyuncvc_src
src/model/GetMeetingInternationalResult.cc
src/model/GetMeetingMemberRequest.cc
src/model/GetMeetingMemberResult.cc
src/model/GetMembersRequest.cc
src/model/GetMembersResult.cc
src/model/GetUserRequest.cc
src/model/GetUserResult.cc
src/model/JoinDeviceMeetingRequest.cc
@@ -154,6 +170,8 @@ set(aliyuncvc_src
src/model/JoinMeetingInternationalResult.cc
src/model/ListDeviceIpRequest.cc
src/model/ListDeviceIpResult.cc
src/model/ListDevicesRequest.cc
src/model/ListDevicesResult.cc
src/model/ListEvaluationsRequest.cc
src/model/ListEvaluationsResult.cc
src/model/ListIsvStatisticsRequest.cc
@@ -174,6 +192,8 @@ set(aliyuncvc_src
src/model/StartLiveResult.cc
src/model/UpdateDeviceHeartBeatRequest.cc
src/model/UpdateDeviceHeartBeatResult.cc
src/model/UpdateGonggeLayoutRequest.cc
src/model/UpdateGonggeLayoutResult.cc
src/model/UpdateLivePasswordRequest.cc
src/model/UpdateLivePasswordResult.cc )

View File

@@ -28,6 +28,10 @@
#include "model/ActiveMeetingResult.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/CreateDeviceMeetingRequest.h"
#include "model/CreateDeviceMeetingResult.h"
#include "model/CreateEvaluationRequest.h"
@@ -64,6 +68,8 @@
#include "model/GetMeetingInternationalResult.h"
#include "model/GetMeetingMemberRequest.h"
#include "model/GetMeetingMemberResult.h"
#include "model/GetMembersRequest.h"
#include "model/GetMembersResult.h"
#include "model/GetUserRequest.h"
#include "model/GetUserResult.h"
#include "model/JoinDeviceMeetingRequest.h"
@@ -76,6 +82,8 @@
#include "model/JoinMeetingInternationalResult.h"
#include "model/ListDeviceIpRequest.h"
#include "model/ListDeviceIpResult.h"
#include "model/ListDevicesRequest.h"
#include "model/ListDevicesResult.h"
#include "model/ListEvaluationsRequest.h"
#include "model/ListEvaluationsResult.h"
#include "model/ListIsvStatisticsRequest.h"
@@ -96,6 +104,8 @@
#include "model/StartLiveResult.h"
#include "model/UpdateDeviceHeartBeatRequest.h"
#include "model/UpdateDeviceHeartBeatResult.h"
#include "model/UpdateGonggeLayoutRequest.h"
#include "model/UpdateGonggeLayoutResult.h"
#include "model/UpdateLivePasswordRequest.h"
#include "model/UpdateLivePasswordResult.h"
@@ -116,6 +126,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::BatchCreateDeviceResult> BatchCreateDeviceOutcome;
typedef std::future<BatchCreateDeviceOutcome> BatchCreateDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::BatchCreateDeviceRequest&, const BatchCreateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchCreateDeviceAsyncHandler;
typedef Outcome<Error, Model::BatchDeleteDevicesResult> BatchDeleteDevicesOutcome;
typedef std::future<BatchDeleteDevicesOutcome> BatchDeleteDevicesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::BatchDeleteDevicesRequest&, const BatchDeleteDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteDevicesAsyncHandler;
typedef Outcome<Error, Model::CallDeviceResult> CallDeviceOutcome;
typedef std::future<CallDeviceOutcome> CallDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CallDeviceRequest&, const CallDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CallDeviceAsyncHandler;
typedef Outcome<Error, Model::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;
@@ -170,6 +186,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetMeetingMemberResult> GetMeetingMemberOutcome;
typedef std::future<GetMeetingMemberOutcome> GetMeetingMemberOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetMeetingMemberRequest&, const GetMeetingMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMeetingMemberAsyncHandler;
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
@@ -188,6 +207,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListDeviceIpResult> ListDeviceIpOutcome;
typedef std::future<ListDeviceIpOutcome> ListDeviceIpOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListDeviceIpRequest&, const ListDeviceIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceIpAsyncHandler;
typedef Outcome<Error, Model::ListDevicesResult> ListDevicesOutcome;
typedef std::future<ListDevicesOutcome> ListDevicesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListDevicesRequest&, const ListDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevicesAsyncHandler;
typedef Outcome<Error, Model::ListEvaluationsResult> ListEvaluationsOutcome;
typedef std::future<ListEvaluationsOutcome> ListEvaluationsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListEvaluationsRequest&, const ListEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEvaluationsAsyncHandler;
@@ -218,6 +240,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateDeviceHeartBeatResult> UpdateDeviceHeartBeatOutcome;
typedef std::future<UpdateDeviceHeartBeatOutcome> UpdateDeviceHeartBeatOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceHeartBeatRequest&, const UpdateDeviceHeartBeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceHeartBeatAsyncHandler;
typedef Outcome<Error, Model::UpdateGonggeLayoutResult> UpdateGonggeLayoutOutcome;
typedef std::future<UpdateGonggeLayoutOutcome> UpdateGonggeLayoutOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateGonggeLayoutRequest&, const UpdateGonggeLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGonggeLayoutAsyncHandler;
typedef Outcome<Error, Model::UpdateLivePasswordResult> UpdateLivePasswordOutcome;
typedef std::future<UpdateLivePasswordOutcome> UpdateLivePasswordOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateLivePasswordRequest&, const UpdateLivePasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLivePasswordAsyncHandler;
@@ -235,6 +260,12 @@ namespace AlibabaCloud
BatchCreateDeviceOutcome batchCreateDevice(const Model::BatchCreateDeviceRequest &request)const;
void batchCreateDeviceAsync(const Model::BatchCreateDeviceRequest& request, const BatchCreateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchCreateDeviceOutcomeCallable batchCreateDeviceCallable(const Model::BatchCreateDeviceRequest& request) const;
BatchDeleteDevicesOutcome batchDeleteDevices(const Model::BatchDeleteDevicesRequest &request)const;
void batchDeleteDevicesAsync(const Model::BatchDeleteDevicesRequest& request, const BatchDeleteDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchDeleteDevicesOutcomeCallable batchDeleteDevicesCallable(const Model::BatchDeleteDevicesRequest& request) const;
CallDeviceOutcome callDevice(const Model::CallDeviceRequest &request)const;
void callDeviceAsync(const Model::CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CallDeviceOutcomeCallable callDeviceCallable(const Model::CallDeviceRequest& request) const;
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;
@@ -289,6 +320,9 @@ namespace AlibabaCloud
GetMeetingMemberOutcome getMeetingMember(const Model::GetMeetingMemberRequest &request)const;
void getMeetingMemberAsync(const Model::GetMeetingMemberRequest& request, const GetMeetingMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMeetingMemberOutcomeCallable getMeetingMemberCallable(const Model::GetMeetingMemberRequest& request) const;
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
@@ -307,6 +341,9 @@ namespace AlibabaCloud
ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const;
void listDeviceIpAsync(const Model::ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const;
ListDevicesOutcome listDevices(const Model::ListDevicesRequest &request)const;
void listDevicesAsync(const Model::ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDevicesOutcomeCallable listDevicesCallable(const Model::ListDevicesRequest& request) const;
ListEvaluationsOutcome listEvaluations(const Model::ListEvaluationsRequest &request)const;
void listEvaluationsAsync(const Model::ListEvaluationsRequest& request, const ListEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListEvaluationsOutcomeCallable listEvaluationsCallable(const Model::ListEvaluationsRequest& request) const;
@@ -337,6 +374,9 @@ namespace AlibabaCloud
UpdateDeviceHeartBeatOutcome updateDeviceHeartBeat(const Model::UpdateDeviceHeartBeatRequest &request)const;
void updateDeviceHeartBeatAsync(const Model::UpdateDeviceHeartBeatRequest& request, const UpdateDeviceHeartBeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDeviceHeartBeatOutcomeCallable updateDeviceHeartBeatCallable(const Model::UpdateDeviceHeartBeatRequest& request) const;
UpdateGonggeLayoutOutcome updateGonggeLayout(const Model::UpdateGonggeLayoutRequest &request)const;
void updateGonggeLayoutAsync(const Model::UpdateGonggeLayoutRequest& request, const UpdateGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateGonggeLayoutOutcomeCallable updateGonggeLayoutCallable(const Model::UpdateGonggeLayoutRequest& request) const;
UpdateLivePasswordOutcome updateLivePassword(const Model::UpdateLivePasswordRequest &request)const;
void updateLivePasswordAsync(const Model::UpdateLivePasswordRequest& request, const UpdateLivePasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLivePasswordOutcomeCallable updateLivePasswordCallable(const Model::UpdateLivePasswordRequest& request) const;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEGONGGELAYOUTREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEGONGGELAYOUTREQUEST_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 UpdateGonggeLayoutRequest : public RpcServiceRequest
{
public:
UpdateGonggeLayoutRequest();
~UpdateGonggeLayoutRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
std::string getVideoCount()const;
void setVideoCount(const std::string& videoCount);
std::string getValue()const;
void setValue(const std::string& value);
private:
std::string meetingUUID_;
std::string videoCount_;
std::string value_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEGONGGELAYOUTREQUEST_H_

View File

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

View File

@@ -159,6 +159,78 @@ AliyuncvcClient::BatchCreateDeviceOutcomeCallable AliyuncvcClient::batchCreateDe
return task->get_future();
}
AliyuncvcClient::BatchDeleteDevicesOutcome AliyuncvcClient::batchDeleteDevices(const BatchDeleteDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BatchDeleteDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BatchDeleteDevicesOutcome(BatchDeleteDevicesResult(outcome.result()));
else
return BatchDeleteDevicesOutcome(outcome.error());
}
void AliyuncvcClient::batchDeleteDevicesAsync(const BatchDeleteDevicesRequest& request, const BatchDeleteDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, batchDeleteDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::BatchDeleteDevicesOutcomeCallable AliyuncvcClient::batchDeleteDevicesCallable(const BatchDeleteDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BatchDeleteDevicesOutcome()>>(
[this, request]()
{
return this->batchDeleteDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CallDeviceOutcome AliyuncvcClient::callDevice(const CallDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CallDeviceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CallDeviceOutcome(CallDeviceResult(outcome.result()));
else
return CallDeviceOutcome(outcome.error());
}
void AliyuncvcClient::callDeviceAsync(const CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, callDevice(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CallDeviceOutcomeCallable AliyuncvcClient::callDeviceCallable(const CallDeviceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CallDeviceOutcome()>>(
[this, request]()
{
return this->callDevice(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CreateDeviceMeetingOutcome AliyuncvcClient::createDeviceMeeting(const CreateDeviceMeetingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -807,6 +879,42 @@ AliyuncvcClient::GetMeetingMemberOutcomeCallable AliyuncvcClient::getMeetingMemb
return task->get_future();
}
AliyuncvcClient::GetMembersOutcome AliyuncvcClient::getMembers(const GetMembersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetMembersOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetMembersOutcome(GetMembersResult(outcome.result()));
else
return GetMembersOutcome(outcome.error());
}
void AliyuncvcClient::getMembersAsync(const GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getMembers(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(const GetMembersRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetMembersOutcome()>>(
[this, request]()
{
return this->getMembers(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1023,6 +1131,42 @@ AliyuncvcClient::ListDeviceIpOutcomeCallable AliyuncvcClient::listDeviceIpCallab
return task->get_future();
}
AliyuncvcClient::ListDevicesOutcome AliyuncvcClient::listDevices(const ListDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListDevicesOutcome(ListDevicesResult(outcome.result()));
else
return ListDevicesOutcome(outcome.error());
}
void AliyuncvcClient::listDevicesAsync(const ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ListDevicesOutcomeCallable AliyuncvcClient::listDevicesCallable(const ListDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListDevicesOutcome()>>(
[this, request]()
{
return this->listDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ListEvaluationsOutcome AliyuncvcClient::listEvaluations(const ListEvaluationsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1383,6 +1527,42 @@ AliyuncvcClient::UpdateDeviceHeartBeatOutcomeCallable AliyuncvcClient::updateDev
return task->get_future();
}
AliyuncvcClient::UpdateGonggeLayoutOutcome AliyuncvcClient::updateGonggeLayout(const UpdateGonggeLayoutRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateGonggeLayoutOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateGonggeLayoutOutcome(UpdateGonggeLayoutResult(outcome.result()));
else
return UpdateGonggeLayoutOutcome(outcome.error());
}
void AliyuncvcClient::updateGonggeLayoutAsync(const UpdateGonggeLayoutRequest& request, const UpdateGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateGonggeLayout(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::UpdateGonggeLayoutOutcomeCallable AliyuncvcClient::updateGonggeLayoutCallable(const UpdateGonggeLayoutRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateGonggeLayoutOutcome()>>(
[this, request]()
{
return this->updateGonggeLayout(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::UpdateLivePasswordOutcome AliyuncvcClient::updateLivePassword(const UpdateLivePasswordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

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

View File

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

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/CallDeviceRequest.h>
using AlibabaCloud::Aliyuncvc::Model::CallDeviceRequest;
CallDeviceRequest::CallDeviceRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "CallDevice")
{
setMethod(HttpRequest::Method::Post);
}
CallDeviceRequest::~CallDeviceRequest()
{}
std::string CallDeviceRequest::getInviteName()const
{
return inviteName_;
}
void CallDeviceRequest::setInviteName(const std::string& inviteName)
{
inviteName_ = inviteName;
setBodyParameter("InviteName", inviteName);
}
std::string CallDeviceRequest::getOperateUserId()const
{
return operateUserId_;
}
void CallDeviceRequest::setOperateUserId(const std::string& operateUserId)
{
operateUserId_ = operateUserId;
setBodyParameter("OperateUserId", operateUserId);
}
bool CallDeviceRequest::getJoinMeetingFlag()const
{
return joinMeetingFlag_;
}
void CallDeviceRequest::setJoinMeetingFlag(bool joinMeetingFlag)
{
joinMeetingFlag_ = joinMeetingFlag;
setParameter("JoinMeetingFlag", joinMeetingFlag ? "true" : "false");
}
std::string CallDeviceRequest::getMeetingCode()const
{
return meetingCode_;
}
void CallDeviceRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setBodyParameter("MeetingCode", meetingCode);
}
std::string CallDeviceRequest::getSN()const
{
return sN_;
}
void CallDeviceRequest::setSN(const std::string& sN)
{
sN_ = sN;
setBodyParameter("SN", sN);
}

View File

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

View File

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

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/GetMembersResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
GetMembersResult::GetMembersResult() :
ServiceResult()
{}
GetMembersResult::GetMembersResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMembersResult::~GetMembersResult()
{}
void GetMembersResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto meetingInfoNode = value["MeetingInfo"];
if(!meetingInfoNode["MeetingName"].isNull())
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
if(!meetingInfoNode["ValidTime"].isNull())
meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString());
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["CreateTime"].isNull())
meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString());
if(!meetingInfoNode["UserId"].isNull())
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"];
for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode)
{
MeetingInfo::MemberListItem memberListItemObject;
if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull())
memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString();
if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull())
memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString();
if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull())
memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString();
if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull())
memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString();
if(!meetingInfoNodeMemberListMemberListItem["Status"].isNull())
memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString();
meetingInfo_.memberList.push_back(memberListItemObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
GetMembersResult::MeetingInfo GetMembersResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string GetMembersResult::getMessage()const
{
return message_;
}
int GetMembersResult::getErrorCode()const
{
return errorCode_;
}
bool GetMembersResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ListDevicesRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ListDevicesRequest;
ListDevicesRequest::ListDevicesRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "ListDevices")
{
setMethod(HttpRequest::Method::Post);
}
ListDevicesRequest::~ListDevicesRequest()
{}
std::string ListDevicesRequest::getCastScreenCode()const
{
return castScreenCode_;
}
void ListDevicesRequest::setCastScreenCode(const std::string& castScreenCode)
{
castScreenCode_ = castScreenCode;
setParameter("CastScreenCode", castScreenCode);
}
int ListDevicesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListDevicesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int ListDevicesRequest::getPageSize()const
{
return pageSize_;
}
void ListDevicesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListDevicesRequest::getSN()const
{
return sN_;
}
void ListDevicesRequest::setSN(const std::string& sN)
{
sN_ = sN;
setParameter("SN", sN);
}

View File

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

View File

@@ -0,0 +1,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/aliyuncvc/model/UpdateGonggeLayoutRequest.h>
using AlibabaCloud::Aliyuncvc::Model::UpdateGonggeLayoutRequest;
UpdateGonggeLayoutRequest::UpdateGonggeLayoutRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "UpdateGonggeLayout")
{
setMethod(HttpRequest::Method::Post);
}
UpdateGonggeLayoutRequest::~UpdateGonggeLayoutRequest()
{}
std::string UpdateGonggeLayoutRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void UpdateGonggeLayoutRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setBodyParameter("MeetingUUID", meetingUUID);
}
std::string UpdateGonggeLayoutRequest::getVideoCount()const
{
return videoCount_;
}
void UpdateGonggeLayoutRequest::setVideoCount(const std::string& videoCount)
{
videoCount_ = videoCount;
setBodyParameter("VideoCount", videoCount);
}
std::string UpdateGonggeLayoutRequest::getValue()const
{
return value_;
}
void UpdateGonggeLayoutRequest::setValue(const std::string& value)
{
value_ = value;
setBodyParameter("Value", value);
}

View File

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

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

@@ -14,29 +14,29 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEIPBLOCKRESULT_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEIPBLOCKRESULT_H_
#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/waf-openapi/Waf_openapiExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT CreateIPBlockResult : public ServiceResult
class ALIBABACLOUD_ARMS_EXPORT DeleteTraceAppResult : public ServiceResult
{
public:
CreateIPBlockResult();
explicit CreateIPBlockResult(const std::string &payload);
~CreateIPBlockResult();
DeleteTraceAppResult();
explicit DeleteTraceAppResult(const std::string &payload);
~DeleteTraceAppResult();
std::string getData()const;
protected:
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEIPBLOCKRESULT_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETETRACEAPPRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYREQUEST_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 DescribeTraceLicenseKeyRequest : public RpcServiceRequest
{
public:
DescribeTraceLicenseKeyRequest();
~DescribeTraceLicenseKeyRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string regionId_;
};
}
}
}
#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

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONREQUEST_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 DescribeTraceLocationRequest : public RpcServiceRequest
{
public:
DescribeTraceLocationRequest();
~DescribeTraceLocationRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string regionId_;
};
}
}
}
#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

@@ -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_GETMULTIPLETRACEREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACEREQUEST_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 GetMultipleTraceRequest : public RpcServiceRequest
{
public:
GetMultipleTraceRequest();
~GetMultipleTraceRequest();
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::vector<std::string> traceIDs_;
std::string regionId_;
};
}
}
}
#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,47 +14,54 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEREALPROTECTSUMMARYRESULT_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEREALPROTECTSUMMARYRESULT_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/waf-openapi/Waf_openapiExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeRealProtectSummaryResult : public ServiceResult
class ALIBABACLOUD_ARMS_EXPORT GetStackResult : public ServiceResult
{
public:
struct Item
struct StackInfoItem
{
long sdkPv;
long jsinjectPv;
long qps;
long intelligencePv;
long algorithmPv;
long index;
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;
};
DescribeRealProtectSummaryResult();
explicit DescribeRealProtectSummaryResult(const std::string &payload);
~DescribeRealProtectSummaryResult();
std::vector<Item> getRealProtectSummarys()const;
GetStackResult();
explicit GetStackResult(const std::string &payload);
~GetStackResult();
std::vector<StackInfoItem> getStackInfo()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Item> realProtectSummarys_;
std::vector<StackInfoItem> stackInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEREALPROTECTSUMMARYRESULT_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

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/waf-openapi/model/CreateIPBlockResult.h>
#include <alibabacloud/arms/model/DeleteTraceAppResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Waf_openapi;
using namespace AlibabaCloud::Waf_openapi::Model;
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
CreateIPBlockResult::CreateIPBlockResult() :
DeleteTraceAppResult::DeleteTraceAppResult() :
ServiceResult()
{}
CreateIPBlockResult::CreateIPBlockResult(const std::string &payload) :
DeleteTraceAppResult::DeleteTraceAppResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateIPBlockResult::~CreateIPBlockResult()
DeleteTraceAppResult::~DeleteTraceAppResult()
{}
void CreateIPBlockResult::parse(const std::string &payload)
void DeleteTraceAppResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
@@ -44,7 +44,7 @@ void CreateIPBlockResult::parse(const std::string &payload)
}
std::string CreateIPBlockResult::getData()const
std::string DeleteTraceAppResult::getData()const
{
return data_;
}

View File

@@ -14,28 +14,27 @@
* limitations under the License.
*/
#include <alibabacloud/cs/model/ServiceMeshApiServerRequest.h>
#include <alibabacloud/arms/model/DescribeTraceLicenseKeyRequest.h>
using AlibabaCloud::CS::Model::ServiceMeshApiServerRequest;
using AlibabaCloud::ARMS::Model::DescribeTraceLicenseKeyRequest;
ServiceMeshApiServerRequest::ServiceMeshApiServerRequest() :
RoaServiceRequest("cs", "2015-12-15")
DescribeTraceLicenseKeyRequest::DescribeTraceLicenseKeyRequest() :
RpcServiceRequest("arms", "2019-08-08", "DescribeTraceLicenseKey")
{
setResourcePath("/servicemesh/[ServiceMeshId]/api_proxy");
setMethod(HttpRequest::Method::Post);
}
ServiceMeshApiServerRequest::~ServiceMeshApiServerRequest()
DescribeTraceLicenseKeyRequest::~DescribeTraceLicenseKeyRequest()
{}
std::string ServiceMeshApiServerRequest::getServiceMeshId()const
std::string DescribeTraceLicenseKeyRequest::getRegionId()const
{
return serviceMeshId_;
return regionId_;
}
void ServiceMeshApiServerRequest::setServiceMeshId(const std::string& serviceMeshId)
void DescribeTraceLicenseKeyRequest::setRegionId(const std::string& regionId)
{
serviceMeshId_ = serviceMeshId;
setParameter("ServiceMeshId", serviceMeshId);
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -14,38 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/waf-openapi/model/DescribeDomainStatusResult.h>
#include <alibabacloud/arms/model/DescribeTraceLicenseKeyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Waf_openapi;
using namespace AlibabaCloud::Waf_openapi::Model;
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
DescribeDomainStatusResult::DescribeDomainStatusResult() :
DescribeTraceLicenseKeyResult::DescribeTraceLicenseKeyResult() :
ServiceResult()
{}
DescribeDomainStatusResult::DescribeDomainStatusResult(const std::string &payload) :
DescribeTraceLicenseKeyResult::DescribeTraceLicenseKeyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDomainStatusResult::~DescribeDomainStatusResult()
DescribeTraceLicenseKeyResult::~DescribeTraceLicenseKeyResult()
{}
void DescribeDomainStatusResult::parse(const std::string &payload)
void DescribeTraceLicenseKeyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ConfigStatus"].isNull())
configStatus_ = value["ConfigStatus"].asString();
if(!value["LicenseKey"].isNull())
licenseKey_ = value["LicenseKey"].asString();
}
std::string DescribeDomainStatusResult::getConfigStatus()const
std::string DescribeTraceLicenseKeyResult::getLicenseKey()const
{
return configStatus_;
return licenseKey_;
}

View File

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

@@ -115,6 +115,8 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesResult.h
include/alibabacloud/bssopenapi/model/QuerySettlementBillRequest.h
include/alibabacloud/bssopenapi/model/QuerySettlementBillResult.h
include/alibabacloud/bssopenapi/model/QuerySplitItemBillRequest.h
include/alibabacloud/bssopenapi/model/QuerySplitItemBillResult.h
include/alibabacloud/bssopenapi/model/QueryUserOmsDataRequest.h
include/alibabacloud/bssopenapi/model/QueryUserOmsDataResult.h
include/alibabacloud/bssopenapi/model/RenewInstanceRequest.h
@@ -232,6 +234,8 @@ set(bssopenapi_src
src/model/QueryResourcePackageInstancesResult.cc
src/model/QuerySettlementBillRequest.cc
src/model/QuerySettlementBillResult.cc
src/model/QuerySplitItemBillRequest.cc
src/model/QuerySplitItemBillResult.cc
src/model/QueryUserOmsDataRequest.cc
src/model/QueryUserOmsDataResult.cc
src/model/RenewInstanceRequest.cc

View File

@@ -116,6 +116,8 @@
#include "model/QueryResourcePackageInstancesResult.h"
#include "model/QuerySettlementBillRequest.h"
#include "model/QuerySettlementBillResult.h"
#include "model/QuerySplitItemBillRequest.h"
#include "model/QuerySplitItemBillResult.h"
#include "model/QueryUserOmsDataRequest.h"
#include "model/QueryUserOmsDataResult.h"
#include "model/RenewInstanceRequest.h"
@@ -286,6 +288,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QuerySettlementBillResult> QuerySettlementBillOutcome;
typedef std::future<QuerySettlementBillOutcome> QuerySettlementBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettlementBillRequest&, const QuerySettlementBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettlementBillAsyncHandler;
typedef Outcome<Error, Model::QuerySplitItemBillResult> QuerySplitItemBillOutcome;
typedef std::future<QuerySplitItemBillOutcome> QuerySplitItemBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySplitItemBillRequest&, const QuerySplitItemBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySplitItemBillAsyncHandler;
typedef Outcome<Error, Model::QueryUserOmsDataResult> QueryUserOmsDataOutcome;
typedef std::future<QueryUserOmsDataOutcome> QueryUserOmsDataOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryUserOmsDataRequest&, const QueryUserOmsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserOmsDataAsyncHandler;
@@ -462,6 +467,9 @@ namespace AlibabaCloud
QuerySettlementBillOutcome querySettlementBill(const Model::QuerySettlementBillRequest &request)const;
void querySettlementBillAsync(const Model::QuerySettlementBillRequest& request, const QuerySettlementBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySettlementBillOutcomeCallable querySettlementBillCallable(const Model::QuerySettlementBillRequest& request) const;
QuerySplitItemBillOutcome querySplitItemBill(const Model::QuerySplitItemBillRequest &request)const;
void querySplitItemBillAsync(const Model::QuerySplitItemBillRequest& request, const QuerySplitItemBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySplitItemBillOutcomeCallable querySplitItemBillCallable(const Model::QuerySplitItemBillRequest& request) const;
QueryUserOmsDataOutcome queryUserOmsData(const Model::QueryUserOmsDataRequest &request)const;
void queryUserOmsDataAsync(const Model::QueryUserOmsDataRequest& request, const QueryUserOmsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserOmsDataOutcomeCallable queryUserOmsDataCallable(const Model::QueryUserOmsDataRequest& request) const;

View File

@@ -64,6 +64,7 @@ namespace AlibabaCloud
std::string billingItem;
std::string nickName;
std::string intranetIP;
std::string servicePeriodUnit;
std::string servicePeriod;
std::string deductedByResourcePackage;
std::string usageUnit;

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_QUERYSPLITITEMBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSPLITITEMBILLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySplitItemBillRequest : public RpcServiceRequest
{
public:
QuerySplitItemBillRequest();
~QuerySplitItemBillRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSubscriptionType()const;
void setSubscriptionType(const std::string& subscriptionType);
std::string getBillingCycle()const;
void setBillingCycle(const std::string& billingCycle);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getProductType()const;
void setProductType(const std::string& productType);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string productCode_;
std::string subscriptionType_;
std::string billingCycle_;
long ownerId_;
int pageNum_;
std::string productType_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSPLITITEMBILLREQUEST_H_

View File

@@ -0,0 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BSSOPENAPI_MODEL_QUERYSPLITITEMBILLRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSPLITITEMBILLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySplitItemBillResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
std::string instanceSpec;
std::string productName;
std::string instanceID;
float deductedByCashCoupons;
std::string listPriceUnit;
std::string billingDate;
std::string listPrice;
float paymentAmount;
float deductedByPrepaidCard;
float invoiceDiscount;
std::string splitItemName;
std::string subscriptionType;
std::string item;
float pretaxGrossAmount;
std::string instanceConfig;
std::string currency;
std::string costUnit;
std::string resourceGroup;
std::string billingType;
std::string usage;
float deductedByCoupons;
std::string productDetail;
std::string productCode;
std::string zone;
std::string productType;
float outstandingAmount;
std::string billingItem;
std::string nickName;
std::string intranetIP;
std::string servicePeriod;
std::string splitItemID;
std::string deductedByResourcePackage;
std::string usageUnit;
std::string ownerID;
float pretaxAmount;
std::string internetIP;
std::string region;
std::string tag;
};
std::string billingCycle;
int totalCount;
std::string accountID;
int pageNum;
int pageSize;
std::vector<Item> items;
std::string accountName;
};
QuerySplitItemBillResult();
explicit QuerySplitItemBillResult(const std::string &payload);
~QuerySplitItemBillResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSPLITITEMBILLRESULT_H_

View File

@@ -1743,6 +1743,42 @@ BssOpenApiClient::QuerySettlementBillOutcomeCallable BssOpenApiClient::querySett
return task->get_future();
}
BssOpenApiClient::QuerySplitItemBillOutcome BssOpenApiClient::querySplitItemBill(const QuerySplitItemBillRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QuerySplitItemBillOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QuerySplitItemBillOutcome(QuerySplitItemBillResult(outcome.result()));
else
return QuerySplitItemBillOutcome(outcome.error());
}
void BssOpenApiClient::querySplitItemBillAsync(const QuerySplitItemBillRequest& request, const QuerySplitItemBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, querySplitItemBill(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::QuerySplitItemBillOutcomeCallable BssOpenApiClient::querySplitItemBillCallable(const QuerySplitItemBillRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QuerySplitItemBillOutcome()>>(
[this, request]()
{
return this->querySplitItemBill(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::QueryUserOmsDataOutcome BssOpenApiClient::queryUserOmsData(const QueryUserOmsDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -128,6 +128,8 @@ void QueryInstanceBillResult::parse(const std::string &payload)
itemObject.servicePeriod = dataNodeItemsItem["ServicePeriod"].asString();
if(!dataNodeItemsItem["BillingDate"].isNull())
itemObject.billingDate = dataNodeItemsItem["BillingDate"].asString();
if(!dataNodeItemsItem["ServicePeriodUnit"].isNull())
itemObject.servicePeriodUnit = dataNodeItemsItem["ServicePeriodUnit"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/bssopenapi/model/QuerySplitItemBillRequest.h>
using AlibabaCloud::BssOpenApi::Model::QuerySplitItemBillRequest;
QuerySplitItemBillRequest::QuerySplitItemBillRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QuerySplitItemBill")
{
setMethod(HttpRequest::Method::Post);
}
QuerySplitItemBillRequest::~QuerySplitItemBillRequest()
{}
std::string QuerySplitItemBillRequest::getProductCode()const
{
return productCode_;
}
void QuerySplitItemBillRequest::setProductCode(const std::string& productCode)
{
productCode_ = productCode;
setParameter("ProductCode", productCode);
}
std::string QuerySplitItemBillRequest::getSubscriptionType()const
{
return subscriptionType_;
}
void QuerySplitItemBillRequest::setSubscriptionType(const std::string& subscriptionType)
{
subscriptionType_ = subscriptionType;
setParameter("SubscriptionType", subscriptionType);
}
std::string QuerySplitItemBillRequest::getBillingCycle()const
{
return billingCycle_;
}
void QuerySplitItemBillRequest::setBillingCycle(const std::string& billingCycle)
{
billingCycle_ = billingCycle;
setParameter("BillingCycle", billingCycle);
}
long QuerySplitItemBillRequest::getOwnerId()const
{
return ownerId_;
}
void QuerySplitItemBillRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
int QuerySplitItemBillRequest::getPageNum()const
{
return pageNum_;
}
void QuerySplitItemBillRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
std::string QuerySplitItemBillRequest::getProductType()const
{
return productType_;
}
void QuerySplitItemBillRequest::setProductType(const std::string& productType)
{
productType_ = productType;
setParameter("ProductType", productType);
}
int QuerySplitItemBillRequest::getPageSize()const
{
return pageSize_;
}
void QuerySplitItemBillRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -0,0 +1,165 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/bssopenapi/model/QuerySplitItemBillResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
QuerySplitItemBillResult::QuerySplitItemBillResult() :
ServiceResult()
{}
QuerySplitItemBillResult::QuerySplitItemBillResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QuerySplitItemBillResult::~QuerySplitItemBillResult()
{}
void QuerySplitItemBillResult::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["BillingCycle"].isNull())
data_.billingCycle = dataNode["BillingCycle"].asString();
if(!dataNode["AccountID"].isNull())
data_.accountID = dataNode["AccountID"].asString();
if(!dataNode["AccountName"].isNull())
data_.accountName = dataNode["AccountName"].asString();
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
if(!dataNode["PageNum"].isNull())
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
auto allItemsNode = dataNode["Items"]["Item"];
for (auto dataNodeItemsItem : allItemsNode)
{
Data::Item itemObject;
if(!dataNodeItemsItem["InstanceID"].isNull())
itemObject.instanceID = dataNodeItemsItem["InstanceID"].asString();
if(!dataNodeItemsItem["BillingType"].isNull())
itemObject.billingType = dataNodeItemsItem["BillingType"].asString();
if(!dataNodeItemsItem["CostUnit"].isNull())
itemObject.costUnit = dataNodeItemsItem["CostUnit"].asString();
if(!dataNodeItemsItem["ProductCode"].isNull())
itemObject.productCode = dataNodeItemsItem["ProductCode"].asString();
if(!dataNodeItemsItem["ProductType"].isNull())
itemObject.productType = dataNodeItemsItem["ProductType"].asString();
if(!dataNodeItemsItem["SubscriptionType"].isNull())
itemObject.subscriptionType = dataNodeItemsItem["SubscriptionType"].asString();
if(!dataNodeItemsItem["ProductName"].isNull())
itemObject.productName = dataNodeItemsItem["ProductName"].asString();
if(!dataNodeItemsItem["ProductDetail"].isNull())
itemObject.productDetail = dataNodeItemsItem["ProductDetail"].asString();
if(!dataNodeItemsItem["OwnerID"].isNull())
itemObject.ownerID = dataNodeItemsItem["OwnerID"].asString();
if(!dataNodeItemsItem["BillingItem"].isNull())
itemObject.billingItem = dataNodeItemsItem["BillingItem"].asString();
if(!dataNodeItemsItem["ListPrice"].isNull())
itemObject.listPrice = dataNodeItemsItem["ListPrice"].asString();
if(!dataNodeItemsItem["ListPriceUnit"].isNull())
itemObject.listPriceUnit = dataNodeItemsItem["ListPriceUnit"].asString();
if(!dataNodeItemsItem["Usage"].isNull())
itemObject.usage = dataNodeItemsItem["Usage"].asString();
if(!dataNodeItemsItem["UsageUnit"].isNull())
itemObject.usageUnit = dataNodeItemsItem["UsageUnit"].asString();
if(!dataNodeItemsItem["DeductedByResourcePackage"].isNull())
itemObject.deductedByResourcePackage = dataNodeItemsItem["DeductedByResourcePackage"].asString();
if(!dataNodeItemsItem["PretaxGrossAmount"].isNull())
itemObject.pretaxGrossAmount = std::stof(dataNodeItemsItem["PretaxGrossAmount"].asString());
if(!dataNodeItemsItem["InvoiceDiscount"].isNull())
itemObject.invoiceDiscount = std::stof(dataNodeItemsItem["InvoiceDiscount"].asString());
if(!dataNodeItemsItem["DeductedByCoupons"].isNull())
itemObject.deductedByCoupons = std::stof(dataNodeItemsItem["DeductedByCoupons"].asString());
if(!dataNodeItemsItem["PretaxAmount"].isNull())
itemObject.pretaxAmount = std::stof(dataNodeItemsItem["PretaxAmount"].asString());
if(!dataNodeItemsItem["DeductedByCashCoupons"].isNull())
itemObject.deductedByCashCoupons = std::stof(dataNodeItemsItem["DeductedByCashCoupons"].asString());
if(!dataNodeItemsItem["DeductedByPrepaidCard"].isNull())
itemObject.deductedByPrepaidCard = std::stof(dataNodeItemsItem["DeductedByPrepaidCard"].asString());
if(!dataNodeItemsItem["PaymentAmount"].isNull())
itemObject.paymentAmount = std::stof(dataNodeItemsItem["PaymentAmount"].asString());
if(!dataNodeItemsItem["OutstandingAmount"].isNull())
itemObject.outstandingAmount = std::stof(dataNodeItemsItem["OutstandingAmount"].asString());
if(!dataNodeItemsItem["Currency"].isNull())
itemObject.currency = dataNodeItemsItem["Currency"].asString();
if(!dataNodeItemsItem["NickName"].isNull())
itemObject.nickName = dataNodeItemsItem["NickName"].asString();
if(!dataNodeItemsItem["ResourceGroup"].isNull())
itemObject.resourceGroup = dataNodeItemsItem["ResourceGroup"].asString();
if(!dataNodeItemsItem["Tag"].isNull())
itemObject.tag = dataNodeItemsItem["Tag"].asString();
if(!dataNodeItemsItem["InstanceConfig"].isNull())
itemObject.instanceConfig = dataNodeItemsItem["InstanceConfig"].asString();
if(!dataNodeItemsItem["InstanceSpec"].isNull())
itemObject.instanceSpec = dataNodeItemsItem["InstanceSpec"].asString();
if(!dataNodeItemsItem["InternetIP"].isNull())
itemObject.internetIP = dataNodeItemsItem["InternetIP"].asString();
if(!dataNodeItemsItem["IntranetIP"].isNull())
itemObject.intranetIP = dataNodeItemsItem["IntranetIP"].asString();
if(!dataNodeItemsItem["Region"].isNull())
itemObject.region = dataNodeItemsItem["Region"].asString();
if(!dataNodeItemsItem["Zone"].isNull())
itemObject.zone = dataNodeItemsItem["Zone"].asString();
if(!dataNodeItemsItem["Item"].isNull())
itemObject.item = dataNodeItemsItem["Item"].asString();
if(!dataNodeItemsItem["ServicePeriod"].isNull())
itemObject.servicePeriod = dataNodeItemsItem["ServicePeriod"].asString();
if(!dataNodeItemsItem["BillingDate"].isNull())
itemObject.billingDate = dataNodeItemsItem["BillingDate"].asString();
if(!dataNodeItemsItem["SplitItemID"].isNull())
itemObject.splitItemID = dataNodeItemsItem["SplitItemID"].asString();
if(!dataNodeItemsItem["SplitItemName"].isNull())
itemObject.splitItemName = dataNodeItemsItem["SplitItemName"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QuerySplitItemBillResult::getMessage()const
{
return message_;
}
QuerySplitItemBillResult::Data QuerySplitItemBillResult::getData()const
{
return data_;
}
std::string QuerySplitItemBillResult::getCode()const
{
return code_;
}
bool QuerySplitItemBillResult::getSuccess()const
{
return success_;
}

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::BssOpenApi::Model::QueryUserOmsDataRequest;
QueryUserOmsDataRequest::QueryUserOmsDataRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryUserOmsData")
{
setMethod(HttpRequest::Method::Get);
setMethod(HttpRequest::Method::Post);
}
QueryUserOmsDataRequest::~QueryUserOmsDataRequest()

View File

@@ -37,14 +37,11 @@ namespace AlibabaCloud
std::string getBizType()const;
void setBizType(const std::string& bizType);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getBizId()const;
void setBizId(const std::string& bizId);
private:
std::string bizType_;
std::string sourceIp_;
std::string bizId_;
};

View File

@@ -39,8 +39,6 @@ namespace AlibabaCloud
void setFaceRetainedImageUrl(const std::string& faceRetainedImageUrl);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getCallbackSeed()const;
void setCallbackSeed(const std::string& callbackSeed);
std::string getUserIp()const;
@@ -71,7 +69,6 @@ namespace AlibabaCloud
private:
std::string faceRetainedImageUrl_;
std::string userId_;
std::string sourceIp_;
std::string callbackSeed_;
std::string userIp_;
std::string idCardBackImageUrl_;

View File

@@ -35,19 +35,13 @@ namespace AlibabaCloud
GetMaterialsRequest();
~GetMaterialsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getBiz()const;
void setBiz(const std::string& biz);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getTicketId()const;
void setTicketId(const std::string& ticketId);
private:
long resourceOwnerId_;
std::string biz_;
std::string sourceIp_;
std::string ticketId_;
};

View File

@@ -35,19 +35,13 @@ namespace AlibabaCloud
GetStatusRequest();
~GetStatusRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getBiz()const;
void setBiz(const std::string& biz);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getTicketId()const;
void setTicketId(const std::string& ticketId);
private:
long resourceOwnerId_;
std::string biz_;
std::string sourceIp_;
std::string ticketId_;
};

View File

@@ -35,8 +35,6 @@ namespace AlibabaCloud
GetVerifyTokenRequest();
~GetVerifyTokenRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getBinding()const;
void setBinding(const std::string& binding);
std::string getVerifyConfigs()const;
@@ -45,18 +43,14 @@ namespace AlibabaCloud
void setUserData(const std::string& userData);
std::string getBiz()const;
void setBiz(const std::string& biz);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getTicketId()const;
void setTicketId(const std::string& ticketId);
private:
long resourceOwnerId_;
std::string binding_;
std::string verifyConfigs_;
std::string userData_;
std::string biz_;
std::string sourceIp_;
std::string ticketId_;
};

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setCertType(const std::string& certType);
std::string getFaceContrastPictureUrl()const;
void setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl);
std::string getModel()const;
void setModel(const std::string& model);
std::string getMetaInfo()const;
void setMetaInfo(const std::string& metaInfo);
std::string getOssObjectName()const;
@@ -77,6 +79,7 @@ namespace AlibabaCloud
std::string outerOrderNo_;
std::string certType_;
std::string faceContrastPictureUrl_;
std::string model_;
std::string metaInfo_;
std::string ossObjectName_;
std::string certName_;

View File

@@ -39,8 +39,6 @@ namespace AlibabaCloud
void setFaceImageUrl(const std::string& faceImageUrl);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getIdCardBackImageUrl()const;
void setIdCardBackImageUrl(const std::string& idCardBackImageUrl);
std::string getIdCardNumber()const;
@@ -57,7 +55,6 @@ namespace AlibabaCloud
private:
std::string faceImageUrl_;
std::string userId_;
std::string sourceIp_;
std::string idCardBackImageUrl_;
std::string idCardNumber_;
std::string idCardFrontImageUrl_;

View File

@@ -38,17 +38,6 @@ void DescribeVerifyResultRequest::setBizType(const std::string& bizType)
setParameter("BizType", bizType);
}
std::string DescribeVerifyResultRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeVerifyResultRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeVerifyResultRequest::getBizId()const
{
return bizId_;

View File

@@ -49,17 +49,6 @@ void DescribeVerifyTokenRequest::setUserId(const std::string& userId)
setParameter("UserId", userId);
}
std::string DescribeVerifyTokenRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeVerifyTokenRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string DescribeVerifyTokenRequest::getCallbackSeed()const
{
return callbackSeed_;

View File

@@ -27,17 +27,6 @@ GetMaterialsRequest::GetMaterialsRequest() :
GetMaterialsRequest::~GetMaterialsRequest()
{}
long GetMaterialsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void GetMaterialsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string GetMaterialsRequest::getBiz()const
{
return biz_;
@@ -49,17 +38,6 @@ void GetMaterialsRequest::setBiz(const std::string& biz)
setParameter("Biz", biz);
}
std::string GetMaterialsRequest::getSourceIp()const
{
return sourceIp_;
}
void GetMaterialsRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string GetMaterialsRequest::getTicketId()const
{
return ticketId_;

View File

@@ -27,17 +27,6 @@ GetStatusRequest::GetStatusRequest() :
GetStatusRequest::~GetStatusRequest()
{}
long GetStatusRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void GetStatusRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string GetStatusRequest::getBiz()const
{
return biz_;
@@ -49,17 +38,6 @@ void GetStatusRequest::setBiz(const std::string& biz)
setParameter("Biz", biz);
}
std::string GetStatusRequest::getSourceIp()const
{
return sourceIp_;
}
void GetStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string GetStatusRequest::getTicketId()const
{
return ticketId_;

View File

@@ -27,17 +27,6 @@ GetVerifyTokenRequest::GetVerifyTokenRequest() :
GetVerifyTokenRequest::~GetVerifyTokenRequest()
{}
long GetVerifyTokenRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void GetVerifyTokenRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string GetVerifyTokenRequest::getBinding()const
{
return binding_;
@@ -82,17 +71,6 @@ void GetVerifyTokenRequest::setBiz(const std::string& biz)
setParameter("Biz", biz);
}
std::string GetVerifyTokenRequest::getSourceIp()const
{
return sourceIp_;
}
void GetVerifyTokenRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string GetVerifyTokenRequest::getTicketId()const
{
return ticketId_;

View File

@@ -115,6 +115,17 @@ void InitFaceVerifyRequest::setFaceContrastPictureUrl(const std::string& faceCon
setParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
}
std::string InitFaceVerifyRequest::getModel()const
{
return model_;
}
void InitFaceVerifyRequest::setModel(const std::string& model)
{
model_ = model;
setBodyParameter("Model", model);
}
std::string InitFaceVerifyRequest::getMetaInfo()const
{
return metaInfo_;

View File

@@ -49,17 +49,6 @@ void VerifyMaterialRequest::setUserId(const std::string& userId)
setParameter("UserId", userId);
}
std::string VerifyMaterialRequest::getSourceIp()const
{
return sourceIp_;
}
void VerifyMaterialRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
}
std::string VerifyMaterialRequest::getIdCardBackImageUrl()const
{
return idCardBackImageUrl_;

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_UPDATESERVICEMESHRESULT_H_
#define ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHRESULT_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 UpdateServiceMeshResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT DeleteTemplateResult : public ServiceResult
{
public:
UpdateServiceMeshResult();
explicit UpdateServiceMeshResult(const std::string &payload);
~UpdateServiceMeshResult();
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_UPDATESERVICEMESHRESULT_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_DELETECLUSTERNODERESULT_H_
#define ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODERESULT_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 DeleteClusterNodeResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT DeleteTriggerHookResult : public ServiceResult
{
public:
DeleteClusterNodeResult();
explicit DeleteClusterNodeResult(const std::string &payload);
~DeleteClusterNodeResult();
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_DELETECLUSTERNODERESULT_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_;
};
}

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