Add Statistics API.

This commit is contained in:
sdk-team
2020-04-21 09:54:00 +08:00
parent cc6cea96e4
commit 3dd38f70c2
47 changed files with 2718 additions and 23 deletions

View File

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

View File

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

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

View File

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