JyCreateVerifySchemeRequest.cc 4.3 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/dypnsapi/model/JyCreateVerifySchemeRequest.h>
  17. using AlibabaCloud::Dypnsapi::Model::JyCreateVerifySchemeRequest;
  18. JyCreateVerifySchemeRequest::JyCreateVerifySchemeRequest()
  19. : RpcServiceRequest("dypnsapi", "2017-05-25", "JyCreateVerifyScheme") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. JyCreateVerifySchemeRequest::~JyCreateVerifySchemeRequest() {}
  23. long JyCreateVerifySchemeRequest::getResourceOwnerId() const {
  24. return resourceOwnerId_;
  25. }
  26. void JyCreateVerifySchemeRequest::setResourceOwnerId(long resourceOwnerId) {
  27. resourceOwnerId_ = resourceOwnerId;
  28. setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
  29. }
  30. std::string JyCreateVerifySchemeRequest::getBundleId() const {
  31. return bundleId_;
  32. }
  33. void JyCreateVerifySchemeRequest::setBundleId(const std::string &bundleId) {
  34. bundleId_ = bundleId;
  35. setParameter(std::string("BundleId"), bundleId);
  36. }
  37. std::string JyCreateVerifySchemeRequest::getAccessKeyId() const {
  38. return accessKeyId_;
  39. }
  40. void JyCreateVerifySchemeRequest::setAccessKeyId(const std::string &accessKeyId) {
  41. accessKeyId_ = accessKeyId;
  42. setParameter(std::string("AccessKeyId"), accessKeyId);
  43. }
  44. std::string JyCreateVerifySchemeRequest::getAppName() const {
  45. return appName_;
  46. }
  47. void JyCreateVerifySchemeRequest::setAppName(const std::string &appName) {
  48. appName_ = appName;
  49. setParameter(std::string("AppName"), appName);
  50. }
  51. std::string JyCreateVerifySchemeRequest::getPackSign() const {
  52. return packSign_;
  53. }
  54. void JyCreateVerifySchemeRequest::setPackSign(const std::string &packSign) {
  55. packSign_ = packSign;
  56. setParameter(std::string("PackSign"), packSign);
  57. }
  58. std::string JyCreateVerifySchemeRequest::getPackName() const {
  59. return packName_;
  60. }
  61. void JyCreateVerifySchemeRequest::setPackName(const std::string &packName) {
  62. packName_ = packName;
  63. setParameter(std::string("PackName"), packName);
  64. }
  65. long JyCreateVerifySchemeRequest::getCuApiCode() const {
  66. return cuApiCode_;
  67. }
  68. void JyCreateVerifySchemeRequest::setCuApiCode(long cuApiCode) {
  69. cuApiCode_ = cuApiCode;
  70. setParameter(std::string("CuApiCode"), std::to_string(cuApiCode));
  71. }
  72. std::string JyCreateVerifySchemeRequest::getResourceOwnerAccount() const {
  73. return resourceOwnerAccount_;
  74. }
  75. void JyCreateVerifySchemeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
  76. resourceOwnerAccount_ = resourceOwnerAccount;
  77. setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
  78. }
  79. long JyCreateVerifySchemeRequest::getCtApiCode() const {
  80. return ctApiCode_;
  81. }
  82. void JyCreateVerifySchemeRequest::setCtApiCode(long ctApiCode) {
  83. ctApiCode_ = ctApiCode;
  84. setParameter(std::string("CtApiCode"), std::to_string(ctApiCode));
  85. }
  86. std::string JyCreateVerifySchemeRequest::getOsType() const {
  87. return osType_;
  88. }
  89. void JyCreateVerifySchemeRequest::setOsType(const std::string &osType) {
  90. osType_ = osType;
  91. setParameter(std::string("OsType"), osType);
  92. }
  93. long JyCreateVerifySchemeRequest::getOwnerId() const {
  94. return ownerId_;
  95. }
  96. void JyCreateVerifySchemeRequest::setOwnerId(long ownerId) {
  97. ownerId_ = ownerId;
  98. setParameter(std::string("OwnerId"), std::to_string(ownerId));
  99. }
  100. long JyCreateVerifySchemeRequest::getCmApiCode() const {
  101. return cmApiCode_;
  102. }
  103. void JyCreateVerifySchemeRequest::setCmApiCode(long cmApiCode) {
  104. cmApiCode_ = cmApiCode;
  105. setParameter(std::string("CmApiCode"), std::to_string(cmApiCode));
  106. }
  107. std::string JyCreateVerifySchemeRequest::getSchemeName() const {
  108. return schemeName_;
  109. }
  110. void JyCreateVerifySchemeRequest::setSchemeName(const std::string &schemeName) {
  111. schemeName_ = schemeName;
  112. setParameter(std::string("SchemeName"), schemeName);
  113. }