ModifyInstanceSpecRequest.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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_R_KVSTORE_MODEL_MODIFYINSTANCESPECREQUEST_H_
  17. #define ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYINSTANCESPECREQUEST_H_
  18. #include <alibabacloud/r-kvstore/R_kvstoreExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace R_kvstore {
  25. namespace Model {
  26. class ALIBABACLOUD_R_KVSTORE_EXPORT ModifyInstanceSpecRequest : public RpcServiceRequest {
  27. public:
  28. ModifyInstanceSpecRequest();
  29. ~ModifyInstanceSpecRequest();
  30. long getResourceOwnerId() const;
  31. void setResourceOwnerId(long resourceOwnerId);
  32. std::string getNodeType() const;
  33. void setNodeType(const std::string &nodeType);
  34. std::string getClientToken() const;
  35. void setClientToken(const std::string &clientToken);
  36. int getSlaveReadOnlyCount() const;
  37. void setSlaveReadOnlyCount(int slaveReadOnlyCount);
  38. std::string getCouponNo() const;
  39. void setCouponNo(const std::string &couponNo);
  40. std::string getInstanceClass() const;
  41. void setInstanceClass(const std::string &instanceClass);
  42. std::string getAccessKeyId() const;
  43. void setAccessKeyId(const std::string &accessKeyId);
  44. std::string getSecurityToken() const;
  45. void setSecurityToken(const std::string &securityToken);
  46. std::string getRegionId() const;
  47. void setRegionId(const std::string &regionId);
  48. std::string getEffectiveTime() const;
  49. void setEffectiveTime(const std::string &effectiveTime);
  50. std::string getSourceBiz() const;
  51. void setSourceBiz(const std::string &sourceBiz);
  52. std::string getBusinessInfo() const;
  53. void setBusinessInfo(const std::string &businessInfo);
  54. int getShardCount() const;
  55. void setShardCount(int shardCount);
  56. bool getAutoPay() const;
  57. void setAutoPay(bool autoPay);
  58. std::string getFromApp() const;
  59. void setFromApp(const std::string &fromApp);
  60. std::string getMajorVersion() const;
  61. void setMajorVersion(const std::string &majorVersion);
  62. std::string getResourceOwnerAccount() const;
  63. void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
  64. std::string getOwnerAccount() const;
  65. void setOwnerAccount(const std::string &ownerAccount);
  66. long getOwnerId() const;
  67. void setOwnerId(long ownerId);
  68. bool getForceTrans() const;
  69. void setForceTrans(bool forceTrans);
  70. std::string getInstanceId() const;
  71. void setInstanceId(const std::string &instanceId);
  72. int getReadOnlyCount() const;
  73. void setReadOnlyCount(int readOnlyCount);
  74. bool getForceUpgrade() const;
  75. void setForceUpgrade(bool forceUpgrade);
  76. std::string getOrderType() const;
  77. void setOrderType(const std::string &orderType);
  78. private:
  79. long resourceOwnerId_;
  80. std::string nodeType_;
  81. std::string clientToken_;
  82. int slaveReadOnlyCount_;
  83. std::string couponNo_;
  84. std::string instanceClass_;
  85. std::string accessKeyId_;
  86. std::string securityToken_;
  87. std::string regionId_;
  88. std::string effectiveTime_;
  89. std::string sourceBiz_;
  90. std::string businessInfo_;
  91. int shardCount_;
  92. bool autoPay_;
  93. std::string fromApp_;
  94. std::string majorVersion_;
  95. std::string resourceOwnerAccount_;
  96. std::string ownerAccount_;
  97. long ownerId_;
  98. bool forceTrans_;
  99. std::string instanceId_;
  100. int readOnlyCount_;
  101. bool forceUpgrade_;
  102. std::string orderType_;
  103. };
  104. } // namespace Model
  105. } // namespace R_kvstore
  106. } // namespace AlibabaCloud
  107. #endif // !ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYINSTANCESPECREQUEST_H_