| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- /*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- #include <alibabacloud/dyplsapi/model/BindAxgRequest.h>
- using AlibabaCloud::Dyplsapi::Model::BindAxgRequest;
- BindAxgRequest::BindAxgRequest() :
- RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxg")
- {
- setMethod(HttpRequest::Method::Post);
- }
- BindAxgRequest::~BindAxgRequest()
- {}
- long BindAxgRequest::getResourceOwnerId()const
- {
- return resourceOwnerId_;
- }
- void BindAxgRequest::setResourceOwnerId(long resourceOwnerId)
- {
- resourceOwnerId_ = resourceOwnerId;
- setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
- }
- int BindAxgRequest::getCallDisplayType()const
- {
- return callDisplayType_;
- }
- void BindAxgRequest::setCallDisplayType(int callDisplayType)
- {
- callDisplayType_ = callDisplayType;
- setCoreParameter("CallDisplayType", std::to_string(callDisplayType));
- }
- std::string BindAxgRequest::getAccessKeyId()const
- {
- return accessKeyId_;
- }
- void BindAxgRequest::setAccessKeyId(const std::string& accessKeyId)
- {
- accessKeyId_ = accessKeyId;
- setCoreParameter("AccessKeyId", accessKeyId);
- }
- std::string BindAxgRequest::getPhoneNoX()const
- {
- return phoneNoX_;
- }
- void BindAxgRequest::setPhoneNoX(const std::string& phoneNoX)
- {
- phoneNoX_ = phoneNoX;
- setCoreParameter("PhoneNoX", phoneNoX);
- }
- std::string BindAxgRequest::getRingConfig()const
- {
- return ringConfig_;
- }
- void BindAxgRequest::setRingConfig(const std::string& ringConfig)
- {
- ringConfig_ = ringConfig;
- setCoreParameter("RingConfig", ringConfig);
- }
- std::string BindAxgRequest::getPhoneNoB()const
- {
- return phoneNoB_;
- }
- void BindAxgRequest::setPhoneNoB(const std::string& phoneNoB)
- {
- phoneNoB_ = phoneNoB;
- setCoreParameter("PhoneNoB", phoneNoB);
- }
- std::string BindAxgRequest::getPhoneNoA()const
- {
- return phoneNoA_;
- }
- void BindAxgRequest::setPhoneNoA(const std::string& phoneNoA)
- {
- phoneNoA_ = phoneNoA;
- setCoreParameter("PhoneNoA", phoneNoA);
- }
- std::string BindAxgRequest::getExpectCity()const
- {
- return expectCity_;
- }
- void BindAxgRequest::setExpectCity(const std::string& expectCity)
- {
- expectCity_ = expectCity;
- setCoreParameter("ExpectCity", expectCity);
- }
- std::string BindAxgRequest::getResourceOwnerAccount()const
- {
- return resourceOwnerAccount_;
- }
- void BindAxgRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
- {
- resourceOwnerAccount_ = resourceOwnerAccount;
- setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
- }
- std::string BindAxgRequest::getGroupId()const
- {
- return groupId_;
- }
- void BindAxgRequest::setGroupId(const std::string& groupId)
- {
- groupId_ = groupId;
- setCoreParameter("GroupId", groupId);
- }
- long BindAxgRequest::getOwnerId()const
- {
- return ownerId_;
- }
- void BindAxgRequest::setOwnerId(long ownerId)
- {
- ownerId_ = ownerId;
- setCoreParameter("OwnerId", std::to_string(ownerId));
- }
- std::string BindAxgRequest::getOutOrderId()const
- {
- return outOrderId_;
- }
- void BindAxgRequest::setOutOrderId(const std::string& outOrderId)
- {
- outOrderId_ = outOrderId;
- setCoreParameter("OutOrderId", outOrderId);
- }
- std::string BindAxgRequest::getPoolKey()const
- {
- return poolKey_;
- }
- void BindAxgRequest::setPoolKey(const std::string& poolKey)
- {
- poolKey_ = poolKey;
- setCoreParameter("PoolKey", poolKey);
- }
- std::string BindAxgRequest::getExpiration()const
- {
- return expiration_;
- }
- void BindAxgRequest::setExpiration(const std::string& expiration)
- {
- expiration_ = expiration;
- setCoreParameter("Expiration", expiration);
- }
- bool BindAxgRequest::getIsRecordingEnabled()const
- {
- return isRecordingEnabled_;
- }
- void BindAxgRequest::setIsRecordingEnabled(bool isRecordingEnabled)
- {
- isRecordingEnabled_ = isRecordingEnabled;
- setCoreParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false");
- }
- std::string BindAxgRequest::getOutId()const
- {
- return outId_;
- }
- void BindAxgRequest::setOutId(const std::string& outId)
- {
- outId_ = outId;
- setCoreParameter("OutId", outId);
- }
|