DescribeInstanceResult.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. bool getIsHa()const;
  42. std::string getCreatedTime()const;
  43. std::string getResourceGroupId()const;
  44. std::string getMasterInstanceType()const;
  45. bool getIsDeletionProtection()const;
  46. bool getIsLatestVersion()const;
  47. int getModuleId()const;
  48. std::string getMaintainEndTime()const;
  49. std::string getNetworkType()const;
  50. std::string getCoreInstanceType()const;
  51. std::string getClusterName()const;
  52. std::string getMasterDiskType()const;
  53. std::vector<Tag> getTags()const;
  54. std::string getEngine()const;
  55. std::string getMaintainStartTime()const;
  56. std::string getStatus()const;
  57. std::string getMajorVersion()const;
  58. std::string getCoreDiskCount()const;
  59. std::string getParentId()const;
  60. int getColdStorageSize()const;
  61. int getMasterDiskSize()const;
  62. std::string getExpireTimeUTC()const;
  63. std::string getZoneId()const;
  64. std::string getInstanceId()const;
  65. int getCoreNodeCount()const;
  66. std::string getClusterId()const;
  67. std::string getColdStorageStatus()const;
  68. std::string getMinorVersion()const;
  69. std::string getCreatedTimeUTC()const;
  70. int getDuration()const;
  71. std::string getPayType()const;
  72. bool getIsMultiModel()const;
  73. std::string getClusterType()const;
  74. std::string getVswitchId()const;
  75. std::string getInstanceName()const;
  76. int getMasterNodeCount()const;
  77. std::string getVpcId()const;
  78. bool getAutoRenewal()const;
  79. std::string getCoreDiskType()const;
  80. std::string getRegionId()const;
  81. std::string getExpireTime()const;
  82. int getCoreDiskSize()const;
  83. std::string getBackupStatus()const;
  84. protected:
  85. void parse(const std::string &payload);
  86. private:
  87. std::string moduleStackVersion_;
  88. bool isHa_;
  89. std::string createdTime_;
  90. std::string resourceGroupId_;
  91. std::string masterInstanceType_;
  92. bool isDeletionProtection_;
  93. bool isLatestVersion_;
  94. int moduleId_;
  95. std::string maintainEndTime_;
  96. std::string networkType_;
  97. std::string coreInstanceType_;
  98. std::string clusterName_;
  99. std::string masterDiskType_;
  100. std::vector<Tag> tags_;
  101. std::string engine_;
  102. std::string maintainStartTime_;
  103. std::string status_;
  104. std::string majorVersion_;
  105. std::string coreDiskCount_;
  106. std::string parentId_;
  107. int coldStorageSize_;
  108. int masterDiskSize_;
  109. std::string expireTimeUTC_;
  110. std::string zoneId_;
  111. std::string instanceId_;
  112. int coreNodeCount_;
  113. std::string clusterId_;
  114. std::string coldStorageStatus_;
  115. std::string minorVersion_;
  116. std::string createdTimeUTC_;
  117. int duration_;
  118. std::string payType_;
  119. bool isMultiModel_;
  120. std::string clusterType_;
  121. std::string vswitchId_;
  122. std::string instanceName_;
  123. int masterNodeCount_;
  124. std::string vpcId_;
  125. bool autoRenewal_;
  126. std::string coreDiskType_;
  127. std::string regionId_;
  128. std::string expireTime_;
  129. int coreDiskSize_;
  130. std::string backupStatus_;
  131. };
  132. }
  133. }
  134. }
  135. #endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEINSTANCERESULT_H_