| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- /*
- * 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/ccc/model/ListCallDetailRecordsRequest.h>
- using AlibabaCloud::CCC::Model::ListCallDetailRecordsRequest;
- ListCallDetailRecordsRequest::ListCallDetailRecordsRequest() :
- RpcServiceRequest("ccc", "2017-07-05", "ListCallDetailRecords")
- {}
- ListCallDetailRecordsRequest::~ListCallDetailRecordsRequest()
- {}
- std::string ListCallDetailRecordsRequest::getInstanceId()const
- {
- return instanceId_;
- }
- void ListCallDetailRecordsRequest::setInstanceId(const std::string& instanceId)
- {
- instanceId_ = instanceId;
- setParameter("InstanceId", instanceId);
- }
- std::string ListCallDetailRecordsRequest::getContactDisposition()const
- {
- return contactDisposition_;
- }
- void ListCallDetailRecordsRequest::setContactDisposition(const std::string& contactDisposition)
- {
- contactDisposition_ = contactDisposition;
- setParameter("ContactDisposition", contactDisposition);
- }
- std::string ListCallDetailRecordsRequest::getContactType()const
- {
- return contactType_;
- }
- void ListCallDetailRecordsRequest::setContactType(const std::string& contactType)
- {
- contactType_ = contactType;
- setParameter("ContactType", contactType);
- }
- std::string ListCallDetailRecordsRequest::getCriteria()const
- {
- return criteria_;
- }
- void ListCallDetailRecordsRequest::setCriteria(const std::string& criteria)
- {
- criteria_ = criteria;
- setParameter("Criteria", criteria);
- }
- std::string ListCallDetailRecordsRequest::getPhoneNumber()const
- {
- return phoneNumber_;
- }
- void ListCallDetailRecordsRequest::setPhoneNumber(const std::string& phoneNumber)
- {
- phoneNumber_ = phoneNumber;
- setParameter("PhoneNumber", phoneNumber);
- }
- int ListCallDetailRecordsRequest::getPageSize()const
- {
- return pageSize_;
- }
- void ListCallDetailRecordsRequest::setPageSize(int pageSize)
- {
- pageSize_ = pageSize;
- setParameter("PageSize", std::to_string(pageSize));
- }
- std::string ListCallDetailRecordsRequest::getOrderBy()const
- {
- return orderBy_;
- }
- void ListCallDetailRecordsRequest::setOrderBy(const std::string& orderBy)
- {
- orderBy_ = orderBy;
- setParameter("OrderBy", orderBy);
- }
- long ListCallDetailRecordsRequest::getStopTime()const
- {
- return stopTime_;
- }
- void ListCallDetailRecordsRequest::setStopTime(long stopTime)
- {
- stopTime_ = stopTime;
- setParameter("StopTime", std::to_string(stopTime));
- }
- long ListCallDetailRecordsRequest::getStartTime()const
- {
- return startTime_;
- }
- void ListCallDetailRecordsRequest::setStartTime(long startTime)
- {
- startTime_ = startTime;
- setParameter("StartTime", std::to_string(startTime));
- }
- int ListCallDetailRecordsRequest::getPageNumber()const
- {
- return pageNumber_;
- }
- void ListCallDetailRecordsRequest::setPageNumber(int pageNumber)
- {
- pageNumber_ = pageNumber;
- setParameter("PageNumber", std::to_string(pageNumber));
- }
- std::string ListCallDetailRecordsRequest::getAccessKeyId()const
- {
- return accessKeyId_;
- }
- void ListCallDetailRecordsRequest::setAccessKeyId(const std::string& accessKeyId)
- {
- accessKeyId_ = accessKeyId;
- setParameter("AccessKeyId", accessKeyId);
- }
- bool ListCallDetailRecordsRequest::getWithRecording()const
- {
- return withRecording_;
- }
- void ListCallDetailRecordsRequest::setWithRecording(bool withRecording)
- {
- withRecording_ = withRecording;
- setParameter("WithRecording", std::to_string(withRecording));
- }
|