CreateClusterRequest.h 3.6 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_HBASE_MODEL_CREATECLUSTERREQUEST_H_
  17. #define ALIBABACLOUD_HBASE_MODEL_CREATECLUSTERREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/hbase/HBaseExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace HBase
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_HBASE_EXPORT CreateClusterRequest : public RpcServiceRequest
  29. {
  30. public:
  31. CreateClusterRequest();
  32. ~CreateClusterRequest();
  33. std::string getClusterName()const;
  34. void setClusterName(const std::string& clusterName);
  35. std::string getClientToken()const;
  36. void setClientToken(const std::string& clientToken);
  37. std::string getEngineVersion()const;
  38. void setEngineVersion(const std::string& engineVersion);
  39. std::string getResourceGroupId()const;
  40. void setResourceGroupId(const std::string& resourceGroupId);
  41. std::string getRegionId()const;
  42. void setRegionId(const std::string& regionId);
  43. std::string getEngine()const;
  44. void setEngine(const std::string& engine);
  45. int getAutoRenewPeriod()const;
  46. void setAutoRenewPeriod(int autoRenewPeriod);
  47. int getPeriod()const;
  48. void setPeriod(int period);
  49. int getDiskSize()const;
  50. void setDiskSize(int diskSize);
  51. std::string getEncryptionKey()const;
  52. void setEncryptionKey(const std::string& encryptionKey);
  53. std::string getMasterInstanceType()const;
  54. void setMasterInstanceType(const std::string& masterInstanceType);
  55. std::string getDiskType()const;
  56. void setDiskType(const std::string& diskType);
  57. std::string getVSwitchId()const;
  58. void setVSwitchId(const std::string& vSwitchId);
  59. std::string getSecurityIPList()const;
  60. void setSecurityIPList(const std::string& securityIPList);
  61. int getColdStorageSize()const;
  62. void setColdStorageSize(int coldStorageSize);
  63. std::string getPeriodUnit()const;
  64. void setPeriodUnit(const std::string& periodUnit);
  65. std::string getCoreInstanceType()const;
  66. void setCoreInstanceType(const std::string& coreInstanceType);
  67. std::string getVpcId()const;
  68. void setVpcId(const std::string& vpcId);
  69. int getNodeCount()const;
  70. void setNodeCount(int nodeCount);
  71. std::string getZoneId()const;
  72. void setZoneId(const std::string& zoneId);
  73. std::string getPayType()const;
  74. void setPayType(const std::string& payType);
  75. private:
  76. std::string clusterName_;
  77. std::string clientToken_;
  78. std::string engineVersion_;
  79. std::string resourceGroupId_;
  80. std::string regionId_;
  81. std::string engine_;
  82. int autoRenewPeriod_;
  83. int period_;
  84. int diskSize_;
  85. std::string encryptionKey_;
  86. std::string masterInstanceType_;
  87. std::string diskType_;
  88. std::string vSwitchId_;
  89. std::string securityIPList_;
  90. int coldStorageSize_;
  91. std::string periodUnit_;
  92. std::string coreInstanceType_;
  93. std::string vpcId_;
  94. int nodeCount_;
  95. std::string zoneId_;
  96. std::string payType_;
  97. };
  98. }
  99. }
  100. }
  101. #endif // !ALIBABACLOUD_HBASE_MODEL_CREATECLUSTERREQUEST_H_