CreateNodeRequest.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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_DDS_MODEL_CREATENODEREQUEST_H_
  17. #define ALIBABACLOUD_DDS_MODEL_CREATENODEREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/dds/DdsExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Dds
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_DDS_EXPORT CreateNodeRequest : public RpcServiceRequest
  29. {
  30. public:
  31. CreateNodeRequest();
  32. ~CreateNodeRequest();
  33. long getResourceOwnerId()const;
  34. void setResourceOwnerId(long resourceOwnerId);
  35. std::string getNodeType()const;
  36. void setNodeType(const std::string& nodeType);
  37. std::string getClientToken()const;
  38. void setClientToken(const std::string& clientToken);
  39. int getReadonlyReplicas()const;
  40. void setReadonlyReplicas(int readonlyReplicas);
  41. std::string getCouponNo()const;
  42. void setCouponNo(const std::string& couponNo);
  43. std::string getNodeClass()const;
  44. void setNodeClass(const std::string& nodeClass);
  45. std::string getAccessKeyId()const;
  46. void setAccessKeyId(const std::string& accessKeyId);
  47. std::string getSecurityToken()const;
  48. void setSecurityToken(const std::string& securityToken);
  49. std::string getDBInstanceId()const;
  50. void setDBInstanceId(const std::string& dBInstanceId);
  51. std::string getBusinessInfo()const;
  52. void setBusinessInfo(const std::string& businessInfo);
  53. bool getAutoPay()const;
  54. void setAutoPay(bool autoPay);
  55. std::string getFromApp()const;
  56. void setFromApp(const std::string& fromApp);
  57. std::string getResourceOwnerAccount()const;
  58. void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
  59. int getNodeStorage()const;
  60. void setNodeStorage(int nodeStorage);
  61. std::string getOwnerAccount()const;
  62. void setOwnerAccount(const std::string& ownerAccount);
  63. long getOwnerId()const;
  64. void setOwnerId(long ownerId);
  65. private:
  66. long resourceOwnerId_;
  67. std::string nodeType_;
  68. std::string clientToken_;
  69. int readonlyReplicas_;
  70. std::string couponNo_;
  71. std::string nodeClass_;
  72. std::string accessKeyId_;
  73. std::string securityToken_;
  74. std::string dBInstanceId_;
  75. std::string businessInfo_;
  76. bool autoPay_;
  77. std::string fromApp_;
  78. std::string resourceOwnerAccount_;
  79. int nodeStorage_;
  80. std::string ownerAccount_;
  81. long ownerId_;
  82. };
  83. }
  84. }
  85. }
  86. #endif // !ALIBABACLOUD_DDS_MODEL_CREATENODEREQUEST_H_