CreateNetworkInterfaceRequest.h 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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_CREATENETWORKINTERFACEREQUEST_H_
  17. #define ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEREQUEST_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 CreateNetworkInterfaceRequest : public RpcServiceRequest
  29. {
  30. struct Tag
  31. {
  32. std::string key;
  33. std::string value;
  34. };
  35. public:
  36. CreateNetworkInterfaceRequest();
  37. ~CreateNetworkInterfaceRequest();
  38. long getResourceOwnerId()const;
  39. void setResourceOwnerId(long resourceOwnerId);
  40. std::string getClientToken()const;
  41. void setClientToken(const std::string& clientToken);
  42. long getCallerParentId()const;
  43. void setCallerParentId(long callerParentId);
  44. std::string getSecurityGroupId()const;
  45. void setSecurityGroupId(const std::string& securityGroupId);
  46. bool getProxy_original_security_transport()const;
  47. void setProxy_original_security_transport(bool proxy_original_security_transport);
  48. std::string getDescription()const;
  49. void setDescription(const std::string& description);
  50. std::string getProxy_original_source_ip()const;
  51. void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
  52. std::string getOwnerIdLoginEmail()const;
  53. void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
  54. std::string getCallerType()const;
  55. void setCallerType(const std::string& callerType);
  56. std::string getAccessKeyId()const;
  57. void setAccessKeyId(const std::string& accessKeyId);
  58. std::string getBusinessType()const;
  59. void setBusinessType(const std::string& businessType);
  60. std::string getSourceRegionId()const;
  61. void setSourceRegionId(const std::string& sourceRegionId);
  62. std::string getResourceGroupId()const;
  63. void setResourceGroupId(const std::string& resourceGroupId);
  64. std::string getSecurityToken()const;
  65. void setSecurityToken(const std::string& securityToken);
  66. std::string getRegionId()const;
  67. void setRegionId(const std::string& regionId);
  68. bool getEnable()const;
  69. void setEnable(bool enable);
  70. std::string getRequestContent()const;
  71. void setRequestContent(const std::string& requestContent);
  72. std::string getCallerBidEmail()const;
  73. void setCallerBidEmail(const std::string& callerBidEmail);
  74. std::vector<Tag> getTag()const;
  75. void setTag(const std::vector<Tag>& tag);
  76. std::string getCallerUidEmail()const;
  77. void setCallerUidEmail(const std::string& callerUidEmail);
  78. std::string getNetworkInterfaceName()const;
  79. void setNetworkInterfaceName(const std::string& networkInterfaceName);
  80. long getCallerUid()const;
  81. void setCallerUid(long callerUid);
  82. std::string getApp_ip()const;
  83. void setApp_ip(const std::string& app_ip);
  84. bool getVisible()const;
  85. void setVisible(bool visible);
  86. std::string getResourceOwnerAccount()const;
  87. void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
  88. std::string getOwnerAccount()const;
  89. void setOwnerAccount(const std::string& ownerAccount);
  90. std::string getCallerBid()const;
  91. void setCallerBid(const std::string& callerBid);
  92. long getOwnerId()const;
  93. void setOwnerId(long ownerId);
  94. bool getProxy_trust_transport_info()const;
  95. void setProxy_trust_transport_info(bool proxy_trust_transport_info);
  96. bool getAk_mfa_present()const;
  97. void setAk_mfa_present(bool ak_mfa_present);
  98. bool getSecurity_transport()const;
  99. void setSecurity_transport(bool security_transport);
  100. std::string getVSwitchId()const;
  101. void setVSwitchId(const std::string& vSwitchId);
  102. std::string getRequestId()const;
  103. void setRequestId(const std::string& requestId);
  104. std::string getPrimaryIpAddress()const;
  105. void setPrimaryIpAddress(const std::string& primaryIpAddress);
  106. private:
  107. long resourceOwnerId_;
  108. std::string clientToken_;
  109. long callerParentId_;
  110. std::string securityGroupId_;
  111. bool proxy_original_security_transport_;
  112. std::string description_;
  113. std::string proxy_original_source_ip_;
  114. std::string ownerIdLoginEmail_;
  115. std::string callerType_;
  116. std::string accessKeyId_;
  117. std::string businessType_;
  118. std::string sourceRegionId_;
  119. std::string resourceGroupId_;
  120. std::string securityToken_;
  121. std::string regionId_;
  122. bool enable_;
  123. std::string requestContent_;
  124. std::string callerBidEmail_;
  125. std::vector<Tag> tag_;
  126. std::string callerUidEmail_;
  127. std::string networkInterfaceName_;
  128. long callerUid_;
  129. std::string app_ip_;
  130. bool visible_;
  131. std::string resourceOwnerAccount_;
  132. std::string ownerAccount_;
  133. std::string callerBid_;
  134. long ownerId_;
  135. bool proxy_trust_transport_info_;
  136. bool ak_mfa_present_;
  137. bool security_transport_;
  138. std::string vSwitchId_;
  139. std::string requestId_;
  140. std::string primaryIpAddress_;
  141. };
  142. }
  143. }
  144. }
  145. #endif // !ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEREQUEST_H_