AddDatabaseRequest.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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_DG_MODEL_ADDDATABASEREQUEST_H_
  17. #define ALIBABACLOUD_DG_MODEL_ADDDATABASEREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/dg/DgExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Dg
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_DG_EXPORT AddDatabaseRequest : public RpcServiceRequest
  29. {
  30. public:
  31. AddDatabaseRequest();
  32. ~AddDatabaseRequest();
  33. std::string getClientToken()const;
  34. void setClientToken(const std::string& clientToken);
  35. std::string getRegionId()const;
  36. void setRegionId(const std::string& regionId);
  37. std::string getHost()const;
  38. void setHost(const std::string& host);
  39. std::string getDbUserName()const;
  40. void setDbUserName(const std::string& dbUserName);
  41. std::string getDbDescription()const;
  42. void setDbDescription(const std::string& dbDescription);
  43. std::string getGatewayId()const;
  44. void setGatewayId(const std::string& gatewayId);
  45. std::string getDbName()const;
  46. void setDbName(const std::string& dbName);
  47. int getPort()const;
  48. void setPort(int port);
  49. std::string getDbPassword()const;
  50. void setDbPassword(const std::string& dbPassword);
  51. std::string getDbType()const;
  52. void setDbType(const std::string& dbType);
  53. private:
  54. std::string clientToken_;
  55. std::string regionId_;
  56. std::string host_;
  57. std::string dbUserName_;
  58. std::string dbDescription_;
  59. std::string gatewayId_;
  60. std::string dbName_;
  61. int port_;
  62. std::string dbPassword_;
  63. std::string dbType_;
  64. };
  65. }
  66. }
  67. }
  68. #endif // !ALIBABACLOUD_DG_MODEL_ADDDATABASEREQUEST_H_