| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- /*
- * 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/vs/model/DescribeRecordsRequest.h>
- using AlibabaCloud::Vs::Model::DescribeRecordsRequest;
- DescribeRecordsRequest::DescribeRecordsRequest() :
- RpcServiceRequest("vs", "2018-12-12", "DescribeRecords")
- {
- setMethod(HttpRequest::Method::Post);
- }
- DescribeRecordsRequest::~DescribeRecordsRequest()
- {}
- std::string DescribeRecordsRequest::getSortDirection()const
- {
- return sortDirection_;
- }
- void DescribeRecordsRequest::setSortDirection(const std::string& sortDirection)
- {
- sortDirection_ = sortDirection;
- setParameter("SortDirection", sortDirection);
- }
- std::string DescribeRecordsRequest::getStartTime()const
- {
- return startTime_;
- }
- void DescribeRecordsRequest::setStartTime(const std::string& startTime)
- {
- startTime_ = startTime;
- setParameter("StartTime", startTime);
- }
- std::string DescribeRecordsRequest::getType()const
- {
- return type_;
- }
- void DescribeRecordsRequest::setType(const std::string& type)
- {
- type_ = type;
- setParameter("Type", type);
- }
- long DescribeRecordsRequest::getPageNum()const
- {
- return pageNum_;
- }
- void DescribeRecordsRequest::setPageNum(long pageNum)
- {
- pageNum_ = pageNum;
- setParameter("PageNum", std::to_string(pageNum));
- }
- bool DescribeRecordsRequest::getPrivateBucket()const
- {
- return privateBucket_;
- }
- void DescribeRecordsRequest::setPrivateBucket(bool privateBucket)
- {
- privateBucket_ = privateBucket;
- setParameter("PrivateBucket", privateBucket ? "true" : "false");
- }
- long DescribeRecordsRequest::getPageSize()const
- {
- return pageSize_;
- }
- void DescribeRecordsRequest::setPageSize(long pageSize)
- {
- pageSize_ = pageSize;
- setParameter("PageSize", std::to_string(pageSize));
- }
- std::string DescribeRecordsRequest::getShowLog()const
- {
- return showLog_;
- }
- void DescribeRecordsRequest::setShowLog(const std::string& showLog)
- {
- showLog_ = showLog;
- setParameter("ShowLog", showLog);
- }
- std::string DescribeRecordsRequest::getStreamId()const
- {
- return streamId_;
- }
- void DescribeRecordsRequest::setStreamId(const std::string& streamId)
- {
- streamId_ = streamId;
- setParameter("StreamId", streamId);
- }
- std::string DescribeRecordsRequest::getEndTime()const
- {
- return endTime_;
- }
- void DescribeRecordsRequest::setEndTime(const std::string& endTime)
- {
- endTime_ = endTime;
- setParameter("EndTime", endTime);
- }
- long DescribeRecordsRequest::getOwnerId()const
- {
- return ownerId_;
- }
- void DescribeRecordsRequest::setOwnerId(long ownerId)
- {
- ownerId_ = ownerId;
- setParameter("OwnerId", std::to_string(ownerId));
- }
- std::string DescribeRecordsRequest::getSortBy()const
- {
- return sortBy_;
- }
- void DescribeRecordsRequest::setSortBy(const std::string& sortBy)
- {
- sortBy_ = sortBy;
- setParameter("SortBy", sortBy);
- }
|