FindApproveServiceListRequest.cc 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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/csb/model/FindApproveServiceListRequest.h>
  17. using AlibabaCloud::CSB::Model::FindApproveServiceListRequest;
  18. FindApproveServiceListRequest::FindApproveServiceListRequest() :
  19. RpcServiceRequest("csb", "2017-11-18", "FindApproveServiceList")
  20. {
  21. setMethod(HttpRequest::Method::Get);
  22. }
  23. FindApproveServiceListRequest::~FindApproveServiceListRequest()
  24. {}
  25. std::string FindApproveServiceListRequest::getProjectName()const
  26. {
  27. return projectName_;
  28. }
  29. void FindApproveServiceListRequest::setProjectName(const std::string& projectName)
  30. {
  31. projectName_ = projectName;
  32. setParameter("ProjectName", projectName);
  33. }
  34. std::string FindApproveServiceListRequest::getApproveLevel()const
  35. {
  36. return approveLevel_;
  37. }
  38. void FindApproveServiceListRequest::setApproveLevel(const std::string& approveLevel)
  39. {
  40. approveLevel_ = approveLevel;
  41. setParameter("ApproveLevel", approveLevel);
  42. }
  43. bool FindApproveServiceListRequest::getShowDelService()const
  44. {
  45. return showDelService_;
  46. }
  47. void FindApproveServiceListRequest::setShowDelService(bool showDelService)
  48. {
  49. showDelService_ = showDelService;
  50. setParameter("ShowDelService", showDelService ? "true" : "false");
  51. }
  52. long FindApproveServiceListRequest::getCsbId()const
  53. {
  54. return csbId_;
  55. }
  56. void FindApproveServiceListRequest::setCsbId(long csbId)
  57. {
  58. csbId_ = csbId;
  59. setParameter("CsbId", std::to_string(csbId));
  60. }
  61. std::string FindApproveServiceListRequest::getAlias()const
  62. {
  63. return alias_;
  64. }
  65. void FindApproveServiceListRequest::setAlias(const std::string& alias)
  66. {
  67. alias_ = alias;
  68. setParameter("Alias", alias);
  69. }
  70. std::string FindApproveServiceListRequest::getServiceName()const
  71. {
  72. return serviceName_;
  73. }
  74. void FindApproveServiceListRequest::setServiceName(const std::string& serviceName)
  75. {
  76. serviceName_ = serviceName;
  77. setParameter("ServiceName", serviceName);
  78. }