DescribeInstanceResult.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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_DESCRIBEINSTANCERESULT_H_
  17. #define ALIBABACLOUD_HBASE_MODEL_DESCRIBEINSTANCERESULT_H_
  18. #include <string>
  19. #include <vector>
  20. #include <utility>
  21. #include <alibabacloud/core/ServiceResult.h>
  22. #include <alibabacloud/hbase/HBaseExport.h>
  23. namespace AlibabaCloud
  24. {
  25. namespace HBase
  26. {
  27. namespace Model
  28. {
  29. class ALIBABACLOUD_HBASE_EXPORT DescribeInstanceResult : public ServiceResult
  30. {
  31. public:
  32. struct Tag
  33. {
  34. std::string value;
  35. std::string key;
  36. };
  37. DescribeInstanceResult();
  38. explicit DescribeInstanceResult(const std::string &payload);
  39. ~DescribeInstanceResult();
  40. std::string getModuleStackVersion()const;
  41. std::string getCreatedTime()const;
  42. std::string getResourceGroupId()const;
  43. bool getNeedUpgrade()const;
  44. int getModuleId()const;
  45. std::vector<Tag> getTags()const;
  46. std::vector<std::string> getNeedUpgradeComps()const;
  47. std::string getEngine()const;
  48. std::string getStatus()const;
  49. int getColdStorageSize()const;
  50. std::string getEncryptionType()const;
  51. std::string getExpireTimeUTC()const;
  52. int getMasterDiskSize()const;
  53. std::string getInstanceId()const;
  54. int getDuration()const;
  55. std::string getPayType()const;
  56. std::string getVswitchId()const;
  57. int getMasterNodeCount()const;
  58. std::string getInstanceName()const;
  59. std::string getVpcId()const;
  60. bool getAutoRenewal()const;
  61. std::string getCoreDiskType()const;
  62. std::string getExpireTime()const;
  63. std::string getBackupStatus()const;
  64. bool getIsHa()const;
  65. std::string getEncryptionKey()const;
  66. std::string getTaskProgress()const;
  67. std::string getMasterInstanceType()const;
  68. bool getIsDeletionProtection()const;
  69. bool getIsLatestVersion()const;
  70. std::string getMaintainEndTime()const;
  71. std::string getNetworkType()const;
  72. std::string getCoreInstanceType()const;
  73. std::string getClusterName()const;
  74. std::string getMasterDiskType()const;
  75. std::string getMaintainStartTime()const;
  76. std::string getParentId()const;
  77. std::string getMajorVersion()const;
  78. std::string getCoreDiskCount()const;
  79. std::string getZoneId()const;
  80. std::string getClusterId()const;
  81. int getCoreNodeCount()const;
  82. std::string getColdStorageStatus()const;
  83. std::string getCreatedTimeUTC()const;
  84. std::string getMinorVersion()const;
  85. bool getIsMultiModel()const;
  86. std::string getClusterType()const;
  87. std::string getRegionId()const;
  88. std::string getConfirmMaintainTime()const;
  89. int getCoreDiskSize()const;
  90. protected:
  91. void parse(const std::string &payload);
  92. private:
  93. std::string moduleStackVersion_;
  94. std::string createdTime_;
  95. std::string resourceGroupId_;
  96. bool needUpgrade_;
  97. int moduleId_;
  98. std::vector<Tag> tags_;
  99. std::vector<std::string> needUpgradeComps_;
  100. std::string engine_;
  101. std::string status_;
  102. int coldStorageSize_;
  103. std::string encryptionType_;
  104. std::string expireTimeUTC_;
  105. int masterDiskSize_;
  106. std::string instanceId_;
  107. int duration_;
  108. std::string payType_;
  109. std::string vswitchId_;
  110. int masterNodeCount_;
  111. std::string instanceName_;
  112. std::string vpcId_;
  113. bool autoRenewal_;
  114. std::string coreDiskType_;
  115. std::string expireTime_;
  116. std::string backupStatus_;
  117. bool isHa_;
  118. std::string encryptionKey_;
  119. std::string taskProgress_;
  120. std::string masterInstanceType_;
  121. bool isDeletionProtection_;
  122. bool isLatestVersion_;
  123. std::string maintainEndTime_;
  124. std::string networkType_;
  125. std::string coreInstanceType_;
  126. std::string clusterName_;
  127. std::string masterDiskType_;
  128. std::string maintainStartTime_;
  129. std::string parentId_;
  130. std::string majorVersion_;
  131. std::string coreDiskCount_;
  132. std::string zoneId_;
  133. std::string clusterId_;
  134. int coreNodeCount_;
  135. std::string coldStorageStatus_;
  136. std::string createdTimeUTC_;
  137. std::string minorVersion_;
  138. bool isMultiModel_;
  139. std::string clusterType_;
  140. std::string regionId_;
  141. std::string confirmMaintainTime_;
  142. int coreDiskSize_;
  143. };
  144. }
  145. }
  146. }
  147. #endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEINSTANCERESULT_H_