BatchDeleteJobsRequest.cc 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. #include <alibabacloud/schedulerx2/model/BatchDeleteJobsRequest.h>
  17. using AlibabaCloud::Schedulerx2::Model::BatchDeleteJobsRequest;
  18. BatchDeleteJobsRequest::BatchDeleteJobsRequest()
  19. : RpcServiceRequest("schedulerx2", "2019-04-30", "BatchDeleteJobs") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. BatchDeleteJobsRequest::~BatchDeleteJobsRequest() {}
  23. std::string BatchDeleteJobsRequest::getNamespaceSource() const {
  24. return namespaceSource_;
  25. }
  26. void BatchDeleteJobsRequest::setNamespaceSource(const std::string &namespaceSource) {
  27. namespaceSource_ = namespaceSource;
  28. setParameter(std::string("NamespaceSource"), namespaceSource);
  29. }
  30. std::string BatchDeleteJobsRequest::getGroupId() const {
  31. return groupId_;
  32. }
  33. void BatchDeleteJobsRequest::setGroupId(const std::string &groupId) {
  34. groupId_ = groupId;
  35. setParameter(std::string("GroupId"), groupId);
  36. }
  37. std::vector<long> BatchDeleteJobsRequest::getJobIdList() const {
  38. return jobIdList_;
  39. }
  40. void BatchDeleteJobsRequest::setJobIdList(const std::vector<long> &jobIdList) {
  41. jobIdList_ = jobIdList;
  42. }
  43. std::string BatchDeleteJobsRequest::getRegionId() const {
  44. return regionId_;
  45. }
  46. void BatchDeleteJobsRequest::setRegionId(const std::string &regionId) {
  47. regionId_ = regionId;
  48. setParameter(std::string("RegionId"), regionId);
  49. }
  50. std::string BatchDeleteJobsRequest::get_Namespace() const {
  51. return _namespace_;
  52. }
  53. void BatchDeleteJobsRequest::set_Namespace(const std::string &_namespace) {
  54. _namespace_ = _namespace;
  55. setParameter(std::string("Namespace"), _namespace);
  56. }