DescribeEpnBandWidthDataRequest.cc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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/ens/model/DescribeEpnBandWidthDataRequest.h>
  17. using AlibabaCloud::Ens::Model::DescribeEpnBandWidthDataRequest;
  18. DescribeEpnBandWidthDataRequest::DescribeEpnBandWidthDataRequest()
  19. : RpcServiceRequest("ens", "2017-11-10", "DescribeEpnBandWidthData") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. DescribeEpnBandWidthDataRequest::~DescribeEpnBandWidthDataRequest() {}
  23. std::string DescribeEpnBandWidthDataRequest::getIsp() const {
  24. return isp_;
  25. }
  26. void DescribeEpnBandWidthDataRequest::setIsp(const std::string &isp) {
  27. isp_ = isp;
  28. setParameter(std::string("Isp"), isp);
  29. }
  30. std::string DescribeEpnBandWidthDataRequest::getStartTime() const {
  31. return startTime_;
  32. }
  33. void DescribeEpnBandWidthDataRequest::setStartTime(const std::string &startTime) {
  34. startTime_ = startTime;
  35. setParameter(std::string("StartTime"), startTime);
  36. }
  37. std::string DescribeEpnBandWidthDataRequest::getEnsRegionId() const {
  38. return ensRegionId_;
  39. }
  40. void DescribeEpnBandWidthDataRequest::setEnsRegionId(const std::string &ensRegionId) {
  41. ensRegionId_ = ensRegionId;
  42. setParameter(std::string("EnsRegionId"), ensRegionId);
  43. }
  44. std::string DescribeEpnBandWidthDataRequest::getEPNInstanceId() const {
  45. return ePNInstanceId_;
  46. }
  47. void DescribeEpnBandWidthDataRequest::setEPNInstanceId(const std::string &ePNInstanceId) {
  48. ePNInstanceId_ = ePNInstanceId;
  49. setParameter(std::string("EPNInstanceId"), ePNInstanceId);
  50. }
  51. std::string DescribeEpnBandWidthDataRequest::getPeriod() const {
  52. return period_;
  53. }
  54. void DescribeEpnBandWidthDataRequest::setPeriod(const std::string &period) {
  55. period_ = period;
  56. setParameter(std::string("Period"), period);
  57. }
  58. std::string DescribeEpnBandWidthDataRequest::getInstanceId() const {
  59. return instanceId_;
  60. }
  61. void DescribeEpnBandWidthDataRequest::setInstanceId(const std::string &instanceId) {
  62. instanceId_ = instanceId;
  63. setParameter(std::string("InstanceId"), instanceId);
  64. }
  65. std::string DescribeEpnBandWidthDataRequest::getNetworkingModel() const {
  66. return networkingModel_;
  67. }
  68. void DescribeEpnBandWidthDataRequest::setNetworkingModel(const std::string &networkingModel) {
  69. networkingModel_ = networkingModel;
  70. setParameter(std::string("NetworkingModel"), networkingModel);
  71. }
  72. std::string DescribeEpnBandWidthDataRequest::getEndTime() const {
  73. return endTime_;
  74. }
  75. void DescribeEpnBandWidthDataRequest::setEndTime(const std::string &endTime) {
  76. endTime_ = endTime;
  77. setParameter(std::string("EndTime"), endTime);
  78. }