ChangeResellerConsumeAmountRequest.cc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /*
  2. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #include <alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountRequest.h>
  17. using AlibabaCloud::BssOpenApi::Model::ChangeResellerConsumeAmountRequest;
  18. ChangeResellerConsumeAmountRequest::ChangeResellerConsumeAmountRequest()
  19. : RpcServiceRequest("bssopenapi", "2017-12-14", "ChangeResellerConsumeAmount") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. ChangeResellerConsumeAmountRequest::~ChangeResellerConsumeAmountRequest() {}
  23. std::string ChangeResellerConsumeAmountRequest::getAmount() const {
  24. return amount_;
  25. }
  26. void ChangeResellerConsumeAmountRequest::setAmount(const std::string &amount) {
  27. amount_ = amount;
  28. setParameter(std::string("Amount"), amount);
  29. }
  30. std::string ChangeResellerConsumeAmountRequest::getOutBizId() const {
  31. return outBizId_;
  32. }
  33. void ChangeResellerConsumeAmountRequest::setOutBizId(const std::string &outBizId) {
  34. outBizId_ = outBizId;
  35. setParameter(std::string("OutBizId"), outBizId);
  36. }
  37. std::string ChangeResellerConsumeAmountRequest::getSource() const {
  38. return source_;
  39. }
  40. void ChangeResellerConsumeAmountRequest::setSource(const std::string &source) {
  41. source_ = source;
  42. setParameter(std::string("Source"), source);
  43. }
  44. long ChangeResellerConsumeAmountRequest::getOwnerId() const {
  45. return ownerId_;
  46. }
  47. void ChangeResellerConsumeAmountRequest::setOwnerId(long ownerId) {
  48. ownerId_ = ownerId;
  49. setParameter(std::string("OwnerId"), std::to_string(ownerId));
  50. }
  51. std::string ChangeResellerConsumeAmountRequest::getBusinessType() const {
  52. return businessType_;
  53. }
  54. void ChangeResellerConsumeAmountRequest::setBusinessType(const std::string &businessType) {
  55. businessType_ = businessType;
  56. setParameter(std::string("BusinessType"), businessType);
  57. }
  58. std::string ChangeResellerConsumeAmountRequest::getAdjustType() const {
  59. return adjustType_;
  60. }
  61. void ChangeResellerConsumeAmountRequest::setAdjustType(const std::string &adjustType) {
  62. adjustType_ = adjustType;
  63. setParameter(std::string("AdjustType"), adjustType);
  64. }
  65. std::string ChangeResellerConsumeAmountRequest::getExtendMap() const {
  66. return extendMap_;
  67. }
  68. void ChangeResellerConsumeAmountRequest::setExtendMap(const std::string &extendMap) {
  69. extendMap_ = extendMap;
  70. setParameter(std::string("ExtendMap"), extendMap);
  71. }
  72. std::string ChangeResellerConsumeAmountRequest::getCurrency() const {
  73. return currency_;
  74. }
  75. void ChangeResellerConsumeAmountRequest::setCurrency(const std::string &currency) {
  76. currency_ = currency;
  77. setParameter(std::string("Currency"), currency);
  78. }