/* * 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 using AlibabaCloud::Quickbi_public::Model::QueryReportPerformanceRequest; QueryReportPerformanceRequest::QueryReportPerformanceRequest() : RpcServiceRequest("quickbi-public", "2022-01-01", "QueryReportPerformance") { setMethod(HttpRequest::Method::Post); } QueryReportPerformanceRequest::~QueryReportPerformanceRequest() {} std::string QueryReportPerformanceRequest::getReportId() const { return reportId_; } void QueryReportPerformanceRequest::setReportId(const std::string &reportId) { reportId_ = reportId; setParameter(std::string("ReportId"), reportId); } std::string QueryReportPerformanceRequest::getAccessPoint() const { return accessPoint_; } void QueryReportPerformanceRequest::setAccessPoint(const std::string &accessPoint) { accessPoint_ = accessPoint; setParameter(std::string("AccessPoint"), accessPoint); } std::string QueryReportPerformanceRequest::getSignType() const { return signType_; } void QueryReportPerformanceRequest::setSignType(const std::string &signType) { signType_ = signType; setParameter(std::string("SignType"), signType); } int QueryReportPerformanceRequest::getPageNum() const { return pageNum_; } void QueryReportPerformanceRequest::setPageNum(int pageNum) { pageNum_ = pageNum; setParameter(std::string("PageNum"), std::to_string(pageNum)); } std::string QueryReportPerformanceRequest::getResourceType() const { return resourceType_; } void QueryReportPerformanceRequest::setResourceType(const std::string &resourceType) { resourceType_ = resourceType; setParameter(std::string("ResourceType"), resourceType); } int QueryReportPerformanceRequest::getPageSize() const { return pageSize_; } void QueryReportPerformanceRequest::setPageSize(int pageSize) { pageSize_ = pageSize; setParameter(std::string("PageSize"), std::to_string(pageSize)); } int QueryReportPerformanceRequest::getCostTimeAvgMin() const { return costTimeAvgMin_; } void QueryReportPerformanceRequest::setCostTimeAvgMin(int costTimeAvgMin) { costTimeAvgMin_ = costTimeAvgMin; setParameter(std::string("CostTimeAvgMin"), std::to_string(costTimeAvgMin)); } std::string QueryReportPerformanceRequest::getQueryType() const { return queryType_; } void QueryReportPerformanceRequest::setQueryType(const std::string &queryType) { queryType_ = queryType; setParameter(std::string("QueryType"), queryType); } std::string QueryReportPerformanceRequest::getWorkspaceId() const { return workspaceId_; } void QueryReportPerformanceRequest::setWorkspaceId(const std::string &workspaceId) { workspaceId_ = workspaceId; setParameter(std::string("WorkspaceId"), workspaceId); }