CreateInstanceRequest.h 3.8 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_ENS_MODEL_CREATEINSTANCEREQUEST_H_
  17. #define ALIBABACLOUD_ENS_MODEL_CREATEINSTANCEREQUEST_H_
  18. #include <alibabacloud/ens/EnsExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Ens {
  25. namespace Model {
  26. class ALIBABACLOUD_ENS_EXPORT CreateInstanceRequest : public RpcServiceRequest {
  27. public:
  28. CreateInstanceRequest();
  29. ~CreateInstanceRequest();
  30. bool getUniqueSuffix() const;
  31. void setUniqueSuffix(bool uniqueSuffix);
  32. std::string getKeyPairName() const;
  33. void setKeyPairName(const std::string &keyPairName);
  34. std::string getPassword() const;
  35. void setPassword(const std::string &password);
  36. std::string getHostName() const;
  37. void setHostName(const std::string &hostName);
  38. std::string getEnsRegionId() const;
  39. void setEnsRegionId(const std::string &ensRegionId);
  40. std::string getAutoRenewPeriod() const;
  41. void setAutoRenewPeriod(const std::string &autoRenewPeriod);
  42. std::string getPeriod() const;
  43. void setPeriod(const std::string &period);
  44. bool getPublicIpIdentification() const;
  45. void setPublicIpIdentification(bool publicIpIdentification);
  46. long getOwnerId() const;
  47. void setOwnerId(long ownerId);
  48. std::string getVSwitchId() const;
  49. void setVSwitchId(const std::string &vSwitchId);
  50. std::string getPrivateIpAddress() const;
  51. void setPrivateIpAddress(const std::string &privateIpAddress);
  52. std::string getInstanceName() const;
  53. void setInstanceName(const std::string &instanceName);
  54. std::string getAutoRenew() const;
  55. void setAutoRenew(const std::string &autoRenew);
  56. std::string getInternetChargeType() const;
  57. void setInternetChargeType(const std::string &internetChargeType);
  58. std::string getImageId() const;
  59. void setImageId(const std::string &imageId);
  60. std::string getUserData() const;
  61. void setUserData(const std::string &userData);
  62. bool getPasswordInherit() const;
  63. void setPasswordInherit(bool passwordInherit);
  64. std::string getInstanceType() const;
  65. void setInstanceType(const std::string &instanceType);
  66. std::string getDataDisk1Size() const;
  67. void setDataDisk1Size(const std::string &dataDisk1Size);
  68. std::string getQuantity() const;
  69. void setQuantity(const std::string &quantity);
  70. std::string getIpType() const;
  71. void setIpType(const std::string &ipType);
  72. std::string getSystemDiskSize() const;
  73. void setSystemDiskSize(const std::string &systemDiskSize);
  74. std::string getPaymentType() const;
  75. void setPaymentType(const std::string &paymentType);
  76. private:
  77. bool uniqueSuffix_;
  78. std::string keyPairName_;
  79. std::string password_;
  80. std::string hostName_;
  81. std::string ensRegionId_;
  82. std::string autoRenewPeriod_;
  83. std::string period_;
  84. bool publicIpIdentification_;
  85. long ownerId_;
  86. std::string vSwitchId_;
  87. std::string privateIpAddress_;
  88. std::string instanceName_;
  89. std::string autoRenew_;
  90. std::string internetChargeType_;
  91. std::string imageId_;
  92. std::string userData_;
  93. bool passwordInherit_;
  94. std::string instanceType_;
  95. std::string dataDisk1Size_;
  96. std::string quantity_;
  97. std::string ipType_;
  98. std::string systemDiskSize_;
  99. std::string paymentType_;
  100. };
  101. } // namespace Model
  102. } // namespace Ens
  103. } // namespace AlibabaCloud
  104. #endif // !ALIBABACLOUD_ENS_MODEL_CREATEINSTANCEREQUEST_H_