Compare commits

...

14 Commits

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

View File

@@ -1,3 +1,56 @@
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.

View File

@@ -1 +1 @@
1.36.464
1.36.478

View File

@@ -81,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
@@ -168,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

View File

@@ -82,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"
@@ -205,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;
@@ -336,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;

View File

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

View File

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

@@ -1131,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();

View File

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

View File

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

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

View File

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

View File

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

View File

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

View File

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

@@ -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_GETSTACKRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETSTACKRESULT_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 GetStackResult : public ServiceResult
{
public:
struct StackInfoItem
{
struct ExtInfoItem
{
std::string type;
std::string info;
};
std::string line;
std::string serviceName;
std::vector<StackInfoItem::ExtInfoItem> extInfo;
std::string rpcId;
long startTime;
long duration;
std::string api;
std::string exception;
};
GetStackResult();
explicit GetStackResult(const std::string &payload);
~GetStackResult();
std::vector<StackInfoItem> getStackInfo()const;
protected:
void parse(const std::string &payload);
private:
std::vector<StackInfoItem> stackInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSTACKRESULT_H_

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -14,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

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

View File

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

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

View File

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

View File

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

View File

@@ -32,43 +32,49 @@ namespace AlibabaCloud
class ALIBABACLOUD_CS_EXPORT DescribeClustersResult : public ServiceResult
{
public:
struct ClusterDetail
{
struct TagsItem
{
std::string value;
std::string key;
};
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<ClusterDetail::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 master_url;
std::string current_version;
};
DescribeClustersResult();
explicit DescribeClustersResult(const std::string &payload);
~DescribeClustersResult();
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 getNetwork_mode()const;
std::string getSecurity_group_id()const;
std::string getCreated()const;
std::string getName()const;
std::string getAgent_version()const;
std::string getState()const;
std::string getVpc_id1()const;
std::string getMaster_url()const;
std::vector<ClusterDetail> getclusters()const;
protected:
void parse(const std::string &payload);
private:
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 network_mode_;
std::string security_group_id_;
std::string created_;
std::string name_;
std::string agent_version_;
std::string state_;
std::string vpc_id1_;
std::string master_url_;
std::vector<ClusterDetail> clusters_;
};
}

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT ServiceMeshAddClusterRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT DescribeExternalAgentRequest : public RoaServiceRequest
{
public:
ServiceMeshAddClusterRequest();
~ServiceMeshAddClusterRequest();
DescribeExternalAgentRequest();
~DescribeExternalAgentRequest();
std::string getServiceMeshId()const;
void setServiceMeshId(const std::string& serviceMeshId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string serviceMeshId_;
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHADDCLUSTERREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSRESULT_H_
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeEdgeClusterAttachScriptsResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT DescribeExternalAgentResult : public ServiceResult
{
public:
DescribeEdgeClusterAttachScriptsResult();
explicit DescribeEdgeClusterAttachScriptsResult(const std::string &payload);
~DescribeEdgeClusterAttachScriptsResult();
DescribeExternalAgentResult();
explicit DescribeExternalAgentResult(const std::string &payload);
~DescribeExternalAgentResult();
std::string getConfig()const;
protected:
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSRESULT_H_
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEEXTERNALAGENTRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT UpdateServiceMeshRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT DescribeTemplatesRequest : public RoaServiceRequest
{
public:
UpdateServiceMeshRequest();
~UpdateServiceMeshRequest();
DescribeTemplatesRequest();
~DescribeTemplatesRequest();
std::string getServiceMeshId()const;
void setServiceMeshId(const std::string& serviceMeshId);
std::string getTemplate_type()const;
void setTemplate_type(const std::string& template_type);
private:
std::string serviceMeshId_;
std::string template_type_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UPDATESERVICEMESHREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESREQUEST_H_

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_CHECKALIYUNCSSERVICEROLEREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_CHECKALIYUNCSSERVICEROLEREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEUSERQUOTAREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEUSERQUOTAREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT CheckAliyunCSServiceRoleRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT DescribeUserQuotaRequest : public RoaServiceRequest
{
public:
CheckAliyunCSServiceRoleRequest();
~CheckAliyunCSServiceRoleRequest();
DescribeUserQuotaRequest();
~DescribeUserQuotaRequest();
private:
@@ -42,4 +42,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CHECKALIYUNCSSERVICEROLEREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEUSERQUOTAREQUEST_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_CS_MODEL_DESCRIBEUSERQUOTARESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEUSERQUOTARESULT_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 DescribeUserQuotaResult : public ServiceResult
{
public:
DescribeUserQuotaResult();
explicit DescribeUserQuotaResult(const std::string &payload);
~DescribeUserQuotaResult();
int getNode_quota()const;
int getAmk_cluster_quota()const;
int getCluster_quota()const;
int getAsk_cluster_quota()const;
protected:
void parse(const std::string &payload);
private:
int node_quota_;
int amk_cluster_quota_;
int cluster_quota_;
int ask_cluster_quota_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEUSERQUOTARESULT_H_

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODEREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODEREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_GETUPGRADESTATUSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_GETUPGRADESTATUSREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT ResetClusterNodeRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT GetUpgradeStatusRequest : public RoaServiceRequest
{
public:
ResetClusterNodeRequest();
~ResetClusterNodeRequest();
GetUpgradeStatusRequest();
~GetUpgradeStatusRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string instanceId_;
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODEREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_GETUPGRADESTATUSREQUEST_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_CS_MODEL_GETUPGRADESTATUSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_GETUPGRADESTATUSRESULT_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 GetUpgradeStatusResult : public ServiceResult
{
public:
GetUpgradeStatusResult();
explicit GetUpgradeStatusResult(const std::string &payload);
~GetUpgradeStatusResult();
std::string getStatus()const;
std::string getError_message()const;
std::string getPrecheck_report_id()const;
std::string getUpgrade_step()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string error_message_;
std::string precheck_report_id_;
std::string upgrade_step_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_GETUPGRADESTATUSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODEREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODEREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSREQUEST_H_
#include <string>
#include <vector>
@@ -28,30 +28,36 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DeleteClusterNodeRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT InstallClusterAddonsRequest : public RoaServiceRequest
{
public:
DeleteClusterNodeRequest();
~DeleteClusterNodeRequest();
InstallClusterAddonsRequest();
~InstallClusterAddonsRequest();
std::string getReleaseInstance()const;
void setReleaseInstance(const std::string& releaseInstance);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getForce()const;
void setForce(const std::string& force);
std::string getName()const;
void setName(const std::string& name);
bool getDisabled()const;
void setDisabled(bool disabled);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getVersion()const;
void setVersion(const std::string& version);
std::string getConfig()const;
void setConfig(const std::string& config);
std::string getRequired()const;
void setRequired(const std::string& required);
private:
std::string releaseInstance_;
std::string ip_;
std::string force_;
std::string name_;
bool disabled_;
std::string clusterId_;
std::string version_;
std::string config_;
std::string required_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODEREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSRESULT_H_
#ifndef ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeClusterCertsResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT InstallClusterAddonsResult : public ServiceResult
{
public:
DescribeClusterCertsResult();
explicit DescribeClusterCertsResult(const std::string &payload);
~DescribeClusterCertsResult();
InstallClusterAddonsResult();
explicit InstallClusterAddonsResult(const std::string &payload);
~InstallClusterAddonsResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSRESULT_H_
#endif // !ALIBABACLOUD_CS_MODEL_INSTALLCLUSTERADDONSRESULT_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_CS_MODEL_LISTTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_LISTTAGRESOURCESREQUEST_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 ListTagResourcesRequest : public RoaServiceRequest
{
public:
ListTagResourcesRequest();
~ListTagResourcesRequest();
std::string getResource_type()const;
void setResource_type(const std::string& resource_type);
std::string getNext_token()const;
void setNext_token(const std::string& next_token);
std::string getResource_ids()const;
void setResource_ids(const std::string& resource_ids);
std::string getTags()const;
void setTags(const std::string& tags);
private:
std::string resource_type_;
std::string next_token_;
std::string resource_ids_;
std::string tags_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_LISTTAGRESOURCESREQUEST_H_

View File

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

View File

@@ -35,11 +35,29 @@ namespace AlibabaCloud
ModifyClusterRequest();
~ModifyClusterRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
bool getApi_server_eip()const;
void setApi_server_eip(bool api_server_eip);
std::string getResource_group_id()const;
void setResource_group_id(const std::string& resource_group_id);
std::string getIngress_domain_rebinding()const;
void setIngress_domain_rebinding(const std::string& ingress_domain_rebinding);
bool getDeletion_protection()const;
void setDeletion_protection(bool deletion_protection);
std::string getIngress_loadbalancer_id()const;
void setIngress_loadbalancer_id(const std::string& ingress_loadbalancer_id);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getApi_server_eip_id()const;
void setApi_server_eip_id(const std::string& api_server_eip_id);
private:
std::string clusterId_;
bool api_server_eip_;
std::string resource_group_id_;
std::string ingress_domain_rebinding_;
bool deletion_protection_;
std::string ingress_loadbalancer_id_;
std::string clusterId_;
std::string api_server_eip_id_;
};
}

View File

@@ -37,10 +37,18 @@ namespace AlibabaCloud
ModifyClusterResult();
explicit ModifyClusterResult(const std::string &payload);
~ModifyClusterResult();
std::string getRequest_id()const;
std::string getCluster_id()const;
std::string getInstanceId()const;
std::string getTask_id()const;
protected:
void parse(const std::string &payload);
private:
std::string request_id_;
std::string cluster_id_;
std::string instanceId_;
std::string task_id_;
};
}

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_CS_MODEL_PAUSECLUSTERUPGRADEREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_PAUSECLUSTERUPGRADEREQUEST_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 PauseClusterUpgradeRequest : public RoaServiceRequest
{
public:
PauseClusterUpgradeRequest();
~PauseClusterUpgradeRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_PAUSECLUSTERUPGRADEREQUEST_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_PAUSECLUSTERUPGRADERESULT_H_
#define ALIBABACLOUD_CS_MODEL_PAUSECLUSTERUPGRADERESULT_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 PauseClusterUpgradeResult : public ServiceResult
{
public:
PauseClusterUpgradeResult();
explicit PauseClusterUpgradeResult(const std::string &payload);
~PauseClusterUpgradeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_PAUSECLUSTERUPGRADERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_CREATECLUSTERBYRESOURCESGROUPREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_CREATECLUSTERBYRESOURCESGROUPREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_PAUSECOMPONENTUPGRADEREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_PAUSECOMPONENTUPGRADEREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT CreateClusterByResourcesGroupRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT PauseComponentUpgradeRequest : public RoaServiceRequest
{
public:
CreateClusterByResourcesGroupRequest();
~CreateClusterByResourcesGroupRequest();
PauseComponentUpgradeRequest();
~PauseComponentUpgradeRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getComponentid()const;
void setComponentid(const std::string& componentid);
std::string getClusterid()const;
void setClusterid(const std::string& clusterid);
private:
std::string resourceGroupId_;
std::string componentid_;
std::string clusterid_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_CREATECLUSTERBYRESOURCESGROUPREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_PAUSECOMPONENTUPGRADEREQUEST_H_

View File

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

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT DescribeEdgeClusterAttachScriptsRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT RemoveClusterNodesRequest : public RoaServiceRequest
{
public:
DescribeEdgeClusterAttachScriptsRequest();
~DescribeEdgeClusterAttachScriptsRequest();
RemoveClusterNodesRequest();
~RemoveClusterNodesRequest();
bool getRelease_node()const;
void setRelease_node(bool release_node);
bool getDrain_node()const;
void setDrain_node(bool drain_node);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getNamePrefix()const;
void setNamePrefix(const std::string& namePrefix);
private:
bool release_node_;
bool drain_node_;
std::string clusterId_;
std::string namePrefix_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEEDGECLUSTERATTACHSCRIPTSREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENRESULT_H_
#define ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENRESULT_H_
#ifndef ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESRESULT_H_
#define ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT RevokeClusterTokenResult : public ServiceResult
class ALIBABACLOUD_CS_EXPORT RemoveClusterNodesResult : public ServiceResult
{
public:
RevokeClusterTokenResult();
explicit RevokeClusterTokenResult(const std::string &payload);
~RevokeClusterTokenResult();
RemoveClusterNodesResult();
explicit RemoveClusterNodesResult(const std::string &payload);
~RemoveClusterNodesResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENRESULT_H_
#endif // !ALIBABACLOUD_CS_MODEL_REMOVECLUSTERNODESRESULT_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_RESUMECOMPONENTUPGRADEREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_RESUMECOMPONENTUPGRADEREQUEST_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 ResumeComponentUpgradeRequest : public RoaServiceRequest
{
public:
ResumeComponentUpgradeRequest();
~ResumeComponentUpgradeRequest();
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_RESUMECOMPONENTUPGRADEREQUEST_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_RESUMECOMPONENTUPGRADERESULT_H_
#define ALIBABACLOUD_CS_MODEL_RESUMECOMPONENTUPGRADERESULT_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 ResumeComponentUpgradeResult : public ServiceResult
{
public:
ResumeComponentUpgradeResult();
explicit ResumeComponentUpgradeResult(const std::string &payload);
~ResumeComponentUpgradeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_RESUMECOMPONENTUPGRADERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERREQUEST_H_
#ifndef ALIBABACLOUD_CS_MODEL_RESUMEUPGRADECLUSTERREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_RESUMEUPGRADECLUSTERREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CS_EXPORT ServiceMeshApiServerRequest : public RoaServiceRequest
class ALIBABACLOUD_CS_EXPORT ResumeUpgradeClusterRequest : public RoaServiceRequest
{
public:
ServiceMeshApiServerRequest();
~ServiceMeshApiServerRequest();
ResumeUpgradeClusterRequest();
~ResumeUpgradeClusterRequest();
std::string getServiceMeshId()const;
void setServiceMeshId(const std::string& serviceMeshId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string serviceMeshId_;
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_SERVICEMESHAPISERVERREQUEST_H_
#endif // !ALIBABACLOUD_CS_MODEL_RESUMEUPGRADECLUSTERREQUEST_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_RESUMEUPGRADECLUSTERRESULT_H_
#define ALIBABACLOUD_CS_MODEL_RESUMEUPGRADECLUSTERRESULT_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 ResumeUpgradeClusterResult : public ServiceResult
{
public:
ResumeUpgradeClusterResult();
explicit ResumeUpgradeClusterResult(const std::string &payload);
~ResumeUpgradeClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_RESUMEUPGRADECLUSTERRESULT_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_CS_MODEL_UPGRADECLUSTERADDONSREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERADDONSREQUEST_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 UpgradeClusterAddonsRequest : public RoaServiceRequest
{
public:
UpgradeClusterAddonsRequest();
~UpgradeClusterAddonsRequest();
std::string getComponent_name()const;
void setComponent_name(const std::string& component_name);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getVersion()const;
void setVersion(const std::string& version);
private:
std::string component_name_;
std::string clusterId_;
std::string version_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERADDONSREQUEST_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_UPGRADECLUSTERADDONSRESULT_H_
#define ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERADDONSRESULT_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 UpgradeClusterAddonsResult : public ServiceResult
{
public:
UpgradeClusterAddonsResult();
explicit UpgradeClusterAddonsResult(const std::string &payload);
~UpgradeClusterAddonsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERADDONSRESULT_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_UPGRADECLUSTERREQUEST_H_
#define ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERREQUEST_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 UpgradeClusterRequest : public RoaServiceRequest
{
public:
UpgradeClusterRequest();
~UpgradeClusterRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getVersion()const;
void setVersion(const std::string& version);
private:
std::string clusterId_;
std::string version_;
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERREQUEST_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_UPGRADECLUSTERRESULT_H_
#define ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERRESULT_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 UpgradeClusterResult : public ServiceResult
{
public:
UpgradeClusterResult();
explicit UpgradeClusterResult(const std::string &payload);
~UpgradeClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERRESULT_H_

File diff suppressed because it is too large Load Diff

View File

@@ -14,25 +14,28 @@
* limitations under the License.
*/
#include <alibabacloud/cs/model/DescribeClusterCertsRequest.h>
#include <alibabacloud/cs/model/CancelClusterUpgradeRequest.h>
using AlibabaCloud::CS::Model::DescribeClusterCertsRequest;
using AlibabaCloud::CS::Model::CancelClusterUpgradeRequest;
DescribeClusterCertsRequest::DescribeClusterCertsRequest() :
CancelClusterUpgradeRequest::CancelClusterUpgradeRequest() :
RoaServiceRequest("cs", "2015-12-15")
{
setResourcePath("/api/v2/clusters/[ClusterId]/upgrade/cancel");
setMethod(HttpRequest::Method::Post);
}
CancelClusterUpgradeRequest::~CancelClusterUpgradeRequest()
{}
DescribeClusterCertsRequest::~DescribeClusterCertsRequest()
{}
std::string DescribeClusterCertsRequest::getClusterId()const
std::string CancelClusterUpgradeRequest::getClusterId()const
{
return clusterId_;
}
void DescribeClusterCertsRequest::setClusterId(const std::string& clusterId)
void CancelClusterUpgradeRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setCoreParameter("ClusterId", clusterId);
setParameter("ClusterId", clusterId);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/cs/model/ServiceMeshApiServerResult.h>
#include <alibabacloud/cs/model/CancelClusterUpgradeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CS;
using namespace AlibabaCloud::CS::Model;
ServiceMeshApiServerResult::ServiceMeshApiServerResult() :
CancelClusterUpgradeResult::CancelClusterUpgradeResult() :
ServiceResult()
{}
ServiceMeshApiServerResult::ServiceMeshApiServerResult(const std::string &payload) :
CancelClusterUpgradeResult::CancelClusterUpgradeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ServiceMeshApiServerResult::~ServiceMeshApiServerResult()
CancelClusterUpgradeResult::~CancelClusterUpgradeResult()
{}
void ServiceMeshApiServerResult::parse(const std::string &payload)
void CancelClusterUpgradeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/cs/model/CancelComponentUpgradeRequest.h>
using AlibabaCloud::CS::Model::CancelComponentUpgradeRequest;
CancelComponentUpgradeRequest::CancelComponentUpgradeRequest() :
RoaServiceRequest("cs", "2015-12-15")
{
setResourcePath("/clusters/[clusterid]/components/[componentid]/cancel");
setMethod(HttpRequest::Method::Post);
}
CancelComponentUpgradeRequest::~CancelComponentUpgradeRequest()
{}
std::string CancelComponentUpgradeRequest::getComponentid()const
{
return componentid_;
}
void CancelComponentUpgradeRequest::setComponentid(const std::string& componentid)
{
componentid_ = componentid;
setParameter("Componentid", componentid);
}
std::string CancelComponentUpgradeRequest::getClusterid()const
{
return clusterid_;
}
void CancelComponentUpgradeRequest::setClusterid(const std::string& clusterid)
{
clusterid_ = clusterid;
setParameter("Clusterid", clusterid);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/cs/model/CancelComponentUpgradeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CS;
using namespace AlibabaCloud::CS::Model;
CancelComponentUpgradeResult::CancelComponentUpgradeResult() :
ServiceResult()
{}
CancelComponentUpgradeResult::CancelComponentUpgradeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CancelComponentUpgradeResult::~CancelComponentUpgradeResult()
{}
void CancelComponentUpgradeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

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

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