Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3dd38f70c2 |
@@ -1,3 +1,6 @@
|
||||
2020-04-21 Version: 1.36.368
|
||||
- Add Statistics API.
|
||||
|
||||
2020-04-20 Version: 1.36.367
|
||||
- Add TemplateId.
|
||||
|
||||
|
||||
@@ -53,28 +53,46 @@ set(csb_public_header_model
|
||||
include/alibabacloud/csb/model/DeleteUnionCasServiceResult.h
|
||||
include/alibabacloud/csb/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/csb/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/csb/model/FindAllLinkRuleRequest.h
|
||||
include/alibabacloud/csb/model/FindAllLinkRuleResult.h
|
||||
include/alibabacloud/csb/model/FindApprovalOrderListRequest.h
|
||||
include/alibabacloud/csb/model/FindApprovalOrderListResult.h
|
||||
include/alibabacloud/csb/model/FindApproveServiceListRequest.h
|
||||
include/alibabacloud/csb/model/FindApproveServiceListResult.h
|
||||
include/alibabacloud/csb/model/FindBrokerSLOHisListRequest.h
|
||||
include/alibabacloud/csb/model/FindBrokerSLOHisListResult.h
|
||||
include/alibabacloud/csb/model/FindBrokerSLOListRequest.h
|
||||
include/alibabacloud/csb/model/FindBrokerSLOListResult.h
|
||||
include/alibabacloud/csb/model/FindCredentialStatisticalDataRequest.h
|
||||
include/alibabacloud/csb/model/FindCredentialStatisticalDataResult.h
|
||||
include/alibabacloud/csb/model/FindCredentialsListRequest.h
|
||||
include/alibabacloud/csb/model/FindCredentialsListResult.h
|
||||
include/alibabacloud/csb/model/FindInstanceListRequest.h
|
||||
include/alibabacloud/csb/model/FindInstanceListResult.h
|
||||
include/alibabacloud/csb/model/FindInstanceNodeListRequest.h
|
||||
include/alibabacloud/csb/model/FindInstanceNodeListResult.h
|
||||
include/alibabacloud/csb/model/FindOrderableListRequest.h
|
||||
include/alibabacloud/csb/model/FindOrderableListResult.h
|
||||
include/alibabacloud/csb/model/FindOrderedListRequest.h
|
||||
include/alibabacloud/csb/model/FindOrderedListResult.h
|
||||
include/alibabacloud/csb/model/FindProjectListRequest.h
|
||||
include/alibabacloud/csb/model/FindProjectListResult.h
|
||||
include/alibabacloud/csb/model/FindProjectStatisticalDataRequest.h
|
||||
include/alibabacloud/csb/model/FindProjectStatisticalDataResult.h
|
||||
include/alibabacloud/csb/model/FindProjectsNameListRequest.h
|
||||
include/alibabacloud/csb/model/FindProjectsNameListResult.h
|
||||
include/alibabacloud/csb/model/FindServiceCredentialStatisticalDataRequest.h
|
||||
include/alibabacloud/csb/model/FindServiceCredentialStatisticalDataResult.h
|
||||
include/alibabacloud/csb/model/FindServiceListRequest.h
|
||||
include/alibabacloud/csb/model/FindServiceListResult.h
|
||||
include/alibabacloud/csb/model/FindServiceStatisticalDataRequest.h
|
||||
include/alibabacloud/csb/model/FindServiceStatisticalDataResult.h
|
||||
include/alibabacloud/csb/model/GetConsoleSLORequest.h
|
||||
include/alibabacloud/csb/model/GetConsoleSLOResult.h
|
||||
include/alibabacloud/csb/model/GetInstanceRequest.h
|
||||
include/alibabacloud/csb/model/GetInstanceResult.h
|
||||
include/alibabacloud/csb/model/GetMetaServerSLORequest.h
|
||||
include/alibabacloud/csb/model/GetMetaServerSLOResult.h
|
||||
include/alibabacloud/csb/model/GetOrderRequest.h
|
||||
include/alibabacloud/csb/model/GetOrderResult.h
|
||||
include/alibabacloud/csb/model/GetProjectRequest.h
|
||||
@@ -140,28 +158,46 @@ set(csb_src
|
||||
src/model/DeleteUnionCasServiceResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/FindAllLinkRuleRequest.cc
|
||||
src/model/FindAllLinkRuleResult.cc
|
||||
src/model/FindApprovalOrderListRequest.cc
|
||||
src/model/FindApprovalOrderListResult.cc
|
||||
src/model/FindApproveServiceListRequest.cc
|
||||
src/model/FindApproveServiceListResult.cc
|
||||
src/model/FindBrokerSLOHisListRequest.cc
|
||||
src/model/FindBrokerSLOHisListResult.cc
|
||||
src/model/FindBrokerSLOListRequest.cc
|
||||
src/model/FindBrokerSLOListResult.cc
|
||||
src/model/FindCredentialStatisticalDataRequest.cc
|
||||
src/model/FindCredentialStatisticalDataResult.cc
|
||||
src/model/FindCredentialsListRequest.cc
|
||||
src/model/FindCredentialsListResult.cc
|
||||
src/model/FindInstanceListRequest.cc
|
||||
src/model/FindInstanceListResult.cc
|
||||
src/model/FindInstanceNodeListRequest.cc
|
||||
src/model/FindInstanceNodeListResult.cc
|
||||
src/model/FindOrderableListRequest.cc
|
||||
src/model/FindOrderableListResult.cc
|
||||
src/model/FindOrderedListRequest.cc
|
||||
src/model/FindOrderedListResult.cc
|
||||
src/model/FindProjectListRequest.cc
|
||||
src/model/FindProjectListResult.cc
|
||||
src/model/FindProjectStatisticalDataRequest.cc
|
||||
src/model/FindProjectStatisticalDataResult.cc
|
||||
src/model/FindProjectsNameListRequest.cc
|
||||
src/model/FindProjectsNameListResult.cc
|
||||
src/model/FindServiceCredentialStatisticalDataRequest.cc
|
||||
src/model/FindServiceCredentialStatisticalDataResult.cc
|
||||
src/model/FindServiceListRequest.cc
|
||||
src/model/FindServiceListResult.cc
|
||||
src/model/FindServiceStatisticalDataRequest.cc
|
||||
src/model/FindServiceStatisticalDataResult.cc
|
||||
src/model/GetConsoleSLORequest.cc
|
||||
src/model/GetConsoleSLOResult.cc
|
||||
src/model/GetInstanceRequest.cc
|
||||
src/model/GetInstanceResult.cc
|
||||
src/model/GetMetaServerSLORequest.cc
|
||||
src/model/GetMetaServerSLOResult.cc
|
||||
src/model/GetOrderRequest.cc
|
||||
src/model/GetOrderResult.cc
|
||||
src/model/GetProjectRequest.cc
|
||||
|
||||
@@ -54,28 +54,46 @@
|
||||
#include "model/DeleteUnionCasServiceResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/FindAllLinkRuleRequest.h"
|
||||
#include "model/FindAllLinkRuleResult.h"
|
||||
#include "model/FindApprovalOrderListRequest.h"
|
||||
#include "model/FindApprovalOrderListResult.h"
|
||||
#include "model/FindApproveServiceListRequest.h"
|
||||
#include "model/FindApproveServiceListResult.h"
|
||||
#include "model/FindBrokerSLOHisListRequest.h"
|
||||
#include "model/FindBrokerSLOHisListResult.h"
|
||||
#include "model/FindBrokerSLOListRequest.h"
|
||||
#include "model/FindBrokerSLOListResult.h"
|
||||
#include "model/FindCredentialStatisticalDataRequest.h"
|
||||
#include "model/FindCredentialStatisticalDataResult.h"
|
||||
#include "model/FindCredentialsListRequest.h"
|
||||
#include "model/FindCredentialsListResult.h"
|
||||
#include "model/FindInstanceListRequest.h"
|
||||
#include "model/FindInstanceListResult.h"
|
||||
#include "model/FindInstanceNodeListRequest.h"
|
||||
#include "model/FindInstanceNodeListResult.h"
|
||||
#include "model/FindOrderableListRequest.h"
|
||||
#include "model/FindOrderableListResult.h"
|
||||
#include "model/FindOrderedListRequest.h"
|
||||
#include "model/FindOrderedListResult.h"
|
||||
#include "model/FindProjectListRequest.h"
|
||||
#include "model/FindProjectListResult.h"
|
||||
#include "model/FindProjectStatisticalDataRequest.h"
|
||||
#include "model/FindProjectStatisticalDataResult.h"
|
||||
#include "model/FindProjectsNameListRequest.h"
|
||||
#include "model/FindProjectsNameListResult.h"
|
||||
#include "model/FindServiceCredentialStatisticalDataRequest.h"
|
||||
#include "model/FindServiceCredentialStatisticalDataResult.h"
|
||||
#include "model/FindServiceListRequest.h"
|
||||
#include "model/FindServiceListResult.h"
|
||||
#include "model/FindServiceStatisticalDataRequest.h"
|
||||
#include "model/FindServiceStatisticalDataResult.h"
|
||||
#include "model/GetConsoleSLORequest.h"
|
||||
#include "model/GetConsoleSLOResult.h"
|
||||
#include "model/GetInstanceRequest.h"
|
||||
#include "model/GetInstanceResult.h"
|
||||
#include "model/GetMetaServerSLORequest.h"
|
||||
#include "model/GetMetaServerSLOResult.h"
|
||||
#include "model/GetOrderRequest.h"
|
||||
#include "model/GetOrderResult.h"
|
||||
#include "model/GetProjectRequest.h"
|
||||
@@ -163,18 +181,33 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindAllLinkRuleResult> FindAllLinkRuleOutcome;
|
||||
typedef std::future<FindAllLinkRuleOutcome> FindAllLinkRuleOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindAllLinkRuleRequest&, const FindAllLinkRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindAllLinkRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindApprovalOrderListResult> FindApprovalOrderListOutcome;
|
||||
typedef std::future<FindApprovalOrderListOutcome> FindApprovalOrderListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindApprovalOrderListRequest&, const FindApprovalOrderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindApprovalOrderListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindApproveServiceListResult> FindApproveServiceListOutcome;
|
||||
typedef std::future<FindApproveServiceListOutcome> FindApproveServiceListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindApproveServiceListRequest&, const FindApproveServiceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindApproveServiceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindBrokerSLOHisListResult> FindBrokerSLOHisListOutcome;
|
||||
typedef std::future<FindBrokerSLOHisListOutcome> FindBrokerSLOHisListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindBrokerSLOHisListRequest&, const FindBrokerSLOHisListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindBrokerSLOHisListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindBrokerSLOListResult> FindBrokerSLOListOutcome;
|
||||
typedef std::future<FindBrokerSLOListOutcome> FindBrokerSLOListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindBrokerSLOListRequest&, const FindBrokerSLOListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindBrokerSLOListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindCredentialStatisticalDataResult> FindCredentialStatisticalDataOutcome;
|
||||
typedef std::future<FindCredentialStatisticalDataOutcome> FindCredentialStatisticalDataOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindCredentialStatisticalDataRequest&, const FindCredentialStatisticalDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindCredentialStatisticalDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindCredentialsListResult> FindCredentialsListOutcome;
|
||||
typedef std::future<FindCredentialsListOutcome> FindCredentialsListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindCredentialsListRequest&, const FindCredentialsListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindCredentialsListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindInstanceListResult> FindInstanceListOutcome;
|
||||
typedef std::future<FindInstanceListOutcome> FindInstanceListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindInstanceListRequest&, const FindInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindInstanceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindInstanceNodeListResult> FindInstanceNodeListOutcome;
|
||||
typedef std::future<FindInstanceNodeListOutcome> FindInstanceNodeListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindInstanceNodeListRequest&, const FindInstanceNodeListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindInstanceNodeListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindOrderableListResult> FindOrderableListOutcome;
|
||||
typedef std::future<FindOrderableListOutcome> FindOrderableListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindOrderableListRequest&, const FindOrderableListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindOrderableListAsyncHandler;
|
||||
@@ -184,18 +217,30 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::FindProjectListResult> FindProjectListOutcome;
|
||||
typedef std::future<FindProjectListOutcome> FindProjectListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindProjectListRequest&, const FindProjectListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindProjectListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindProjectStatisticalDataResult> FindProjectStatisticalDataOutcome;
|
||||
typedef std::future<FindProjectStatisticalDataOutcome> FindProjectStatisticalDataOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindProjectStatisticalDataRequest&, const FindProjectStatisticalDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindProjectStatisticalDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindProjectsNameListResult> FindProjectsNameListOutcome;
|
||||
typedef std::future<FindProjectsNameListOutcome> FindProjectsNameListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindProjectsNameListRequest&, const FindProjectsNameListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindProjectsNameListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindServiceCredentialStatisticalDataResult> FindServiceCredentialStatisticalDataOutcome;
|
||||
typedef std::future<FindServiceCredentialStatisticalDataOutcome> FindServiceCredentialStatisticalDataOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindServiceCredentialStatisticalDataRequest&, const FindServiceCredentialStatisticalDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindServiceCredentialStatisticalDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindServiceListResult> FindServiceListOutcome;
|
||||
typedef std::future<FindServiceListOutcome> FindServiceListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindServiceListRequest&, const FindServiceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindServiceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindServiceStatisticalDataResult> FindServiceStatisticalDataOutcome;
|
||||
typedef std::future<FindServiceStatisticalDataOutcome> FindServiceStatisticalDataOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindServiceStatisticalDataRequest&, const FindServiceStatisticalDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindServiceStatisticalDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConsoleSLOResult> GetConsoleSLOOutcome;
|
||||
typedef std::future<GetConsoleSLOOutcome> GetConsoleSLOOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::GetConsoleSLORequest&, const GetConsoleSLOOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConsoleSLOAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceResult> GetInstanceOutcome;
|
||||
typedef std::future<GetInstanceOutcome> GetInstanceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::GetInstanceRequest&, const GetInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMetaServerSLOResult> GetMetaServerSLOOutcome;
|
||||
typedef std::future<GetMetaServerSLOOutcome> GetMetaServerSLOOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::GetMetaServerSLORequest&, const GetMetaServerSLOOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMetaServerSLOAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetOrderResult> GetOrderOutcome;
|
||||
typedef std::future<GetOrderOutcome> GetOrderOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::GetOrderRequest&, const GetOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOrderAsyncHandler;
|
||||
@@ -294,18 +339,33 @@ namespace AlibabaCloud
|
||||
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
|
||||
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
|
||||
FindAllLinkRuleOutcome findAllLinkRule(const Model::FindAllLinkRuleRequest &request)const;
|
||||
void findAllLinkRuleAsync(const Model::FindAllLinkRuleRequest& request, const FindAllLinkRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindAllLinkRuleOutcomeCallable findAllLinkRuleCallable(const Model::FindAllLinkRuleRequest& request) const;
|
||||
FindApprovalOrderListOutcome findApprovalOrderList(const Model::FindApprovalOrderListRequest &request)const;
|
||||
void findApprovalOrderListAsync(const Model::FindApprovalOrderListRequest& request, const FindApprovalOrderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindApprovalOrderListOutcomeCallable findApprovalOrderListCallable(const Model::FindApprovalOrderListRequest& request) const;
|
||||
FindApproveServiceListOutcome findApproveServiceList(const Model::FindApproveServiceListRequest &request)const;
|
||||
void findApproveServiceListAsync(const Model::FindApproveServiceListRequest& request, const FindApproveServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindApproveServiceListOutcomeCallable findApproveServiceListCallable(const Model::FindApproveServiceListRequest& request) const;
|
||||
FindBrokerSLOHisListOutcome findBrokerSLOHisList(const Model::FindBrokerSLOHisListRequest &request)const;
|
||||
void findBrokerSLOHisListAsync(const Model::FindBrokerSLOHisListRequest& request, const FindBrokerSLOHisListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindBrokerSLOHisListOutcomeCallable findBrokerSLOHisListCallable(const Model::FindBrokerSLOHisListRequest& request) const;
|
||||
FindBrokerSLOListOutcome findBrokerSLOList(const Model::FindBrokerSLOListRequest &request)const;
|
||||
void findBrokerSLOListAsync(const Model::FindBrokerSLOListRequest& request, const FindBrokerSLOListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindBrokerSLOListOutcomeCallable findBrokerSLOListCallable(const Model::FindBrokerSLOListRequest& request) const;
|
||||
FindCredentialStatisticalDataOutcome findCredentialStatisticalData(const Model::FindCredentialStatisticalDataRequest &request)const;
|
||||
void findCredentialStatisticalDataAsync(const Model::FindCredentialStatisticalDataRequest& request, const FindCredentialStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindCredentialStatisticalDataOutcomeCallable findCredentialStatisticalDataCallable(const Model::FindCredentialStatisticalDataRequest& request) const;
|
||||
FindCredentialsListOutcome findCredentialsList(const Model::FindCredentialsListRequest &request)const;
|
||||
void findCredentialsListAsync(const Model::FindCredentialsListRequest& request, const FindCredentialsListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindCredentialsListOutcomeCallable findCredentialsListCallable(const Model::FindCredentialsListRequest& request) const;
|
||||
FindInstanceListOutcome findInstanceList(const Model::FindInstanceListRequest &request)const;
|
||||
void findInstanceListAsync(const Model::FindInstanceListRequest& request, const FindInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindInstanceListOutcomeCallable findInstanceListCallable(const Model::FindInstanceListRequest& request) const;
|
||||
FindInstanceNodeListOutcome findInstanceNodeList(const Model::FindInstanceNodeListRequest &request)const;
|
||||
void findInstanceNodeListAsync(const Model::FindInstanceNodeListRequest& request, const FindInstanceNodeListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindInstanceNodeListOutcomeCallable findInstanceNodeListCallable(const Model::FindInstanceNodeListRequest& request) const;
|
||||
FindOrderableListOutcome findOrderableList(const Model::FindOrderableListRequest &request)const;
|
||||
void findOrderableListAsync(const Model::FindOrderableListRequest& request, const FindOrderableListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindOrderableListOutcomeCallable findOrderableListCallable(const Model::FindOrderableListRequest& request) const;
|
||||
@@ -315,18 +375,30 @@ namespace AlibabaCloud
|
||||
FindProjectListOutcome findProjectList(const Model::FindProjectListRequest &request)const;
|
||||
void findProjectListAsync(const Model::FindProjectListRequest& request, const FindProjectListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindProjectListOutcomeCallable findProjectListCallable(const Model::FindProjectListRequest& request) const;
|
||||
FindProjectStatisticalDataOutcome findProjectStatisticalData(const Model::FindProjectStatisticalDataRequest &request)const;
|
||||
void findProjectStatisticalDataAsync(const Model::FindProjectStatisticalDataRequest& request, const FindProjectStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindProjectStatisticalDataOutcomeCallable findProjectStatisticalDataCallable(const Model::FindProjectStatisticalDataRequest& request) const;
|
||||
FindProjectsNameListOutcome findProjectsNameList(const Model::FindProjectsNameListRequest &request)const;
|
||||
void findProjectsNameListAsync(const Model::FindProjectsNameListRequest& request, const FindProjectsNameListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindProjectsNameListOutcomeCallable findProjectsNameListCallable(const Model::FindProjectsNameListRequest& request) const;
|
||||
FindServiceCredentialStatisticalDataOutcome findServiceCredentialStatisticalData(const Model::FindServiceCredentialStatisticalDataRequest &request)const;
|
||||
void findServiceCredentialStatisticalDataAsync(const Model::FindServiceCredentialStatisticalDataRequest& request, const FindServiceCredentialStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindServiceCredentialStatisticalDataOutcomeCallable findServiceCredentialStatisticalDataCallable(const Model::FindServiceCredentialStatisticalDataRequest& request) const;
|
||||
FindServiceListOutcome findServiceList(const Model::FindServiceListRequest &request)const;
|
||||
void findServiceListAsync(const Model::FindServiceListRequest& request, const FindServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindServiceListOutcomeCallable findServiceListCallable(const Model::FindServiceListRequest& request) const;
|
||||
FindServiceStatisticalDataOutcome findServiceStatisticalData(const Model::FindServiceStatisticalDataRequest &request)const;
|
||||
void findServiceStatisticalDataAsync(const Model::FindServiceStatisticalDataRequest& request, const FindServiceStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindServiceStatisticalDataOutcomeCallable findServiceStatisticalDataCallable(const Model::FindServiceStatisticalDataRequest& request) const;
|
||||
GetConsoleSLOOutcome getConsoleSLO(const Model::GetConsoleSLORequest &request)const;
|
||||
void getConsoleSLOAsync(const Model::GetConsoleSLORequest& request, const GetConsoleSLOAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConsoleSLOOutcomeCallable getConsoleSLOCallable(const Model::GetConsoleSLORequest& request) const;
|
||||
GetInstanceOutcome getInstance(const Model::GetInstanceRequest &request)const;
|
||||
void getInstanceAsync(const Model::GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceOutcomeCallable getInstanceCallable(const Model::GetInstanceRequest& request) const;
|
||||
GetMetaServerSLOOutcome getMetaServerSLO(const Model::GetMetaServerSLORequest &request)const;
|
||||
void getMetaServerSLOAsync(const Model::GetMetaServerSLORequest& request, const GetMetaServerSLOAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMetaServerSLOOutcomeCallable getMetaServerSLOCallable(const Model::GetMetaServerSLORequest& request) const;
|
||||
GetOrderOutcome getOrder(const Model::GetOrderRequest &request)const;
|
||||
void getOrderAsync(const Model::GetOrderRequest& request, const GetOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetOrderOutcomeCallable getOrderCallable(const Model::GetOrderRequest& request) const;
|
||||
|
||||
48
csb/include/alibabacloud/csb/model/FindAllLinkRuleRequest.h
Normal file
48
csb/include/alibabacloud/csb/model/FindAllLinkRuleRequest.h
Normal 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_CSB_MODEL_FINDALLLINKRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDALLLINKRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindAllLinkRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindAllLinkRuleRequest();
|
||||
~FindAllLinkRuleRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDALLLINKRULEREQUEST_H_
|
||||
70
csb/include/alibabacloud/csb/model/FindAllLinkRuleResult.h
Normal file
70
csb/include/alibabacloud/csb/model/FindAllLinkRuleResult.h
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDALLLINKRULERESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDALLLINKRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindAllLinkRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct LinkRuleListItem
|
||||
{
|
||||
std::string originName;
|
||||
long gmtCreate;
|
||||
std::string ownerId;
|
||||
long csbId;
|
||||
long gmtModified;
|
||||
long id;
|
||||
int deleted;
|
||||
std::string targetName;
|
||||
};
|
||||
std::vector<LinkRuleListItem> linkRuleList;
|
||||
};
|
||||
|
||||
|
||||
FindAllLinkRuleResult();
|
||||
explicit FindAllLinkRuleResult(const std::string &payload);
|
||||
~FindAllLinkRuleResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDALLLINKRULERESULT_H_
|
||||
@@ -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_CSB_MODEL_FINDBROKERSLOHISLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDBROKERSLOHISLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindBrokerSLOHisListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindBrokerSLOHisListRequest();
|
||||
~FindBrokerSLOHisListRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDBROKERSLOHISLISTREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDBROKERSLOHISLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDBROKERSLOHISLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindBrokerSLOHisListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
FindBrokerSLOHisListResult();
|
||||
explicit FindBrokerSLOHisListResult(const std::string &payload);
|
||||
~FindBrokerSLOHisListResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDBROKERSLOHISLISTRESULT_H_
|
||||
@@ -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_CSB_MODEL_FINDBROKERSLOLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDBROKERSLOLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindBrokerSLOListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindBrokerSLOListRequest();
|
||||
~FindBrokerSLOListRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDBROKERSLOLISTREQUEST_H_
|
||||
55
csb/include/alibabacloud/csb/model/FindBrokerSLOListResult.h
Normal file
55
csb/include/alibabacloud/csb/model/FindBrokerSLOListResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDBROKERSLOLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDBROKERSLOLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindBrokerSLOListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
FindBrokerSLOListResult();
|
||||
explicit FindBrokerSLOListResult(const std::string &payload);
|
||||
~FindBrokerSLOListResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDBROKERSLOLISTRESULT_H_
|
||||
@@ -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_CSB_MODEL_FINDCREDENTIALSTATISTICALDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSTATISTICALDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindCredentialStatisticalDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindCredentialStatisticalDataRequest();
|
||||
~FindCredentialStatisticalDataRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getCredentialName()const;
|
||||
void setCredentialName(const std::string& credentialName);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
std::string credentialName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSTATISTICALDATAREQUEST_H_
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_CSB_MODEL_FINDCREDENTIALSTATISTICALDATARESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSTATISTICALDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindCredentialStatisticalDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ServiceStatisticData
|
||||
{
|
||||
struct Total
|
||||
{
|
||||
long total;
|
||||
long errorNum;
|
||||
};
|
||||
struct CredentialInfoData
|
||||
{
|
||||
std::string currentAk;
|
||||
std::string credentialName;
|
||||
};
|
||||
CredentialInfoData credentialInfoData;
|
||||
Total total;
|
||||
float minRt;
|
||||
float maxRt;
|
||||
float avgRt;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
long total;
|
||||
std::vector<ServiceStatisticData> monitorStatisticData;
|
||||
};
|
||||
|
||||
|
||||
FindCredentialStatisticalDataResult();
|
||||
explicit FindCredentialStatisticalDataResult(const std::string &payload);
|
||||
~FindCredentialStatisticalDataResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSTATISTICALDATARESULT_H_
|
||||
@@ -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_CSB_MODEL_FINDINSTANCENODELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDINSTANCENODELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindInstanceNodeListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindInstanceNodeListRequest();
|
||||
~FindInstanceNodeListRequest();
|
||||
|
||||
bool getOnlyImported()const;
|
||||
void setOnlyImported(bool onlyImported);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
bool onlyImported_;
|
||||
int pageNum_;
|
||||
std::string instanceName_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDINSTANCENODELISTREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDINSTANCENODELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDINSTANCENODELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindInstanceNodeListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct InstanceNode
|
||||
{
|
||||
std::string instanceName;
|
||||
std::string importedName;
|
||||
bool isImported;
|
||||
std::string groupAddress;
|
||||
std::string edasTenantInfo;
|
||||
long id;
|
||||
std::string brokerAddress;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
std::vector<InstanceNode> instanceNodeList;
|
||||
};
|
||||
|
||||
|
||||
FindInstanceNodeListResult();
|
||||
explicit FindInstanceNodeListResult(const std::string &payload);
|
||||
~FindInstanceNodeListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDINSTANCENODELISTRESULT_H_
|
||||
@@ -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_CSB_MODEL_FINDPROJECTSTATISTICALDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDPROJECTSTATISTICALDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindProjectStatisticalDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindProjectStatisticalDataRequest();
|
||||
~FindProjectStatisticalDataRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long csbId_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDPROJECTSTATISTICALDATAREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDPROJECTSTATISTICALDATARESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDPROJECTSTATISTICALDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindProjectStatisticalDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ServiceStatisticData
|
||||
{
|
||||
struct Total
|
||||
{
|
||||
long total;
|
||||
long errorNum;
|
||||
};
|
||||
struct ProjectInfoData
|
||||
{
|
||||
std::string projectName;
|
||||
};
|
||||
ProjectInfoData projectInfoData;
|
||||
Total total;
|
||||
float minRt;
|
||||
float maxRt;
|
||||
float avgRt;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
long total;
|
||||
std::vector<ServiceStatisticData> monitorStatisticData;
|
||||
};
|
||||
|
||||
|
||||
FindProjectStatisticalDataResult();
|
||||
explicit FindProjectStatisticalDataResult(const std::string &payload);
|
||||
~FindProjectStatisticalDataResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDPROJECTSTATISTICALDATARESULT_H_
|
||||
@@ -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_CSB_MODEL_FINDSERVICECREDENTIALSTATISTICALDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDSERVICECREDENTIALSTATISTICALDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindServiceCredentialStatisticalDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindServiceCredentialStatisticalDataRequest();
|
||||
~FindServiceCredentialStatisticalDataRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getCredentialName()const;
|
||||
void setCredentialName(const std::string& credentialName);
|
||||
std::string getServiceNameVersion()const;
|
||||
void setServiceNameVersion(const std::string& serviceNameVersion);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
std::string credentialName_;
|
||||
std::string serviceNameVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDSERVICECREDENTIALSTATISTICALDATAREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* 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_CSB_MODEL_FINDSERVICECREDENTIALSTATISTICALDATARESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDSERVICECREDENTIALSTATISTICALDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindServiceCredentialStatisticalDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ServiceStatisticData
|
||||
{
|
||||
struct Total
|
||||
{
|
||||
long total;
|
||||
long errorNum;
|
||||
};
|
||||
std::string serviceName;
|
||||
Total total;
|
||||
std::string credentialName;
|
||||
float minRt;
|
||||
float maxRt;
|
||||
float avgRt;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
long total;
|
||||
std::vector<ServiceStatisticData> monitorStatisticData;
|
||||
};
|
||||
|
||||
|
||||
FindServiceCredentialStatisticalDataResult();
|
||||
explicit FindServiceCredentialStatisticalDataResult(const std::string &payload);
|
||||
~FindServiceCredentialStatisticalDataResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDSERVICECREDENTIALSTATISTICALDATARESULT_H_
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setPageNum(int pageNum);
|
||||
int getCasShowType()const;
|
||||
void setCasShowType(int casShowType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getAlias()const;
|
||||
void setAlias(const std::string& alias);
|
||||
std::string getServiceName()const;
|
||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
||||
long csbId_;
|
||||
int pageNum_;
|
||||
int casShowType_;
|
||||
int pageSize_;
|
||||
std::string alias_;
|
||||
std::string serviceName_;
|
||||
|
||||
|
||||
@@ -41,14 +41,14 @@ namespace AlibabaCloud
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
std::string getServiceNameVersion()const;
|
||||
void setServiceNameVersion(const std::string& serviceNameVersion);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
std::string serviceName_;
|
||||
std::string serviceNameVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,19 +38,18 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Total
|
||||
{
|
||||
int total;
|
||||
int errorNum;
|
||||
long total;
|
||||
long errorNum;
|
||||
};
|
||||
std::string serviceName;
|
||||
std::string userId;
|
||||
Total total;
|
||||
float minRt;
|
||||
long requestTime;
|
||||
float maxRt;
|
||||
float avgRt;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
long total;
|
||||
std::vector<ServiceStatisticData> monitorStatisticData;
|
||||
};
|
||||
|
||||
|
||||
45
csb/include/alibabacloud/csb/model/GetConsoleSLORequest.h
Normal file
45
csb/include/alibabacloud/csb/model/GetConsoleSLORequest.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETCONSOLESLOREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETCONSOLESLOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetConsoleSLORequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetConsoleSLORequest();
|
||||
~GetConsoleSLORequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETCONSOLESLOREQUEST_H_
|
||||
55
csb/include/alibabacloud/csb/model/GetConsoleSLOResult.h
Normal file
55
csb/include/alibabacloud/csb/model/GetConsoleSLOResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETCONSOLESLORESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETCONSOLESLORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetConsoleSLOResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetConsoleSLOResult();
|
||||
explicit GetConsoleSLOResult(const std::string &payload);
|
||||
~GetConsoleSLOResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETCONSOLESLORESULT_H_
|
||||
45
csb/include/alibabacloud/csb/model/GetMetaServerSLORequest.h
Normal file
45
csb/include/alibabacloud/csb/model/GetMetaServerSLORequest.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETMETASERVERSLOREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETMETASERVERSLOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetMetaServerSLORequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetMetaServerSLORequest();
|
||||
~GetMetaServerSLORequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETMETASERVERSLOREQUEST_H_
|
||||
55
csb/include/alibabacloud/csb/model/GetMetaServerSLOResult.h
Normal file
55
csb/include/alibabacloud/csb/model/GetMetaServerSLOResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_GETMETASERVERSLORESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_GETMETASERVERSLORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT GetMetaServerSLOResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetMetaServerSLOResult();
|
||||
explicit GetMetaServerSLOResult(const std::string &payload);
|
||||
~GetMetaServerSLOResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_GETMETASERVERSLORESULT_H_
|
||||
@@ -31,21 +31,21 @@ CSBClient::CSBClient(const Credentials &credentials, const ClientConfiguration &
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "csb");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
CSBClient::CSBClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "csb");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
CSBClient::CSBClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "csb");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
CSBClient::~CSBClient()
|
||||
@@ -627,6 +627,42 @@ CSBClient::DescribeRegionsOutcomeCallable CSBClient::describeRegionsCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindAllLinkRuleOutcome CSBClient::findAllLinkRule(const FindAllLinkRuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FindAllLinkRuleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FindAllLinkRuleOutcome(FindAllLinkRuleResult(outcome.result()));
|
||||
else
|
||||
return FindAllLinkRuleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CSBClient::findAllLinkRuleAsync(const FindAllLinkRuleRequest& request, const FindAllLinkRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, findAllLinkRule(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CSBClient::FindAllLinkRuleOutcomeCallable CSBClient::findAllLinkRuleCallable(const FindAllLinkRuleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FindAllLinkRuleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->findAllLinkRule(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindApprovalOrderListOutcome CSBClient::findApprovalOrderList(const FindApprovalOrderListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,6 +735,114 @@ CSBClient::FindApproveServiceListOutcomeCallable CSBClient::findApproveServiceLi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindBrokerSLOHisListOutcome CSBClient::findBrokerSLOHisList(const FindBrokerSLOHisListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FindBrokerSLOHisListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FindBrokerSLOHisListOutcome(FindBrokerSLOHisListResult(outcome.result()));
|
||||
else
|
||||
return FindBrokerSLOHisListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CSBClient::findBrokerSLOHisListAsync(const FindBrokerSLOHisListRequest& request, const FindBrokerSLOHisListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, findBrokerSLOHisList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CSBClient::FindBrokerSLOHisListOutcomeCallable CSBClient::findBrokerSLOHisListCallable(const FindBrokerSLOHisListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FindBrokerSLOHisListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->findBrokerSLOHisList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindBrokerSLOListOutcome CSBClient::findBrokerSLOList(const FindBrokerSLOListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FindBrokerSLOListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FindBrokerSLOListOutcome(FindBrokerSLOListResult(outcome.result()));
|
||||
else
|
||||
return FindBrokerSLOListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CSBClient::findBrokerSLOListAsync(const FindBrokerSLOListRequest& request, const FindBrokerSLOListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, findBrokerSLOList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CSBClient::FindBrokerSLOListOutcomeCallable CSBClient::findBrokerSLOListCallable(const FindBrokerSLOListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FindBrokerSLOListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->findBrokerSLOList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindCredentialStatisticalDataOutcome CSBClient::findCredentialStatisticalData(const FindCredentialStatisticalDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FindCredentialStatisticalDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FindCredentialStatisticalDataOutcome(FindCredentialStatisticalDataResult(outcome.result()));
|
||||
else
|
||||
return FindCredentialStatisticalDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CSBClient::findCredentialStatisticalDataAsync(const FindCredentialStatisticalDataRequest& request, const FindCredentialStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, findCredentialStatisticalData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CSBClient::FindCredentialStatisticalDataOutcomeCallable CSBClient::findCredentialStatisticalDataCallable(const FindCredentialStatisticalDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FindCredentialStatisticalDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->findCredentialStatisticalData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindCredentialsListOutcome CSBClient::findCredentialsList(const FindCredentialsListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -771,6 +915,42 @@ CSBClient::FindInstanceListOutcomeCallable CSBClient::findInstanceListCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindInstanceNodeListOutcome CSBClient::findInstanceNodeList(const FindInstanceNodeListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FindInstanceNodeListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FindInstanceNodeListOutcome(FindInstanceNodeListResult(outcome.result()));
|
||||
else
|
||||
return FindInstanceNodeListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CSBClient::findInstanceNodeListAsync(const FindInstanceNodeListRequest& request, const FindInstanceNodeListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, findInstanceNodeList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CSBClient::FindInstanceNodeListOutcomeCallable CSBClient::findInstanceNodeListCallable(const FindInstanceNodeListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FindInstanceNodeListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->findInstanceNodeList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindOrderableListOutcome CSBClient::findOrderableList(const FindOrderableListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -879,6 +1059,42 @@ CSBClient::FindProjectListOutcomeCallable CSBClient::findProjectListCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindProjectStatisticalDataOutcome CSBClient::findProjectStatisticalData(const FindProjectStatisticalDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FindProjectStatisticalDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FindProjectStatisticalDataOutcome(FindProjectStatisticalDataResult(outcome.result()));
|
||||
else
|
||||
return FindProjectStatisticalDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CSBClient::findProjectStatisticalDataAsync(const FindProjectStatisticalDataRequest& request, const FindProjectStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, findProjectStatisticalData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CSBClient::FindProjectStatisticalDataOutcomeCallable CSBClient::findProjectStatisticalDataCallable(const FindProjectStatisticalDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FindProjectStatisticalDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->findProjectStatisticalData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindProjectsNameListOutcome CSBClient::findProjectsNameList(const FindProjectsNameListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -915,6 +1131,42 @@ CSBClient::FindProjectsNameListOutcomeCallable CSBClient::findProjectsNameListCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindServiceCredentialStatisticalDataOutcome CSBClient::findServiceCredentialStatisticalData(const FindServiceCredentialStatisticalDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FindServiceCredentialStatisticalDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FindServiceCredentialStatisticalDataOutcome(FindServiceCredentialStatisticalDataResult(outcome.result()));
|
||||
else
|
||||
return FindServiceCredentialStatisticalDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CSBClient::findServiceCredentialStatisticalDataAsync(const FindServiceCredentialStatisticalDataRequest& request, const FindServiceCredentialStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, findServiceCredentialStatisticalData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CSBClient::FindServiceCredentialStatisticalDataOutcomeCallable CSBClient::findServiceCredentialStatisticalDataCallable(const FindServiceCredentialStatisticalDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FindServiceCredentialStatisticalDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->findServiceCredentialStatisticalData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindServiceListOutcome CSBClient::findServiceList(const FindServiceListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1239,42 @@ CSBClient::FindServiceStatisticalDataOutcomeCallable CSBClient::findServiceStati
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::GetConsoleSLOOutcome CSBClient::getConsoleSLO(const GetConsoleSLORequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetConsoleSLOOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetConsoleSLOOutcome(GetConsoleSLOResult(outcome.result()));
|
||||
else
|
||||
return GetConsoleSLOOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CSBClient::getConsoleSLOAsync(const GetConsoleSLORequest& request, const GetConsoleSLOAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getConsoleSLO(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CSBClient::GetConsoleSLOOutcomeCallable CSBClient::getConsoleSLOCallable(const GetConsoleSLORequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetConsoleSLOOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getConsoleSLO(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::GetInstanceOutcome CSBClient::getInstance(const GetInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1023,6 +1311,42 @@ CSBClient::GetInstanceOutcomeCallable CSBClient::getInstanceCallable(const GetIn
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::GetMetaServerSLOOutcome CSBClient::getMetaServerSLO(const GetMetaServerSLORequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMetaServerSLOOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMetaServerSLOOutcome(GetMetaServerSLOResult(outcome.result()));
|
||||
else
|
||||
return GetMetaServerSLOOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CSBClient::getMetaServerSLOAsync(const GetMetaServerSLORequest& request, const GetMetaServerSLOAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMetaServerSLO(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CSBClient::GetMetaServerSLOOutcomeCallable CSBClient::getMetaServerSLOCallable(const GetMetaServerSLORequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMetaServerSLOOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMetaServerSLO(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::GetOrderOutcome CSBClient::getOrder(const GetOrderRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
40
csb/src/model/FindAllLinkRuleRequest.cc
Normal file
40
csb/src/model/FindAllLinkRuleRequest.cc
Normal 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/csb/model/FindAllLinkRuleRequest.h>
|
||||
|
||||
using AlibabaCloud::CSB::Model::FindAllLinkRuleRequest;
|
||||
|
||||
FindAllLinkRuleRequest::FindAllLinkRuleRequest() :
|
||||
RpcServiceRequest("csb", "2017-11-18", "FindAllLinkRule")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
FindAllLinkRuleRequest::~FindAllLinkRuleRequest()
|
||||
{}
|
||||
|
||||
long FindAllLinkRuleRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindAllLinkRuleRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
86
csb/src/model/FindAllLinkRuleResult.cc
Normal file
86
csb/src/model/FindAllLinkRuleResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/csb/model/FindAllLinkRuleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CSB;
|
||||
using namespace AlibabaCloud::CSB::Model;
|
||||
|
||||
FindAllLinkRuleResult::FindAllLinkRuleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FindAllLinkRuleResult::FindAllLinkRuleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FindAllLinkRuleResult::~FindAllLinkRuleResult()
|
||||
{}
|
||||
|
||||
void FindAllLinkRuleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
auto allLinkRuleListNode = dataNode["LinkRuleList"]["LinkRuleListItem"];
|
||||
for (auto dataNodeLinkRuleListLinkRuleListItem : allLinkRuleListNode)
|
||||
{
|
||||
Data::LinkRuleListItem linkRuleListItemObject;
|
||||
if(!dataNodeLinkRuleListLinkRuleListItem["CsbId"].isNull())
|
||||
linkRuleListItemObject.csbId = std::stol(dataNodeLinkRuleListLinkRuleListItem["CsbId"].asString());
|
||||
if(!dataNodeLinkRuleListLinkRuleListItem["OwnerId"].isNull())
|
||||
linkRuleListItemObject.ownerId = dataNodeLinkRuleListLinkRuleListItem["OwnerId"].asString();
|
||||
if(!dataNodeLinkRuleListLinkRuleListItem["GmtCreate"].isNull())
|
||||
linkRuleListItemObject.gmtCreate = std::stol(dataNodeLinkRuleListLinkRuleListItem["GmtCreate"].asString());
|
||||
if(!dataNodeLinkRuleListLinkRuleListItem["GmtModified"].isNull())
|
||||
linkRuleListItemObject.gmtModified = std::stol(dataNodeLinkRuleListLinkRuleListItem["GmtModified"].asString());
|
||||
if(!dataNodeLinkRuleListLinkRuleListItem["Id"].isNull())
|
||||
linkRuleListItemObject.id = std::stol(dataNodeLinkRuleListLinkRuleListItem["Id"].asString());
|
||||
if(!dataNodeLinkRuleListLinkRuleListItem["Deleted"].isNull())
|
||||
linkRuleListItemObject.deleted = std::stoi(dataNodeLinkRuleListLinkRuleListItem["Deleted"].asString());
|
||||
if(!dataNodeLinkRuleListLinkRuleListItem["OriginName"].isNull())
|
||||
linkRuleListItemObject.originName = dataNodeLinkRuleListLinkRuleListItem["OriginName"].asString();
|
||||
if(!dataNodeLinkRuleListLinkRuleListItem["TargetName"].isNull())
|
||||
linkRuleListItemObject.targetName = dataNodeLinkRuleListLinkRuleListItem["TargetName"].asString();
|
||||
data_.linkRuleList.push_back(linkRuleListItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string FindAllLinkRuleResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
FindAllLinkRuleResult::Data FindAllLinkRuleResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int FindAllLinkRuleResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
40
csb/src/model/FindBrokerSLOHisListRequest.cc
Normal file
40
csb/src/model/FindBrokerSLOHisListRequest.cc
Normal 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/csb/model/FindBrokerSLOHisListRequest.h>
|
||||
|
||||
using AlibabaCloud::CSB::Model::FindBrokerSLOHisListRequest;
|
||||
|
||||
FindBrokerSLOHisListRequest::FindBrokerSLOHisListRequest() :
|
||||
RpcServiceRequest("csb", "2017-11-18", "FindBrokerSLOHisList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
FindBrokerSLOHisListRequest::~FindBrokerSLOHisListRequest()
|
||||
{}
|
||||
|
||||
long FindBrokerSLOHisListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindBrokerSLOHisListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
65
csb/src/model/FindBrokerSLOHisListResult.cc
Normal file
65
csb/src/model/FindBrokerSLOHisListResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/csb/model/FindBrokerSLOHisListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CSB;
|
||||
using namespace AlibabaCloud::CSB::Model;
|
||||
|
||||
FindBrokerSLOHisListResult::FindBrokerSLOHisListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FindBrokerSLOHisListResult::FindBrokerSLOHisListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FindBrokerSLOHisListResult::~FindBrokerSLOHisListResult()
|
||||
{}
|
||||
|
||||
void FindBrokerSLOHisListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string FindBrokerSLOHisListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string FindBrokerSLOHisListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int FindBrokerSLOHisListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
40
csb/src/model/FindBrokerSLOListRequest.cc
Normal file
40
csb/src/model/FindBrokerSLOListRequest.cc
Normal 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/csb/model/FindBrokerSLOListRequest.h>
|
||||
|
||||
using AlibabaCloud::CSB::Model::FindBrokerSLOListRequest;
|
||||
|
||||
FindBrokerSLOListRequest::FindBrokerSLOListRequest() :
|
||||
RpcServiceRequest("csb", "2017-11-18", "FindBrokerSLOList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
FindBrokerSLOListRequest::~FindBrokerSLOListRequest()
|
||||
{}
|
||||
|
||||
long FindBrokerSLOListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindBrokerSLOListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
65
csb/src/model/FindBrokerSLOListResult.cc
Normal file
65
csb/src/model/FindBrokerSLOListResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/csb/model/FindBrokerSLOListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CSB;
|
||||
using namespace AlibabaCloud::CSB::Model;
|
||||
|
||||
FindBrokerSLOListResult::FindBrokerSLOListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FindBrokerSLOListResult::FindBrokerSLOListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FindBrokerSLOListResult::~FindBrokerSLOListResult()
|
||||
{}
|
||||
|
||||
void FindBrokerSLOListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string FindBrokerSLOListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string FindBrokerSLOListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int FindBrokerSLOListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
csb/src/model/FindCredentialStatisticalDataRequest.cc
Normal file
73
csb/src/model/FindCredentialStatisticalDataRequest.cc
Normal 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/csb/model/FindCredentialStatisticalDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CSB::Model::FindCredentialStatisticalDataRequest;
|
||||
|
||||
FindCredentialStatisticalDataRequest::FindCredentialStatisticalDataRequest() :
|
||||
RpcServiceRequest("csb", "2017-11-18", "FindCredentialStatisticalData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
FindCredentialStatisticalDataRequest::~FindCredentialStatisticalDataRequest()
|
||||
{}
|
||||
|
||||
long FindCredentialStatisticalDataRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindCredentialStatisticalDataRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
long FindCredentialStatisticalDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void FindCredentialStatisticalDataRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long FindCredentialStatisticalDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void FindCredentialStatisticalDataRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string FindCredentialStatisticalDataRequest::getCredentialName()const
|
||||
{
|
||||
return credentialName_;
|
||||
}
|
||||
|
||||
void FindCredentialStatisticalDataRequest::setCredentialName(const std::string& credentialName)
|
||||
{
|
||||
credentialName_ = credentialName;
|
||||
setParameter("CredentialName", credentialName);
|
||||
}
|
||||
|
||||
92
csb/src/model/FindCredentialStatisticalDataResult.cc
Normal file
92
csb/src/model/FindCredentialStatisticalDataResult.cc
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/csb/model/FindCredentialStatisticalDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CSB;
|
||||
using namespace AlibabaCloud::CSB::Model;
|
||||
|
||||
FindCredentialStatisticalDataResult::FindCredentialStatisticalDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FindCredentialStatisticalDataResult::FindCredentialStatisticalDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FindCredentialStatisticalDataResult::~FindCredentialStatisticalDataResult()
|
||||
{}
|
||||
|
||||
void FindCredentialStatisticalDataResult::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["CurrentPage"].isNull())
|
||||
data_.currentPage = std::stoi(dataNode["CurrentPage"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["Total"].isNull())
|
||||
data_.total = std::stol(dataNode["Total"].asString());
|
||||
auto allMonitorStatisticDataNode = dataNode["MonitorStatisticData"]["ServiceStatisticData"];
|
||||
for (auto dataNodeMonitorStatisticDataServiceStatisticData : allMonitorStatisticDataNode)
|
||||
{
|
||||
Data::ServiceStatisticData serviceStatisticDataObject;
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["AvgRt"].isNull())
|
||||
serviceStatisticDataObject.avgRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["AvgRt"].asString());
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["MaxRt"].isNull())
|
||||
serviceStatisticDataObject.maxRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["MaxRt"].asString());
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["MinRt"].isNull())
|
||||
serviceStatisticDataObject.minRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["MinRt"].asString());
|
||||
auto totalNode = value["Total"];
|
||||
if(!totalNode["Total"].isNull())
|
||||
serviceStatisticDataObject.total.total = std::stol(totalNode["Total"].asString());
|
||||
if(!totalNode["ErrorNum"].isNull())
|
||||
serviceStatisticDataObject.total.errorNum = std::stol(totalNode["ErrorNum"].asString());
|
||||
auto credentialInfoDataNode = value["CredentialInfoData"];
|
||||
if(!credentialInfoDataNode["CurrentAk"].isNull())
|
||||
serviceStatisticDataObject.credentialInfoData.currentAk = credentialInfoDataNode["CurrentAk"].asString();
|
||||
if(!credentialInfoDataNode["CredentialName"].isNull())
|
||||
serviceStatisticDataObject.credentialInfoData.credentialName = credentialInfoDataNode["CredentialName"].asString();
|
||||
data_.monitorStatisticData.push_back(serviceStatisticDataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string FindCredentialStatisticalDataResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
FindCredentialStatisticalDataResult::Data FindCredentialStatisticalDataResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int FindCredentialStatisticalDataResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
csb/src/model/FindInstanceNodeListRequest.cc
Normal file
73
csb/src/model/FindInstanceNodeListRequest.cc
Normal 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/csb/model/FindInstanceNodeListRequest.h>
|
||||
|
||||
using AlibabaCloud::CSB::Model::FindInstanceNodeListRequest;
|
||||
|
||||
FindInstanceNodeListRequest::FindInstanceNodeListRequest() :
|
||||
RpcServiceRequest("csb", "2017-11-18", "FindInstanceNodeList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
FindInstanceNodeListRequest::~FindInstanceNodeListRequest()
|
||||
{}
|
||||
|
||||
bool FindInstanceNodeListRequest::getOnlyImported()const
|
||||
{
|
||||
return onlyImported_;
|
||||
}
|
||||
|
||||
void FindInstanceNodeListRequest::setOnlyImported(bool onlyImported)
|
||||
{
|
||||
onlyImported_ = onlyImported;
|
||||
setParameter("OnlyImported", onlyImported ? "true" : "false");
|
||||
}
|
||||
|
||||
int FindInstanceNodeListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void FindInstanceNodeListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string FindInstanceNodeListRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
void FindInstanceNodeListRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
}
|
||||
|
||||
int FindInstanceNodeListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void FindInstanceNodeListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
88
csb/src/model/FindInstanceNodeListResult.cc
Normal file
88
csb/src/model/FindInstanceNodeListResult.cc
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* 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/csb/model/FindInstanceNodeListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CSB;
|
||||
using namespace AlibabaCloud::CSB::Model;
|
||||
|
||||
FindInstanceNodeListResult::FindInstanceNodeListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FindInstanceNodeListResult::FindInstanceNodeListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FindInstanceNodeListResult::~FindInstanceNodeListResult()
|
||||
{}
|
||||
|
||||
void FindInstanceNodeListResult::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["CurrentPage"].isNull())
|
||||
data_.currentPage = std::stoi(dataNode["CurrentPage"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
auto allInstanceNodeListNode = dataNode["InstanceNodeList"]["InstanceNode"];
|
||||
for (auto dataNodeInstanceNodeListInstanceNode : allInstanceNodeListNode)
|
||||
{
|
||||
Data::InstanceNode instanceNodeObject;
|
||||
if(!dataNodeInstanceNodeListInstanceNode["Id"].isNull())
|
||||
instanceNodeObject.id = std::stol(dataNodeInstanceNodeListInstanceNode["Id"].asString());
|
||||
if(!dataNodeInstanceNodeListInstanceNode["InstanceName"].isNull())
|
||||
instanceNodeObject.instanceName = dataNodeInstanceNodeListInstanceNode["InstanceName"].asString();
|
||||
if(!dataNodeInstanceNodeListInstanceNode["IsImported"].isNull())
|
||||
instanceNodeObject.isImported = dataNodeInstanceNodeListInstanceNode["IsImported"].asString() == "true";
|
||||
if(!dataNodeInstanceNodeListInstanceNode["GroupAddress"].isNull())
|
||||
instanceNodeObject.groupAddress = dataNodeInstanceNodeListInstanceNode["GroupAddress"].asString();
|
||||
if(!dataNodeInstanceNodeListInstanceNode["BrokerAddress"].isNull())
|
||||
instanceNodeObject.brokerAddress = dataNodeInstanceNodeListInstanceNode["BrokerAddress"].asString();
|
||||
if(!dataNodeInstanceNodeListInstanceNode["EdasTenantInfo"].isNull())
|
||||
instanceNodeObject.edasTenantInfo = dataNodeInstanceNodeListInstanceNode["EdasTenantInfo"].asString();
|
||||
if(!dataNodeInstanceNodeListInstanceNode["ImportedName"].isNull())
|
||||
instanceNodeObject.importedName = dataNodeInstanceNodeListInstanceNode["ImportedName"].asString();
|
||||
data_.instanceNodeList.push_back(instanceNodeObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string FindInstanceNodeListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
FindInstanceNodeListResult::Data FindInstanceNodeListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int FindInstanceNodeListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
csb/src/model/FindProjectStatisticalDataRequest.cc
Normal file
73
csb/src/model/FindProjectStatisticalDataRequest.cc
Normal 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/csb/model/FindProjectStatisticalDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CSB::Model::FindProjectStatisticalDataRequest;
|
||||
|
||||
FindProjectStatisticalDataRequest::FindProjectStatisticalDataRequest() :
|
||||
RpcServiceRequest("csb", "2017-11-18", "FindProjectStatisticalData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
FindProjectStatisticalDataRequest::~FindProjectStatisticalDataRequest()
|
||||
{}
|
||||
|
||||
std::string FindProjectStatisticalDataRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
void FindProjectStatisticalDataRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
long FindProjectStatisticalDataRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindProjectStatisticalDataRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
long FindProjectStatisticalDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void FindProjectStatisticalDataRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long FindProjectStatisticalDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void FindProjectStatisticalDataRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
90
csb/src/model/FindProjectStatisticalDataResult.cc
Normal file
90
csb/src/model/FindProjectStatisticalDataResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* 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/csb/model/FindProjectStatisticalDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CSB;
|
||||
using namespace AlibabaCloud::CSB::Model;
|
||||
|
||||
FindProjectStatisticalDataResult::FindProjectStatisticalDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FindProjectStatisticalDataResult::FindProjectStatisticalDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FindProjectStatisticalDataResult::~FindProjectStatisticalDataResult()
|
||||
{}
|
||||
|
||||
void FindProjectStatisticalDataResult::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["CurrentPage"].isNull())
|
||||
data_.currentPage = std::stoi(dataNode["CurrentPage"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["Total"].isNull())
|
||||
data_.total = std::stol(dataNode["Total"].asString());
|
||||
auto allMonitorStatisticDataNode = dataNode["MonitorStatisticData"]["ServiceStatisticData"];
|
||||
for (auto dataNodeMonitorStatisticDataServiceStatisticData : allMonitorStatisticDataNode)
|
||||
{
|
||||
Data::ServiceStatisticData serviceStatisticDataObject;
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["AvgRt"].isNull())
|
||||
serviceStatisticDataObject.avgRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["AvgRt"].asString());
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["MaxRt"].isNull())
|
||||
serviceStatisticDataObject.maxRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["MaxRt"].asString());
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["MinRt"].isNull())
|
||||
serviceStatisticDataObject.minRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["MinRt"].asString());
|
||||
auto totalNode = value["Total"];
|
||||
if(!totalNode["Total"].isNull())
|
||||
serviceStatisticDataObject.total.total = std::stol(totalNode["Total"].asString());
|
||||
if(!totalNode["ErrorNum"].isNull())
|
||||
serviceStatisticDataObject.total.errorNum = std::stol(totalNode["ErrorNum"].asString());
|
||||
auto projectInfoDataNode = value["ProjectInfoData"];
|
||||
if(!projectInfoDataNode["ProjectName"].isNull())
|
||||
serviceStatisticDataObject.projectInfoData.projectName = projectInfoDataNode["ProjectName"].asString();
|
||||
data_.monitorStatisticData.push_back(serviceStatisticDataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string FindProjectStatisticalDataResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
FindProjectStatisticalDataResult::Data FindProjectStatisticalDataResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int FindProjectStatisticalDataResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
84
csb/src/model/FindServiceCredentialStatisticalDataRequest.cc
Normal file
84
csb/src/model/FindServiceCredentialStatisticalDataRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/csb/model/FindServiceCredentialStatisticalDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CSB::Model::FindServiceCredentialStatisticalDataRequest;
|
||||
|
||||
FindServiceCredentialStatisticalDataRequest::FindServiceCredentialStatisticalDataRequest() :
|
||||
RpcServiceRequest("csb", "2017-11-18", "FindServiceCredentialStatisticalData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
FindServiceCredentialStatisticalDataRequest::~FindServiceCredentialStatisticalDataRequest()
|
||||
{}
|
||||
|
||||
long FindServiceCredentialStatisticalDataRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindServiceCredentialStatisticalDataRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
long FindServiceCredentialStatisticalDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void FindServiceCredentialStatisticalDataRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long FindServiceCredentialStatisticalDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void FindServiceCredentialStatisticalDataRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string FindServiceCredentialStatisticalDataRequest::getCredentialName()const
|
||||
{
|
||||
return credentialName_;
|
||||
}
|
||||
|
||||
void FindServiceCredentialStatisticalDataRequest::setCredentialName(const std::string& credentialName)
|
||||
{
|
||||
credentialName_ = credentialName;
|
||||
setParameter("CredentialName", credentialName);
|
||||
}
|
||||
|
||||
std::string FindServiceCredentialStatisticalDataRequest::getServiceNameVersion()const
|
||||
{
|
||||
return serviceNameVersion_;
|
||||
}
|
||||
|
||||
void FindServiceCredentialStatisticalDataRequest::setServiceNameVersion(const std::string& serviceNameVersion)
|
||||
{
|
||||
serviceNameVersion_ = serviceNameVersion;
|
||||
setParameter("ServiceNameVersion", serviceNameVersion);
|
||||
}
|
||||
|
||||
91
csb/src/model/FindServiceCredentialStatisticalDataResult.cc
Normal file
91
csb/src/model/FindServiceCredentialStatisticalDataResult.cc
Normal file
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* 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/csb/model/FindServiceCredentialStatisticalDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CSB;
|
||||
using namespace AlibabaCloud::CSB::Model;
|
||||
|
||||
FindServiceCredentialStatisticalDataResult::FindServiceCredentialStatisticalDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FindServiceCredentialStatisticalDataResult::FindServiceCredentialStatisticalDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FindServiceCredentialStatisticalDataResult::~FindServiceCredentialStatisticalDataResult()
|
||||
{}
|
||||
|
||||
void FindServiceCredentialStatisticalDataResult::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["CurrentPage"].isNull())
|
||||
data_.currentPage = std::stoi(dataNode["CurrentPage"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["Total"].isNull())
|
||||
data_.total = std::stol(dataNode["Total"].asString());
|
||||
auto allMonitorStatisticDataNode = dataNode["MonitorStatisticData"]["ServiceStatisticData"];
|
||||
for (auto dataNodeMonitorStatisticDataServiceStatisticData : allMonitorStatisticDataNode)
|
||||
{
|
||||
Data::ServiceStatisticData serviceStatisticDataObject;
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["AvgRt"].isNull())
|
||||
serviceStatisticDataObject.avgRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["AvgRt"].asString());
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["MaxRt"].isNull())
|
||||
serviceStatisticDataObject.maxRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["MaxRt"].asString());
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["MinRt"].isNull())
|
||||
serviceStatisticDataObject.minRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["MinRt"].asString());
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["ServiceName"].isNull())
|
||||
serviceStatisticDataObject.serviceName = dataNodeMonitorStatisticDataServiceStatisticData["ServiceName"].asString();
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["CredentialName"].isNull())
|
||||
serviceStatisticDataObject.credentialName = dataNodeMonitorStatisticDataServiceStatisticData["CredentialName"].asString();
|
||||
auto totalNode = value["Total"];
|
||||
if(!totalNode["Total"].isNull())
|
||||
serviceStatisticDataObject.total.total = std::stol(totalNode["Total"].asString());
|
||||
if(!totalNode["ErrorNum"].isNull())
|
||||
serviceStatisticDataObject.total.errorNum = std::stol(totalNode["ErrorNum"].asString());
|
||||
data_.monitorStatisticData.push_back(serviceStatisticDataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string FindServiceCredentialStatisticalDataResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
FindServiceCredentialStatisticalDataResult::Data FindServiceCredentialStatisticalDataResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int FindServiceCredentialStatisticalDataResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -82,6 +82,17 @@ void FindServiceListRequest::setCasShowType(int casShowType)
|
||||
setParameter("CasShowType", std::to_string(casShowType));
|
||||
}
|
||||
|
||||
int FindServiceListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void FindServiceListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string FindServiceListRequest::getAlias()const
|
||||
{
|
||||
return alias_;
|
||||
|
||||
@@ -60,14 +60,14 @@ void FindServiceStatisticalDataRequest::setStartTime(long startTime)
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string FindServiceStatisticalDataRequest::getServiceName()const
|
||||
std::string FindServiceStatisticalDataRequest::getServiceNameVersion()const
|
||||
{
|
||||
return serviceName_;
|
||||
return serviceNameVersion_;
|
||||
}
|
||||
|
||||
void FindServiceStatisticalDataRequest::setServiceName(const std::string& serviceName)
|
||||
void FindServiceStatisticalDataRequest::setServiceNameVersion(const std::string& serviceNameVersion)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setParameter("ServiceName", serviceName);
|
||||
serviceNameVersion_ = serviceNameVersion;
|
||||
setParameter("ServiceNameVersion", serviceNameVersion);
|
||||
}
|
||||
|
||||
|
||||
@@ -44,6 +44,8 @@ void FindServiceStatisticalDataResult::parse(const std::string &payload)
|
||||
data_.currentPage = std::stoi(dataNode["CurrentPage"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["Total"].isNull())
|
||||
data_.total = std::stol(dataNode["Total"].asString());
|
||||
auto allMonitorStatisticDataNode = dataNode["MonitorStatisticData"]["ServiceStatisticData"];
|
||||
for (auto dataNodeMonitorStatisticDataServiceStatisticData : allMonitorStatisticDataNode)
|
||||
{
|
||||
@@ -54,17 +56,13 @@ void FindServiceStatisticalDataResult::parse(const std::string &payload)
|
||||
serviceStatisticDataObject.maxRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["MaxRt"].asString());
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["MinRt"].isNull())
|
||||
serviceStatisticDataObject.minRt = std::stof(dataNodeMonitorStatisticDataServiceStatisticData["MinRt"].asString());
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["RequestTime"].isNull())
|
||||
serviceStatisticDataObject.requestTime = std::stol(dataNodeMonitorStatisticDataServiceStatisticData["RequestTime"].asString());
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["ServiceName"].isNull())
|
||||
serviceStatisticDataObject.serviceName = dataNodeMonitorStatisticDataServiceStatisticData["ServiceName"].asString();
|
||||
if(!dataNodeMonitorStatisticDataServiceStatisticData["UserId"].isNull())
|
||||
serviceStatisticDataObject.userId = dataNodeMonitorStatisticDataServiceStatisticData["UserId"].asString();
|
||||
auto totalNode = value["Total"];
|
||||
if(!totalNode["ErrorNum"].isNull())
|
||||
serviceStatisticDataObject.total.errorNum = std::stoi(totalNode["ErrorNum"].asString());
|
||||
if(!totalNode["Total"].isNull())
|
||||
serviceStatisticDataObject.total.total = std::stoi(totalNode["Total"].asString());
|
||||
serviceStatisticDataObject.total.total = std::stol(totalNode["Total"].asString());
|
||||
if(!totalNode["ErrorNum"].isNull())
|
||||
serviceStatisticDataObject.total.errorNum = std::stol(totalNode["ErrorNum"].asString());
|
||||
data_.monitorStatisticData.push_back(serviceStatisticDataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
29
csb/src/model/GetConsoleSLORequest.cc
Normal file
29
csb/src/model/GetConsoleSLORequest.cc
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/csb/model/GetConsoleSLORequest.h>
|
||||
|
||||
using AlibabaCloud::CSB::Model::GetConsoleSLORequest;
|
||||
|
||||
GetConsoleSLORequest::GetConsoleSLORequest() :
|
||||
RpcServiceRequest("csb", "2017-11-18", "GetConsoleSLO")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetConsoleSLORequest::~GetConsoleSLORequest()
|
||||
{}
|
||||
|
||||
65
csb/src/model/GetConsoleSLOResult.cc
Normal file
65
csb/src/model/GetConsoleSLOResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/csb/model/GetConsoleSLOResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CSB;
|
||||
using namespace AlibabaCloud::CSB::Model;
|
||||
|
||||
GetConsoleSLOResult::GetConsoleSLOResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetConsoleSLOResult::GetConsoleSLOResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetConsoleSLOResult::~GetConsoleSLOResult()
|
||||
{}
|
||||
|
||||
void GetConsoleSLOResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetConsoleSLOResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetConsoleSLOResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetConsoleSLOResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
29
csb/src/model/GetMetaServerSLORequest.cc
Normal file
29
csb/src/model/GetMetaServerSLORequest.cc
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/csb/model/GetMetaServerSLORequest.h>
|
||||
|
||||
using AlibabaCloud::CSB::Model::GetMetaServerSLORequest;
|
||||
|
||||
GetMetaServerSLORequest::GetMetaServerSLORequest() :
|
||||
RpcServiceRequest("csb", "2017-11-18", "GetMetaServerSLO")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetMetaServerSLORequest::~GetMetaServerSLORequest()
|
||||
{}
|
||||
|
||||
65
csb/src/model/GetMetaServerSLOResult.cc
Normal file
65
csb/src/model/GetMetaServerSLOResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/csb/model/GetMetaServerSLOResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CSB;
|
||||
using namespace AlibabaCloud::CSB::Model;
|
||||
|
||||
GetMetaServerSLOResult::GetMetaServerSLOResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetMetaServerSLOResult::GetMetaServerSLOResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetMetaServerSLOResult::~GetMetaServerSLOResult()
|
||||
{}
|
||||
|
||||
void GetMetaServerSLOResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetMetaServerSLOResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetMetaServerSLOResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetMetaServerSLOResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user