CreateEventRequest.cc 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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/cloudphoto/model/CreateEventRequest.h>
  17. using AlibabaCloud::CloudPhoto::Model::CreateEventRequest;
  18. CreateEventRequest::CreateEventRequest() :
  19. RpcServiceRequest("cloudphoto", "2017-07-11", "CreateEvent")
  20. {}
  21. CreateEventRequest::~CreateEventRequest()
  22. {}
  23. std::string CreateEventRequest::getBannerPhotoId()const
  24. {
  25. return bannerPhotoId_;
  26. }
  27. void CreateEventRequest::setBannerPhotoId(const std::string& bannerPhotoId)
  28. {
  29. bannerPhotoId_ = bannerPhotoId;
  30. setParameter("BannerPhotoId", bannerPhotoId);
  31. }
  32. std::string CreateEventRequest::getWatermarkPhotoId()const
  33. {
  34. return watermarkPhotoId_;
  35. }
  36. void CreateEventRequest::setWatermarkPhotoId(const std::string& watermarkPhotoId)
  37. {
  38. watermarkPhotoId_ = watermarkPhotoId;
  39. setParameter("WatermarkPhotoId", watermarkPhotoId);
  40. }
  41. std::string CreateEventRequest::getIdentity()const
  42. {
  43. return identity_;
  44. }
  45. void CreateEventRequest::setIdentity(const std::string& identity)
  46. {
  47. identity_ = identity;
  48. setParameter("Identity", identity);
  49. }
  50. std::string CreateEventRequest::getSplashPhotoId()const
  51. {
  52. return splashPhotoId_;
  53. }
  54. void CreateEventRequest::setSplashPhotoId(const std::string& splashPhotoId)
  55. {
  56. splashPhotoId_ = splashPhotoId;
  57. setParameter("SplashPhotoId", splashPhotoId);
  58. }
  59. std::string CreateEventRequest::getLibraryId()const
  60. {
  61. return libraryId_;
  62. }
  63. void CreateEventRequest::setLibraryId(const std::string& libraryId)
  64. {
  65. libraryId_ = libraryId;
  66. setParameter("LibraryId", libraryId);
  67. }
  68. std::string CreateEventRequest::getWeixinTitle()const
  69. {
  70. return weixinTitle_;
  71. }
  72. void CreateEventRequest::setWeixinTitle(const std::string& weixinTitle)
  73. {
  74. weixinTitle_ = weixinTitle;
  75. setParameter("WeixinTitle", weixinTitle);
  76. }
  77. std::string CreateEventRequest::getStoreName()const
  78. {
  79. return storeName_;
  80. }
  81. void CreateEventRequest::setStoreName(const std::string& storeName)
  82. {
  83. storeName_ = storeName;
  84. setParameter("StoreName", storeName);
  85. }
  86. std::string CreateEventRequest::getRemark()const
  87. {
  88. return remark_;
  89. }
  90. void CreateEventRequest::setRemark(const std::string& remark)
  91. {
  92. remark_ = remark;
  93. setParameter("Remark", remark);
  94. }
  95. std::string CreateEventRequest::getTitle()const
  96. {
  97. return title_;
  98. }
  99. void CreateEventRequest::setTitle(const std::string& title)
  100. {
  101. title_ = title;
  102. setParameter("Title", title);
  103. }
  104. long CreateEventRequest::getEndAt()const
  105. {
  106. return endAt_;
  107. }
  108. void CreateEventRequest::setEndAt(long endAt)
  109. {
  110. endAt_ = endAt;
  111. setParameter("EndAt", std::to_string(endAt));
  112. }
  113. long CreateEventRequest::getStartAt()const
  114. {
  115. return startAt_;
  116. }
  117. void CreateEventRequest::setStartAt(long startAt)
  118. {
  119. startAt_ = startAt;
  120. setParameter("StartAt", std::to_string(startAt));
  121. }