UpdateCommerceSettingRequest.cc 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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/cams/model/UpdateCommerceSettingRequest.h>
  17. using AlibabaCloud::Cams::Model::UpdateCommerceSettingRequest;
  18. UpdateCommerceSettingRequest::UpdateCommerceSettingRequest()
  19. : RpcServiceRequest("cams", "2020-06-06", "UpdateCommerceSetting") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. UpdateCommerceSettingRequest::~UpdateCommerceSettingRequest() {}
  23. long UpdateCommerceSettingRequest::getResourceOwnerId() const {
  24. return resourceOwnerId_;
  25. }
  26. void UpdateCommerceSettingRequest::setResourceOwnerId(long resourceOwnerId) {
  27. resourceOwnerId_ = resourceOwnerId;
  28. setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
  29. }
  30. std::string UpdateCommerceSettingRequest::getPhoneNumber() const {
  31. return phoneNumber_;
  32. }
  33. void UpdateCommerceSettingRequest::setPhoneNumber(const std::string &phoneNumber) {
  34. phoneNumber_ = phoneNumber;
  35. setParameter(std::string("PhoneNumber"), phoneNumber);
  36. }
  37. std::string UpdateCommerceSettingRequest::getLowcodeTenantId() const {
  38. return lowcodeTenantId_;
  39. }
  40. void UpdateCommerceSettingRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
  41. lowcodeTenantId_ = lowcodeTenantId;
  42. setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
  43. }
  44. std::string UpdateCommerceSettingRequest::getExtendFunction() const {
  45. return extendFunction_;
  46. }
  47. void UpdateCommerceSettingRequest::setExtendFunction(const std::string &extendFunction) {
  48. extendFunction_ = extendFunction;
  49. setParameter(std::string("ExtendFunction"), extendFunction);
  50. }
  51. std::string UpdateCommerceSettingRequest::getAccessKeyId() const {
  52. return accessKeyId_;
  53. }
  54. void UpdateCommerceSettingRequest::setAccessKeyId(const std::string &accessKeyId) {
  55. accessKeyId_ = accessKeyId;
  56. setParameter(std::string("AccessKeyId"), accessKeyId);
  57. }
  58. std::string UpdateCommerceSettingRequest::getLowcodePhysicAppName() const {
  59. return lowcodePhysicAppName_;
  60. }
  61. void UpdateCommerceSettingRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
  62. lowcodePhysicAppName_ = lowcodePhysicAppName;
  63. setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
  64. }
  65. bool UpdateCommerceSettingRequest::getCatalogVisible() const {
  66. return catalogVisible_;
  67. }
  68. void UpdateCommerceSettingRequest::setCatalogVisible(bool catalogVisible) {
  69. catalogVisible_ = catalogVisible;
  70. setParameter(std::string("CatalogVisible"), catalogVisible ? "true" : "false");
  71. }
  72. std::string UpdateCommerceSettingRequest::getRouteName() const {
  73. return routeName_;
  74. }
  75. void UpdateCommerceSettingRequest::setRouteName(const std::string &routeName) {
  76. routeName_ = routeName;
  77. setParameter(std::string("RouteName"), routeName);
  78. }
  79. bool UpdateCommerceSettingRequest::getCartEnable() const {
  80. return cartEnable_;
  81. }
  82. void UpdateCommerceSettingRequest::setCartEnable(bool cartEnable) {
  83. cartEnable_ = cartEnable;
  84. setParameter(std::string("CartEnable"), cartEnable ? "true" : "false");
  85. }
  86. std::string UpdateCommerceSettingRequest::getResourceOwnerAccount() const {
  87. return resourceOwnerAccount_;
  88. }
  89. void UpdateCommerceSettingRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
  90. resourceOwnerAccount_ = resourceOwnerAccount;
  91. setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
  92. }
  93. long UpdateCommerceSettingRequest::getOwnerId() const {
  94. return ownerId_;
  95. }
  96. void UpdateCommerceSettingRequest::setOwnerId(long ownerId) {
  97. ownerId_ = ownerId;
  98. setParameter(std::string("OwnerId"), std::to_string(ownerId));
  99. }
  100. std::string UpdateCommerceSettingRequest::getLowcodeLogicAppName() const {
  101. return lowcodeLogicAppName_;
  102. }
  103. void UpdateCommerceSettingRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
  104. lowcodeLogicAppName_ = lowcodeLogicAppName;
  105. setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
  106. }
  107. std::string UpdateCommerceSettingRequest::getCustSpaceId() const {
  108. return custSpaceId_;
  109. }
  110. void UpdateCommerceSettingRequest::setCustSpaceId(const std::string &custSpaceId) {
  111. custSpaceId_ = custSpaceId;
  112. setParameter(std::string("CustSpaceId"), custSpaceId);
  113. }