CreateScheduledTaskRequest.h 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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_ESS_MODEL_CREATESCHEDULEDTASKREQUEST_H_
  17. #define ALIBABACLOUD_ESS_MODEL_CREATESCHEDULEDTASKREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/ess/EssRequest.h>
  21. namespace AlibabaCloud
  22. {
  23. namespace Ess
  24. {
  25. namespace Model
  26. {
  27. class ALIBABACLOUD_ESS_EXPORT CreateScheduledTaskRequest : public EssRequest
  28. {
  29. public:
  30. CreateScheduledTaskRequest();
  31. ~CreateScheduledTaskRequest();
  32. std::string getLaunchTime()const;
  33. void setLaunchTime(const std::string& launchTime);
  34. std::string getScheduledAction()const;
  35. void setScheduledAction(const std::string& scheduledAction);
  36. std::string getResourceOwnerAccount()const;
  37. void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
  38. std::string getOwnerAccount()const;
  39. void setOwnerAccount(const std::string& ownerAccount);
  40. std::string getDescription()const;
  41. void setDescription(const std::string& description);
  42. long getOwnerId()const;
  43. void setOwnerId(long ownerId);
  44. std::string getRecurrenceValue()const;
  45. void setRecurrenceValue(const std::string& recurrenceValue);
  46. int getLaunchExpirationTime()const;
  47. void setLaunchExpirationTime(int launchExpirationTime);
  48. std::string getRecurrenceEndTime()const;
  49. void setRecurrenceEndTime(const std::string& recurrenceEndTime);
  50. std::string getAccessKeyId()const;
  51. void setAccessKeyId(const std::string& accessKeyId);
  52. std::string getRegionId()const;
  53. void setRegionId(const std::string& regionId);
  54. std::string getScheduledTaskName()const;
  55. void setScheduledTaskName(const std::string& scheduledTaskName);
  56. bool getTaskEnabled()const;
  57. void setTaskEnabled(bool taskEnabled);
  58. std::string getRecurrenceType()const;
  59. void setRecurrenceType(const std::string& recurrenceType);
  60. private:
  61. std::string launchTime_;
  62. std::string scheduledAction_;
  63. std::string resourceOwnerAccount_;
  64. std::string ownerAccount_;
  65. std::string description_;
  66. long ownerId_;
  67. std::string recurrenceValue_;
  68. int launchExpirationTime_;
  69. std::string recurrenceEndTime_;
  70. std::string accessKeyId_;
  71. std::string regionId_;
  72. std::string scheduledTaskName_;
  73. bool taskEnabled_;
  74. std::string recurrenceType_;
  75. };
  76. }
  77. }
  78. }
  79. #endif // !ALIBABACLOUD_ESS_MODEL_CREATESCHEDULEDTASKREQUEST_H_