RefreshGbSubDeviceListRequest.cc 2.6 KB

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