UpdateLiveAppSnapshotConfigRequest.cc 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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/live/model/UpdateLiveAppSnapshotConfigRequest.h>
  17. using AlibabaCloud::Live::Model::UpdateLiveAppSnapshotConfigRequest;
  18. UpdateLiveAppSnapshotConfigRequest::UpdateLiveAppSnapshotConfigRequest() :
  19. RpcServiceRequest("live", "2016-11-01", "UpdateLiveAppSnapshotConfig")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. UpdateLiveAppSnapshotConfigRequest::~UpdateLiveAppSnapshotConfigRequest()
  24. {}
  25. int UpdateLiveAppSnapshotConfigRequest::getTimeInterval()const
  26. {
  27. return timeInterval_;
  28. }
  29. void UpdateLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval)
  30. {
  31. timeInterval_ = timeInterval;
  32. setParameter("TimeInterval", std::to_string(timeInterval));
  33. }
  34. std::string UpdateLiveAppSnapshotConfigRequest::getOssEndpoint()const
  35. {
  36. return ossEndpoint_;
  37. }
  38. void UpdateLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
  39. {
  40. ossEndpoint_ = ossEndpoint;
  41. setParameter("OssEndpoint", ossEndpoint);
  42. }
  43. std::string UpdateLiveAppSnapshotConfigRequest::getAppName()const
  44. {
  45. return appName_;
  46. }
  47. void UpdateLiveAppSnapshotConfigRequest::setAppName(const std::string& appName)
  48. {
  49. appName_ = appName;
  50. setParameter("AppName", appName);
  51. }
  52. std::string UpdateLiveAppSnapshotConfigRequest::getSecurityToken()const
  53. {
  54. return securityToken_;
  55. }
  56. void UpdateLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
  57. {
  58. securityToken_ = securityToken;
  59. setParameter("SecurityToken", securityToken);
  60. }
  61. std::string UpdateLiveAppSnapshotConfigRequest::getOverwriteOssObject()const
  62. {
  63. return overwriteOssObject_;
  64. }
  65. void UpdateLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject)
  66. {
  67. overwriteOssObject_ = overwriteOssObject;
  68. setParameter("OverwriteOssObject", overwriteOssObject);
  69. }
  70. std::string UpdateLiveAppSnapshotConfigRequest::getOssBucket()const
  71. {
  72. return ossBucket_;
  73. }
  74. void UpdateLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket)
  75. {
  76. ossBucket_ = ossBucket;
  77. setParameter("OssBucket", ossBucket);
  78. }
  79. std::string UpdateLiveAppSnapshotConfigRequest::getDomainName()const
  80. {
  81. return domainName_;
  82. }
  83. void UpdateLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName)
  84. {
  85. domainName_ = domainName;
  86. setParameter("DomainName", domainName);
  87. }
  88. std::string UpdateLiveAppSnapshotConfigRequest::getSequenceOssObject()const
  89. {
  90. return sequenceOssObject_;
  91. }
  92. void UpdateLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject)
  93. {
  94. sequenceOssObject_ = sequenceOssObject;
  95. setParameter("SequenceOssObject", sequenceOssObject);
  96. }
  97. long UpdateLiveAppSnapshotConfigRequest::getOwnerId()const
  98. {
  99. return ownerId_;
  100. }
  101. void UpdateLiveAppSnapshotConfigRequest::setOwnerId(long ownerId)
  102. {
  103. ownerId_ = ownerId;
  104. setParameter("OwnerId", std::to_string(ownerId));
  105. }
  106. std::string UpdateLiveAppSnapshotConfigRequest::getCallback()const
  107. {
  108. return callback_;
  109. }
  110. void UpdateLiveAppSnapshotConfigRequest::setCallback(const std::string& callback)
  111. {
  112. callback_ = callback;
  113. setParameter("Callback", callback);
  114. }