ModifySecurityGroupEgressRuleRequest.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. #ifndef ALIBABACLOUD_ECS_MODEL_MODIFYSECURITYGROUPEGRESSRULEREQUEST_H_
  17. #define ALIBABACLOUD_ECS_MODEL_MODIFYSECURITYGROUPEGRESSRULEREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/ecs/EcsExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Ecs
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_ECS_EXPORT ModifySecurityGroupEgressRuleRequest : public RpcServiceRequest
  29. {
  30. public:
  31. ModifySecurityGroupEgressRuleRequest();
  32. ~ModifySecurityGroupEgressRuleRequest();
  33. std::string getNicType()const;
  34. void setNicType(const std::string& nicType);
  35. long getResourceOwnerId()const;
  36. void setResourceOwnerId(long resourceOwnerId);
  37. std::string getSourcePortRange()const;
  38. void setSourcePortRange(const std::string& sourcePortRange);
  39. std::string getClientToken()const;
  40. void setClientToken(const std::string& clientToken);
  41. std::string getDestPrefixListId()const;
  42. void setDestPrefixListId(const std::string& destPrefixListId);
  43. std::string getSecurityGroupId()const;
  44. void setSecurityGroupId(const std::string& securityGroupId);
  45. std::string getDescription()const;
  46. void setDescription(const std::string& description);
  47. std::string getRegionId()const;
  48. void setRegionId(const std::string& regionId);
  49. std::string getIpv6DestCidrIp()const;
  50. void setIpv6DestCidrIp(const std::string& ipv6DestCidrIp);
  51. std::string getIpv6SourceCidrIp()const;
  52. void setIpv6SourceCidrIp(const std::string& ipv6SourceCidrIp);
  53. std::string getPolicy()const;
  54. void setPolicy(const std::string& policy);
  55. std::string getPortRange()const;
  56. void setPortRange(const std::string& portRange);
  57. std::string getResourceOwnerAccount()const;
  58. void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
  59. std::string getIpProtocol()const;
  60. void setIpProtocol(const std::string& ipProtocol);
  61. std::string getOwnerAccount()const;
  62. void setOwnerAccount(const std::string& ownerAccount);
  63. std::string getSourceCidrIp()const;
  64. void setSourceCidrIp(const std::string& sourceCidrIp);
  65. std::string getDestGroupId()const;
  66. void setDestGroupId(const std::string& destGroupId);
  67. long getOwnerId()const;
  68. void setOwnerId(long ownerId);
  69. std::string getDestGroupOwnerAccount()const;
  70. void setDestGroupOwnerAccount(const std::string& destGroupOwnerAccount);
  71. std::string getPriority()const;
  72. void setPriority(const std::string& priority);
  73. std::string getDestCidrIp()const;
  74. void setDestCidrIp(const std::string& destCidrIp);
  75. long getDestGroupOwnerId()const;
  76. void setDestGroupOwnerId(long destGroupOwnerId);
  77. private:
  78. std::string nicType_;
  79. long resourceOwnerId_;
  80. std::string sourcePortRange_;
  81. std::string clientToken_;
  82. std::string destPrefixListId_;
  83. std::string securityGroupId_;
  84. std::string description_;
  85. std::string regionId_;
  86. std::string ipv6DestCidrIp_;
  87. std::string ipv6SourceCidrIp_;
  88. std::string policy_;
  89. std::string portRange_;
  90. std::string resourceOwnerAccount_;
  91. std::string ipProtocol_;
  92. std::string ownerAccount_;
  93. std::string sourceCidrIp_;
  94. std::string destGroupId_;
  95. long ownerId_;
  96. std::string destGroupOwnerAccount_;
  97. std::string priority_;
  98. std::string destCidrIp_;
  99. long destGroupOwnerId_;
  100. };
  101. }
  102. }
  103. }
  104. #endif // !ALIBABACLOUD_ECS_MODEL_MODIFYSECURITYGROUPEGRESSRULEREQUEST_H_