EditPhotoStoreRequest.cc 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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/EditPhotoStoreRequest.h>
  17. using AlibabaCloud::CloudPhoto::Model::EditPhotoStoreRequest;
  18. EditPhotoStoreRequest::EditPhotoStoreRequest() :
  19. RpcServiceRequest("cloudphoto", "2017-07-11", "EditPhotoStore")
  20. {}
  21. EditPhotoStoreRequest::~EditPhotoStoreRequest()
  22. {}
  23. std::string EditPhotoStoreRequest::getAutoCleanEnabled()const
  24. {
  25. return autoCleanEnabled_;
  26. }
  27. void EditPhotoStoreRequest::setAutoCleanEnabled(const std::string& autoCleanEnabled)
  28. {
  29. autoCleanEnabled_ = autoCleanEnabled;
  30. setParameter("AutoCleanEnabled", autoCleanEnabled);
  31. }
  32. long EditPhotoStoreRequest::getDefaultTrashQuota()const
  33. {
  34. return defaultTrashQuota_;
  35. }
  36. void EditPhotoStoreRequest::setDefaultTrashQuota(long defaultTrashQuota)
  37. {
  38. defaultTrashQuota_ = defaultTrashQuota;
  39. setParameter("DefaultTrashQuota", std::to_string(defaultTrashQuota));
  40. }
  41. std::string EditPhotoStoreRequest::getStoreName()const
  42. {
  43. return storeName_;
  44. }
  45. void EditPhotoStoreRequest::setStoreName(const std::string& storeName)
  46. {
  47. storeName_ = storeName;
  48. setParameter("StoreName", storeName);
  49. }
  50. std::string EditPhotoStoreRequest::getRemark()const
  51. {
  52. return remark_;
  53. }
  54. void EditPhotoStoreRequest::setRemark(const std::string& remark)
  55. {
  56. remark_ = remark;
  57. setParameter("Remark", remark);
  58. }
  59. long EditPhotoStoreRequest::getDefaultQuota()const
  60. {
  61. return defaultQuota_;
  62. }
  63. void EditPhotoStoreRequest::setDefaultQuota(long defaultQuota)
  64. {
  65. defaultQuota_ = defaultQuota;
  66. setParameter("DefaultQuota", std::to_string(defaultQuota));
  67. }
  68. int EditPhotoStoreRequest::getAutoCleanDays()const
  69. {
  70. return autoCleanDays_;
  71. }
  72. void EditPhotoStoreRequest::setAutoCleanDays(int autoCleanDays)
  73. {
  74. autoCleanDays_ = autoCleanDays;
  75. setParameter("AutoCleanDays", std::to_string(autoCleanDays));
  76. }