CloseProductAccountRequest.cc 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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/openanalytics/model/CloseProductAccountRequest.h>
  17. using AlibabaCloud::Openanalytics::Model::CloseProductAccountRequest;
  18. CloseProductAccountRequest::CloseProductAccountRequest() :
  19. RpcServiceRequest("openanalytics", "2018-03-01", "CloseProductAccount")
  20. {}
  21. CloseProductAccountRequest::~CloseProductAccountRequest()
  22. {}
  23. long CloseProductAccountRequest::getCallerParentId()const
  24. {
  25. return callerParentId_;
  26. }
  27. void CloseProductAccountRequest::setCallerParentId(long callerParentId)
  28. {
  29. callerParentId_ = callerParentId;
  30. setParameter("CallerParentId", std::to_string(callerParentId));
  31. }
  32. long CloseProductAccountRequest::getCallerBid()const
  33. {
  34. return callerBid_;
  35. }
  36. void CloseProductAccountRequest::setCallerBid(long callerBid)
  37. {
  38. callerBid_ = callerBid;
  39. setParameter("CallerBid", std::to_string(callerBid));
  40. }
  41. std::string CloseProductAccountRequest::getCallerType()const
  42. {
  43. return callerType_;
  44. }
  45. void CloseProductAccountRequest::setCallerType(const std::string& callerType)
  46. {
  47. callerType_ = callerType;
  48. setParameter("CallerType", callerType);
  49. }
  50. bool CloseProductAccountRequest::getAk_mfa_present()const
  51. {
  52. return ak_mfa_present_;
  53. }
  54. void CloseProductAccountRequest::setAk_mfa_present(bool ak_mfa_present)
  55. {
  56. ak_mfa_present_ = ak_mfa_present;
  57. setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
  58. }
  59. std::string CloseProductAccountRequest::getAccessKeyId()const
  60. {
  61. return accessKeyId_;
  62. }
  63. void CloseProductAccountRequest::setAccessKeyId(const std::string& accessKeyId)
  64. {
  65. accessKeyId_ = accessKeyId;
  66. setParameter("AccessKeyId", accessKeyId);
  67. }
  68. bool CloseProductAccountRequest::getSecurity_transport()const
  69. {
  70. return security_transport_;
  71. }
  72. void CloseProductAccountRequest::setSecurity_transport(bool security_transport)
  73. {
  74. security_transport_ = security_transport;
  75. setParameter("Security_transport", std::to_string(security_transport));
  76. }
  77. std::string CloseProductAccountRequest::getRegionID()const
  78. {
  79. return regionID_;
  80. }
  81. void CloseProductAccountRequest::setRegionID(const std::string& regionID)
  82. {
  83. regionID_ = regionID;
  84. setParameter("RegionID", regionID);
  85. }
  86. std::string CloseProductAccountRequest::getRequestId()const
  87. {
  88. return requestId_;
  89. }
  90. void CloseProductAccountRequest::setRequestId(const std::string& requestId)
  91. {
  92. requestId_ = requestId;
  93. setParameter("RequestId", requestId);
  94. }
  95. long CloseProductAccountRequest::getCallerUid()const
  96. {
  97. return callerUid_;
  98. }
  99. void CloseProductAccountRequest::setCallerUid(long callerUid)
  100. {
  101. callerUid_ = callerUid;
  102. setParameter("CallerUid", std::to_string(callerUid));
  103. }
  104. std::string CloseProductAccountRequest::getProductCode()const
  105. {
  106. return productCode_;
  107. }
  108. void CloseProductAccountRequest::setProductCode(const std::string& productCode)
  109. {
  110. productCode_ = productCode;
  111. setParameter("ProductCode", productCode);
  112. }
  113. std::string CloseProductAccountRequest::getProductAccessKey()const
  114. {
  115. return productAccessKey_;
  116. }
  117. void CloseProductAccountRequest::setProductAccessKey(const std::string& productAccessKey)
  118. {
  119. productAccessKey_ = productAccessKey;
  120. setParameter("ProductAccessKey", productAccessKey);
  121. }
  122. std::string CloseProductAccountRequest::getTargetUid()const
  123. {
  124. return targetUid_;
  125. }
  126. void CloseProductAccountRequest::setTargetUid(const std::string& targetUid)
  127. {
  128. targetUid_ = targetUid;
  129. setParameter("TargetUid", targetUid);
  130. }
  131. std::string CloseProductAccountRequest::getTargetArnRole()const
  132. {
  133. return targetArnRole_;
  134. }
  135. void CloseProductAccountRequest::setTargetArnRole(const std::string& targetArnRole)
  136. {
  137. targetArnRole_ = targetArnRole;
  138. setParameter("TargetArnRole", targetArnRole);
  139. }