GetAttachedMediaInfoRequest.cc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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/vod/model/GetAttachedMediaInfoRequest.h>
  17. using AlibabaCloud::Vod::Model::GetAttachedMediaInfoRequest;
  18. GetAttachedMediaInfoRequest::GetAttachedMediaInfoRequest() :
  19. RpcServiceRequest("vod", "2017-03-21", "GetAttachedMediaInfo")
  20. {}
  21. GetAttachedMediaInfoRequest::~GetAttachedMediaInfoRequest()
  22. {}
  23. long GetAttachedMediaInfoRequest::getResourceOwnerId()const
  24. {
  25. return resourceOwnerId_;
  26. }
  27. void GetAttachedMediaInfoRequest::setResourceOwnerId(long resourceOwnerId)
  28. {
  29. resourceOwnerId_ = resourceOwnerId;
  30. setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
  31. }
  32. long GetAttachedMediaInfoRequest::getResourceRealOwnerId()const
  33. {
  34. return resourceRealOwnerId_;
  35. }
  36. void GetAttachedMediaInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId)
  37. {
  38. resourceRealOwnerId_ = resourceRealOwnerId;
  39. setCoreParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
  40. }
  41. std::string GetAttachedMediaInfoRequest::getAccessKeyId()const
  42. {
  43. return accessKeyId_;
  44. }
  45. void GetAttachedMediaInfoRequest::setAccessKeyId(const std::string& accessKeyId)
  46. {
  47. accessKeyId_ = accessKeyId;
  48. setCoreParameter("AccessKeyId", accessKeyId);
  49. }
  50. std::string GetAttachedMediaInfoRequest::getOutputType()const
  51. {
  52. return outputType_;
  53. }
  54. void GetAttachedMediaInfoRequest::setOutputType(const std::string& outputType)
  55. {
  56. outputType_ = outputType;
  57. setCoreParameter("OutputType", outputType);
  58. }
  59. std::string GetAttachedMediaInfoRequest::getMediaIds()const
  60. {
  61. return mediaIds_;
  62. }
  63. void GetAttachedMediaInfoRequest::setMediaIds(const std::string& mediaIds)
  64. {
  65. mediaIds_ = mediaIds;
  66. setCoreParameter("MediaIds", mediaIds);
  67. }
  68. long GetAttachedMediaInfoRequest::getAuthTimeout()const
  69. {
  70. return authTimeout_;
  71. }
  72. void GetAttachedMediaInfoRequest::setAuthTimeout(long authTimeout)
  73. {
  74. authTimeout_ = authTimeout;
  75. setCoreParameter("AuthTimeout", std::to_string(authTimeout));
  76. }
  77. std::string GetAttachedMediaInfoRequest::getResourceOwnerAccount()const
  78. {
  79. return resourceOwnerAccount_;
  80. }
  81. void GetAttachedMediaInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
  82. {
  83. resourceOwnerAccount_ = resourceOwnerAccount;
  84. setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
  85. }
  86. long GetAttachedMediaInfoRequest::getOwnerId()const
  87. {
  88. return ownerId_;
  89. }
  90. void GetAttachedMediaInfoRequest::setOwnerId(long ownerId)
  91. {
  92. ownerId_ = ownerId;
  93. setCoreParameter("OwnerId", std::to_string(ownerId));
  94. }