| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- /*
- * 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/sddp/model/DescribeAuditLogsRequest.h>
- using AlibabaCloud::Sddp::Model::DescribeAuditLogsRequest;
- DescribeAuditLogsRequest::DescribeAuditLogsRequest() :
- RpcServiceRequest("sddp", "2019-01-03", "DescribeAuditLogs")
- {
- setMethod(HttpRequest::Method::Post);
- }
- DescribeAuditLogsRequest::~DescribeAuditLogsRequest()
- {}
- int DescribeAuditLogsRequest::getProductCode()const
- {
- return productCode_;
- }
- void DescribeAuditLogsRequest::setProductCode(int productCode)
- {
- productCode_ = productCode;
- setParameter("ProductCode", std::to_string(productCode));
- }
- long DescribeAuditLogsRequest::getProductId()const
- {
- return productId_;
- }
- void DescribeAuditLogsRequest::setProductId(long productId)
- {
- productId_ = productId;
- setParameter("ProductId", std::to_string(productId));
- }
- long DescribeAuditLogsRequest::getStartTime()const
- {
- return startTime_;
- }
- void DescribeAuditLogsRequest::setStartTime(long startTime)
- {
- startTime_ = startTime;
- setParameter("StartTime", std::to_string(startTime));
- }
- std::string DescribeAuditLogsRequest::getSourceIp()const
- {
- return sourceIp_;
- }
- void DescribeAuditLogsRequest::setSourceIp(const std::string& sourceIp)
- {
- sourceIp_ = sourceIp;
- setParameter("SourceIp", sourceIp);
- }
- std::string DescribeAuditLogsRequest::getClientIp()const
- {
- return clientIp_;
- }
- void DescribeAuditLogsRequest::setClientIp(const std::string& clientIp)
- {
- clientIp_ = clientIp;
- setParameter("ClientIp", clientIp);
- }
- int DescribeAuditLogsRequest::getPageSize()const
- {
- return pageSize_;
- }
- void DescribeAuditLogsRequest::setPageSize(int pageSize)
- {
- pageSize_ = pageSize;
- setParameter("PageSize", std::to_string(pageSize));
- }
- std::string DescribeAuditLogsRequest::getLang()const
- {
- return lang_;
- }
- void DescribeAuditLogsRequest::setLang(const std::string& lang)
- {
- lang_ = lang;
- setParameter("Lang", lang);
- }
- int DescribeAuditLogsRequest::getFeatureType()const
- {
- return featureType_;
- }
- void DescribeAuditLogsRequest::setFeatureType(int featureType)
- {
- featureType_ = featureType;
- setParameter("FeatureType", std::to_string(featureType));
- }
- long DescribeAuditLogsRequest::getEndTime()const
- {
- return endTime_;
- }
- void DescribeAuditLogsRequest::setEndTime(long endTime)
- {
- endTime_ = endTime;
- setParameter("EndTime", std::to_string(endTime));
- }
- int DescribeAuditLogsRequest::getCurrentPage()const
- {
- return currentPage_;
- }
- void DescribeAuditLogsRequest::setCurrentPage(int currentPage)
- {
- currentPage_ = currentPage;
- setParameter("CurrentPage", std::to_string(currentPage));
- }
- std::string DescribeAuditLogsRequest::getClientUa()const
- {
- return clientUa_;
- }
- void DescribeAuditLogsRequest::setClientUa(const std::string& clientUa)
- {
- clientUa_ = clientUa;
- setParameter("ClientUa", clientUa);
- }
- std::string DescribeAuditLogsRequest::getInstanceName()const
- {
- return instanceName_;
- }
- void DescribeAuditLogsRequest::setInstanceName(const std::string& instanceName)
- {
- instanceName_ = instanceName;
- setParameter("InstanceName", instanceName);
- }
- std::string DescribeAuditLogsRequest::getUserName()const
- {
- return userName_;
- }
- void DescribeAuditLogsRequest::setUserName(const std::string& userName)
- {
- userName_ = userName;
- setParameter("UserName", userName);
- }
|