CreateQualityRuleRequest.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_
  17. #define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_
  18. #include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Dataworks_public {
  25. namespace Model {
  26. class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityRuleRequest : public RpcServiceRequest {
  27. public:
  28. CreateQualityRuleRequest();
  29. ~CreateQualityRuleRequest();
  30. std::string getTaskSetting() const;
  31. void setTaskSetting(const std::string &taskSetting);
  32. std::string getTrend() const;
  33. void setTrend(const std::string &trend);
  34. int getBlockType() const;
  35. void setBlockType(int blockType);
  36. std::string getPropertyType() const;
  37. void setPropertyType(const std::string &propertyType);
  38. long getEntityId() const;
  39. void setEntityId(long entityId);
  40. std::string getRuleName() const;
  41. void setRuleName(const std::string &ruleName);
  42. int getChecker() const;
  43. void setChecker(int checker);
  44. std::string get_Operator() const;
  45. void set_Operator(const std::string &_operator);
  46. std::string getProperty() const;
  47. void setProperty(const std::string &property);
  48. std::string getWarningThreshold() const;
  49. void setWarningThreshold(const std::string &warningThreshold);
  50. long getProjectId() const;
  51. void setProjectId(long projectId);
  52. std::string getMethodName() const;
  53. void setMethodName(const std::string &methodName);
  54. std::string getProjectName() const;
  55. void setProjectName(const std::string &projectName);
  56. int getRuleType() const;
  57. void setRuleType(int ruleType);
  58. int getTemplateId() const;
  59. void setTemplateId(int templateId);
  60. std::string getExpectValue() const;
  61. void setExpectValue(const std::string &expectValue);
  62. std::string getWhereCondition() const;
  63. void setWhereCondition(const std::string &whereCondition);
  64. std::string getCriticalThreshold() const;
  65. void setCriticalThreshold(const std::string &criticalThreshold);
  66. std::string getComment() const;
  67. void setComment(const std::string &comment);
  68. int getPredictType() const;
  69. void setPredictType(int predictType);
  70. private:
  71. std::string taskSetting_;
  72. std::string trend_;
  73. int blockType_;
  74. std::string propertyType_;
  75. long entityId_;
  76. std::string ruleName_;
  77. int checker_;
  78. std::string _operator_;
  79. std::string property_;
  80. std::string warningThreshold_;
  81. long projectId_;
  82. std::string methodName_;
  83. std::string projectName_;
  84. int ruleType_;
  85. int templateId_;
  86. std::string expectValue_;
  87. std::string whereCondition_;
  88. std::string criticalThreshold_;
  89. std::string comment_;
  90. int predictType_;
  91. };
  92. } // namespace Model
  93. } // namespace Dataworks_public
  94. } // namespace AlibabaCloud
  95. #endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_