CreateFlowJobRequest.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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_EMR_MODEL_CREATEFLOWJOBREQUEST_H_
  17. #define ALIBABACLOUD_EMR_MODEL_CREATEFLOWJOBREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/emr/EmrExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Emr
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_EMR_EXPORT CreateFlowJobRequest : public RpcServiceRequest
  29. {
  30. struct ResourceList
  31. {
  32. std::string path;
  33. std::string alias;
  34. };
  35. public:
  36. CreateFlowJobRequest();
  37. ~CreateFlowJobRequest();
  38. std::string getRunConf()const;
  39. void setRunConf(const std::string& runConf);
  40. std::string getEnvConf()const;
  41. void setEnvConf(const std::string& envConf);
  42. std::string getDescription()const;
  43. void setDescription(const std::string& description);
  44. std::string getClusterId()const;
  45. void setClusterId(const std::string& clusterId);
  46. std::string getType()const;
  47. void setType(const std::string& type);
  48. std::string getParams()const;
  49. void setParams(const std::string& params);
  50. std::string getParamConf()const;
  51. void setParamConf(const std::string& paramConf);
  52. std::vector<ResourceList> getResourceList()const;
  53. void setResourceList(const std::vector<ResourceList>& resourceList);
  54. std::string getFailAct()const;
  55. void setFailAct(const std::string& failAct);
  56. std::string getMode()const;
  57. void setMode(const std::string& mode);
  58. long getRetryInterval()const;
  59. void setRetryInterval(long retryInterval);
  60. std::string getMonitorConf()const;
  61. void setMonitorConf(const std::string& monitorConf);
  62. std::string getRegionId()const;
  63. void setRegionId(const std::string& regionId);
  64. std::string getName()const;
  65. void setName(const std::string& name);
  66. int getMaxRetry()const;
  67. void setMaxRetry(int maxRetry);
  68. bool getAdhoc()const;
  69. void setAdhoc(bool adhoc);
  70. std::string getAlertConf()const;
  71. void setAlertConf(const std::string& alertConf);
  72. std::string getProjectId()const;
  73. void setProjectId(const std::string& projectId);
  74. std::string getParentCategory()const;
  75. void setParentCategory(const std::string& parentCategory);
  76. private:
  77. std::string runConf_;
  78. std::string envConf_;
  79. std::string description_;
  80. std::string clusterId_;
  81. std::string type_;
  82. std::string params_;
  83. std::string paramConf_;
  84. std::vector<ResourceList> resourceList_;
  85. std::string failAct_;
  86. std::string mode_;
  87. long retryInterval_;
  88. std::string monitorConf_;
  89. std::string regionId_;
  90. std::string name_;
  91. int maxRetry_;
  92. bool adhoc_;
  93. std::string alertConf_;
  94. std::string projectId_;
  95. std::string parentCategory_;
  96. };
  97. }
  98. }
  99. }
  100. #endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWJOBREQUEST_H_