UpdateGtmRecoveryPlanRequest.cc 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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/alidns/model/UpdateGtmRecoveryPlanRequest.h>
  17. using AlibabaCloud::Alidns::Model::UpdateGtmRecoveryPlanRequest;
  18. UpdateGtmRecoveryPlanRequest::UpdateGtmRecoveryPlanRequest() :
  19. RpcServiceRequest("alidns", "2015-01-09", "UpdateGtmRecoveryPlan")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. UpdateGtmRecoveryPlanRequest::~UpdateGtmRecoveryPlanRequest()
  24. {}
  25. std::string UpdateGtmRecoveryPlanRequest::getFaultAddrPool()const
  26. {
  27. return faultAddrPool_;
  28. }
  29. void UpdateGtmRecoveryPlanRequest::setFaultAddrPool(const std::string& faultAddrPool)
  30. {
  31. faultAddrPool_ = faultAddrPool;
  32. setParameter("FaultAddrPool", faultAddrPool);
  33. }
  34. std::string UpdateGtmRecoveryPlanRequest::getRemark()const
  35. {
  36. return remark_;
  37. }
  38. void UpdateGtmRecoveryPlanRequest::setRemark(const std::string& remark)
  39. {
  40. remark_ = remark;
  41. setParameter("Remark", remark);
  42. }
  43. std::string UpdateGtmRecoveryPlanRequest::getUserClientIp()const
  44. {
  45. return userClientIp_;
  46. }
  47. void UpdateGtmRecoveryPlanRequest::setUserClientIp(const std::string& userClientIp)
  48. {
  49. userClientIp_ = userClientIp;
  50. setParameter("UserClientIp", userClientIp);
  51. }
  52. std::string UpdateGtmRecoveryPlanRequest::getName()const
  53. {
  54. return name_;
  55. }
  56. void UpdateGtmRecoveryPlanRequest::setName(const std::string& name)
  57. {
  58. name_ = name;
  59. setParameter("Name", name);
  60. }
  61. long UpdateGtmRecoveryPlanRequest::getRecoveryPlanId()const
  62. {
  63. return recoveryPlanId_;
  64. }
  65. void UpdateGtmRecoveryPlanRequest::setRecoveryPlanId(long recoveryPlanId)
  66. {
  67. recoveryPlanId_ = recoveryPlanId;
  68. setParameter("RecoveryPlanId", std::to_string(recoveryPlanId));
  69. }
  70. std::string UpdateGtmRecoveryPlanRequest::getLang()const
  71. {
  72. return lang_;
  73. }
  74. void UpdateGtmRecoveryPlanRequest::setLang(const std::string& lang)
  75. {
  76. lang_ = lang;
  77. setParameter("Lang", lang);
  78. }