BindAxgRequest.cc 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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/dyplsapi/model/BindAxgRequest.h>
  17. using AlibabaCloud::Dyplsapi::Model::BindAxgRequest;
  18. BindAxgRequest::BindAxgRequest() :
  19. RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxg")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. BindAxgRequest::~BindAxgRequest()
  24. {}
  25. long BindAxgRequest::getResourceOwnerId()const
  26. {
  27. return resourceOwnerId_;
  28. }
  29. void BindAxgRequest::setResourceOwnerId(long resourceOwnerId)
  30. {
  31. resourceOwnerId_ = resourceOwnerId;
  32. setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
  33. }
  34. int BindAxgRequest::getCallDisplayType()const
  35. {
  36. return callDisplayType_;
  37. }
  38. void BindAxgRequest::setCallDisplayType(int callDisplayType)
  39. {
  40. callDisplayType_ = callDisplayType;
  41. setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
  42. }
  43. std::string BindAxgRequest::getAccessKeyId()const
  44. {
  45. return accessKeyId_;
  46. }
  47. void BindAxgRequest::setAccessKeyId(const std::string& accessKeyId)
  48. {
  49. accessKeyId_ = accessKeyId;
  50. setCoreParameter("AccessKeyId", accessKeyId);
  51. }
  52. std::string BindAxgRequest::getPhoneNoX()const
  53. {
  54. return phoneNoX_;
  55. }
  56. void BindAxgRequest::setPhoneNoX(const std::string& phoneNoX)
  57. {
  58. phoneNoX_ = phoneNoX;
  59. setCoreParameter("PhoneNoX", phoneNoX);
  60. }
  61. std::string BindAxgRequest::getRingConfig()const
  62. {
  63. return ringConfig_;
  64. }
  65. void BindAxgRequest::setRingConfig(const std::string& ringConfig)
  66. {
  67. ringConfig_ = ringConfig;
  68. setCoreParameter("RingConfig", ringConfig);
  69. }
  70. std::string BindAxgRequest::getPhoneNoB()const
  71. {
  72. return phoneNoB_;
  73. }
  74. void BindAxgRequest::setPhoneNoB(const std::string& phoneNoB)
  75. {
  76. phoneNoB_ = phoneNoB;
  77. setCoreParameter("PhoneNoB", phoneNoB);
  78. }
  79. std::string BindAxgRequest::getPhoneNoA()const
  80. {
  81. return phoneNoA_;
  82. }
  83. void BindAxgRequest::setPhoneNoA(const std::string& phoneNoA)
  84. {
  85. phoneNoA_ = phoneNoA;
  86. setCoreParameter("PhoneNoA", phoneNoA);
  87. }
  88. std::string BindAxgRequest::getExpectCity()const
  89. {
  90. return expectCity_;
  91. }
  92. void BindAxgRequest::setExpectCity(const std::string& expectCity)
  93. {
  94. expectCity_ = expectCity;
  95. setCoreParameter("ExpectCity", expectCity);
  96. }
  97. std::string BindAxgRequest::getResourceOwnerAccount()const
  98. {
  99. return resourceOwnerAccount_;
  100. }
  101. void BindAxgRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
  102. {
  103. resourceOwnerAccount_ = resourceOwnerAccount;
  104. setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
  105. }
  106. std::string BindAxgRequest::getGroupId()const
  107. {
  108. return groupId_;
  109. }
  110. void BindAxgRequest::setGroupId(const std::string& groupId)
  111. {
  112. groupId_ = groupId;
  113. setCoreParameter("GroupId", groupId);
  114. }
  115. long BindAxgRequest::getOwnerId()const
  116. {
  117. return ownerId_;
  118. }
  119. void BindAxgRequest::setOwnerId(long ownerId)
  120. {
  121. ownerId_ = ownerId;
  122. setCoreParameter("OwnerId", std::to_string(ownerId));
  123. }
  124. std::string BindAxgRequest::getOutOrderId()const
  125. {
  126. return outOrderId_;
  127. }
  128. void BindAxgRequest::setOutOrderId(const std::string& outOrderId)
  129. {
  130. outOrderId_ = outOrderId;
  131. setCoreParameter("OutOrderId", outOrderId);
  132. }
  133. std::string BindAxgRequest::getPoolKey()const
  134. {
  135. return poolKey_;
  136. }
  137. void BindAxgRequest::setPoolKey(const std::string& poolKey)
  138. {
  139. poolKey_ = poolKey;
  140. setCoreParameter("PoolKey", poolKey);
  141. }
  142. std::string BindAxgRequest::getExpiration()const
  143. {
  144. return expiration_;
  145. }
  146. void BindAxgRequest::setExpiration(const std::string& expiration)
  147. {
  148. expiration_ = expiration;
  149. setCoreParameter("Expiration", expiration);
  150. }
  151. bool BindAxgRequest::getIsRecordingEnabled()const
  152. {
  153. return isRecordingEnabled_;
  154. }
  155. void BindAxgRequest::setIsRecordingEnabled(bool isRecordingEnabled)
  156. {
  157. isRecordingEnabled_ = isRecordingEnabled;
  158. setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
  159. }
  160. std::string BindAxgRequest::getOutId()const
  161. {
  162. return outId_;
  163. }
  164. void BindAxgRequest::setOutId(const std::string& outId)
  165. {
  166. outId_ = outId;
  167. setCoreParameter("OutId", outId);
  168. }