| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- /*
- * 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/bssopenapi/model/ChangeResellerConsumeAmountRequest.h>
- using AlibabaCloud::BssOpenApi::Model::ChangeResellerConsumeAmountRequest;
- ChangeResellerConsumeAmountRequest::ChangeResellerConsumeAmountRequest()
- : RpcServiceRequest("bssopenapi", "2017-12-14", "ChangeResellerConsumeAmount") {
- setMethod(HttpRequest::Method::Post);
- }
- ChangeResellerConsumeAmountRequest::~ChangeResellerConsumeAmountRequest() {}
- std::string ChangeResellerConsumeAmountRequest::getAmount() const {
- return amount_;
- }
- void ChangeResellerConsumeAmountRequest::setAmount(const std::string &amount) {
- amount_ = amount;
- setParameter(std::string("Amount"), amount);
- }
- std::string ChangeResellerConsumeAmountRequest::getOutBizId() const {
- return outBizId_;
- }
- void ChangeResellerConsumeAmountRequest::setOutBizId(const std::string &outBizId) {
- outBizId_ = outBizId;
- setParameter(std::string("OutBizId"), outBizId);
- }
- std::string ChangeResellerConsumeAmountRequest::getSource() const {
- return source_;
- }
- void ChangeResellerConsumeAmountRequest::setSource(const std::string &source) {
- source_ = source;
- setParameter(std::string("Source"), source);
- }
- long ChangeResellerConsumeAmountRequest::getOwnerId() const {
- return ownerId_;
- }
- void ChangeResellerConsumeAmountRequest::setOwnerId(long ownerId) {
- ownerId_ = ownerId;
- setParameter(std::string("OwnerId"), std::to_string(ownerId));
- }
- std::string ChangeResellerConsumeAmountRequest::getBusinessType() const {
- return businessType_;
- }
- void ChangeResellerConsumeAmountRequest::setBusinessType(const std::string &businessType) {
- businessType_ = businessType;
- setParameter(std::string("BusinessType"), businessType);
- }
- std::string ChangeResellerConsumeAmountRequest::getAdjustType() const {
- return adjustType_;
- }
- void ChangeResellerConsumeAmountRequest::setAdjustType(const std::string &adjustType) {
- adjustType_ = adjustType;
- setParameter(std::string("AdjustType"), adjustType);
- }
- std::string ChangeResellerConsumeAmountRequest::getExtendMap() const {
- return extendMap_;
- }
- void ChangeResellerConsumeAmountRequest::setExtendMap(const std::string &extendMap) {
- extendMap_ = extendMap;
- setParameter(std::string("ExtendMap"), extendMap);
- }
- std::string ChangeResellerConsumeAmountRequest::getCurrency() const {
- return currency_;
- }
- void ChangeResellerConsumeAmountRequest::setCurrency(const std::string ¤cy) {
- currency_ = currency;
- setParameter(std::string("Currency"), currency);
- }
|