DescribeCertMatchStatusRequest.cc 2.4 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/waf-openapi/model/DescribeCertMatchStatusRequest.h>
  17. using AlibabaCloud::Waf_openapi::Model::DescribeCertMatchStatusRequest;
  18. DescribeCertMatchStatusRequest::DescribeCertMatchStatusRequest() :
  19. RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeCertMatchStatus")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. DescribeCertMatchStatusRequest::~DescribeCertMatchStatusRequest()
  24. {}
  25. std::string DescribeCertMatchStatusRequest::getCertificate()const
  26. {
  27. return certificate_;
  28. }
  29. void DescribeCertMatchStatusRequest::setCertificate(const std::string& certificate)
  30. {
  31. certificate_ = certificate;
  32. setParameter("Certificate", certificate);
  33. }
  34. std::string DescribeCertMatchStatusRequest::getPrivateKey()const
  35. {
  36. return privateKey_;
  37. }
  38. void DescribeCertMatchStatusRequest::setPrivateKey(const std::string& privateKey)
  39. {
  40. privateKey_ = privateKey;
  41. setParameter("PrivateKey", privateKey);
  42. }
  43. std::string DescribeCertMatchStatusRequest::getInstanceId()const
  44. {
  45. return instanceId_;
  46. }
  47. void DescribeCertMatchStatusRequest::setInstanceId(const std::string& instanceId)
  48. {
  49. instanceId_ = instanceId;
  50. setParameter("InstanceId", instanceId);
  51. }
  52. std::string DescribeCertMatchStatusRequest::getSourceIp()const
  53. {
  54. return sourceIp_;
  55. }
  56. void DescribeCertMatchStatusRequest::setSourceIp(const std::string& sourceIp)
  57. {
  58. sourceIp_ = sourceIp;
  59. setParameter("SourceIp", sourceIp);
  60. }
  61. std::string DescribeCertMatchStatusRequest::getDomain()const
  62. {
  63. return domain_;
  64. }
  65. void DescribeCertMatchStatusRequest::setDomain(const std::string& domain)
  66. {
  67. domain_ = domain;
  68. setParameter("Domain", domain);
  69. }
  70. std::string DescribeCertMatchStatusRequest::getLang()const
  71. {
  72. return lang_;
  73. }
  74. void DescribeCertMatchStatusRequest::setLang(const std::string& lang)
  75. {
  76. lang_ = lang;
  77. setParameter("Lang", lang);
  78. }