CreateOTADynamicUpgradeJobRequest.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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_IOT_MODEL_CREATEOTADYNAMICUPGRADEJOBREQUEST_H_
  17. #define ALIBABACLOUD_IOT_MODEL_CREATEOTADYNAMICUPGRADEJOBREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/iot/IotExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Iot
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_IOT_EXPORT CreateOTADynamicUpgradeJobRequest : public RpcServiceRequest
  29. {
  30. public:
  31. struct Tag
  32. {
  33. std::string value;
  34. std::string key;
  35. };
  36. public:
  37. CreateOTADynamicUpgradeJobRequest();
  38. ~CreateOTADynamicUpgradeJobRequest();
  39. int getDynamicMode()const;
  40. void setDynamicMode(int dynamicMode);
  41. int getRetryCount()const;
  42. void setRetryCount(int retryCount);
  43. int getTimeoutInMinutes()const;
  44. void setTimeoutInMinutes(int timeoutInMinutes);
  45. bool getNeedConfirm()const;
  46. void setNeedConfirm(bool needConfirm);
  47. std::string getAccessKeyId()const;
  48. void setAccessKeyId(const std::string& accessKeyId);
  49. std::string getGroupType()const;
  50. void setGroupType(const std::string& groupType);
  51. bool getNeedPush()const;
  52. void setNeedPush(bool needPush);
  53. std::string getIotInstanceId()const;
  54. void setIotInstanceId(const std::string& iotInstanceId);
  55. std::string getDownloadProtocol()const;
  56. void setDownloadProtocol(const std::string& downloadProtocol);
  57. std::vector<Tag> getTag()const;
  58. void setTag(const std::vector<Tag>& tag);
  59. std::string getGroupId()const;
  60. void setGroupId(const std::string& groupId);
  61. std::string getFirmwareId()const;
  62. void setFirmwareId(const std::string& firmwareId);
  63. std::string getProductKey()const;
  64. void setProductKey(const std::string& productKey);
  65. int getRetryInterval()const;
  66. void setRetryInterval(int retryInterval);
  67. std::vector<std::string> getSrcVersion()const;
  68. void setSrcVersion(const std::vector<std::string>& srcVersion);
  69. int getOverwriteMode()const;
  70. void setOverwriteMode(int overwriteMode);
  71. std::string getApiProduct()const;
  72. void setApiProduct(const std::string& apiProduct);
  73. std::string getApiRevision()const;
  74. void setApiRevision(const std::string& apiRevision);
  75. int getMaximumPerMinute()const;
  76. void setMaximumPerMinute(int maximumPerMinute);
  77. private:
  78. int dynamicMode_;
  79. int retryCount_;
  80. int timeoutInMinutes_;
  81. bool needConfirm_;
  82. std::string accessKeyId_;
  83. std::string groupType_;
  84. bool needPush_;
  85. std::string iotInstanceId_;
  86. std::string downloadProtocol_;
  87. std::vector<Tag> tag_;
  88. std::string groupId_;
  89. std::string firmwareId_;
  90. std::string productKey_;
  91. int retryInterval_;
  92. std::vector<std::string> srcVersion_;
  93. int overwriteMode_;
  94. std::string apiProduct_;
  95. std::string apiRevision_;
  96. int maximumPerMinute_;
  97. };
  98. }
  99. }
  100. }
  101. #endif // !ALIBABACLOUD_IOT_MODEL_CREATEOTADYNAMICUPGRADEJOBREQUEST_H_