QueryRecordFileDownloadUrlRequest.cc 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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/dyplsapi/model/QueryRecordFileDownloadUrlRequest.h>
  17. using AlibabaCloud::Dyplsapi::Model::QueryRecordFileDownloadUrlRequest;
  18. QueryRecordFileDownloadUrlRequest::QueryRecordFileDownloadUrlRequest()
  19. : RpcServiceRequest("dyplsapi", "2017-05-25", "QueryRecordFileDownloadUrl") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. QueryRecordFileDownloadUrlRequest::~QueryRecordFileDownloadUrlRequest() {}
  23. std::string QueryRecordFileDownloadUrlRequest::getCallId() const {
  24. return callId_;
  25. }
  26. void QueryRecordFileDownloadUrlRequest::setCallId(const std::string &callId) {
  27. callId_ = callId;
  28. setParameter(std::string("CallId"), callId);
  29. }
  30. long QueryRecordFileDownloadUrlRequest::getResourceOwnerId() const {
  31. return resourceOwnerId_;
  32. }
  33. void QueryRecordFileDownloadUrlRequest::setResourceOwnerId(long resourceOwnerId) {
  34. resourceOwnerId_ = resourceOwnerId;
  35. setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
  36. }
  37. std::string QueryRecordFileDownloadUrlRequest::getAccessKeyId() const {
  38. return accessKeyId_;
  39. }
  40. void QueryRecordFileDownloadUrlRequest::setAccessKeyId(const std::string &accessKeyId) {
  41. accessKeyId_ = accessKeyId;
  42. setParameter(std::string("AccessKeyId"), accessKeyId);
  43. }
  44. std::string QueryRecordFileDownloadUrlRequest::getProductType() const {
  45. return productType_;
  46. }
  47. void QueryRecordFileDownloadUrlRequest::setProductType(const std::string &productType) {
  48. productType_ = productType;
  49. setParameter(std::string("ProductType"), productType);
  50. }
  51. std::string QueryRecordFileDownloadUrlRequest::getResourceOwnerAccount() const {
  52. return resourceOwnerAccount_;
  53. }
  54. void QueryRecordFileDownloadUrlRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
  55. resourceOwnerAccount_ = resourceOwnerAccount;
  56. setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
  57. }
  58. long QueryRecordFileDownloadUrlRequest::getOwnerId() const {
  59. return ownerId_;
  60. }
  61. void QueryRecordFileDownloadUrlRequest::setOwnerId(long ownerId) {
  62. ownerId_ = ownerId;
  63. setParameter(std::string("OwnerId"), std::to_string(ownerId));
  64. }
  65. std::string QueryRecordFileDownloadUrlRequest::getCallTime() const {
  66. return callTime_;
  67. }
  68. void QueryRecordFileDownloadUrlRequest::setCallTime(const std::string &callTime) {
  69. callTime_ = callTime;
  70. setParameter(std::string("CallTime"), callTime);
  71. }
  72. std::string QueryRecordFileDownloadUrlRequest::getPoolKey() const {
  73. return poolKey_;
  74. }
  75. void QueryRecordFileDownloadUrlRequest::setPoolKey(const std::string &poolKey) {
  76. poolKey_ = poolKey;
  77. setParameter(std::string("PoolKey"), poolKey);
  78. }