CreateInstanceRequest.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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_CLOUDAPI_MODEL_CREATEINSTANCEREQUEST_H_
  17. #define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEINSTANCEREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/cloudapi/CloudAPIExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace CloudAPI
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_CLOUDAPI_EXPORT CreateInstanceRequest : public RpcServiceRequest
  29. {
  30. public:
  31. CreateInstanceRequest();
  32. ~CreateInstanceRequest();
  33. bool getAutoPay()const;
  34. void setAutoPay(bool autoPay);
  35. std::string getInstanceSpec()const;
  36. void setInstanceSpec(const std::string& instanceSpec);
  37. std::string getHttpsPolicy()const;
  38. void setHttpsPolicy(const std::string& httpsPolicy);
  39. std::string getToken()const;
  40. void setToken(const std::string& token);
  41. int getDuration()const;
  42. void setDuration(int duration);
  43. std::string getInstanceName()const;
  44. void setInstanceName(const std::string& instanceName);
  45. std::string getZoneId()const;
  46. void setZoneId(const std::string& zoneId);
  47. std::string getChargeType()const;
  48. void setChargeType(const std::string& chargeType);
  49. std::string getPricingCycle()const;
  50. void setPricingCycle(const std::string& pricingCycle);
  51. private:
  52. bool autoPay_;
  53. std::string instanceSpec_;
  54. std::string httpsPolicy_;
  55. std::string token_;
  56. int duration_;
  57. std::string instanceName_;
  58. std::string zoneId_;
  59. std::string chargeType_;
  60. std::string pricingCycle_;
  61. };
  62. }
  63. }
  64. }
  65. #endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEINSTANCEREQUEST_H_