DescribeNetworkInterfacesRequest.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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_DESCRIBENETWORKINTERFACESREQUEST_H_
  17. #define ALIBABACLOUD_ECS_MODEL_DESCRIBENETWORKINTERFACESREQUEST_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 DescribeNetworkInterfacesRequest : public RpcServiceRequest
  29. {
  30. public:
  31. struct Tag
  32. {
  33. std::string key;
  34. std::string value;
  35. };
  36. public:
  37. DescribeNetworkInterfacesRequest();
  38. ~DescribeNetworkInterfacesRequest();
  39. long getResourceOwnerId()const;
  40. void setResourceOwnerId(long resourceOwnerId);
  41. bool getServiceManaged()const;
  42. void setServiceManaged(bool serviceManaged);
  43. std::string getSecurityGroupId()const;
  44. void setSecurityGroupId(const std::string& securityGroupId);
  45. std::string getType()const;
  46. void setType(const std::string& type);
  47. int getPageNumber()const;
  48. void setPageNumber(int pageNumber);
  49. std::string getResourceGroupId()const;
  50. void setResourceGroupId(const std::string& resourceGroupId);
  51. std::string getRegionId()const;
  52. void setRegionId(const std::string& regionId);
  53. std::string getNextToken()const;
  54. void setNextToken(const std::string& nextToken);
  55. int getPageSize()const;
  56. void setPageSize(int pageSize);
  57. std::vector<Tag> getTag()const;
  58. void setTag(const std::vector<Tag>& tag);
  59. std::string getNetworkInterfaceName()const;
  60. void setNetworkInterfaceName(const std::string& networkInterfaceName);
  61. std::string getResourceOwnerAccount()const;
  62. void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
  63. std::string getOwnerAccount()const;
  64. void setOwnerAccount(const std::string& ownerAccount);
  65. long getOwnerId()const;
  66. void setOwnerId(long ownerId);
  67. std::string getVSwitchId()const;
  68. void setVSwitchId(const std::string& vSwitchId);
  69. std::vector<std::string> getPrivateIpAddress()const;
  70. void setPrivateIpAddress(const std::vector<std::string>& privateIpAddress);
  71. std::string getInstanceId()const;
  72. void setInstanceId(const std::string& instanceId);
  73. std::string getVpcId()const;
  74. void setVpcId(const std::string& vpcId);
  75. std::string getPrimaryIpAddress()const;
  76. void setPrimaryIpAddress(const std::string& primaryIpAddress);
  77. int getMaxResults()const;
  78. void setMaxResults(int maxResults);
  79. std::vector<std::string> getNetworkInterfaceId()const;
  80. void setNetworkInterfaceId(const std::vector<std::string>& networkInterfaceId);
  81. std::vector<std::string> getIpv6Address()const;
  82. void setIpv6Address(const std::vector<std::string>& ipv6Address);
  83. std::string getStatus()const;
  84. void setStatus(const std::string& status);
  85. private:
  86. long resourceOwnerId_;
  87. bool serviceManaged_;
  88. std::string securityGroupId_;
  89. std::string type_;
  90. int pageNumber_;
  91. std::string resourceGroupId_;
  92. std::string regionId_;
  93. std::string nextToken_;
  94. int pageSize_;
  95. std::vector<Tag> tag_;
  96. std::string networkInterfaceName_;
  97. std::string resourceOwnerAccount_;
  98. std::string ownerAccount_;
  99. long ownerId_;
  100. std::string vSwitchId_;
  101. std::vector<std::string> privateIpAddress_;
  102. std::string instanceId_;
  103. std::string vpcId_;
  104. std::string primaryIpAddress_;
  105. int maxResults_;
  106. std::vector<std::string> networkInterfaceId_;
  107. std::vector<std::string> ipv6Address_;
  108. std::string status_;
  109. };
  110. }
  111. }
  112. }
  113. #endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBENETWORKINTERFACESREQUEST_H_