| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- /*
- * 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/outboundbot/model/QueryJobsRequest.h>
- using AlibabaCloud::OutboundBot::Model::QueryJobsRequest;
- QueryJobsRequest::QueryJobsRequest() :
- RpcServiceRequest("outboundbot", "2019-12-26", "QueryJobs")
- {
- setMethod(HttpRequest::Method::Post);
- }
- QueryJobsRequest::~QueryJobsRequest()
- {}
- std::string QueryJobsRequest::getTimeAlignment()const
- {
- return timeAlignment_;
- }
- void QueryJobsRequest::setTimeAlignment(const std::string& timeAlignment)
- {
- timeAlignment_ = timeAlignment;
- setParameter("TimeAlignment", timeAlignment);
- }
- std::string QueryJobsRequest::getPhoneNumber()const
- {
- return phoneNumber_;
- }
- void QueryJobsRequest::setPhoneNumber(const std::string& phoneNumber)
- {
- phoneNumber_ = phoneNumber;
- setParameter("PhoneNumber", phoneNumber);
- }
- long QueryJobsRequest::getEndTime()const
- {
- return endTime_;
- }
- void QueryJobsRequest::setEndTime(long endTime)
- {
- endTime_ = endTime;
- setParameter("EndTime", std::to_string(endTime));
- }
- long QueryJobsRequest::getStartTime()const
- {
- return startTime_;
- }
- void QueryJobsRequest::setStartTime(long startTime)
- {
- startTime_ = startTime;
- setParameter("StartTime", std::to_string(startTime));
- }
- int QueryJobsRequest::getPageNumber()const
- {
- return pageNumber_;
- }
- void QueryJobsRequest::setPageNumber(int pageNumber)
- {
- pageNumber_ = pageNumber;
- setParameter("PageNumber", std::to_string(pageNumber));
- }
- std::string QueryJobsRequest::getContactName()const
- {
- return contactName_;
- }
- void QueryJobsRequest::setContactName(const std::string& contactName)
- {
- contactName_ = contactName;
- setParameter("ContactName", contactName);
- }
- std::string QueryJobsRequest::getInstanceId()const
- {
- return instanceId_;
- }
- void QueryJobsRequest::setInstanceId(const std::string& instanceId)
- {
- instanceId_ = instanceId;
- setParameter("InstanceId", instanceId);
- }
- std::string QueryJobsRequest::getJobGroupId()const
- {
- return jobGroupId_;
- }
- void QueryJobsRequest::setJobGroupId(const std::string& jobGroupId)
- {
- jobGroupId_ = jobGroupId;
- setParameter("JobGroupId", jobGroupId);
- }
- int QueryJobsRequest::getPageSize()const
- {
- return pageSize_;
- }
- void QueryJobsRequest::setPageSize(int pageSize)
- {
- pageSize_ = pageSize;
- setParameter("PageSize", std::to_string(pageSize));
- }
- std::string QueryJobsRequest::getScenarioId()const
- {
- return scenarioId_;
- }
- void QueryJobsRequest::setScenarioId(const std::string& scenarioId)
- {
- scenarioId_ = scenarioId;
- setParameter("ScenarioId", scenarioId);
- }
|