TwoElementsVerificationRequest.cc 3.9 KB

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