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