CreateDatabaseRequest.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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_RDS_MODEL_CREATEDATABASEREQUEST_H_
  17. #define ALIBABACLOUD_RDS_MODEL_CREATEDATABASEREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/rds/RdsRequest.h>
  21. namespace AlibabaCloud
  22. {
  23. namespace Rds
  24. {
  25. namespace Model
  26. {
  27. class ALIBABACLOUD_RDS_EXPORT CreateDatabaseRequest : public RdsRequest
  28. {
  29. public:
  30. CreateDatabaseRequest();
  31. ~CreateDatabaseRequest();
  32. long getResourceOwnerId()const;
  33. void setResourceOwnerId(long resourceOwnerId);
  34. std::string getDBName()const;
  35. void setDBName(const std::string& dBName);
  36. std::string getResourceOwnerAccount()const;
  37. void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
  38. std::string getOwnerAccount()const;
  39. void setOwnerAccount(const std::string& ownerAccount);
  40. std::string getDBInstanceId()const;
  41. void setDBInstanceId(const std::string& dBInstanceId);
  42. std::string getDBDescription()const;
  43. void setDBDescription(const std::string& dBDescription);
  44. long getOwnerId()const;
  45. void setOwnerId(long ownerId);
  46. std::string getCharacterSetName()const;
  47. void setCharacterSetName(const std::string& characterSetName);
  48. std::string getAccessKeyId()const;
  49. void setAccessKeyId(const std::string& accessKeyId);
  50. private:
  51. long resourceOwnerId_;
  52. std::string dBName_;
  53. std::string resourceOwnerAccount_;
  54. std::string ownerAccount_;
  55. std::string dBInstanceId_;
  56. std::string dBDescription_;
  57. long ownerId_;
  58. std::string characterSetName_;
  59. std::string accessKeyId_;
  60. };
  61. }
  62. }
  63. }
  64. #endif // !ALIBABACLOUD_RDS_MODEL_CREATEDATABASEREQUEST_H_