QueryEndPointListRequest.cc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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/QueryEndPointListRequest.h>
  17. using AlibabaCloud::Openanalytics::Model::QueryEndPointListRequest;
  18. QueryEndPointListRequest::QueryEndPointListRequest() :
  19. RpcServiceRequest("openanalytics", "2018-03-01", "QueryEndPointList")
  20. {}
  21. QueryEndPointListRequest::~QueryEndPointListRequest()
  22. {}
  23. bool QueryEndPointListRequest::getSecurity_transport()const
  24. {
  25. return security_transport_;
  26. }
  27. void QueryEndPointListRequest::setSecurity_transport(bool security_transport)
  28. {
  29. security_transport_ = security_transport;
  30. setCoreParameter("Security_transport", security_transport ? "true" : "false");
  31. }
  32. std::string QueryEndPointListRequest::getRegionID()const
  33. {
  34. return regionID_;
  35. }
  36. void QueryEndPointListRequest::setRegionID(const std::string& regionID)
  37. {
  38. regionID_ = regionID;
  39. setCoreParameter("RegionID", regionID);
  40. }
  41. std::string QueryEndPointListRequest::getRequestId()const
  42. {
  43. return requestId_;
  44. }
  45. void QueryEndPointListRequest::setRequestId(const std::string& requestId)
  46. {
  47. requestId_ = requestId;
  48. setCoreParameter("RequestId", requestId);
  49. }
  50. long QueryEndPointListRequest::getCallerParentId()const
  51. {
  52. return callerParentId_;
  53. }
  54. void QueryEndPointListRequest::setCallerParentId(long callerParentId)
  55. {
  56. callerParentId_ = callerParentId;
  57. setCoreParameter("CallerParentId", std::to_string(callerParentId));
  58. }
  59. long QueryEndPointListRequest::getCallerBid()const
  60. {
  61. return callerBid_;
  62. }
  63. void QueryEndPointListRequest::setCallerBid(long callerBid)
  64. {
  65. callerBid_ = callerBid;
  66. setCoreParameter("CallerBid", std::to_string(callerBid));
  67. }
  68. std::string QueryEndPointListRequest::getCallerType()const
  69. {
  70. return callerType_;
  71. }
  72. void QueryEndPointListRequest::setCallerType(const std::string& callerType)
  73. {
  74. callerType_ = callerType;
  75. setCoreParameter("CallerType", callerType);
  76. }
  77. bool QueryEndPointListRequest::getAk_mfa_present()const
  78. {
  79. return ak_mfa_present_;
  80. }
  81. void QueryEndPointListRequest::setAk_mfa_present(bool ak_mfa_present)
  82. {
  83. ak_mfa_present_ = ak_mfa_present;
  84. setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
  85. }
  86. long QueryEndPointListRequest::getCallerUid()const
  87. {
  88. return callerUid_;
  89. }
  90. void QueryEndPointListRequest::setCallerUid(long callerUid)
  91. {
  92. callerUid_ = callerUid;
  93. setCoreParameter("CallerUid", std::to_string(callerUid));
  94. }
  95. std::string QueryEndPointListRequest::getAccessKeyId()const
  96. {
  97. return accessKeyId_;
  98. }
  99. void QueryEndPointListRequest::setAccessKeyId(const std::string& accessKeyId)
  100. {
  101. accessKeyId_ = accessKeyId;
  102. setCoreParameter("AccessKeyId", accessKeyId);
  103. }
  104. long QueryEndPointListRequest::getUserID()const
  105. {
  106. return userID_;
  107. }
  108. void QueryEndPointListRequest::setUserID(long userID)
  109. {
  110. userID_ = userID;
  111. setCoreParameter("UserID", std::to_string(userID));
  112. }