CreateWhitelistRequest.cc 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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/cloudauth/model/CreateWhitelistRequest.h>
  17. using AlibabaCloud::Cloudauth::Model::CreateWhitelistRequest;
  18. CreateWhitelistRequest::CreateWhitelistRequest() :
  19. RpcServiceRequest("cloudauth", "2019-03-07", "CreateWhitelist")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. CreateWhitelistRequest::~CreateWhitelistRequest()
  24. {}
  25. std::string CreateWhitelistRequest::getValidDay()const
  26. {
  27. return validDay_;
  28. }
  29. void CreateWhitelistRequest::setValidDay(const std::string& validDay)
  30. {
  31. validDay_ = validDay;
  32. setParameter("ValidDay", validDay);
  33. }
  34. std::string CreateWhitelistRequest::getBizType()const
  35. {
  36. return bizType_;
  37. }
  38. void CreateWhitelistRequest::setBizType(const std::string& bizType)
  39. {
  40. bizType_ = bizType;
  41. setParameter("BizType", bizType);
  42. }
  43. std::string CreateWhitelistRequest::getIdCardNum()const
  44. {
  45. return idCardNum_;
  46. }
  47. void CreateWhitelistRequest::setIdCardNum(const std::string& idCardNum)
  48. {
  49. idCardNum_ = idCardNum;
  50. setParameter("IdCardNum", idCardNum);
  51. }
  52. std::string CreateWhitelistRequest::getSourceIp()const
  53. {
  54. return sourceIp_;
  55. }
  56. void CreateWhitelistRequest::setSourceIp(const std::string& sourceIp)
  57. {
  58. sourceIp_ = sourceIp;
  59. setParameter("SourceIp", sourceIp);
  60. }
  61. std::string CreateWhitelistRequest::getBizId()const
  62. {
  63. return bizId_;
  64. }
  65. void CreateWhitelistRequest::setBizId(const std::string& bizId)
  66. {
  67. bizId_ = bizId;
  68. setParameter("BizId", bizId);
  69. }
  70. std::string CreateWhitelistRequest::getLang()const
  71. {
  72. return lang_;
  73. }
  74. void CreateWhitelistRequest::setLang(const std::string& lang)
  75. {
  76. lang_ = lang;
  77. setParameter("Lang", lang);
  78. }