CreateAccountRequest.h 2.8 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_CREATEACCOUNTREQUEST_H_
  17. #define ALIBABACLOUD_POLARDB_MODEL_CREATEACCOUNTREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/polardb/PolardbExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Polardb
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_POLARDB_EXPORT CreateAccountRequest : public RpcServiceRequest
  29. {
  30. public:
  31. CreateAccountRequest();
  32. ~CreateAccountRequest();
  33. long getResourceOwnerId()const;
  34. void setResourceOwnerId(long resourceOwnerId);
  35. std::string getClientToken()const;
  36. void setClientToken(const std::string& clientToken);
  37. std::string getAccountType()const;
  38. void setAccountType(const std::string& accountType);
  39. std::string getAccountDescription()const;
  40. void setAccountDescription(const std::string& accountDescription);
  41. std::string getAccessKeyId()const;
  42. void setAccessKeyId(const std::string& accessKeyId);
  43. std::string getAccountPrivilege()const;
  44. void setAccountPrivilege(const std::string& accountPrivilege);
  45. std::string getAccountName()const;
  46. void setAccountName(const std::string& accountName);
  47. std::string getResourceOwnerAccount()const;
  48. void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
  49. std::string getDBClusterId()const;
  50. void setDBClusterId(const std::string& dBClusterId);
  51. std::string getOwnerAccount()const;
  52. void setOwnerAccount(const std::string& ownerAccount);
  53. long getOwnerId()const;
  54. void setOwnerId(long ownerId);
  55. std::string getAccountPassword()const;
  56. void setAccountPassword(const std::string& accountPassword);
  57. std::string getDBName()const;
  58. void setDBName(const std::string& dBName);
  59. private:
  60. long resourceOwnerId_;
  61. std::string clientToken_;
  62. std::string accountType_;
  63. std::string accountDescription_;
  64. std::string accessKeyId_;
  65. std::string accountPrivilege_;
  66. std::string accountName_;
  67. std::string resourceOwnerAccount_;
  68. std::string dBClusterId_;
  69. std::string ownerAccount_;
  70. long ownerId_;
  71. std::string accountPassword_;
  72. std::string dBName_;
  73. };
  74. }
  75. }
  76. }
  77. #endif // !ALIBABACLOUD_POLARDB_MODEL_CREATEACCOUNTREQUEST_H_