Add prometheus ListDashboards api.

This commit is contained in:
sdk-team
2020-04-29 23:13:32 +08:00
parent 92be79728f
commit b1e2187ca5
19 changed files with 1004 additions and 1 deletions

View File

@@ -123,6 +123,42 @@ ARMSClient::AddIntegrationOutcomeCallable ARMSClient::addIntegrationCallable(con
return task->get_future();
}
ARMSClient::CheckDataConsistencyOutcome ARMSClient::checkDataConsistency(const CheckDataConsistencyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CheckDataConsistencyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CheckDataConsistencyOutcome(CheckDataConsistencyResult(outcome.result()));
else
return CheckDataConsistencyOutcome(outcome.error());
}
void ARMSClient::checkDataConsistencyAsync(const CheckDataConsistencyRequest& request, const CheckDataConsistencyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, checkDataConsistency(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::CheckDataConsistencyOutcomeCallable ARMSClient::checkDataConsistencyCallable(const CheckDataConsistencyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CheckDataConsistencyOutcome()>>(
[this, request]()
{
return this->checkDataConsistency(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::CreateAlertContactOutcome ARMSClient::createAlertContact(const CreateAlertContactRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -375,6 +411,42 @@ ARMSClient::DeleteRetcodeAppOutcomeCallable ARMSClient::deleteRetcodeAppCallable
return task->get_future();
}
ARMSClient::GetConsistencySnapshotOutcome ARMSClient::getConsistencySnapshot(const GetConsistencySnapshotRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetConsistencySnapshotOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetConsistencySnapshotOutcome(GetConsistencySnapshotResult(outcome.result()));
else
return GetConsistencySnapshotOutcome(outcome.error());
}
void ARMSClient::getConsistencySnapshotAsync(const GetConsistencySnapshotRequest& request, const GetConsistencySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getConsistencySnapshot(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetConsistencySnapshotOutcomeCallable ARMSClient::getConsistencySnapshotCallable(const GetConsistencySnapshotRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetConsistencySnapshotOutcome()>>(
[this, request]()
{
return this->getConsistencySnapshot(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetPrometheusApiTokenOutcome ARMSClient::getPrometheusApiToken(const GetPrometheusApiTokenRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -591,6 +663,42 @@ ARMSClient::ListClusterFromGrafanaOutcomeCallable ARMSClient::listClusterFromGra
return task->get_future();
}
ARMSClient::ListDashboardsOutcome ARMSClient::listDashboards(const ListDashboardsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListDashboardsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListDashboardsOutcome(ListDashboardsResult(outcome.result()));
else
return ListDashboardsOutcome(outcome.error());
}
void ARMSClient::listDashboardsAsync(const ListDashboardsRequest& request, const ListDashboardsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listDashboards(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::ListDashboardsOutcomeCallable ARMSClient::listDashboardsCallable(const ListDashboardsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListDashboardsOutcome()>>(
[this, request]()
{
return this->listDashboards(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::ListPromClustersOutcome ARMSClient::listPromClusters(const ListPromClustersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/CheckDataConsistencyRequest.h>
using AlibabaCloud::ARMS::Model::CheckDataConsistencyRequest;
CheckDataConsistencyRequest::CheckDataConsistencyRequest() :
RpcServiceRequest("arms", "2019-08-08", "CheckDataConsistency")
{
setMethod(HttpRequest::Method::Post);
}
CheckDataConsistencyRequest::~CheckDataConsistencyRequest()
{}
long CheckDataConsistencyRequest::getCurrentTimestamp()const
{
return currentTimestamp_;
}
void CheckDataConsistencyRequest::setCurrentTimestamp(long currentTimestamp)
{
currentTimestamp_ = currentTimestamp;
setParameter("CurrentTimestamp", std::to_string(currentTimestamp));
}
std::string CheckDataConsistencyRequest::getRegionId()const
{
return regionId_;
}
void CheckDataConsistencyRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CheckDataConsistencyRequest::getAppType()const
{
return appType_;
}
void CheckDataConsistencyRequest::setAppType(const std::string& appType)
{
appType_ = appType;
setParameter("AppType", appType);
}
std::string CheckDataConsistencyRequest::getPid()const
{
return pid_;
}
void CheckDataConsistencyRequest::setPid(const std::string& pid)
{
pid_ = pid;
setParameter("Pid", pid);
}
std::string CheckDataConsistencyRequest::getProxyUserId()const
{
return proxyUserId_;
}
void CheckDataConsistencyRequest::setProxyUserId(const std::string& proxyUserId)
{
proxyUserId_ = proxyUserId;
setParameter("ProxyUserId", proxyUserId);
}

View File

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

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetConsistencySnapshotRequest.h>
using AlibabaCloud::ARMS::Model::GetConsistencySnapshotRequest;
GetConsistencySnapshotRequest::GetConsistencySnapshotRequest() :
RpcServiceRequest("arms", "2019-08-08", "GetConsistencySnapshot")
{
setMethod(HttpRequest::Method::Post);
}
GetConsistencySnapshotRequest::~GetConsistencySnapshotRequest()
{}
long GetConsistencySnapshotRequest::getCurrentTimestamp()const
{
return currentTimestamp_;
}
void GetConsistencySnapshotRequest::setCurrentTimestamp(long currentTimestamp)
{
currentTimestamp_ = currentTimestamp;
setParameter("CurrentTimestamp", std::to_string(currentTimestamp));
}
std::string GetConsistencySnapshotRequest::getRegionId()const
{
return regionId_;
}
void GetConsistencySnapshotRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetConsistencySnapshotRequest::getAppType()const
{
return appType_;
}
void GetConsistencySnapshotRequest::setAppType(const std::string& appType)
{
appType_ = appType;
setParameter("AppType", appType);
}
std::string GetConsistencySnapshotRequest::getPid()const
{
return pid_;
}
void GetConsistencySnapshotRequest::setPid(const std::string& pid)
{
pid_ = pid;
setParameter("Pid", pid);
}
std::string GetConsistencySnapshotRequest::getProxyUserId()const
{
return proxyUserId_;
}
void GetConsistencySnapshotRequest::setProxyUserId(const std::string& proxyUserId)
{
proxyUserId_ = proxyUserId;
setParameter("ProxyUserId", proxyUserId);
}

View File

@@ -0,0 +1,110 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetConsistencySnapshotResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetConsistencySnapshotResult::GetConsistencySnapshotResult() :
ServiceResult()
{}
GetConsistencySnapshotResult::GetConsistencySnapshotResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetConsistencySnapshotResult::~GetConsistencySnapshotResult()
{}
void GetConsistencySnapshotResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto consistencyResultNode = value["ConsistencyResult"];
if(!consistencyResultNode["JudgeTimestamp"].isNull())
consistencyResult_.judgeTimestamp = std::stol(consistencyResultNode["JudgeTimestamp"].asString());
if(!consistencyResultNode["LastSlsShardWatermarkTimestamp"].isNull())
consistencyResult_.lastSlsShardWatermarkTimestamp = std::stol(consistencyResultNode["LastSlsShardWatermarkTimestamp"].asString());
if(!consistencyResultNode["LastAgentInfoTimestamp"].isNull())
consistencyResult_.lastAgentInfoTimestamp = std::stol(consistencyResultNode["LastAgentInfoTimestamp"].asString());
if(!consistencyResultNode["BarrierPointsLastTimestampMap"].isNull())
consistencyResult_.barrierPointsLastTimestampMap = consistencyResultNode["BarrierPointsLastTimestampMap"].asString();
if(!consistencyResultNode["LastBarrierTimestamp"].isNull())
consistencyResult_.lastBarrierTimestamp = std::stol(consistencyResultNode["LastBarrierTimestamp"].asString());
auto allAgentHeartbeatInfosNode = consistencyResultNode["AgentHeartbeatInfos"]["AgentHeartbeatInfo"];
for (auto consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo : allAgentHeartbeatInfosNode)
{
ConsistencyResult::AgentHeartbeatInfo agentHeartbeatInfoObject;
if(!consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["RegionId"].isNull())
agentHeartbeatInfoObject.regionId = consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["RegionId"].asString();
if(!consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["AppType"].isNull())
agentHeartbeatInfoObject.appType = consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["AppType"].asString();
if(!consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["Pid"].isNull())
agentHeartbeatInfoObject.pid = consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["Pid"].asString();
if(!consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["Ip"].isNull())
agentHeartbeatInfoObject.ip = consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["Ip"].asString();
if(!consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["StartTimestamp"].isNull())
agentHeartbeatInfoObject.startTimestamp = std::stol(consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["StartTimestamp"].asString());
if(!consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["Hostname"].isNull())
agentHeartbeatInfoObject.hostname = consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["Hostname"].asString();
if(!consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["ProcId"].isNull())
agentHeartbeatInfoObject.procId = consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["ProcId"].asString();
if(!consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["AgentVersion"].isNull())
agentHeartbeatInfoObject.agentVersion = consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["AgentVersion"].asString();
if(!consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["LastHeartbeatTime"].isNull())
agentHeartbeatInfoObject.lastHeartbeatTime = std::stol(consistencyResultNodeAgentHeartbeatInfosAgentHeartbeatInfo["LastHeartbeatTime"].asString());
consistencyResult_.agentHeartbeatInfos.push_back(agentHeartbeatInfoObject);
}
auto slsShardWatermarkBeanNode = consistencyResultNode["SlsShardWatermarkBean"];
if(!slsShardWatermarkBeanNode["Pid"].isNull())
consistencyResult_.slsShardWatermarkBean.pid = slsShardWatermarkBeanNode["Pid"].asString();
if(!slsShardWatermarkBeanNode["UserId"].isNull())
consistencyResult_.slsShardWatermarkBean.userId = slsShardWatermarkBeanNode["UserId"].asString();
if(!slsShardWatermarkBeanNode["RegionId"].isNull())
consistencyResult_.slsShardWatermarkBean.regionId = slsShardWatermarkBeanNode["RegionId"].asString();
if(!slsShardWatermarkBeanNode["AppType"].isNull())
consistencyResult_.slsShardWatermarkBean.appType = slsShardWatermarkBeanNode["AppType"].asString();
auto allCheckPointResponsesNode = slsShardWatermarkBeanNode["CheckPointResponses"]["CheckPointResponse"];
for (auto slsShardWatermarkBeanNodeCheckPointResponsesCheckPointResponse : allCheckPointResponsesNode)
{
ConsistencyResult::SlsShardWatermarkBean::CheckPointResponse checkPointResponseObject;
if(!slsShardWatermarkBeanNodeCheckPointResponsesCheckPointResponse["Shard"].isNull())
checkPointResponseObject.shard = std::stoi(slsShardWatermarkBeanNodeCheckPointResponsesCheckPointResponse["Shard"].asString());
if(!slsShardWatermarkBeanNodeCheckPointResponsesCheckPointResponse["CheckPoint"].isNull())
checkPointResponseObject.checkPoint = slsShardWatermarkBeanNodeCheckPointResponsesCheckPointResponse["CheckPoint"].asString();
if(!slsShardWatermarkBeanNodeCheckPointResponsesCheckPointResponse["UpdateTime"].isNull())
checkPointResponseObject.updateTime = std::stol(slsShardWatermarkBeanNodeCheckPointResponsesCheckPointResponse["UpdateTime"].asString());
if(!slsShardWatermarkBeanNodeCheckPointResponsesCheckPointResponse["Consumer"].isNull())
checkPointResponseObject.consumer = slsShardWatermarkBeanNodeCheckPointResponsesCheckPointResponse["Consumer"].asString();
consistencyResult_.slsShardWatermarkBean.checkPointResponses.push_back(checkPointResponseObject);
}
auto allCursorUpdateTimes = slsShardWatermarkBeanNode["CursorUpdateTimes"]["CursorUpdateTime"];
for (auto value : allCursorUpdateTimes)
consistencyResult_.slsShardWatermarkBean.cursorUpdateTimes.push_back(value.asString());
}
GetConsistencySnapshotResult::ConsistencyResult GetConsistencySnapshotResult::getConsistencyResult()const
{
return consistencyResult_;
}

View File

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

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/ListDashboardsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
ListDashboardsResult::ListDashboardsResult() :
ServiceResult()
{}
ListDashboardsResult::ListDashboardsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListDashboardsResult::~ListDashboardsResult()
{}
void ListDashboardsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDashboardVosNode = value["DashboardVos"]["DashboardVosItem"];
for (auto valueDashboardVosDashboardVosItem : allDashboardVosNode)
{
DashboardVosItem dashboardVosObject;
if(!valueDashboardVosDashboardVosItem["Id"].isNull())
dashboardVosObject.id = valueDashboardVosDashboardVosItem["Id"].asString();
if(!valueDashboardVosDashboardVosItem["Uid"].isNull())
dashboardVosObject.uid = valueDashboardVosDashboardVosItem["Uid"].asString();
if(!valueDashboardVosDashboardVosItem["Title"].isNull())
dashboardVosObject.title = valueDashboardVosDashboardVosItem["Title"].asString();
if(!valueDashboardVosDashboardVosItem["Time"].isNull())
dashboardVosObject.time = valueDashboardVosDashboardVosItem["Time"].asString();
if(!valueDashboardVosDashboardVosItem["Url"].isNull())
dashboardVosObject.url = valueDashboardVosDashboardVosItem["Url"].asString();
if(!valueDashboardVosDashboardVosItem["Type"].isNull())
dashboardVosObject.type = valueDashboardVosDashboardVosItem["Type"].asString();
if(!valueDashboardVosDashboardVosItem["Exporter"].isNull())
dashboardVosObject.exporter = valueDashboardVosDashboardVosItem["Exporter"].asString();
if(!valueDashboardVosDashboardVosItem["IsArmsExporter"].isNull())
dashboardVosObject.isArmsExporter = valueDashboardVosDashboardVosItem["IsArmsExporter"].asString() == "true";
auto allTags = value["Tags"]["Tags"];
for (auto value : allTags)
dashboardVosObject.tags.push_back(value.asString());
dashboardVos_.push_back(dashboardVosObject);
}
}
std::vector<ListDashboardsResult::DashboardVosItem> ListDashboardsResult::getDashboardVos()const
{
return dashboardVos_;
}

View File

@@ -27,6 +27,17 @@ QueryMetricRequest::QueryMetricRequest() :
QueryMetricRequest::~QueryMetricRequest()
{}
std::string QueryMetricRequest::getConsistencyQueryStrategy()const
{
return consistencyQueryStrategy_;
}
void QueryMetricRequest::setConsistencyQueryStrategy(const std::string& consistencyQueryStrategy)
{
consistencyQueryStrategy_ = consistencyQueryStrategy;
setParameter("ConsistencyQueryStrategy", consistencyQueryStrategy);
}
long QueryMetricRequest::getEndTime()const
{
return endTime_;
@@ -76,6 +87,17 @@ void QueryMetricRequest::setFilters(const std::vector<Filters>& filters)
}
}
std::string QueryMetricRequest::getConsistencyDataKey()const
{
return consistencyDataKey_;
}
void QueryMetricRequest::setConsistencyDataKey(const std::string& consistencyDataKey)
{
consistencyDataKey_ = consistencyDataKey;
setParameter("ConsistencyDataKey", consistencyDataKey);
}
std::string QueryMetricRequest::getProxyUserId()const
{
return proxyUserId_;