ChatappBindWabaRequest.cc 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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/ChatappBindWabaRequest.h>
  17. using AlibabaCloud::Cams::Model::ChatappBindWabaRequest;
  18. ChatappBindWabaRequest::ChatappBindWabaRequest()
  19. : RpcServiceRequest("cams", "2020-06-06", "ChatappBindWaba") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. ChatappBindWabaRequest::~ChatappBindWabaRequest() {}
  23. long ChatappBindWabaRequest::getResourceOwnerId() const {
  24. return resourceOwnerId_;
  25. }
  26. void ChatappBindWabaRequest::setResourceOwnerId(long resourceOwnerId) {
  27. resourceOwnerId_ = resourceOwnerId;
  28. setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
  29. }
  30. std::string ChatappBindWabaRequest::getLowcodeTenantId() const {
  31. return lowcodeTenantId_;
  32. }
  33. void ChatappBindWabaRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
  34. lowcodeTenantId_ = lowcodeTenantId;
  35. setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
  36. }
  37. std::string ChatappBindWabaRequest::getExtendFunction() const {
  38. return extendFunction_;
  39. }
  40. void ChatappBindWabaRequest::setExtendFunction(const std::string &extendFunction) {
  41. extendFunction_ = extendFunction;
  42. setParameter(std::string("ExtendFunction"), extendFunction);
  43. }
  44. std::string ChatappBindWabaRequest::getAccessKeyId() const {
  45. return accessKeyId_;
  46. }
  47. void ChatappBindWabaRequest::setAccessKeyId(const std::string &accessKeyId) {
  48. accessKeyId_ = accessKeyId;
  49. setParameter(std::string("AccessKeyId"), accessKeyId);
  50. }
  51. std::string ChatappBindWabaRequest::getLowcodePhysicAppName() const {
  52. return lowcodePhysicAppName_;
  53. }
  54. void ChatappBindWabaRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
  55. lowcodePhysicAppName_ = lowcodePhysicAppName;
  56. setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
  57. }
  58. std::string ChatappBindWabaRequest::getRouteName() const {
  59. return routeName_;
  60. }
  61. void ChatappBindWabaRequest::setRouteName(const std::string &routeName) {
  62. routeName_ = routeName;
  63. setParameter(std::string("RouteName"), routeName);
  64. }
  65. std::string ChatappBindWabaRequest::getResourceOwnerAccount() const {
  66. return resourceOwnerAccount_;
  67. }
  68. void ChatappBindWabaRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
  69. resourceOwnerAccount_ = resourceOwnerAccount;
  70. setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
  71. }
  72. long ChatappBindWabaRequest::getOwnerId() const {
  73. return ownerId_;
  74. }
  75. void ChatappBindWabaRequest::setOwnerId(long ownerId) {
  76. ownerId_ = ownerId;
  77. setParameter(std::string("OwnerId"), std::to_string(ownerId));
  78. }
  79. std::string ChatappBindWabaRequest::getLowcodeLogicAppName() const {
  80. return lowcodeLogicAppName_;
  81. }
  82. void ChatappBindWabaRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
  83. lowcodeLogicAppName_ = lowcodeLogicAppName;
  84. setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
  85. }
  86. std::string ChatappBindWabaRequest::getWabaId() const {
  87. return wabaId_;
  88. }
  89. void ChatappBindWabaRequest::setWabaId(const std::string &wabaId) {
  90. wabaId_ = wabaId;
  91. setParameter(std::string("WabaId"), wabaId);
  92. }