SetMessageCallbackRequest.cc 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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/SetMessageCallbackRequest.h>
  17. using AlibabaCloud::Vod::Model::SetMessageCallbackRequest;
  18. SetMessageCallbackRequest::SetMessageCallbackRequest() :
  19. RpcServiceRequest("vod", "2017-03-21", "SetMessageCallback")
  20. {}
  21. SetMessageCallbackRequest::~SetMessageCallbackRequest()
  22. {}
  23. std::string SetMessageCallbackRequest::getAuthKey()const
  24. {
  25. return authKey_;
  26. }
  27. void SetMessageCallbackRequest::setAuthKey(const std::string& authKey)
  28. {
  29. authKey_ = authKey;
  30. setCoreParameter("AuthKey", authKey);
  31. }
  32. std::string SetMessageCallbackRequest::getResourceOwnerId()const
  33. {
  34. return resourceOwnerId_;
  35. }
  36. void SetMessageCallbackRequest::setResourceOwnerId(const std::string& resourceOwnerId)
  37. {
  38. resourceOwnerId_ = resourceOwnerId;
  39. setCoreParameter("ResourceOwnerId", resourceOwnerId);
  40. }
  41. long SetMessageCallbackRequest::getResourceRealOwnerId()const
  42. {
  43. return resourceRealOwnerId_;
  44. }
  45. void SetMessageCallbackRequest::setResourceRealOwnerId(long resourceRealOwnerId)
  46. {
  47. resourceRealOwnerId_ = resourceRealOwnerId;
  48. setCoreParameter("ResourceRealOwnerId", std::to_string(resourceRealOwnerId));
  49. }
  50. std::string SetMessageCallbackRequest::getAccessKeyId()const
  51. {
  52. return accessKeyId_;
  53. }
  54. void SetMessageCallbackRequest::setAccessKeyId(const std::string& accessKeyId)
  55. {
  56. accessKeyId_ = accessKeyId;
  57. setCoreParameter("AccessKeyId", accessKeyId);
  58. }
  59. std::string SetMessageCallbackRequest::getCallbackType()const
  60. {
  61. return callbackType_;
  62. }
  63. void SetMessageCallbackRequest::setCallbackType(const std::string& callbackType)
  64. {
  65. callbackType_ = callbackType;
  66. setCoreParameter("CallbackType", callbackType);
  67. }
  68. std::string SetMessageCallbackRequest::getCallbackSwitch()const
  69. {
  70. return callbackSwitch_;
  71. }
  72. void SetMessageCallbackRequest::setCallbackSwitch(const std::string& callbackSwitch)
  73. {
  74. callbackSwitch_ = callbackSwitch;
  75. setCoreParameter("CallbackSwitch", callbackSwitch);
  76. }
  77. std::string SetMessageCallbackRequest::getResourceOwnerAccount()const
  78. {
  79. return resourceOwnerAccount_;
  80. }
  81. void SetMessageCallbackRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
  82. {
  83. resourceOwnerAccount_ = resourceOwnerAccount;
  84. setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
  85. }
  86. std::string SetMessageCallbackRequest::getOwnerAccount()const
  87. {
  88. return ownerAccount_;
  89. }
  90. void SetMessageCallbackRequest::setOwnerAccount(const std::string& ownerAccount)
  91. {
  92. ownerAccount_ = ownerAccount;
  93. setCoreParameter("OwnerAccount", ownerAccount);
  94. }
  95. std::string SetMessageCallbackRequest::getEventTypeList()const
  96. {
  97. return eventTypeList_;
  98. }
  99. void SetMessageCallbackRequest::setEventTypeList(const std::string& eventTypeList)
  100. {
  101. eventTypeList_ = eventTypeList;
  102. setCoreParameter("EventTypeList", eventTypeList);
  103. }
  104. std::string SetMessageCallbackRequest::getMnsQueueName()const
  105. {
  106. return mnsQueueName_;
  107. }
  108. void SetMessageCallbackRequest::setMnsQueueName(const std::string& mnsQueueName)
  109. {
  110. mnsQueueName_ = mnsQueueName;
  111. setCoreParameter("MnsQueueName", mnsQueueName);
  112. }
  113. std::string SetMessageCallbackRequest::getOwnerId()const
  114. {
  115. return ownerId_;
  116. }
  117. void SetMessageCallbackRequest::setOwnerId(const std::string& ownerId)
  118. {
  119. ownerId_ = ownerId;
  120. setCoreParameter("OwnerId", ownerId);
  121. }
  122. std::string SetMessageCallbackRequest::getMnsEndpoint()const
  123. {
  124. return mnsEndpoint_;
  125. }
  126. void SetMessageCallbackRequest::setMnsEndpoint(const std::string& mnsEndpoint)
  127. {
  128. mnsEndpoint_ = mnsEndpoint;
  129. setCoreParameter("MnsEndpoint", mnsEndpoint);
  130. }
  131. std::string SetMessageCallbackRequest::getAppId()const
  132. {
  133. return appId_;
  134. }
  135. void SetMessageCallbackRequest::setAppId(const std::string& appId)
  136. {
  137. appId_ = appId;
  138. setCoreParameter("AppId", appId);
  139. }
  140. std::string SetMessageCallbackRequest::getAuthSwitch()const
  141. {
  142. return authSwitch_;
  143. }
  144. void SetMessageCallbackRequest::setAuthSwitch(const std::string& authSwitch)
  145. {
  146. authSwitch_ = authSwitch;
  147. setCoreParameter("AuthSwitch", authSwitch);
  148. }
  149. std::string SetMessageCallbackRequest::getCallbackURL()const
  150. {
  151. return callbackURL_;
  152. }
  153. void SetMessageCallbackRequest::setCallbackURL(const std::string& callbackURL)
  154. {
  155. callbackURL_ = callbackURL;
  156. setCoreParameter("CallbackURL", callbackURL);
  157. }