CreateTrafficMirrorSessionRequest.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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_VPC_MODEL_CREATETRAFFICMIRRORSESSIONREQUEST_H_
  17. #define ALIBABACLOUD_VPC_MODEL_CREATETRAFFICMIRRORSESSIONREQUEST_H_
  18. #include <alibabacloud/vpc/VpcExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Vpc {
  25. namespace Model {
  26. class ALIBABACLOUD_VPC_EXPORT CreateTrafficMirrorSessionRequest : public RpcServiceRequest {
  27. public:
  28. CreateTrafficMirrorSessionRequest();
  29. ~CreateTrafficMirrorSessionRequest();
  30. std::string getTrafficMirrorTargetType() const;
  31. void setTrafficMirrorTargetType(const std::string &trafficMirrorTargetType);
  32. long getResourceOwnerId() const;
  33. void setResourceOwnerId(long resourceOwnerId);
  34. std::string getClientToken() const;
  35. void setClientToken(const std::string &clientToken);
  36. bool getEnabled() const;
  37. void setEnabled(bool enabled);
  38. std::string getTrafficMirrorSessionName() const;
  39. void setTrafficMirrorSessionName(const std::string &trafficMirrorSessionName);
  40. std::string getRegionId() const;
  41. void setRegionId(const std::string &regionId);
  42. std::string getTrafficMirrorSessionDescription() const;
  43. void setTrafficMirrorSessionDescription(const std::string &trafficMirrorSessionDescription);
  44. std::vector<std::string> getTrafficMirrorSourceIds() const;
  45. void setTrafficMirrorSourceIds(const std::vector<std::string> &trafficMirrorSourceIds);
  46. bool getDryRun() const;
  47. void setDryRun(bool dryRun);
  48. std::string getResourceOwnerAccount() const;
  49. void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
  50. std::string getOwnerAccount() const;
  51. void setOwnerAccount(const std::string &ownerAccount);
  52. int getPriority() const;
  53. void setPriority(int priority);
  54. long getOwnerId() const;
  55. void setOwnerId(long ownerId);
  56. std::string getTrafficMirrorTargetId() const;
  57. void setTrafficMirrorTargetId(const std::string &trafficMirrorTargetId);
  58. std::string getTrafficMirrorFilterId() const;
  59. void setTrafficMirrorFilterId(const std::string &trafficMirrorFilterId);
  60. int getPacketLength() const;
  61. void setPacketLength(int packetLength);
  62. int getVirtualNetworkId() const;
  63. void setVirtualNetworkId(int virtualNetworkId);
  64. private:
  65. std::string trafficMirrorTargetType_;
  66. long resourceOwnerId_;
  67. std::string clientToken_;
  68. bool enabled_;
  69. std::string trafficMirrorSessionName_;
  70. std::string regionId_;
  71. std::string trafficMirrorSessionDescription_;
  72. std::vector<std::string> trafficMirrorSourceIds_;
  73. bool dryRun_;
  74. std::string resourceOwnerAccount_;
  75. std::string ownerAccount_;
  76. int priority_;
  77. long ownerId_;
  78. std::string trafficMirrorTargetId_;
  79. std::string trafficMirrorFilterId_;
  80. int packetLength_;
  81. int virtualNetworkId_;
  82. };
  83. } // namespace Model
  84. } // namespace Vpc
  85. } // namespace AlibabaCloud
  86. #endif // !ALIBABACLOUD_VPC_MODEL_CREATETRAFFICMIRRORSESSIONREQUEST_H_