/* * 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 using AlibabaCloud::BssOpenApi::Model::QuerySettlementBillRequest; QuerySettlementBillRequest::QuerySettlementBillRequest() : RpcServiceRequest("bssopenapi", "2017-12-14", "QuerySettlementBill") {} QuerySettlementBillRequest::~QuerySettlementBillRequest() {} std::string QuerySettlementBillRequest::getProductCode()const { return productCode_; } void QuerySettlementBillRequest::setProductCode(const std::string& productCode) { productCode_ = productCode; setCoreParameter("ProductCode", productCode); } bool QuerySettlementBillRequest::getIsHideZeroCharge()const { return isHideZeroCharge_; } void QuerySettlementBillRequest::setIsHideZeroCharge(bool isHideZeroCharge) { isHideZeroCharge_ = isHideZeroCharge; setCoreParameter("IsHideZeroCharge", isHideZeroCharge ? "true" : "false"); } std::string QuerySettlementBillRequest::getSubscriptionType()const { return subscriptionType_; } void QuerySettlementBillRequest::setSubscriptionType(const std::string& subscriptionType) { subscriptionType_ = subscriptionType; setCoreParameter("SubscriptionType", subscriptionType); } int QuerySettlementBillRequest::getPageSize()const { return pageSize_; } void QuerySettlementBillRequest::setPageSize(int pageSize) { pageSize_ = pageSize; setCoreParameter("PageSize", std::to_string(pageSize)); } std::string QuerySettlementBillRequest::getEndTime()const { return endTime_; } void QuerySettlementBillRequest::setEndTime(const std::string& endTime) { endTime_ = endTime; setCoreParameter("EndTime", endTime); } std::string QuerySettlementBillRequest::getBillingCycle()const { return billingCycle_; } void QuerySettlementBillRequest::setBillingCycle(const std::string& billingCycle) { billingCycle_ = billingCycle; setCoreParameter("BillingCycle", billingCycle); } std::string QuerySettlementBillRequest::getStartTime()const { return startTime_; } void QuerySettlementBillRequest::setStartTime(const std::string& startTime) { startTime_ = startTime; setCoreParameter("StartTime", startTime); } long QuerySettlementBillRequest::getOwnerId()const { return ownerId_; } void QuerySettlementBillRequest::setOwnerId(long ownerId) { ownerId_ = ownerId; setCoreParameter("OwnerId", std::to_string(ownerId)); } int QuerySettlementBillRequest::getPageNum()const { return pageNum_; } void QuerySettlementBillRequest::setPageNum(int pageNum) { pageNum_ = pageNum; setCoreParameter("PageNum", std::to_string(pageNum)); } std::string QuerySettlementBillRequest::getType()const { return type_; } void QuerySettlementBillRequest::setType(const std::string& type) { type_ = type; setCoreParameter("Type", type); } std::string QuerySettlementBillRequest::getProductType()const { return productType_; } void QuerySettlementBillRequest::setProductType(const std::string& productType) { productType_ = productType; setCoreParameter("ProductType", productType); }