ThreeElementsVerificationRequest.cc 4.5 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/dytnsapi/model/ThreeElementsVerificationRequest.h>
  17. using AlibabaCloud::Dytnsapi::Model::ThreeElementsVerificationRequest;
  18. ThreeElementsVerificationRequest::ThreeElementsVerificationRequest()
  19. : RpcServiceRequest("dytnsapi", "2020-02-17", "ThreeElementsVerification") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. ThreeElementsVerificationRequest::~ThreeElementsVerificationRequest() {}
  23. long ThreeElementsVerificationRequest::getResourceOwnerId() const {
  24. return resourceOwnerId_;
  25. }
  26. void ThreeElementsVerificationRequest::setResourceOwnerId(long resourceOwnerId) {
  27. resourceOwnerId_ = resourceOwnerId;
  28. setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
  29. }
  30. std::string ThreeElementsVerificationRequest::getExtendFunction() const {
  31. return extendFunction_;
  32. }
  33. void ThreeElementsVerificationRequest::setExtendFunction(const std::string &extendFunction) {
  34. extendFunction_ = extendFunction;
  35. setParameter(std::string("ExtendFunction"), extendFunction);
  36. }
  37. std::string ThreeElementsVerificationRequest::getAccessKeyId() const {
  38. return accessKeyId_;
  39. }
  40. void ThreeElementsVerificationRequest::setAccessKeyId(const std::string &accessKeyId) {
  41. accessKeyId_ = accessKeyId;
  42. setParameter(std::string("AccessKeyId"), accessKeyId);
  43. }
  44. std::string ThreeElementsVerificationRequest::getCertCode() const {
  45. return certCode_;
  46. }
  47. void ThreeElementsVerificationRequest::setCertCode(const std::string &certCode) {
  48. certCode_ = certCode;
  49. setParameter(std::string("CertCode"), certCode);
  50. }
  51. std::string ThreeElementsVerificationRequest::getRouteName() const {
  52. return routeName_;
  53. }
  54. void ThreeElementsVerificationRequest::setRouteName(const std::string &routeName) {
  55. routeName_ = routeName;
  56. setParameter(std::string("RouteName"), routeName);
  57. }
  58. std::string ThreeElementsVerificationRequest::getMask() const {
  59. return mask_;
  60. }
  61. void ThreeElementsVerificationRequest::setMask(const std::string &mask) {
  62. mask_ = mask;
  63. setParameter(std::string("Mask"), mask);
  64. }
  65. std::string ThreeElementsVerificationRequest::getResultCount() const {
  66. return resultCount_;
  67. }
  68. void ThreeElementsVerificationRequest::setResultCount(const std::string &resultCount) {
  69. resultCount_ = resultCount;
  70. setParameter(std::string("ResultCount"), resultCount);
  71. }
  72. std::string ThreeElementsVerificationRequest::getResourceOwnerAccount() const {
  73. return resourceOwnerAccount_;
  74. }
  75. void ThreeElementsVerificationRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
  76. resourceOwnerAccount_ = resourceOwnerAccount;
  77. setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
  78. }
  79. long ThreeElementsVerificationRequest::getOwnerId() const {
  80. return ownerId_;
  81. }
  82. void ThreeElementsVerificationRequest::setOwnerId(long ownerId) {
  83. ownerId_ = ownerId;
  84. setParameter(std::string("OwnerId"), std::to_string(ownerId));
  85. }
  86. std::string ThreeElementsVerificationRequest::getAuthCode() const {
  87. return authCode_;
  88. }
  89. void ThreeElementsVerificationRequest::setAuthCode(const std::string &authCode) {
  90. authCode_ = authCode;
  91. setParameter(std::string("AuthCode"), authCode);
  92. }
  93. std::string ThreeElementsVerificationRequest::getInputNumber() const {
  94. return inputNumber_;
  95. }
  96. void ThreeElementsVerificationRequest::setInputNumber(const std::string &inputNumber) {
  97. inputNumber_ = inputNumber;
  98. setParameter(std::string("InputNumber"), inputNumber);
  99. }
  100. std::string ThreeElementsVerificationRequest::getName() const {
  101. return name_;
  102. }
  103. void ThreeElementsVerificationRequest::setName(const std::string &name) {
  104. name_ = name;
  105. setParameter(std::string("Name"), name);
  106. }
  107. std::string ThreeElementsVerificationRequest::getFlowName() const {
  108. return flowName_;
  109. }
  110. void ThreeElementsVerificationRequest::setFlowName(const std::string &flowName) {
  111. flowName_ = flowName;
  112. setParameter(std::string("FlowName"), flowName);
  113. }