CreateClientUserRequest.cc 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. #include <alibabacloud/csas/model/CreateClientUserRequest.h>
  17. using AlibabaCloud::Csas::Model::CreateClientUserRequest;
  18. CreateClientUserRequest::CreateClientUserRequest()
  19. : RpcServiceRequest("csas", "2023-01-20", "CreateClientUser") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. CreateClientUserRequest::~CreateClientUserRequest() {}
  23. std::string CreateClientUserRequest::getMobileNumber() const {
  24. return mobileNumber_;
  25. }
  26. void CreateClientUserRequest::setMobileNumber(const std::string &mobileNumber) {
  27. mobileNumber_ = mobileNumber;
  28. setParameter(std::string("MobileNumber"), mobileNumber);
  29. }
  30. std::string CreateClientUserRequest::getDepartmentId() const {
  31. return departmentId_;
  32. }
  33. void CreateClientUserRequest::setDepartmentId(const std::string &departmentId) {
  34. departmentId_ = departmentId;
  35. setParameter(std::string("DepartmentId"), departmentId);
  36. }
  37. std::string CreateClientUserRequest::getDescription() const {
  38. return description_;
  39. }
  40. void CreateClientUserRequest::setDescription(const std::string &description) {
  41. description_ = description;
  42. setParameter(std::string("Description"), description);
  43. }
  44. std::string CreateClientUserRequest::getIdpConfigId() const {
  45. return idpConfigId_;
  46. }
  47. void CreateClientUserRequest::setIdpConfigId(const std::string &idpConfigId) {
  48. idpConfigId_ = idpConfigId;
  49. setParameter(std::string("IdpConfigId"), idpConfigId);
  50. }
  51. std::string CreateClientUserRequest::getPassword() const {
  52. return password_;
  53. }
  54. void CreateClientUserRequest::setPassword(const std::string &password) {
  55. password_ = password;
  56. setParameter(std::string("Password"), password);
  57. }
  58. std::string CreateClientUserRequest::getEmail() const {
  59. return email_;
  60. }
  61. void CreateClientUserRequest::setEmail(const std::string &email) {
  62. email_ = email;
  63. setParameter(std::string("Email"), email);
  64. }
  65. std::string CreateClientUserRequest::getUsername() const {
  66. return username_;
  67. }
  68. void CreateClientUserRequest::setUsername(const std::string &username) {
  69. username_ = username;
  70. setParameter(std::string("Username"), username);
  71. }