CreateExtensionsRequest.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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_POLARDB_MODEL_CREATEEXTENSIONSREQUEST_H_
  17. #define ALIBABACLOUD_POLARDB_MODEL_CREATEEXTENSIONSREQUEST_H_
  18. #include <alibabacloud/polardb/PolardbExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Polardb {
  25. namespace Model {
  26. class ALIBABACLOUD_POLARDB_EXPORT CreateExtensionsRequest : public RpcServiceRequest {
  27. public:
  28. CreateExtensionsRequest();
  29. ~CreateExtensionsRequest();
  30. long getResourceOwnerId() const;
  31. void setResourceOwnerId(long resourceOwnerId);
  32. std::string getSourceDBName() const;
  33. void setSourceDBName(const std::string &sourceDBName);
  34. std::string getClientToken() const;
  35. void setClientToken(const std::string &clientToken);
  36. std::string getAccessKeyId() const;
  37. void setAccessKeyId(const std::string &accessKeyId);
  38. std::string getResourceGroupId() const;
  39. void setResourceGroupId(const std::string &resourceGroupId);
  40. std::string getAccountName() const;
  41. void setAccountName(const std::string &accountName);
  42. std::string getRegionId() const;
  43. void setRegionId(const std::string &regionId);
  44. std::string getResourceOwnerAccount() const;
  45. void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
  46. std::string getDBClusterId() const;
  47. void setDBClusterId(const std::string &dBClusterId);
  48. std::string getOwnerAccount() const;
  49. void setOwnerAccount(const std::string &ownerAccount);
  50. long getOwnerId() const;
  51. void setOwnerId(long ownerId);
  52. std::string getVersion() const;
  53. void setVersion(const std::string &version);
  54. std::string getDBNames() const;
  55. void setDBNames(const std::string &dBNames);
  56. std::string getExtensions() const;
  57. void setExtensions(const std::string &extensions);
  58. std::string getVpcId() const;
  59. void setVpcId(const std::string &vpcId);
  60. private:
  61. long resourceOwnerId_;
  62. std::string sourceDBName_;
  63. std::string clientToken_;
  64. std::string accessKeyId_;
  65. std::string resourceGroupId_;
  66. std::string accountName_;
  67. std::string regionId_;
  68. std::string resourceOwnerAccount_;
  69. std::string dBClusterId_;
  70. std::string ownerAccount_;
  71. long ownerId_;
  72. std::string version_;
  73. std::string dBNames_;
  74. std::string extensions_;
  75. std::string vpcId_;
  76. };
  77. } // namespace Model
  78. } // namespace Polardb
  79. } // namespace AlibabaCloud
  80. #endif // !ALIBABACLOUD_POLARDB_MODEL_CREATEEXTENSIONSREQUEST_H_