DeleteStreamSnapshotJobRequest.cc 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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/linkvisual/model/DeleteStreamSnapshotJobRequest.h>
  17. using AlibabaCloud::Linkvisual::Model::DeleteStreamSnapshotJobRequest;
  18. DeleteStreamSnapshotJobRequest::DeleteStreamSnapshotJobRequest()
  19. : RpcServiceRequest("linkvisual", "2018-01-20", "DeleteStreamSnapshotJob") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. DeleteStreamSnapshotJobRequest::~DeleteStreamSnapshotJobRequest() {}
  23. std::string DeleteStreamSnapshotJobRequest::getIotId() const {
  24. return iotId_;
  25. }
  26. void DeleteStreamSnapshotJobRequest::setIotId(const std::string &iotId) {
  27. iotId_ = iotId;
  28. setParameter(std::string("IotId"), iotId);
  29. }
  30. std::string DeleteStreamSnapshotJobRequest::getIotInstanceId() const {
  31. return iotInstanceId_;
  32. }
  33. void DeleteStreamSnapshotJobRequest::setIotInstanceId(const std::string &iotInstanceId) {
  34. iotInstanceId_ = iotInstanceId;
  35. setParameter(std::string("IotInstanceId"), iotInstanceId);
  36. }
  37. int DeleteStreamSnapshotJobRequest::getStreamType() const {
  38. return streamType_;
  39. }
  40. void DeleteStreamSnapshotJobRequest::setStreamType(int streamType) {
  41. streamType_ = streamType;
  42. setParameter(std::string("StreamType"), std::to_string(streamType));
  43. }
  44. std::string DeleteStreamSnapshotJobRequest::getProductKey() const {
  45. return productKey_;
  46. }
  47. void DeleteStreamSnapshotJobRequest::setProductKey(const std::string &productKey) {
  48. productKey_ = productKey;
  49. setParameter(std::string("ProductKey"), productKey);
  50. }
  51. std::string DeleteStreamSnapshotJobRequest::getApiProduct() const {
  52. return apiProduct_;
  53. }
  54. void DeleteStreamSnapshotJobRequest::setApiProduct(const std::string &apiProduct) {
  55. apiProduct_ = apiProduct;
  56. setBodyParameter(std::string("ApiProduct"), apiProduct);
  57. }
  58. std::string DeleteStreamSnapshotJobRequest::getApiRevision() const {
  59. return apiRevision_;
  60. }
  61. void DeleteStreamSnapshotJobRequest::setApiRevision(const std::string &apiRevision) {
  62. apiRevision_ = apiRevision;
  63. setBodyParameter(std::string("ApiRevision"), apiRevision);
  64. }
  65. std::string DeleteStreamSnapshotJobRequest::getDeviceName() const {
  66. return deviceName_;
  67. }
  68. void DeleteStreamSnapshotJobRequest::setDeviceName(const std::string &deviceName) {
  69. deviceName_ = deviceName;
  70. setParameter(std::string("DeviceName"), deviceName);
  71. }