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