DeleteSnatEntryRequest.cc 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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/vpc/model/DeleteSnatEntryRequest.h>
  17. using namespace AlibabaCloud::Vpc;
  18. using namespace AlibabaCloud::Vpc::Model;
  19. DeleteSnatEntryRequest::DeleteSnatEntryRequest() :
  20. VpcRequest("DeleteSnatEntry")
  21. {}
  22. DeleteSnatEntryRequest::~DeleteSnatEntryRequest()
  23. {}
  24. long DeleteSnatEntryRequest::getResourceOwnerId()const
  25. {
  26. return resourceOwnerId_;
  27. }
  28. void DeleteSnatEntryRequest::setResourceOwnerId(long resourceOwnerId)
  29. {
  30. resourceOwnerId_ = resourceOwnerId;
  31. setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
  32. }
  33. std::string DeleteSnatEntryRequest::getResourceOwnerAccount()const
  34. {
  35. return resourceOwnerAccount_;
  36. }
  37. void DeleteSnatEntryRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
  38. {
  39. resourceOwnerAccount_ = resourceOwnerAccount;
  40. setParameter("ResourceOwnerAccount", resourceOwnerAccount);
  41. }
  42. std::string DeleteSnatEntryRequest::getRegionId()const
  43. {
  44. return regionId_;
  45. }
  46. void DeleteSnatEntryRequest::setRegionId(const std::string& regionId)
  47. {
  48. regionId_ = regionId;
  49. setParameter("RegionId", regionId);
  50. }
  51. std::string DeleteSnatEntryRequest::getOwnerAccount()const
  52. {
  53. return ownerAccount_;
  54. }
  55. void DeleteSnatEntryRequest::setOwnerAccount(const std::string& ownerAccount)
  56. {
  57. ownerAccount_ = ownerAccount;
  58. setParameter("OwnerAccount", ownerAccount);
  59. }
  60. std::string DeleteSnatEntryRequest::getSnatTableId()const
  61. {
  62. return snatTableId_;
  63. }
  64. void DeleteSnatEntryRequest::setSnatTableId(const std::string& snatTableId)
  65. {
  66. snatTableId_ = snatTableId;
  67. setParameter("SnatTableId", snatTableId);
  68. }
  69. std::string DeleteSnatEntryRequest::getSnatEntryId()const
  70. {
  71. return snatEntryId_;
  72. }
  73. void DeleteSnatEntryRequest::setSnatEntryId(const std::string& snatEntryId)
  74. {
  75. snatEntryId_ = snatEntryId;
  76. setParameter("SnatEntryId", snatEntryId);
  77. }
  78. long DeleteSnatEntryRequest::getOwnerId()const
  79. {
  80. return ownerId_;
  81. }
  82. void DeleteSnatEntryRequest::setOwnerId(long ownerId)
  83. {
  84. ownerId_ = ownerId;
  85. setParameter("OwnerId", std::to_string(ownerId));
  86. }