111 lines
3.0 KiB
C++
111 lines
3.0 KiB
C++
/*
|
|
* 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/scsp/model/GetHotlineGroupDetailReportRequest.h>
|
|
|
|
using AlibabaCloud::Scsp::Model::GetHotlineGroupDetailReportRequest;
|
|
|
|
GetHotlineGroupDetailReportRequest::GetHotlineGroupDetailReportRequest() :
|
|
RpcServiceRequest("scsp", "2020-07-02", "GetHotlineGroupDetailReport")
|
|
{
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
GetHotlineGroupDetailReportRequest::~GetHotlineGroupDetailReportRequest()
|
|
{}
|
|
|
|
std::vector<long> GetHotlineGroupDetailReportRequest::getDepIds()const
|
|
{
|
|
return depIds_;
|
|
}
|
|
|
|
void GetHotlineGroupDetailReportRequest::setDepIds(const std::vector<long>& depIds)
|
|
{
|
|
depIds_ = depIds;
|
|
for(int dep1 = 0; dep1!= depIds.size(); dep1++) {
|
|
setParameter("DepIds."+ std::to_string(dep1), std::to_string(depIds.at(dep1)));
|
|
}
|
|
}
|
|
|
|
long GetHotlineGroupDetailReportRequest::getEndDate()const
|
|
{
|
|
return endDate_;
|
|
}
|
|
|
|
void GetHotlineGroupDetailReportRequest::setEndDate(long endDate)
|
|
{
|
|
endDate_ = endDate;
|
|
setParameter("EndDate", std::to_string(endDate));
|
|
}
|
|
|
|
std::string GetHotlineGroupDetailReportRequest::getInstanceId()const
|
|
{
|
|
return instanceId_;
|
|
}
|
|
|
|
void GetHotlineGroupDetailReportRequest::setInstanceId(const std::string& instanceId)
|
|
{
|
|
instanceId_ = instanceId;
|
|
setParameter("InstanceId", instanceId);
|
|
}
|
|
|
|
std::vector<long> GetHotlineGroupDetailReportRequest::getGroupIds()const
|
|
{
|
|
return groupIds_;
|
|
}
|
|
|
|
void GetHotlineGroupDetailReportRequest::setGroupIds(const std::vector<long>& groupIds)
|
|
{
|
|
groupIds_ = groupIds;
|
|
for(int dep1 = 0; dep1!= groupIds.size(); dep1++) {
|
|
setParameter("GroupIds."+ std::to_string(dep1), std::to_string(groupIds.at(dep1)));
|
|
}
|
|
}
|
|
|
|
int GetHotlineGroupDetailReportRequest::getPageSize()const
|
|
{
|
|
return pageSize_;
|
|
}
|
|
|
|
void GetHotlineGroupDetailReportRequest::setPageSize(int pageSize)
|
|
{
|
|
pageSize_ = pageSize;
|
|
setParameter("PageSize", std::to_string(pageSize));
|
|
}
|
|
|
|
int GetHotlineGroupDetailReportRequest::getCurrentPage()const
|
|
{
|
|
return currentPage_;
|
|
}
|
|
|
|
void GetHotlineGroupDetailReportRequest::setCurrentPage(int currentPage)
|
|
{
|
|
currentPage_ = currentPage;
|
|
setParameter("CurrentPage", std::to_string(currentPage));
|
|
}
|
|
|
|
long GetHotlineGroupDetailReportRequest::getStartDate()const
|
|
{
|
|
return startDate_;
|
|
}
|
|
|
|
void GetHotlineGroupDetailReportRequest::setStartDate(long startDate)
|
|
{
|
|
startDate_ = startDate;
|
|
setParameter("StartDate", std::to_string(startDate));
|
|
}
|
|
|