ModifyIpv6AddressAttributeRequest.cc 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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/ModifyIpv6AddressAttributeRequest.h>
  17. using AlibabaCloud::Vpc::Model::ModifyIpv6AddressAttributeRequest;
  18. ModifyIpv6AddressAttributeRequest::ModifyIpv6AddressAttributeRequest() :
  19. RpcServiceRequest("vpc", "2016-04-28", "ModifyIpv6AddressAttribute")
  20. {}
  21. ModifyIpv6AddressAttributeRequest::~ModifyIpv6AddressAttributeRequest()
  22. {}
  23. long ModifyIpv6AddressAttributeRequest::getResourceOwnerId()const
  24. {
  25. return resourceOwnerId_;
  26. }
  27. void ModifyIpv6AddressAttributeRequest::setResourceOwnerId(long resourceOwnerId)
  28. {
  29. resourceOwnerId_ = resourceOwnerId;
  30. setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
  31. }
  32. long ModifyIpv6AddressAttributeRequest::getCallerParentId()const
  33. {
  34. return callerParentId_;
  35. }
  36. void ModifyIpv6AddressAttributeRequest::setCallerParentId(long callerParentId)
  37. {
  38. callerParentId_ = callerParentId;
  39. setParameter("CallerParentId", std::to_string(callerParentId));
  40. }
  41. std::string ModifyIpv6AddressAttributeRequest::getDescription()const
  42. {
  43. return description_;
  44. }
  45. void ModifyIpv6AddressAttributeRequest::setDescription(const std::string& description)
  46. {
  47. description_ = description;
  48. setParameter("Description", description);
  49. }
  50. bool ModifyIpv6AddressAttributeRequest::getProxy_original_security_transport()const
  51. {
  52. return proxy_original_security_transport_;
  53. }
  54. void ModifyIpv6AddressAttributeRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
  55. {
  56. proxy_original_security_transport_ = proxy_original_security_transport;
  57. setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
  58. }
  59. std::string ModifyIpv6AddressAttributeRequest::getProxy_original_source_ip()const
  60. {
  61. return proxy_original_source_ip_;
  62. }
  63. void ModifyIpv6AddressAttributeRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
  64. {
  65. proxy_original_source_ip_ = proxy_original_source_ip;
  66. setParameter("Proxy_original_source_ip", proxy_original_source_ip);
  67. }
  68. std::string ModifyIpv6AddressAttributeRequest::getOwnerIdLoginEmail()const
  69. {
  70. return ownerIdLoginEmail_;
  71. }
  72. void ModifyIpv6AddressAttributeRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
  73. {
  74. ownerIdLoginEmail_ = ownerIdLoginEmail;
  75. setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
  76. }
  77. std::string ModifyIpv6AddressAttributeRequest::getCallerType()const
  78. {
  79. return callerType_;
  80. }
  81. void ModifyIpv6AddressAttributeRequest::setCallerType(const std::string& callerType)
  82. {
  83. callerType_ = callerType;
  84. setParameter("CallerType", callerType);
  85. }
  86. std::string ModifyIpv6AddressAttributeRequest::getAccessKeyId()const
  87. {
  88. return accessKeyId_;
  89. }
  90. void ModifyIpv6AddressAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
  91. {
  92. accessKeyId_ = accessKeyId;
  93. setParameter("AccessKeyId", accessKeyId);
  94. }
  95. std::string ModifyIpv6AddressAttributeRequest::getResourceGroupId()const
  96. {
  97. return resourceGroupId_;
  98. }
  99. void ModifyIpv6AddressAttributeRequest::setResourceGroupId(const std::string& resourceGroupId)
  100. {
  101. resourceGroupId_ = resourceGroupId;
  102. setParameter("ResourceGroupId", resourceGroupId);
  103. }
  104. std::string ModifyIpv6AddressAttributeRequest::getRegionId()const
  105. {
  106. return regionId_;
  107. }
  108. void ModifyIpv6AddressAttributeRequest::setRegionId(const std::string& regionId)
  109. {
  110. regionId_ = regionId;
  111. setParameter("RegionId", regionId);
  112. }
  113. std::string ModifyIpv6AddressAttributeRequest::getSecurityToken()const
  114. {
  115. return securityToken_;
  116. }
  117. void ModifyIpv6AddressAttributeRequest::setSecurityToken(const std::string& securityToken)
  118. {
  119. securityToken_ = securityToken;
  120. setParameter("SecurityToken", securityToken);
  121. }
  122. bool ModifyIpv6AddressAttributeRequest::getEnable()const
  123. {
  124. return enable_;
  125. }
  126. void ModifyIpv6AddressAttributeRequest::setEnable(bool enable)
  127. {
  128. enable_ = enable;
  129. setParameter("Enable", std::to_string(enable));
  130. }
  131. std::string ModifyIpv6AddressAttributeRequest::getRequestContent()const
  132. {
  133. return requestContent_;
  134. }
  135. void ModifyIpv6AddressAttributeRequest::setRequestContent(const std::string& requestContent)
  136. {
  137. requestContent_ = requestContent;
  138. setParameter("RequestContent", requestContent);
  139. }
  140. std::string ModifyIpv6AddressAttributeRequest::getCallerBidEmail()const
  141. {
  142. return callerBidEmail_;
  143. }
  144. void ModifyIpv6AddressAttributeRequest::setCallerBidEmail(const std::string& callerBidEmail)
  145. {
  146. callerBidEmail_ = callerBidEmail;
  147. setParameter("CallerBidEmail", callerBidEmail);
  148. }
  149. std::string ModifyIpv6AddressAttributeRequest::getCallerUidEmail()const
  150. {
  151. return callerUidEmail_;
  152. }
  153. void ModifyIpv6AddressAttributeRequest::setCallerUidEmail(const std::string& callerUidEmail)
  154. {
  155. callerUidEmail_ = callerUidEmail;
  156. setParameter("CallerUidEmail", callerUidEmail);
  157. }
  158. long ModifyIpv6AddressAttributeRequest::getCallerUid()const
  159. {
  160. return callerUid_;
  161. }
  162. void ModifyIpv6AddressAttributeRequest::setCallerUid(long callerUid)
  163. {
  164. callerUid_ = callerUid;
  165. setParameter("CallerUid", std::to_string(callerUid));
  166. }
  167. std::string ModifyIpv6AddressAttributeRequest::getApp_ip()const
  168. {
  169. return app_ip_;
  170. }
  171. void ModifyIpv6AddressAttributeRequest::setApp_ip(const std::string& app_ip)
  172. {
  173. app_ip_ = app_ip;
  174. setParameter("App_ip", app_ip);
  175. }
  176. std::string ModifyIpv6AddressAttributeRequest::getResourceOwnerAccount()const
  177. {
  178. return resourceOwnerAccount_;
  179. }
  180. void ModifyIpv6AddressAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
  181. {
  182. resourceOwnerAccount_ = resourceOwnerAccount;
  183. setParameter("ResourceOwnerAccount", resourceOwnerAccount);
  184. }
  185. std::string ModifyIpv6AddressAttributeRequest::getOwnerAccount()const
  186. {
  187. return ownerAccount_;
  188. }
  189. void ModifyIpv6AddressAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
  190. {
  191. ownerAccount_ = ownerAccount;
  192. setParameter("OwnerAccount", ownerAccount);
  193. }
  194. std::string ModifyIpv6AddressAttributeRequest::getCallerBid()const
  195. {
  196. return callerBid_;
  197. }
  198. void ModifyIpv6AddressAttributeRequest::setCallerBid(const std::string& callerBid)
  199. {
  200. callerBid_ = callerBid;
  201. setParameter("CallerBid", callerBid);
  202. }
  203. long ModifyIpv6AddressAttributeRequest::getOwnerId()const
  204. {
  205. return ownerId_;
  206. }
  207. void ModifyIpv6AddressAttributeRequest::setOwnerId(long ownerId)
  208. {
  209. ownerId_ = ownerId;
  210. setParameter("OwnerId", std::to_string(ownerId));
  211. }
  212. bool ModifyIpv6AddressAttributeRequest::getProxy_trust_transport_info()const
  213. {
  214. return proxy_trust_transport_info_;
  215. }
  216. void ModifyIpv6AddressAttributeRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
  217. {
  218. proxy_trust_transport_info_ = proxy_trust_transport_info;
  219. setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
  220. }
  221. bool ModifyIpv6AddressAttributeRequest::getAk_mfa_present()const
  222. {
  223. return ak_mfa_present_;
  224. }
  225. void ModifyIpv6AddressAttributeRequest::setAk_mfa_present(bool ak_mfa_present)
  226. {
  227. ak_mfa_present_ = ak_mfa_present;
  228. setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
  229. }
  230. bool ModifyIpv6AddressAttributeRequest::getSecurity_transport()const
  231. {
  232. return security_transport_;
  233. }
  234. void ModifyIpv6AddressAttributeRequest::setSecurity_transport(bool security_transport)
  235. {
  236. security_transport_ = security_transport;
  237. setParameter("Security_transport", std::to_string(security_transport));
  238. }
  239. std::string ModifyIpv6AddressAttributeRequest::getIpv6AddressId()const
  240. {
  241. return ipv6AddressId_;
  242. }
  243. void ModifyIpv6AddressAttributeRequest::setIpv6AddressId(const std::string& ipv6AddressId)
  244. {
  245. ipv6AddressId_ = ipv6AddressId;
  246. setParameter("Ipv6AddressId", ipv6AddressId);
  247. }
  248. std::string ModifyIpv6AddressAttributeRequest::getRequestId()const
  249. {
  250. return requestId_;
  251. }
  252. void ModifyIpv6AddressAttributeRequest::setRequestId(const std::string& requestId)
  253. {
  254. requestId_ = requestId;
  255. setParameter("RequestId", requestId);
  256. }
  257. std::string ModifyIpv6AddressAttributeRequest::getName()const
  258. {
  259. return name_;
  260. }
  261. void ModifyIpv6AddressAttributeRequest::setName(const std::string& name)
  262. {
  263. name_ = name;
  264. setParameter("Name", name);
  265. }