DescribePackagesRequest.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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_DESCRIBEPACKAGESREQUEST_H_
  17. #define ALIBABACLOUD_SDDP_MODEL_DESCRIBEPACKAGESREQUEST_H_
  18. #include <alibabacloud/sddp/SddpExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Sddp {
  25. namespace Model {
  26. class ALIBABACLOUD_SDDP_EXPORT DescribePackagesRequest : public RpcServiceRequest {
  27. public:
  28. DescribePackagesRequest();
  29. ~DescribePackagesRequest();
  30. long getProductId() const;
  31. void setProductId(long productId);
  32. std::string getRiskLevels() const;
  33. void setRiskLevels(const std::string &riskLevels);
  34. std::string getQueryName() const;
  35. void setQueryName(const std::string &queryName);
  36. long getRiskLevelId() const;
  37. void setRiskLevelId(long riskLevelId);
  38. std::string getSourceIp() const;
  39. void setSourceIp(const std::string &sourceIp);
  40. int getPageSize() const;
  41. void setPageSize(int pageSize);
  42. std::string getLang() const;
  43. void setLang(const std::string &lang);
  44. int getQueryType() const;
  45. void setQueryType(int queryType);
  46. int getFeatureType() const;
  47. void setFeatureType(int featureType);
  48. std::string getOrderBy() const;
  49. void setOrderBy(const std::string &orderBy);
  50. int getCurrentPage() const;
  51. void setCurrentPage(int currentPage);
  52. long getInstanceId() const;
  53. void setInstanceId(long instanceId);
  54. std::string getName() const;
  55. void setName(const std::string &name);
  56. long getRuleId() const;
  57. void setRuleId(long ruleId);
  58. private:
  59. long productId_;
  60. std::string riskLevels_;
  61. std::string queryName_;
  62. long riskLevelId_;
  63. std::string sourceIp_;
  64. int pageSize_;
  65. std::string lang_;
  66. int queryType_;
  67. int featureType_;
  68. std::string orderBy_;
  69. int currentPage_;
  70. long instanceId_;
  71. std::string name_;
  72. long ruleId_;
  73. };
  74. } // namespace Model
  75. } // namespace Sddp
  76. } // namespace AlibabaCloud
  77. #endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEPACKAGESREQUEST_H_