ModifyRuleRequest.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. #ifndef ALIBABACLOUD_SDDP_MODEL_MODIFYRULEREQUEST_H_
  17. #define ALIBABACLOUD_SDDP_MODEL_MODIFYRULEREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/sddp/SddpExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Sddp
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_SDDP_EXPORT ModifyRuleRequest : public RpcServiceRequest
  29. {
  30. public:
  31. ModifyRuleRequest();
  32. ~ModifyRuleRequest();
  33. int getWarnLevel()const;
  34. void setWarnLevel(int warnLevel);
  35. std::string getProductCode()const;
  36. void setProductCode(const std::string& productCode);
  37. long getProductId()const;
  38. void setProductId(long productId);
  39. std::string getDescription()const;
  40. void setDescription(const std::string& description);
  41. long getRiskLevelId()const;
  42. void setRiskLevelId(long riskLevelId);
  43. std::string getContent()const;
  44. void setContent(const std::string& content);
  45. std::string getSourceIp()const;
  46. void setSourceIp(const std::string& sourceIp);
  47. long getId()const;
  48. void setId(long id);
  49. std::string getLang()const;
  50. void setLang(const std::string& lang);
  51. int getFeatureType()const;
  52. void setFeatureType(int featureType);
  53. int getRuleType()const;
  54. void setRuleType(int ruleType);
  55. std::string getStatExpress()const;
  56. void setStatExpress(const std::string& statExpress);
  57. int getContentCategory()const;
  58. void setContentCategory(int contentCategory);
  59. int getCustomType()const;
  60. void setCustomType(int customType);
  61. std::string getTarget()const;
  62. void setTarget(const std::string& target);
  63. std::string getName()const;
  64. void setName(const std::string& name);
  65. int getCategory()const;
  66. void setCategory(int category);
  67. private:
  68. int warnLevel_;
  69. std::string productCode_;
  70. long productId_;
  71. std::string description_;
  72. long riskLevelId_;
  73. std::string content_;
  74. std::string sourceIp_;
  75. long id_;
  76. std::string lang_;
  77. int featureType_;
  78. int ruleType_;
  79. std::string statExpress_;
  80. int contentCategory_;
  81. int customType_;
  82. std::string target_;
  83. std::string name_;
  84. int category_;
  85. };
  86. }
  87. }
  88. }
  89. #endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYRULEREQUEST_H_