QueryMCJobListRequest.cc 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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/mts/model/QueryMCJobListRequest.h>
  17. using AlibabaCloud::Mts::Model::QueryMCJobListRequest;
  18. QueryMCJobListRequest::QueryMCJobListRequest() :
  19. RpcServiceRequest("mts", "2014-06-18", "QueryMCJobList")
  20. {}
  21. QueryMCJobListRequest::~QueryMCJobListRequest()
  22. {}
  23. long QueryMCJobListRequest::getResourceOwnerId()const
  24. {
  25. return resourceOwnerId_;
  26. }
  27. void QueryMCJobListRequest::setResourceOwnerId(long resourceOwnerId)
  28. {
  29. resourceOwnerId_ = resourceOwnerId;
  30. setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
  31. }
  32. std::string QueryMCJobListRequest::getResourceOwnerAccount()const
  33. {
  34. return resourceOwnerAccount_;
  35. }
  36. void QueryMCJobListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
  37. {
  38. resourceOwnerAccount_ = resourceOwnerAccount;
  39. setParameter("ResourceOwnerAccount", resourceOwnerAccount);
  40. }
  41. std::string QueryMCJobListRequest::getNextPageToken()const
  42. {
  43. return nextPageToken_;
  44. }
  45. void QueryMCJobListRequest::setNextPageToken(const std::string& nextPageToken)
  46. {
  47. nextPageToken_ = nextPageToken;
  48. setParameter("NextPageToken", nextPageToken);
  49. }
  50. std::string QueryMCJobListRequest::getStartOfJobCreatedTimeRange()const
  51. {
  52. return startOfJobCreatedTimeRange_;
  53. }
  54. void QueryMCJobListRequest::setStartOfJobCreatedTimeRange(const std::string& startOfJobCreatedTimeRange)
  55. {
  56. startOfJobCreatedTimeRange_ = startOfJobCreatedTimeRange;
  57. setParameter("StartOfJobCreatedTimeRange", startOfJobCreatedTimeRange);
  58. }
  59. std::string QueryMCJobListRequest::getOwnerAccount()const
  60. {
  61. return ownerAccount_;
  62. }
  63. void QueryMCJobListRequest::setOwnerAccount(const std::string& ownerAccount)
  64. {
  65. ownerAccount_ = ownerAccount;
  66. setParameter("OwnerAccount", ownerAccount);
  67. }
  68. long QueryMCJobListRequest::getMaximumPageSize()const
  69. {
  70. return maximumPageSize_;
  71. }
  72. void QueryMCJobListRequest::setMaximumPageSize(long maximumPageSize)
  73. {
  74. maximumPageSize_ = maximumPageSize;
  75. setParameter("MaximumPageSize", std::to_string(maximumPageSize));
  76. }
  77. long QueryMCJobListRequest::getOwnerId()const
  78. {
  79. return ownerId_;
  80. }
  81. void QueryMCJobListRequest::setOwnerId(long ownerId)
  82. {
  83. ownerId_ = ownerId;
  84. setParameter("OwnerId", std::to_string(ownerId));
  85. }
  86. std::string QueryMCJobListRequest::getAccessKeyId()const
  87. {
  88. return accessKeyId_;
  89. }
  90. void QueryMCJobListRequest::setAccessKeyId(const std::string& accessKeyId)
  91. {
  92. accessKeyId_ = accessKeyId;
  93. setParameter("AccessKeyId", accessKeyId);
  94. }
  95. std::string QueryMCJobListRequest::getPipelineId()const
  96. {
  97. return pipelineId_;
  98. }
  99. void QueryMCJobListRequest::setPipelineId(const std::string& pipelineId)
  100. {
  101. pipelineId_ = pipelineId;
  102. setParameter("PipelineId", pipelineId);
  103. }
  104. std::string QueryMCJobListRequest::getJobIds()const
  105. {
  106. return jobIds_;
  107. }
  108. void QueryMCJobListRequest::setJobIds(const std::string& jobIds)
  109. {
  110. jobIds_ = jobIds;
  111. setParameter("JobIds", jobIds);
  112. }
  113. std::string QueryMCJobListRequest::getState()const
  114. {
  115. return state_;
  116. }
  117. void QueryMCJobListRequest::setState(const std::string& state)
  118. {
  119. state_ = state;
  120. setParameter("State", state);
  121. }
  122. std::string QueryMCJobListRequest::getEndOfJobCreatedTimeRange()const
  123. {
  124. return endOfJobCreatedTimeRange_;
  125. }
  126. void QueryMCJobListRequest::setEndOfJobCreatedTimeRange(const std::string& endOfJobCreatedTimeRange)
  127. {
  128. endOfJobCreatedTimeRange_ = endOfJobCreatedTimeRange;
  129. setParameter("EndOfJobCreatedTimeRange", endOfJobCreatedTimeRange);
  130. }