diff --git a/CHANGELOG b/CHANGELOG index 5b4303fb2..e6bdb486b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-12-08 Version: 1.36.972 +- Add API for New Features. + 2021-12-08 Version: 1.36.971 - Fixed bugs for UnbindSubscription API. diff --git a/VERSION b/VERSION index 5e5ad75f5..64a9501c0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.971 \ No newline at end of file +1.36.972 \ No newline at end of file diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/AddAxnTrackNoRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/AddAxnTrackNoRequest.h index bc3096349..7dda01211 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/AddAxnTrackNoRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/AddAxnTrackNoRequest.h @@ -1,69 +1,63 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT AddAxnTrackNoRequest : public RpcServiceRequest - { - - public: - AddAxnTrackNoRequest(); - ~AddAxnTrackNoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSubsId()const; - void setSubsId(const std::string& subsId); - std::string getPhoneNoX()const; - void setPhoneNoX(const std::string& phoneNoX); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTrackNo()const; - void setTrackNo(const std::string& trackNo); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string subsId_; - std::string phoneNoX_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string trackNo_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT AddAxnTrackNoRequest : public RpcServiceRequest { +public: + AddAxnTrackNoRequest(); + ~AddAxnTrackNoRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getSubsId() const; + void setSubsId(const std::string &subsId); + std::string getPhoneNoX() const; + void setPhoneNoX(const std::string &phoneNoX); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTrackNo() const; + void setTrackNo(const std::string &trackNo); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string subsId_; + std::string phoneNoX_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string trackNo_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_ADDAXNTRACKNOREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/AddSecretBlacklistRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/AddSecretBlacklistRequest.h index 2f1964c48..8ac8cb3e3 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/AddSecretBlacklistRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/AddSecretBlacklistRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_ADDSECRETBLACKLISTREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_ADDSECRETBLACKLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT AddSecretBlacklistRequest : public RpcServiceRequest - { - - public: - AddSecretBlacklistRequest(); - ~AddSecretBlacklistRequest(); - - std::string getBlackType()const; - void setBlackType(const std::string& blackType); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRemark()const; - void setRemark(const std::string& remark); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getBlackNo()const; - void setBlackNo(const std::string& blackNo); - std::string getWayControl()const; - void setWayControl(const std::string& wayControl); - - private: - std::string blackType_; - long resourceOwnerId_; - std::string remark_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string poolKey_; - std::string blackNo_; - std::string wayControl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_ADDSECRETBLACKLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_ADDSECRETBLACKLISTREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_ADDSECRETBLACKLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT AddSecretBlacklistRequest : public RpcServiceRequest { +public: + AddSecretBlacklistRequest(); + ~AddSecretBlacklistRequest(); + std::string getBlackType() const; + void setBlackType(const std::string &blackType); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getBlackNo() const; + void setBlackNo(const std::string &blackNo); + std::string getWayControl() const; + void setWayControl(const std::string &wayControl); + +private: + std::string blackType_; + long resourceOwnerId_; + std::string remark_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string poolKey_; + std::string blackNo_; + std::string wayControl_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_ADDSECRETBLACKLISTREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxbRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxbRequest.h index ef47e99d6..eac09fd89 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxbRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxbRequest.h @@ -1,102 +1,96 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXBREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxbRequest : public RpcServiceRequest - { - - public: - BindAxbRequest(); - ~BindAxbRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getCallDisplayType()const; - void setCallDisplayType(int callDisplayType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getCallTimeout()const; - void setCallTimeout(int callTimeout); - std::string getPhoneNoX()const; - void setPhoneNoX(const std::string& phoneNoX); - std::string getRingConfig()const; - void setRingConfig(const std::string& ringConfig); - bool getASRStatus()const; - void setASRStatus(bool aSRStatus); - std::string getPhoneNoB()const; - void setPhoneNoB(const std::string& phoneNoB); - std::string getPhoneNoA()const; - void setPhoneNoA(const std::string& phoneNoA); - std::string getExpectCity()const; - void setExpectCity(const std::string& expectCity); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getOutOrderId()const; - void setOutOrderId(const std::string& outOrderId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getExpiration()const; - void setExpiration(const std::string& expiration); - bool getIsRecordingEnabled()const; - void setIsRecordingEnabled(bool isRecordingEnabled); - std::string getOutId()const; - void setOutId(const std::string& outId); - std::string getASRModelId()const; - void setASRModelId(const std::string& aSRModelId); - std::string getCallRestrict()const; - void setCallRestrict(const std::string& callRestrict); - - private: - long resourceOwnerId_; - int callDisplayType_; - std::string accessKeyId_; - int callTimeout_; - std::string phoneNoX_; - std::string ringConfig_; - bool aSRStatus_; - std::string phoneNoB_; - std::string phoneNoA_; - std::string expectCity_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string outOrderId_; - std::string poolKey_; - std::string expiration_; - bool isRecordingEnabled_; - std::string outId_; - std::string aSRModelId_; - std::string callRestrict_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXBREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxbRequest : public RpcServiceRequest { +public: + BindAxbRequest(); + ~BindAxbRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + int getCallDisplayType() const; + void setCallDisplayType(int callDisplayType); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getCallTimeout() const; + void setCallTimeout(int callTimeout); + std::string getPhoneNoX() const; + void setPhoneNoX(const std::string &phoneNoX); + std::string getRingConfig() const; + void setRingConfig(const std::string &ringConfig); + bool getASRStatus() const; + void setASRStatus(bool aSRStatus); + std::string getPhoneNoB() const; + void setPhoneNoB(const std::string &phoneNoB); + std::string getPhoneNoA() const; + void setPhoneNoA(const std::string &phoneNoA); + std::string getExpectCity() const; + void setExpectCity(const std::string &expectCity); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getOutOrderId() const; + void setOutOrderId(const std::string &outOrderId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getExpiration() const; + void setExpiration(const std::string &expiration); + bool getIsRecordingEnabled() const; + void setIsRecordingEnabled(bool isRecordingEnabled); + std::string getOutId() const; + void setOutId(const std::string &outId); + std::string getASRModelId() const; + void setASRModelId(const std::string &aSRModelId); + std::string getCallRestrict() const; + void setCallRestrict(const std::string &callRestrict); + +private: + long resourceOwnerId_; + int callDisplayType_; + std::string accessKeyId_; + int callTimeout_; + std::string phoneNoX_; + std::string ringConfig_; + bool aSRStatus_; + std::string phoneNoB_; + std::string phoneNoA_; + std::string expectCity_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string outOrderId_; + std::string poolKey_; + std::string expiration_; + bool isRecordingEnabled_; + std::string outId_; + std::string aSRModelId_; + std::string callRestrict_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXBREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxgRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxgRequest.h index 28d5dd472..b8347b6eb 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxgRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxgRequest.h @@ -1,102 +1,96 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXGREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxgRequest : public RpcServiceRequest - { - - public: - BindAxgRequest(); - ~BindAxgRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getCallDisplayType()const; - void setCallDisplayType(int callDisplayType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getPhoneNoX()const; - void setPhoneNoX(const std::string& phoneNoX); - std::string getRingConfig()const; - void setRingConfig(const std::string& ringConfig); - bool getASRStatus()const; - void setASRStatus(bool aSRStatus); - std::string getPhoneNoB()const; - void setPhoneNoB(const std::string& phoneNoB); - std::string getPhoneNoA()const; - void setPhoneNoA(const std::string& phoneNoA); - std::string getExpectCity()const; - void setExpectCity(const std::string& expectCity); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getOutOrderId()const; - void setOutOrderId(const std::string& outOrderId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getExpiration()const; - void setExpiration(const std::string& expiration); - bool getIsRecordingEnabled()const; - void setIsRecordingEnabled(bool isRecordingEnabled); - std::string getOutId()const; - void setOutId(const std::string& outId); - std::string getASRModelId()const; - void setASRModelId(const std::string& aSRModelId); - std::string getCallRestrict()const; - void setCallRestrict(const std::string& callRestrict); - - private: - long resourceOwnerId_; - int callDisplayType_; - std::string accessKeyId_; - std::string phoneNoX_; - std::string ringConfig_; - bool aSRStatus_; - std::string phoneNoB_; - std::string phoneNoA_; - std::string expectCity_; - std::string resourceOwnerAccount_; - std::string groupId_; - long ownerId_; - std::string outOrderId_; - std::string poolKey_; - std::string expiration_; - bool isRecordingEnabled_; - std::string outId_; - std::string aSRModelId_; - std::string callRestrict_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXGREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxgRequest : public RpcServiceRequest { +public: + BindAxgRequest(); + ~BindAxgRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + int getCallDisplayType() const; + void setCallDisplayType(int callDisplayType); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getPhoneNoX() const; + void setPhoneNoX(const std::string &phoneNoX); + std::string getRingConfig() const; + void setRingConfig(const std::string &ringConfig); + bool getASRStatus() const; + void setASRStatus(bool aSRStatus); + std::string getPhoneNoB() const; + void setPhoneNoB(const std::string &phoneNoB); + std::string getPhoneNoA() const; + void setPhoneNoA(const std::string &phoneNoA); + std::string getExpectCity() const; + void setExpectCity(const std::string &expectCity); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getOutOrderId() const; + void setOutOrderId(const std::string &outOrderId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getExpiration() const; + void setExpiration(const std::string &expiration); + bool getIsRecordingEnabled() const; + void setIsRecordingEnabled(bool isRecordingEnabled); + std::string getOutId() const; + void setOutId(const std::string &outId); + std::string getASRModelId() const; + void setASRModelId(const std::string &aSRModelId); + std::string getCallRestrict() const; + void setCallRestrict(const std::string &callRestrict); + +private: + long resourceOwnerId_; + int callDisplayType_; + std::string accessKeyId_; + std::string phoneNoX_; + std::string ringConfig_; + bool aSRStatus_; + std::string phoneNoB_; + std::string phoneNoA_; + std::string expectCity_; + std::string resourceOwnerAccount_; + std::string groupId_; + long ownerId_; + std::string outOrderId_; + std::string poolKey_; + std::string expiration_; + bool isRecordingEnabled_; + std::string outId_; + std::string aSRModelId_; + std::string callRestrict_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXGREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxnExtensionRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxnExtensionRequest.h index 286686e2d..b5bf153e2 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxnExtensionRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxnExtensionRequest.h @@ -1,102 +1,96 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNEXTENSIONREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNEXTENSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxnExtensionRequest : public RpcServiceRequest - { - - public: - BindAxnExtensionRequest(); - ~BindAxnExtensionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getExtension()const; - void setExtension(const std::string& extension); - int getCallDisplayType()const; - void setCallDisplayType(int callDisplayType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getPhoneNoX()const; - void setPhoneNoX(const std::string& phoneNoX); - std::string getRingConfig()const; - void setRingConfig(const std::string& ringConfig); - bool getASRStatus()const; - void setASRStatus(bool aSRStatus); - std::string getPhoneNoB()const; - void setPhoneNoB(const std::string& phoneNoB); - std::string getPhoneNoA()const; - void setPhoneNoA(const std::string& phoneNoA); - std::string getExpectCity()const; - void setExpectCity(const std::string& expectCity); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getOutOrderId()const; - void setOutOrderId(const std::string& outOrderId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getExpiration()const; - void setExpiration(const std::string& expiration); - bool getIsRecordingEnabled()const; - void setIsRecordingEnabled(bool isRecordingEnabled); - std::string getOutId()const; - void setOutId(const std::string& outId); - std::string getASRModelId()const; - void setASRModelId(const std::string& aSRModelId); - std::string getCallRestrict()const; - void setCallRestrict(const std::string& callRestrict); - - private: - long resourceOwnerId_; - std::string extension_; - int callDisplayType_; - std::string accessKeyId_; - std::string phoneNoX_; - std::string ringConfig_; - bool aSRStatus_; - std::string phoneNoB_; - std::string phoneNoA_; - std::string expectCity_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string outOrderId_; - std::string poolKey_; - std::string expiration_; - bool isRecordingEnabled_; - std::string outId_; - std::string aSRModelId_; - std::string callRestrict_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNEXTENSIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNEXTENSIONREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNEXTENSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxnExtensionRequest : public RpcServiceRequest { +public: + BindAxnExtensionRequest(); + ~BindAxnExtensionRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getExtension() const; + void setExtension(const std::string &extension); + int getCallDisplayType() const; + void setCallDisplayType(int callDisplayType); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getPhoneNoX() const; + void setPhoneNoX(const std::string &phoneNoX); + std::string getRingConfig() const; + void setRingConfig(const std::string &ringConfig); + bool getASRStatus() const; + void setASRStatus(bool aSRStatus); + std::string getPhoneNoB() const; + void setPhoneNoB(const std::string &phoneNoB); + std::string getPhoneNoA() const; + void setPhoneNoA(const std::string &phoneNoA); + std::string getExpectCity() const; + void setExpectCity(const std::string &expectCity); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getOutOrderId() const; + void setOutOrderId(const std::string &outOrderId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getExpiration() const; + void setExpiration(const std::string &expiration); + bool getIsRecordingEnabled() const; + void setIsRecordingEnabled(bool isRecordingEnabled); + std::string getOutId() const; + void setOutId(const std::string &outId); + std::string getASRModelId() const; + void setASRModelId(const std::string &aSRModelId); + std::string getCallRestrict() const; + void setCallRestrict(const std::string &callRestrict); + +private: + long resourceOwnerId_; + std::string extension_; + int callDisplayType_; + std::string accessKeyId_; + std::string phoneNoX_; + std::string ringConfig_; + bool aSRStatus_; + std::string phoneNoB_; + std::string phoneNoA_; + std::string expectCity_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string outOrderId_; + std::string poolKey_; + std::string expiration_; + bool isRecordingEnabled_; + std::string outId_; + std::string aSRModelId_; + std::string callRestrict_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNEXTENSIONREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxnRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxnRequest.h index 7bf6de4b4..565da5057 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxnRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/BindAxnRequest.h @@ -1,105 +1,99 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxnRequest : public RpcServiceRequest - { - - public: - BindAxnRequest(); - ~BindAxnRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getCallDisplayType()const; - void setCallDisplayType(int callDisplayType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getCallTimeout()const; - void setCallTimeout(int callTimeout); - std::string getPhoneNoX()const; - void setPhoneNoX(const std::string& phoneNoX); - std::string getRingConfig()const; - void setRingConfig(const std::string& ringConfig); - bool getASRStatus()const; - void setASRStatus(bool aSRStatus); - std::string getPhoneNoB()const; - void setPhoneNoB(const std::string& phoneNoB); - std::string getPhoneNoA()const; - void setPhoneNoA(const std::string& phoneNoA); - std::string getExpectCity()const; - void setExpectCity(const std::string& expectCity); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getOutOrderId()const; - void setOutOrderId(const std::string& outOrderId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getExpiration()const; - void setExpiration(const std::string& expiration); - bool getIsRecordingEnabled()const; - void setIsRecordingEnabled(bool isRecordingEnabled); - std::string getOutId()const; - void setOutId(const std::string& outId); - std::string getNoType()const; - void setNoType(const std::string& noType); - std::string getASRModelId()const; - void setASRModelId(const std::string& aSRModelId); - std::string getCallRestrict()const; - void setCallRestrict(const std::string& callRestrict); - - private: - long resourceOwnerId_; - int callDisplayType_; - std::string accessKeyId_; - int callTimeout_; - std::string phoneNoX_; - std::string ringConfig_; - bool aSRStatus_; - std::string phoneNoB_; - std::string phoneNoA_; - std::string expectCity_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string outOrderId_; - std::string poolKey_; - std::string expiration_; - bool isRecordingEnabled_; - std::string outId_; - std::string noType_; - std::string aSRModelId_; - std::string callRestrict_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT BindAxnRequest : public RpcServiceRequest { +public: + BindAxnRequest(); + ~BindAxnRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + int getCallDisplayType() const; + void setCallDisplayType(int callDisplayType); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + int getCallTimeout() const; + void setCallTimeout(int callTimeout); + std::string getPhoneNoX() const; + void setPhoneNoX(const std::string &phoneNoX); + std::string getRingConfig() const; + void setRingConfig(const std::string &ringConfig); + bool getASRStatus() const; + void setASRStatus(bool aSRStatus); + std::string getPhoneNoB() const; + void setPhoneNoB(const std::string &phoneNoB); + std::string getPhoneNoA() const; + void setPhoneNoA(const std::string &phoneNoA); + std::string getExpectCity() const; + void setExpectCity(const std::string &expectCity); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getOutOrderId() const; + void setOutOrderId(const std::string &outOrderId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getExpiration() const; + void setExpiration(const std::string &expiration); + bool getIsRecordingEnabled() const; + void setIsRecordingEnabled(bool isRecordingEnabled); + std::string getOutId() const; + void setOutId(const std::string &outId); + std::string getNoType() const; + void setNoType(const std::string &noType); + std::string getASRModelId() const; + void setASRModelId(const std::string &aSRModelId); + std::string getCallRestrict() const; + void setCallRestrict(const std::string &callRestrict); + +private: + long resourceOwnerId_; + int callDisplayType_; + std::string accessKeyId_; + int callTimeout_; + std::string phoneNoX_; + std::string ringConfig_; + bool aSRStatus_; + std::string phoneNoB_; + std::string phoneNoA_; + std::string expectCity_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string outOrderId_; + std::string poolKey_; + std::string expiration_; + bool isRecordingEnabled_; + std::string outId_; + std::string noType_; + std::string aSRModelId_; + std::string callRestrict_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BINDAXNREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/BuySecretNoRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/BuySecretNoRequest.h index a1dfb8aa0..505126d5e 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/BuySecretNoRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/BuySecretNoRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BUYSECRETNOREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_BUYSECRETNOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT BuySecretNoRequest : public RpcServiceRequest - { - - public: - BuySecretNoRequest(); - ~BuySecretNoRequest(); - - long getSpecId()const; - void setSpecId(long specId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getCity()const; - void setCity(const std::string& city); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - bool getDisplayPool()const; - void setDisplayPool(bool displayPool); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - long specId_; - long resourceOwnerId_; - std::string city_; - std::string accessKeyId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - bool displayPool_; - long ownerId_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BUYSECRETNOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_BUYSECRETNOREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_BUYSECRETNOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT BuySecretNoRequest : public RpcServiceRequest { +public: + BuySecretNoRequest(); + ~BuySecretNoRequest(); + long getSpecId() const; + void setSpecId(long specId); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getCity() const; + void setCity(const std::string &city); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + bool getDisplayPool() const; + void setDisplayPool(bool displayPool); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + long specId_; + long resourceOwnerId_; + std::string city_; + std::string accessKeyId_; + std::string secretNo_; + std::string resourceOwnerAccount_; + bool displayPool_; + long ownerId_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_BUYSECRETNOREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/CancelPickUpWaybillRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/CancelPickUpWaybillRequest.h index 6dc2572cf..6932ba401 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/CancelPickUpWaybillRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/CancelPickUpWaybillRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CANCELPICKUPWAYBILLREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_CANCELPICKUPWAYBILLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT CancelPickUpWaybillRequest : public RpcServiceRequest - { - - public: - CancelPickUpWaybillRequest(); - ~CancelPickUpWaybillRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getOuterOrderCode()const; - void setOuterOrderCode(const std::string& outerOrderCode); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getCancelDesc()const; - void setCancelDesc(const std::string& cancelDesc); - std::string getContentType()const; - void setContentType(const std::string& contentType); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string outerOrderCode_; - std::string accessKeyId_; - std::string cancelDesc_; - std::string contentType_; - std::string resourceOwnerAccount_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CANCELPICKUPWAYBILLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CANCELPICKUPWAYBILLREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_CANCELPICKUPWAYBILLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT CancelPickUpWaybillRequest : public RpcServiceRequest { +public: + CancelPickUpWaybillRequest(); + ~CancelPickUpWaybillRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getOuterOrderCode() const; + void setOuterOrderCode(const std::string &outerOrderCode); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getCancelDesc() const; + void setCancelDesc(const std::string &cancelDesc); + std::string getContentType() const; + void setContentType(const std::string &contentType); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long resourceOwnerId_; + std::string outerOrderCode_; + std::string accessKeyId_; + std::string cancelDesc_; + std::string contentType_; + std::string resourceOwnerAccount_; + long ownerId_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CANCELPICKUPWAYBILLREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsRequest.h index 8482dfffa..ec8e164ee 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/ConfirmSendSmsRequest.h @@ -1,69 +1,63 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CONFIRMSENDSMSREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_CONFIRMSENDSMSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT ConfirmSendSmsRequest : public RpcServiceRequest - { - - public: - ConfirmSendSmsRequest(); - ~ConfirmSendSmsRequest(); - - std::string getCallId()const; - void setCallId(const std::string& callId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getProdCode()const; - void setProdCode(const std::string& prodCode); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - std::string callId_; - long resourceOwnerId_; - std::string accessKeyId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CONFIRMSENDSMSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CONFIRMSENDSMSREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_CONFIRMSENDSMSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT ConfirmSendSmsRequest : public RpcServiceRequest { +public: + ConfirmSendSmsRequest(); + ~ConfirmSendSmsRequest(); + std::string getCallId() const; + void setCallId(const std::string &callId); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getProdCode() const; + void setProdCode(const std::string &prodCode); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + std::string callId_; + long resourceOwnerId_; + std::string accessKeyId_; + std::string secretNo_; + std::string resourceOwnerAccount_; + std::string prodCode_; + long ownerId_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CONFIRMSENDSMSREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/CreateAxgGroupRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/CreateAxgGroupRequest.h index 4146bb77a..d386fa75f 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/CreateAxgGroupRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/CreateAxgGroupRequest.h @@ -1,69 +1,63 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CREATEAXGGROUPREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATEAXGGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT CreateAxgGroupRequest : public RpcServiceRequest - { - - public: - CreateAxgGroupRequest(); - ~CreateAxgGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getNumbers()const; - void setNumbers(const std::string& numbers); - std::string getRemark()const; - void setRemark(const std::string& remark); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getName()const; - void setName(const std::string& name); - - private: - long resourceOwnerId_; - std::string numbers_; - std::string remark_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string poolKey_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATEAXGGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CREATEAXGGROUPREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATEAXGGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT CreateAxgGroupRequest : public RpcServiceRequest { +public: + CreateAxgGroupRequest(); + ~CreateAxgGroupRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getNumbers() const; + void setNumbers(const std::string &numbers); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getName() const; + void setName(const std::string &name); + +private: + long resourceOwnerId_; + std::string numbers_; + std::string remark_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string poolKey_; + std::string name_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATEAXGGROUPREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillRequest.h index 2695a6e47..8c31fc04e 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/CreatePickUpWaybillRequest.h @@ -1,87 +1,100 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT CreatePickUpWaybillRequest : public RpcServiceRequest - { - - public: - CreatePickUpWaybillRequest(); - ~CreatePickUpWaybillRequest(); - - std::string getConsigneeName()const; - void setConsigneeName(const std::string& consigneeName); - std::string getOrderChannels()const; - void setOrderChannels(const std::string& orderChannels); - Struct getSendAddress()const; - void setSendAddress(const Struct& sendAddress); - std::string getOuterOrderCode()const; - void setOuterOrderCode(const std::string& outerOrderCode); - std::string getRemark()const; - void setRemark(const std::string& remark); - std::string getCpCode()const; - void setCpCode(const std::string& cpCode); - std::string getSendMobile()const; - void setSendMobile(const std::string& sendMobile); - std::string getConsigneeMobile()const; - void setConsigneeMobile(const std::string& consigneeMobile); - std::string getContentType()const; - void setContentType(const std::string& contentType); - Struct getConsigneeAddress()const; - void setConsigneeAddress(const Struct& consigneeAddress); - std::string getSendPhone()const; - void setSendPhone(const std::string& sendPhone); - Array getGoodsInfos()const; - void setGoodsInfos(const Array& goodsInfos); - std::string getSendName()const; - void setSendName(const std::string& sendName); - std::string getConsigneePhone()const; - void setConsigneePhone(const std::string& consigneePhone); - - private: - std::string consigneeName_; - std::string orderChannels_; - Struct sendAddress_; - std::string outerOrderCode_; - std::string remark_; - std::string cpCode_; - std::string sendMobile_; - std::string consigneeMobile_; - std::string contentType_; - Struct consigneeAddress_; - std::string sendPhone_; - Array goodsInfos_; - std::string sendName_; - std::string consigneePhone_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT CreatePickUpWaybillRequest : public RpcServiceRequest { +public: + struct SendAddress { + std::string provinceName; + std::string cityName; + std::string areaName; + std::string townName; + std::string addressDetail; + }; + struct ConsigneeAddress { + std::string provinceName; + std::string cityName; + std::string areaName; + std::string townName; + std::string addressDetail; + }; + struct GoodsInfos { + std::string name; + std::string weight; + std::string quantity; + }; + CreatePickUpWaybillRequest(); + ~CreatePickUpWaybillRequest(); + std::string getConsigneeName() const; + void setConsigneeName(const std::string &consigneeName); + std::string getOrderChannels() const; + void setOrderChannels(const std::string &orderChannels); + SendAddress getSendAddress() const; + void setSendAddress(const SendAddress &sendAddress); + std::string getOuterOrderCode() const; + void setOuterOrderCode(const std::string &outerOrderCode); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getCpCode() const; + void setCpCode(const std::string &cpCode); + std::string getSendMobile() const; + void setSendMobile(const std::string &sendMobile); + std::string getConsigneeMobile() const; + void setConsigneeMobile(const std::string &consigneeMobile); + std::string getContentType() const; + void setContentType(const std::string &contentType); + ConsigneeAddress getConsigneeAddress() const; + void setConsigneeAddress(const ConsigneeAddress &consigneeAddress); + std::string getSendPhone() const; + void setSendPhone(const std::string &sendPhone); + std::vector getGoodsInfos() const; + void setGoodsInfos(const std::vector &goodsInfos); + std::string getSendName() const; + void setSendName(const std::string &sendName); + std::string getConsigneePhone() const; + void setConsigneePhone(const std::string &consigneePhone); + +private: + std::string consigneeName_; + std::string orderChannels_; + SendAddress sendAddress_; + std::string outerOrderCode_; + std::string remark_; + std::string cpCode_; + std::string sendMobile_; + std::string consigneeMobile_; + std::string contentType_; + ConsigneeAddress consigneeAddress_; + std::string sendPhone_; + std::vector goodsInfos_; + std::string sendName_; + std::string consigneePhone_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATEPICKUPWAYBILLREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionRequest.h index 949c10483..7a408529a 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/CreateSubscriptionRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CREATESUBSCRIPTIONREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATESUBSCRIPTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT CreateSubscriptionRequest : public RpcServiceRequest - { - - public: - CreateSubscriptionRequest(); - ~CreateSubscriptionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getProdCode()const; - void setProdCode(const std::string& prodCode); - std::string getBindToken()const; - void setBindToken(const std::string& bindToken); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPhoneNo()const; - void setPhoneNo(const std::string& phoneNo); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - std::string bindToken_; - long ownerId_; - std::string phoneNo_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATESUBSCRIPTIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_CREATESUBSCRIPTIONREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_CREATESUBSCRIPTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT CreateSubscriptionRequest : public RpcServiceRequest { +public: + CreateSubscriptionRequest(); + ~CreateSubscriptionRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getProdCode() const; + void setProdCode(const std::string &prodCode); + std::string getBindToken() const; + void setBindToken(const std::string &bindToken); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPhoneNo() const; + void setPhoneNo(const std::string &phoneNo); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string secretNo_; + std::string resourceOwnerAccount_; + std::string prodCode_; + std::string bindToken_; + long ownerId_; + std::string phoneNo_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_CREATESUBSCRIPTIONREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/DeleteSecretBlacklistRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/DeleteSecretBlacklistRequest.h index 159f0d24e..fc4d62acf 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/DeleteSecretBlacklistRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/DeleteSecretBlacklistRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_DELETESECRETBLACKLISTREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_DELETESECRETBLACKLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT DeleteSecretBlacklistRequest : public RpcServiceRequest - { - - public: - DeleteSecretBlacklistRequest(); - ~DeleteSecretBlacklistRequest(); - - std::string getBlackType()const; - void setBlackType(const std::string& blackType); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRemark()const; - void setRemark(const std::string& remark); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getBlackNo()const; - void setBlackNo(const std::string& blackNo); - std::string getWayControl()const; - void setWayControl(const std::string& wayControl); - - private: - std::string blackType_; - long resourceOwnerId_; - std::string remark_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string poolKey_; - std::string blackNo_; - std::string wayControl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_DELETESECRETBLACKLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_DELETESECRETBLACKLISTREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_DELETESECRETBLACKLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT DeleteSecretBlacklistRequest : public RpcServiceRequest { +public: + DeleteSecretBlacklistRequest(); + ~DeleteSecretBlacklistRequest(); + std::string getBlackType() const; + void setBlackType(const std::string &blackType); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getBlackNo() const; + void setBlackNo(const std::string &blackNo); + std::string getWayControl() const; + void setWayControl(const std::string &wayControl); + +private: + std::string blackType_; + long resourceOwnerId_; + std::string remark_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string poolKey_; + std::string blackNo_; + std::string wayControl_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_DELETESECRETBLACKLISTREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyRequest.h index ac01fe989..04acae68c 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/GetFaceVerifyRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_GETFACEVERIFYREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_GETFACEVERIFYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT GetFaceVerifyRequest : public RpcServiceRequest - { - - public: - GetFaceVerifyRequest(); - ~GetFaceVerifyRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getVerifyToken()const; - void setVerifyToken(const std::string& verifyToken); - std::string getProdCode()const; - void setProdCode(const std::string& prodCode); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - std::string verifyToken_; - std::string prodCode_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETFACEVERIFYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_GETFACEVERIFYREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_GETFACEVERIFYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT GetFaceVerifyRequest : public RpcServiceRequest { +public: + GetFaceVerifyRequest(); + ~GetFaceVerifyRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getVerifyToken() const; + void setVerifyToken(const std::string &verifyToken); + std::string getProdCode() const; + void setProdCode(const std::string &prodCode); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string verifyToken_; + std::string prodCode_; + long ownerId_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETFACEVERIFYREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/GetSecretAsrDetailRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/GetSecretAsrDetailRequest.h index 55e3984f7..d8e44cb4e 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/GetSecretAsrDetailRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/GetSecretAsrDetailRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT GetSecretAsrDetailRequest : public RpcServiceRequest - { - - public: - GetSecretAsrDetailRequest(); - ~GetSecretAsrDetailRequest(); - - std::string getCallId()const; - void setCallId(const std::string& callId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCallTime()const; - void setCallTime(const std::string& callTime); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - std::string callId_; - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string callTime_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT GetSecretAsrDetailRequest : public RpcServiceRequest { +public: + GetSecretAsrDetailRequest(); + ~GetSecretAsrDetailRequest(); + std::string getCallId() const; + void setCallId(const std::string &callId); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCallTime() const; + void setCallTime(const std::string &callTime); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + std::string callId_; + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string callTime_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETSECRETASRDETAILREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailRequest.h index b9b4394ec..3ad9a9aab 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/GetSubscriptionDetailRequest.h @@ -1,69 +1,63 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT GetSubscriptionDetailRequest : public RpcServiceRequest - { - - public: - GetSubscriptionDetailRequest(); - ~GetSubscriptionDetailRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - long getSubsId()const; - void setSubsId(long subsId); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getProdCode()const; - void setProdCode(const std::string& prodCode); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - long subsId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT GetSubscriptionDetailRequest : public RpcServiceRequest { +public: + GetSubscriptionDetailRequest(); + ~GetSubscriptionDetailRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + long getSubsId() const; + void setSubsId(long subsId); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getProdCode() const; + void setProdCode(const std::string &prodCode); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + long subsId_; + std::string secretNo_; + std::string resourceOwnerAccount_; + std::string prodCode_; + long ownerId_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETSUBSCRIPTIONDETAILREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/GetTotalPublicUrlRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/GetTotalPublicUrlRequest.h index a296ead0b..0c963b076 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/GetTotalPublicUrlRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/GetTotalPublicUrlRequest.h @@ -1,69 +1,63 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_GETTOTALPUBLICURLREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_GETTOTALPUBLICURLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT GetTotalPublicUrlRequest : public RpcServiceRequest - { - - public: - GetTotalPublicUrlRequest(); - ~GetTotalPublicUrlRequest(); - - std::string getCallId()const; - void setCallId(const std::string& callId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - bool getCheckSubs()const; - void setCheckSubs(bool checkSubs); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCallTime()const; - void setCallTime(const std::string& callTime); - std::string getPartnerKey()const; - void setPartnerKey(const std::string& partnerKey); - - private: - std::string callId_; - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - bool checkSubs_; - long ownerId_; - std::string callTime_; - std::string partnerKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETTOTALPUBLICURLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_GETTOTALPUBLICURLREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_GETTOTALPUBLICURLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT GetTotalPublicUrlRequest : public RpcServiceRequest { +public: + GetTotalPublicUrlRequest(); + ~GetTotalPublicUrlRequest(); + std::string getCallId() const; + void setCallId(const std::string &callId); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + bool getCheckSubs() const; + void setCheckSubs(bool checkSubs); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCallTime() const; + void setCallTime(const std::string &callTime); + std::string getPartnerKey() const; + void setPartnerKey(const std::string &partnerKey); + +private: + std::string callId_; + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + bool checkSubs_; + long ownerId_; + std::string callTime_; + std::string partnerKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_GETTOTALPUBLICURLREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyRequest.h index 698247ac9..f0e77f8fa 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/InitFaceVerifyRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_INITFACEVERIFYREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_INITFACEVERIFYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT InitFaceVerifyRequest : public RpcServiceRequest - { - - public: - InitFaceVerifyRequest(); - ~InitFaceVerifyRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getMetaInfo()const; - void setMetaInfo(const std::string& metaInfo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getProdCode()const; - void setProdCode(const std::string& prodCode); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string metaInfo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_INITFACEVERIFYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_INITFACEVERIFYREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_INITFACEVERIFYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT InitFaceVerifyRequest : public RpcServiceRequest { +public: + InitFaceVerifyRequest(); + ~InitFaceVerifyRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getMetaInfo() const; + void setMetaInfo(const std::string &metaInfo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getProdCode() const; + void setProdCode(const std::string &prodCode); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string metaInfo_; + std::string resourceOwnerAccount_; + std::string prodCode_; + long ownerId_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_INITFACEVERIFYREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/LockSecretNoRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/LockSecretNoRequest.h index 226b8ce87..c415a566b 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/LockSecretNoRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/LockSecretNoRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_LOCKSECRETNOREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_LOCKSECRETNOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT LockSecretNoRequest : public RpcServiceRequest - { - - public: - LockSecretNoRequest(); - ~LockSecretNoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string poolKey_; - std::string secretNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_LOCKSECRETNOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_LOCKSECRETNOREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_LOCKSECRETNOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT LockSecretNoRequest : public RpcServiceRequest { +public: + LockSecretNoRequest(); + ~LockSecretNoRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + +private: + long resourceOwnerId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string accessKeyId_; + std::string poolKey_; + std::string secretNo_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_LOCKSECRETNOREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/OperateAxgGroupRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/OperateAxgGroupRequest.h index 6535a418f..001ef1d63 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/OperateAxgGroupRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/OperateAxgGroupRequest.h @@ -1,69 +1,63 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT OperateAxgGroupRequest : public RpcServiceRequest - { - - public: - OperateAxgGroupRequest(); - ~OperateAxgGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getNumbers()const; - void setNumbers(const std::string& numbers); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getGroupId()const; - void setGroupId(long groupId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getOperateType()const; - void setOperateType(const std::string& operateType); - - private: - long resourceOwnerId_; - std::string numbers_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - long groupId_; - long ownerId_; - std::string poolKey_; - std::string operateType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT OperateAxgGroupRequest : public RpcServiceRequest { +public: + OperateAxgGroupRequest(); + ~OperateAxgGroupRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getNumbers() const; + void setNumbers(const std::string &numbers); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getGroupId() const; + void setGroupId(long groupId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getOperateType() const; + void setOperateType(const std::string &operateType); + +private: + long resourceOwnerId_; + std::string numbers_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + long groupId_; + long ownerId_; + std::string poolKey_; + std::string operateType_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEAXGGROUPREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/OperateBlackNoRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/OperateBlackNoRequest.h index d49b51eba..3f2239c54 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/OperateBlackNoRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/OperateBlackNoRequest.h @@ -1,69 +1,63 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEBLACKNOREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEBLACKNOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT OperateBlackNoRequest : public RpcServiceRequest - { - - public: - OperateBlackNoRequest(); - ~OperateBlackNoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTips()const; - void setTips(const std::string& tips); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getBlackNo()const; - void setBlackNo(const std::string& blackNo); - std::string getOperateType()const; - void setOperateType(const std::string& operateType); - - private: - long resourceOwnerId_; - std::string tips_; - std::string accessKeyId_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string poolKey_; - std::string blackNo_; - std::string operateType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEBLACKNOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEBLACKNOREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEBLACKNOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT OperateBlackNoRequest : public RpcServiceRequest { +public: + OperateBlackNoRequest(); + ~OperateBlackNoRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getTips() const; + void setTips(const std::string &tips); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getBlackNo() const; + void setBlackNo(const std::string &blackNo); + std::string getOperateType() const; + void setOperateType(const std::string &operateType); + +private: + long resourceOwnerId_; + std::string tips_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string poolKey_; + std::string blackNo_; + std::string operateType_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEBLACKNOREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h index 4709db07c..1df39206e 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/QueryCallStatusRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT QueryCallStatusRequest : public RpcServiceRequest - { - - public: - QueryCallStatusRequest(); - ~QueryCallStatusRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSubsId()const; - void setSubsId(const std::string& subsId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getCallNo()const; - void setCallNo(const std::string& callNo); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string subsId_; - std::string resourceOwnerAccount_; - std::string callNo_; - long ownerId_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT QueryCallStatusRequest : public RpcServiceRequest { +public: + QueryCallStatusRequest(); + ~QueryCallStatusRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getSubsId() const; + void setSubsId(const std::string &subsId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getCallNo() const; + void setCallNo(const std::string &callNo); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string subsId_; + std::string resourceOwnerAccount_; + std::string callNo_; + long ownerId_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYCALLSTATUSREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/QueryPhoneNoAByTrackNoRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/QueryPhoneNoAByTrackNoRequest.h index 0583932e0..0ce31664f 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/QueryPhoneNoAByTrackNoRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/QueryPhoneNoAByTrackNoRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT QueryPhoneNoAByTrackNoRequest : public RpcServiceRequest - { - - public: - QueryPhoneNoAByTrackNoRequest(); - ~QueryPhoneNoAByTrackNoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getCabinetNo()const; - void setCabinetNo(const std::string& cabinetNo); - std::string getPhoneNoX()const; - void setPhoneNoX(const std::string& phoneNoX); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTrackNo()const; - void setTrackNo(const std::string& trackNo); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string cabinetNo_; - std::string phoneNoX_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string trackNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT QueryPhoneNoAByTrackNoRequest : public RpcServiceRequest { +public: + QueryPhoneNoAByTrackNoRequest(); + ~QueryPhoneNoAByTrackNoRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getCabinetNo() const; + void setCabinetNo(const std::string &cabinetNo); + std::string getPhoneNoX() const; + void setPhoneNoX(const std::string &phoneNoX); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTrackNo() const; + void setTrackNo(const std::string &trackNo); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string cabinetNo_; + std::string phoneNoX_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string trackNo_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYPHONENOABYTRACKNOREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlRequest.h index 132fabb64..8e30ddab1 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/QueryRecordFileDownloadUrlRequest.h @@ -1,69 +1,63 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYRECORDFILEDOWNLOADURLREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYRECORDFILEDOWNLOADURLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT QueryRecordFileDownloadUrlRequest : public RpcServiceRequest - { - - public: - QueryRecordFileDownloadUrlRequest(); - ~QueryRecordFileDownloadUrlRequest(); - - std::string getCallId()const; - void setCallId(const std::string& callId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getProductType()const; - void setProductType(const std::string& productType); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCallTime()const; - void setCallTime(const std::string& callTime); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - std::string callId_; - long resourceOwnerId_; - std::string accessKeyId_; - std::string productType_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string callTime_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYRECORDFILEDOWNLOADURLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYRECORDFILEDOWNLOADURLREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYRECORDFILEDOWNLOADURLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT QueryRecordFileDownloadUrlRequest : public RpcServiceRequest { +public: + QueryRecordFileDownloadUrlRequest(); + ~QueryRecordFileDownloadUrlRequest(); + std::string getCallId() const; + void setCallId(const std::string &callId); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getProductType() const; + void setProductType(const std::string &productType); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCallTime() const; + void setCallTime(const std::string &callTime); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + std::string callId_; + long resourceOwnerId_; + std::string accessKeyId_; + std::string productType_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string callTime_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYRECORDFILEDOWNLOADURLREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySecretNoDetailRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySecretNoDetailRequest.h index d239f1ae9..482d8338f 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySecretNoDetailRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySecretNoDetailRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNODETAILREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNODETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySecretNoDetailRequest : public RpcServiceRequest - { - - public: - QuerySecretNoDetailRequest(); - ~QuerySecretNoDetailRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getProdCode()const; - void setProdCode(const std::string& prodCode); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNODETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNODETAILREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNODETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySecretNoDetailRequest : public RpcServiceRequest { +public: + QuerySecretNoDetailRequest(); + ~QuerySecretNoDetailRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getProdCode() const; + void setProdCode(const std::string &prodCode); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string secretNo_; + std::string resourceOwnerAccount_; + std::string prodCode_; + long ownerId_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNODETAILREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySecretNoRemainRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySecretNoRemainRequest.h index 5fa2f1fd0..19d4846dc 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySecretNoRemainRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySecretNoRemainRequest.h @@ -1,66 +1,60 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNOREMAINREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNOREMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySecretNoRemainRequest : public RpcServiceRequest - { - - public: - QuerySecretNoRemainRequest(); - ~QuerySecretNoRemainRequest(); - - long getSpecId()const; - void setSpecId(long specId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getCity()const; - void setCity(const std::string& city); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long specId_; - long resourceOwnerId_; - std::string city_; - std::string accessKeyId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNOREMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNOREMAINREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNOREMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySecretNoRemainRequest : public RpcServiceRequest { +public: + QuerySecretNoRemainRequest(); + ~QuerySecretNoRemainRequest(); + long getSpecId() const; + void setSpecId(long specId); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getCity() const; + void setCity(const std::string &city); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long specId_; + long resourceOwnerId_; + std::string city_; + std::string accessKeyId_; + std::string secretNo_; + std::string resourceOwnerAccount_; + long ownerId_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSECRETNOREMAINREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubsIdRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubsIdRequest.h index 68d5da26c..5a559865e 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubsIdRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubsIdRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSIDREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSIDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySubsIdRequest : public RpcServiceRequest - { - - public: - QuerySubsIdRequest(); - ~QuerySubsIdRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getPhoneNoX()const; - void setPhoneNoX(const std::string& phoneNoX); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string poolKey_; - std::string phoneNoX_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSIDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSIDREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSIDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySubsIdRequest : public RpcServiceRequest { +public: + QuerySubsIdRequest(); + ~QuerySubsIdRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getPhoneNoX() const; + void setPhoneNoX(const std::string &phoneNoX); + +private: + long resourceOwnerId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string accessKeyId_; + std::string poolKey_; + std::string phoneNoX_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSIDREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubscriptionDetailRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubscriptionDetailRequest.h index 28a0df1fc..80190bd83 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubscriptionDetailRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubscriptionDetailRequest.h @@ -1,69 +1,63 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySubscriptionDetailRequest : public RpcServiceRequest - { - - public: - QuerySubscriptionDetailRequest(); - ~QuerySubscriptionDetailRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getProductType()const; - void setProductType(const std::string& productType); - std::string getSubsId()const; - void setSubsId(const std::string& subsId); - std::string getPhoneNoX()const; - void setPhoneNoX(const std::string& phoneNoX); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string productType_; - std::string subsId_; - std::string phoneNoX_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT QuerySubscriptionDetailRequest : public RpcServiceRequest { +public: + QuerySubscriptionDetailRequest(); + ~QuerySubscriptionDetailRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getProductType() const; + void setProductType(const std::string &productType); + std::string getSubsId() const; + void setSubsId(const std::string &subsId); + std::string getPhoneNoX() const; + void setPhoneNoX(const std::string &phoneNoX); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string productType_; + std::string subsId_; + std::string phoneNoX_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_QUERYSUBSCRIPTIONDETAILREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubscriptionDetailResult.h b/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubscriptionDetailResult.h index 41e01f1ed..c20eaba41 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubscriptionDetailResult.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/QuerySubscriptionDetailResult.h @@ -36,10 +36,10 @@ namespace AlibabaCloud { long status; bool aSRStatus; - std::string phoneNoX; std::string expireDate; - std::string subsId; + std::string phoneNoX; long groupId; + std::string subsId; std::string extension; std::string callRestrict; std::string gmtCreate; diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/ReleaseSecretNoRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/ReleaseSecretNoRequest.h index 2e9061bc1..9b6ba56e7 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/ReleaseSecretNoRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/ReleaseSecretNoRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNOREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT ReleaseSecretNoRequest : public RpcServiceRequest - { - - public: - ReleaseSecretNoRequest(); - ~ReleaseSecretNoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string poolKey_; - std::string secretNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNOREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT ReleaseSecretNoRequest : public RpcServiceRequest { +public: + ReleaseSecretNoRequest(); + ~ReleaseSecretNoRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + +private: + long resourceOwnerId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string accessKeyId_; + std::string poolKey_; + std::string secretNo_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_RELEASESECRETNOREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UnbindSubscriptionRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UnbindSubscriptionRequest.h index 32b0b3e41..727c562a0 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UnbindSubscriptionRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/UnbindSubscriptionRequest.h @@ -1,69 +1,63 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UNBINDSUBSCRIPTIONREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UNBINDSUBSCRIPTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT UnbindSubscriptionRequest : public RpcServiceRequest - { - - public: - UnbindSubscriptionRequest(); - ~UnbindSubscriptionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getProductType()const; - void setProductType(const std::string& productType); - std::string getSubsId()const; - void setSubsId(const std::string& subsId); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string productType_; - std::string subsId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UNBINDSUBSCRIPTIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UNBINDSUBSCRIPTIONREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_UNBINDSUBSCRIPTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT UnbindSubscriptionRequest : public RpcServiceRequest { +public: + UnbindSubscriptionRequest(); + ~UnbindSubscriptionRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getProductType() const; + void setProductType(const std::string &productType); + std::string getSubsId() const; + void setSubsId(const std::string &subsId); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string productType_; + std::string subsId_; + std::string secretNo_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UNBINDSUBSCRIPTIONREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UnlockSecretNoRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UnlockSecretNoRequest.h index 68ffeb4bc..cda96cb4d 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UnlockSecretNoRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/UnlockSecretNoRequest.h @@ -1,63 +1,57 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UNLOCKSECRETNOREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UNLOCKSECRETNOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT UnlockSecretNoRequest : public RpcServiceRequest - { - - public: - UnlockSecretNoRequest(); - ~UnlockSecretNoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - - private: - long resourceOwnerId_; - std::string resourceOwnerAccount_; - long ownerId_; - std::string accessKeyId_; - std::string poolKey_; - std::string secretNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UNLOCKSECRETNOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UNLOCKSECRETNOREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_UNLOCKSECRETNOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT UnlockSecretNoRequest : public RpcServiceRequest { +public: + UnlockSecretNoRequest(); + ~UnlockSecretNoRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + +private: + long resourceOwnerId_; + std::string resourceOwnerAccount_; + long ownerId_; + std::string accessKeyId_; + std::string poolKey_; + std::string secretNo_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UNLOCKSECRETNOREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBRequest.h index 5ec8e82bd..5eacfe5bf 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateDefaultBRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEDEFAULTBREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEDEFAULTBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT UpdateDefaultBRequest : public RpcServiceRequest - { - - public: - UpdateDefaultBRequest(); - ~UpdateDefaultBRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - long getSubsId()const; - void setSubsId(long subsId); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getProdCode()const; - void setProdCode(const std::string& prodCode); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPhoneNo()const; - void setPhoneNo(const std::string& phoneNo); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - long subsId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; - std::string phoneNo_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEDEFAULTBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEDEFAULTBREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEDEFAULTBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT UpdateDefaultBRequest : public RpcServiceRequest { +public: + UpdateDefaultBRequest(); + ~UpdateDefaultBRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + long getSubsId() const; + void setSubsId(long subsId); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getProdCode() const; + void setProdCode(const std::string &prodCode); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPhoneNo() const; + void setPhoneNo(const std::string &phoneNo); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + long subsId_; + std::string secretNo_; + std::string resourceOwnerAccount_; + std::string prodCode_; + long ownerId_; + std::string phoneNo_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEDEFAULTBREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberRequest.h index 0b7e2536a..c3d8d7838 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneNumberRequest.h @@ -1,75 +1,69 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONENUMBERREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONENUMBERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT UpdatePhoneNumberRequest : public RpcServiceRequest - { - - public: - UpdatePhoneNumberRequest(); - ~UpdatePhoneNumberRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - long getSubsId()const; - void setSubsId(long subsId); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getProdCode()const; - void setProdCode(const std::string& prodCode); - std::string getBindToken()const; - void setBindToken(const std::string& bindToken); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getNewPhoneNo()const; - void setNewPhoneNo(const std::string& newPhoneNo); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - long subsId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - std::string bindToken_; - long ownerId_; - std::string poolKey_; - std::string newPhoneNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONENUMBERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONENUMBERREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONENUMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT UpdatePhoneNumberRequest : public RpcServiceRequest { +public: + UpdatePhoneNumberRequest(); + ~UpdatePhoneNumberRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + long getSubsId() const; + void setSubsId(long subsId); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getProdCode() const; + void setProdCode(const std::string &prodCode); + std::string getBindToken() const; + void setBindToken(const std::string &bindToken); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getNewPhoneNo() const; + void setNewPhoneNo(const std::string &newPhoneNo); + +private: + long resourceOwnerId_; + std::string accessKeyId_; + long subsId_; + std::string secretNo_; + std::string resourceOwnerAccount_; + std::string prodCode_; + std::string bindToken_; + long ownerId_; + std::string poolKey_; + std::string newPhoneNo_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONENUMBERREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchRequest.h index 2546b1974..8feb659f7 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdatePhoneSwitchRequest.h @@ -1,72 +1,66 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONESWITCHREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONESWITCHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT UpdatePhoneSwitchRequest : public RpcServiceRequest - { - - public: - UpdatePhoneSwitchRequest(); - ~UpdatePhoneSwitchRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getSwitchStatus()const; - void setSwitchStatus(int switchStatus); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - long getSubsId()const; - void setSubsId(long subsId); - std::string getSecretNo()const; - void setSecretNo(const std::string& secretNo); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getProdCode()const; - void setProdCode(const std::string& prodCode); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - - private: - long resourceOwnerId_; - int switchStatus_; - std::string accessKeyId_; - long subsId_; - std::string secretNo_; - std::string resourceOwnerAccount_; - std::string prodCode_; - long ownerId_; - std::string poolKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONESWITCHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONESWITCHREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONESWITCHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT UpdatePhoneSwitchRequest : public RpcServiceRequest { +public: + UpdatePhoneSwitchRequest(); + ~UpdatePhoneSwitchRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + int getSwitchStatus() const; + void setSwitchStatus(int switchStatus); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + long getSubsId() const; + void setSubsId(long subsId); + std::string getSecretNo() const; + void setSecretNo(const std::string &secretNo); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getProdCode() const; + void setProdCode(const std::string &prodCode); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + +private: + long resourceOwnerId_; + int switchStatus_; + std::string accessKeyId_; + long subsId_; + std::string secretNo_; + std::string resourceOwnerAccount_; + std::string prodCode_; + long ownerId_; + std::string poolKey_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATEPHONESWITCHREQUEST_H_ diff --git a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateSubscriptionRequest.h b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateSubscriptionRequest.h index 98def7406..a31a92b68 100644 --- a/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateSubscriptionRequest.h +++ b/dyplsapi/include/alibabacloud/dyplsapi/model/UpdateSubscriptionRequest.h @@ -1,105 +1,99 @@ /* * 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. - */ - -#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONREQUEST_H_ -#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dyplsapi - { - namespace Model - { - class ALIBABACLOUD_DYPLSAPI_EXPORT UpdateSubscriptionRequest : public RpcServiceRequest - { - - public: - UpdateSubscriptionRequest(); - ~UpdateSubscriptionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getCallDisplayType()const; - void setCallDisplayType(int callDisplayType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getProductType()const; - void setProductType(const std::string& productType); - std::string getSubsId()const; - void setSubsId(const std::string& subsId); - std::string getPhoneNoX()const; - void setPhoneNoX(const std::string& phoneNoX); - std::string getRingConfig()const; - void setRingConfig(const std::string& ringConfig); - bool getASRStatus()const; - void setASRStatus(bool aSRStatus); - std::string getPhoneNoB()const; - void setPhoneNoB(const std::string& phoneNoB); - std::string getPhoneNoA()const; - void setPhoneNoA(const std::string& phoneNoA); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPoolKey()const; - void setPoolKey(const std::string& poolKey); - std::string getExpiration()const; - void setExpiration(const std::string& expiration); - std::string getOutId()const; - void setOutId(const std::string& outId); - bool getIsRecordingEnabled()const; - void setIsRecordingEnabled(bool isRecordingEnabled); - std::string getOperateType()const; - void setOperateType(const std::string& operateType); - std::string getASRModelId()const; - void setASRModelId(const std::string& aSRModelId); - std::string getCallRestrict()const; - void setCallRestrict(const std::string& callRestrict); - - private: - long resourceOwnerId_; - int callDisplayType_; - std::string accessKeyId_; - std::string productType_; - std::string subsId_; - std::string phoneNoX_; - std::string ringConfig_; - bool aSRStatus_; - std::string phoneNoB_; - std::string phoneNoA_; - std::string resourceOwnerAccount_; - std::string groupId_; - long ownerId_; - std::string poolKey_; - std::string expiration_; - std::string outId_; - bool isRecordingEnabled_; - std::string operateType_; - std::string aSRModelId_; - std::string callRestrict_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONREQUEST_H_ +#define ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dyplsapi { +namespace Model { +class ALIBABACLOUD_DYPLSAPI_EXPORT UpdateSubscriptionRequest : public RpcServiceRequest { +public: + UpdateSubscriptionRequest(); + ~UpdateSubscriptionRequest(); + long getResourceOwnerId() const; + void setResourceOwnerId(long resourceOwnerId); + int getCallDisplayType() const; + void setCallDisplayType(int callDisplayType); + std::string getAccessKeyId() const; + void setAccessKeyId(const std::string &accessKeyId); + std::string getProductType() const; + void setProductType(const std::string &productType); + std::string getSubsId() const; + void setSubsId(const std::string &subsId); + std::string getPhoneNoX() const; + void setPhoneNoX(const std::string &phoneNoX); + std::string getRingConfig() const; + void setRingConfig(const std::string &ringConfig); + bool getASRStatus() const; + void setASRStatus(bool aSRStatus); + std::string getPhoneNoB() const; + void setPhoneNoB(const std::string &phoneNoB); + std::string getPhoneNoA() const; + void setPhoneNoA(const std::string &phoneNoA); + std::string getResourceOwnerAccount() const; + void setResourceOwnerAccount(const std::string &resourceOwnerAccount); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPoolKey() const; + void setPoolKey(const std::string &poolKey); + std::string getExpiration() const; + void setExpiration(const std::string &expiration); + std::string getOutId() const; + void setOutId(const std::string &outId); + bool getIsRecordingEnabled() const; + void setIsRecordingEnabled(bool isRecordingEnabled); + std::string getOperateType() const; + void setOperateType(const std::string &operateType); + std::string getASRModelId() const; + void setASRModelId(const std::string &aSRModelId); + std::string getCallRestrict() const; + void setCallRestrict(const std::string &callRestrict); + +private: + long resourceOwnerId_; + int callDisplayType_; + std::string accessKeyId_; + std::string productType_; + std::string subsId_; + std::string phoneNoX_; + std::string ringConfig_; + bool aSRStatus_; + std::string phoneNoB_; + std::string phoneNoA_; + std::string resourceOwnerAccount_; + std::string groupId_; + long ownerId_; + std::string poolKey_; + std::string expiration_; + std::string outId_; + bool isRecordingEnabled_; + std::string operateType_; + std::string aSRModelId_; + std::string callRestrict_; +}; +} // namespace Model +} // namespace Dyplsapi +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_UPDATESUBSCRIPTIONREQUEST_H_ diff --git a/dyplsapi/src/model/AddAxnTrackNoRequest.cc b/dyplsapi/src/model/AddAxnTrackNoRequest.cc index 7fb7cf9b1..15335e774 100644 --- a/dyplsapi/src/model/AddAxnTrackNoRequest.cc +++ b/dyplsapi/src/model/AddAxnTrackNoRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::AddAxnTrackNoRequest; - -AddAxnTrackNoRequest::AddAxnTrackNoRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "AddAxnTrackNo") -{ - setMethod(HttpRequest::Method::Post); -} - -AddAxnTrackNoRequest::~AddAxnTrackNoRequest() -{} - -long AddAxnTrackNoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::AddAxnTrackNoRequest; + +AddAxnTrackNoRequest::AddAxnTrackNoRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "AddAxnTrackNo") { + setMethod(HttpRequest::Method::Post); } -void AddAxnTrackNoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +AddAxnTrackNoRequest::~AddAxnTrackNoRequest() {} + +long AddAxnTrackNoRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string AddAxnTrackNoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void AddAxnTrackNoRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void AddAxnTrackNoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string AddAxnTrackNoRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string AddAxnTrackNoRequest::getSubsId()const -{ - return subsId_; +void AddAxnTrackNoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void AddAxnTrackNoRequest::setSubsId(const std::string& subsId) -{ - subsId_ = subsId; - setParameter("SubsId", subsId); +std::string AddAxnTrackNoRequest::getSubsId() const { + return subsId_; } -std::string AddAxnTrackNoRequest::getPhoneNoX()const -{ - return phoneNoX_; +void AddAxnTrackNoRequest::setSubsId(const std::string &subsId) { + subsId_ = subsId; + setParameter(std::string("SubsId"), subsId); } -void AddAxnTrackNoRequest::setPhoneNoX(const std::string& phoneNoX) -{ - phoneNoX_ = phoneNoX; - setParameter("PhoneNoX", phoneNoX); +std::string AddAxnTrackNoRequest::getPhoneNoX() const { + return phoneNoX_; } -std::string AddAxnTrackNoRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void AddAxnTrackNoRequest::setPhoneNoX(const std::string &phoneNoX) { + phoneNoX_ = phoneNoX; + setParameter(std::string("PhoneNoX"), phoneNoX); } -void AddAxnTrackNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string AddAxnTrackNoRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long AddAxnTrackNoRequest::getOwnerId()const -{ - return ownerId_; +void AddAxnTrackNoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void AddAxnTrackNoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddAxnTrackNoRequest::getOwnerId() const { + return ownerId_; } -std::string AddAxnTrackNoRequest::getTrackNo()const -{ - return trackNo_; +void AddAxnTrackNoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddAxnTrackNoRequest::setTrackNo(const std::string& trackNo) -{ - trackNo_ = trackNo; - setParameter("TrackNo", trackNo); +std::string AddAxnTrackNoRequest::getTrackNo() const { + return trackNo_; } -std::string AddAxnTrackNoRequest::getPoolKey()const -{ - return poolKey_; +void AddAxnTrackNoRequest::setTrackNo(const std::string &trackNo) { + trackNo_ = trackNo; + setParameter(std::string("trackNo"), trackNo); } -void AddAxnTrackNoRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string AddAxnTrackNoRequest::getPoolKey() const { + return poolKey_; +} + +void AddAxnTrackNoRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/AddSecretBlacklistRequest.cc b/dyplsapi/src/model/AddSecretBlacklistRequest.cc index 9181b3697..c32b0da65 100644 --- a/dyplsapi/src/model/AddSecretBlacklistRequest.cc +++ b/dyplsapi/src/model/AddSecretBlacklistRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::AddSecretBlacklistRequest; - -AddSecretBlacklistRequest::AddSecretBlacklistRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "AddSecretBlacklist") -{ - setMethod(HttpRequest::Method::Post); -} - -AddSecretBlacklistRequest::~AddSecretBlacklistRequest() -{} - -std::string AddSecretBlacklistRequest::getBlackType()const -{ - return blackType_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::AddSecretBlacklistRequest; + +AddSecretBlacklistRequest::AddSecretBlacklistRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "AddSecretBlacklist") { + setMethod(HttpRequest::Method::Post); } -void AddSecretBlacklistRequest::setBlackType(const std::string& blackType) -{ - blackType_ = blackType; - setParameter("BlackType", blackType); +AddSecretBlacklistRequest::~AddSecretBlacklistRequest() {} + +std::string AddSecretBlacklistRequest::getBlackType() const { + return blackType_; } -long AddSecretBlacklistRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; +void AddSecretBlacklistRequest::setBlackType(const std::string &blackType) { + blackType_ = blackType; + setParameter(std::string("BlackType"), blackType); } -void AddSecretBlacklistRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +long AddSecretBlacklistRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string AddSecretBlacklistRequest::getRemark()const -{ - return remark_; +void AddSecretBlacklistRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void AddSecretBlacklistRequest::setRemark(const std::string& remark) -{ - remark_ = remark; - setParameter("Remark", remark); +std::string AddSecretBlacklistRequest::getRemark() const { + return remark_; } -std::string AddSecretBlacklistRequest::getAccessKeyId()const -{ - return accessKeyId_; +void AddSecretBlacklistRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); } -void AddSecretBlacklistRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string AddSecretBlacklistRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string AddSecretBlacklistRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void AddSecretBlacklistRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void AddSecretBlacklistRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string AddSecretBlacklistRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long AddSecretBlacklistRequest::getOwnerId()const -{ - return ownerId_; +void AddSecretBlacklistRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void AddSecretBlacklistRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddSecretBlacklistRequest::getOwnerId() const { + return ownerId_; } -std::string AddSecretBlacklistRequest::getPoolKey()const -{ - return poolKey_; +void AddSecretBlacklistRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddSecretBlacklistRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string AddSecretBlacklistRequest::getPoolKey() const { + return poolKey_; } -std::string AddSecretBlacklistRequest::getBlackNo()const -{ - return blackNo_; +void AddSecretBlacklistRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void AddSecretBlacklistRequest::setBlackNo(const std::string& blackNo) -{ - blackNo_ = blackNo; - setParameter("BlackNo", blackNo); +std::string AddSecretBlacklistRequest::getBlackNo() const { + return blackNo_; } -std::string AddSecretBlacklistRequest::getWayControl()const -{ - return wayControl_; +void AddSecretBlacklistRequest::setBlackNo(const std::string &blackNo) { + blackNo_ = blackNo; + setParameter(std::string("BlackNo"), blackNo); } -void AddSecretBlacklistRequest::setWayControl(const std::string& wayControl) -{ - wayControl_ = wayControl; - setParameter("WayControl", wayControl); +std::string AddSecretBlacklistRequest::getWayControl() const { + return wayControl_; +} + +void AddSecretBlacklistRequest::setWayControl(const std::string &wayControl) { + wayControl_ = wayControl; + setParameter(std::string("WayControl"), wayControl); } diff --git a/dyplsapi/src/model/BindAxbRequest.cc b/dyplsapi/src/model/BindAxbRequest.cc index c3af7bc31..0aa4fb03c 100644 --- a/dyplsapi/src/model/BindAxbRequest.cc +++ b/dyplsapi/src/model/BindAxbRequest.cc @@ -1,238 +1,198 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::BindAxbRequest; - -BindAxbRequest::BindAxbRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxb") -{ - setMethod(HttpRequest::Method::Post); -} - -BindAxbRequest::~BindAxbRequest() -{} - -long BindAxbRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::BindAxbRequest; + +BindAxbRequest::BindAxbRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxb") { + setMethod(HttpRequest::Method::Post); } -void BindAxbRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +BindAxbRequest::~BindAxbRequest() {} + +long BindAxbRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -int BindAxbRequest::getCallDisplayType()const -{ - return callDisplayType_; +void BindAxbRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void BindAxbRequest::setCallDisplayType(int callDisplayType) -{ - callDisplayType_ = callDisplayType; - setParameter("CallDisplayType", std::to_string(callDisplayType)); +int BindAxbRequest::getCallDisplayType() const { + return callDisplayType_; } -std::string BindAxbRequest::getAccessKeyId()const -{ - return accessKeyId_; +void BindAxbRequest::setCallDisplayType(int callDisplayType) { + callDisplayType_ = callDisplayType; + setParameter(std::string("CallDisplayType"), std::to_string(callDisplayType)); } -void BindAxbRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string BindAxbRequest::getAccessKeyId() const { + return accessKeyId_; } -int BindAxbRequest::getCallTimeout()const -{ - return callTimeout_; +void BindAxbRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void BindAxbRequest::setCallTimeout(int callTimeout) -{ - callTimeout_ = callTimeout; - setParameter("CallTimeout", std::to_string(callTimeout)); +int BindAxbRequest::getCallTimeout() const { + return callTimeout_; } -std::string BindAxbRequest::getPhoneNoX()const -{ - return phoneNoX_; +void BindAxbRequest::setCallTimeout(int callTimeout) { + callTimeout_ = callTimeout; + setParameter(std::string("CallTimeout"), std::to_string(callTimeout)); } -void BindAxbRequest::setPhoneNoX(const std::string& phoneNoX) -{ - phoneNoX_ = phoneNoX; - setParameter("PhoneNoX", phoneNoX); +std::string BindAxbRequest::getPhoneNoX() const { + return phoneNoX_; } -std::string BindAxbRequest::getRingConfig()const -{ - return ringConfig_; +void BindAxbRequest::setPhoneNoX(const std::string &phoneNoX) { + phoneNoX_ = phoneNoX; + setParameter(std::string("PhoneNoX"), phoneNoX); } -void BindAxbRequest::setRingConfig(const std::string& ringConfig) -{ - ringConfig_ = ringConfig; - setParameter("RingConfig", ringConfig); +std::string BindAxbRequest::getRingConfig() const { + return ringConfig_; } -bool BindAxbRequest::getASRStatus()const -{ - return aSRStatus_; +void BindAxbRequest::setRingConfig(const std::string &ringConfig) { + ringConfig_ = ringConfig; + setParameter(std::string("RingConfig"), ringConfig); } -void BindAxbRequest::setASRStatus(bool aSRStatus) -{ - aSRStatus_ = aSRStatus; - setParameter("ASRStatus", aSRStatus ? "true" : "false"); +bool BindAxbRequest::getASRStatus() const { + return aSRStatus_; } -std::string BindAxbRequest::getPhoneNoB()const -{ - return phoneNoB_; +void BindAxbRequest::setASRStatus(bool aSRStatus) { + aSRStatus_ = aSRStatus; + setParameter(std::string("ASRStatus"), aSRStatus ? "true" : "false"); } -void BindAxbRequest::setPhoneNoB(const std::string& phoneNoB) -{ - phoneNoB_ = phoneNoB; - setParameter("PhoneNoB", phoneNoB); +std::string BindAxbRequest::getPhoneNoB() const { + return phoneNoB_; } -std::string BindAxbRequest::getPhoneNoA()const -{ - return phoneNoA_; +void BindAxbRequest::setPhoneNoB(const std::string &phoneNoB) { + phoneNoB_ = phoneNoB; + setParameter(std::string("PhoneNoB"), phoneNoB); } -void BindAxbRequest::setPhoneNoA(const std::string& phoneNoA) -{ - phoneNoA_ = phoneNoA; - setParameter("PhoneNoA", phoneNoA); +std::string BindAxbRequest::getPhoneNoA() const { + return phoneNoA_; } -std::string BindAxbRequest::getExpectCity()const -{ - return expectCity_; +void BindAxbRequest::setPhoneNoA(const std::string &phoneNoA) { + phoneNoA_ = phoneNoA; + setParameter(std::string("PhoneNoA"), phoneNoA); } -void BindAxbRequest::setExpectCity(const std::string& expectCity) -{ - expectCity_ = expectCity; - setParameter("ExpectCity", expectCity); +std::string BindAxbRequest::getExpectCity() const { + return expectCity_; } -std::string BindAxbRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void BindAxbRequest::setExpectCity(const std::string &expectCity) { + expectCity_ = expectCity; + setParameter(std::string("ExpectCity"), expectCity); } -void BindAxbRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string BindAxbRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long BindAxbRequest::getOwnerId()const -{ - return ownerId_; +void BindAxbRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void BindAxbRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BindAxbRequest::getOwnerId() const { + return ownerId_; } -std::string BindAxbRequest::getOutOrderId()const -{ - return outOrderId_; +void BindAxbRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BindAxbRequest::setOutOrderId(const std::string& outOrderId) -{ - outOrderId_ = outOrderId; - setParameter("OutOrderId", outOrderId); +std::string BindAxbRequest::getOutOrderId() const { + return outOrderId_; } -std::string BindAxbRequest::getPoolKey()const -{ - return poolKey_; +void BindAxbRequest::setOutOrderId(const std::string &outOrderId) { + outOrderId_ = outOrderId; + setParameter(std::string("OutOrderId"), outOrderId); } -void BindAxbRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string BindAxbRequest::getPoolKey() const { + return poolKey_; } -std::string BindAxbRequest::getExpiration()const -{ - return expiration_; +void BindAxbRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void BindAxbRequest::setExpiration(const std::string& expiration) -{ - expiration_ = expiration; - setParameter("Expiration", expiration); +std::string BindAxbRequest::getExpiration() const { + return expiration_; } -bool BindAxbRequest::getIsRecordingEnabled()const -{ - return isRecordingEnabled_; +void BindAxbRequest::setExpiration(const std::string &expiration) { + expiration_ = expiration; + setParameter(std::string("Expiration"), expiration); } -void BindAxbRequest::setIsRecordingEnabled(bool isRecordingEnabled) -{ - isRecordingEnabled_ = isRecordingEnabled; - setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false"); +bool BindAxbRequest::getIsRecordingEnabled() const { + return isRecordingEnabled_; } -std::string BindAxbRequest::getOutId()const -{ - return outId_; +void BindAxbRequest::setIsRecordingEnabled(bool isRecordingEnabled) { + isRecordingEnabled_ = isRecordingEnabled; + setParameter(std::string("IsRecordingEnabled"), isRecordingEnabled ? "true" : "false"); } -void BindAxbRequest::setOutId(const std::string& outId) -{ - outId_ = outId; - setParameter("OutId", outId); +std::string BindAxbRequest::getOutId() const { + return outId_; } -std::string BindAxbRequest::getASRModelId()const -{ - return aSRModelId_; +void BindAxbRequest::setOutId(const std::string &outId) { + outId_ = outId; + setParameter(std::string("OutId"), outId); } -void BindAxbRequest::setASRModelId(const std::string& aSRModelId) -{ - aSRModelId_ = aSRModelId; - setParameter("ASRModelId", aSRModelId); +std::string BindAxbRequest::getASRModelId() const { + return aSRModelId_; } -std::string BindAxbRequest::getCallRestrict()const -{ - return callRestrict_; +void BindAxbRequest::setASRModelId(const std::string &aSRModelId) { + aSRModelId_ = aSRModelId; + setParameter(std::string("ASRModelId"), aSRModelId); } -void BindAxbRequest::setCallRestrict(const std::string& callRestrict) -{ - callRestrict_ = callRestrict; - setParameter("CallRestrict", callRestrict); +std::string BindAxbRequest::getCallRestrict() const { + return callRestrict_; +} + +void BindAxbRequest::setCallRestrict(const std::string &callRestrict) { + callRestrict_ = callRestrict; + setParameter(std::string("CallRestrict"), callRestrict); } diff --git a/dyplsapi/src/model/BindAxbResult.cc b/dyplsapi/src/model/BindAxbResult.cc index 1f3b2cab4..2afcc383e 100644 --- a/dyplsapi/src/model/BindAxbResult.cc +++ b/dyplsapi/src/model/BindAxbResult.cc @@ -40,12 +40,12 @@ void BindAxbResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto secretBindDTONode = value["SecretBindDTO"]; + if(!secretBindDTONode["Extension"].isNull()) + secretBindDTO_.extension = secretBindDTONode["Extension"].asString(); if(!secretBindDTONode["SubsId"].isNull()) secretBindDTO_.subsId = secretBindDTONode["SubsId"].asString(); if(!secretBindDTONode["SecretNo"].isNull()) secretBindDTO_.secretNo = secretBindDTONode["SecretNo"].asString(); - if(!secretBindDTONode["Extension"].isNull()) - secretBindDTO_.extension = secretBindDTONode["Extension"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); if(!value["Message"].isNull()) diff --git a/dyplsapi/src/model/BindAxgRequest.cc b/dyplsapi/src/model/BindAxgRequest.cc index ca535fbab..f42e1c6e2 100644 --- a/dyplsapi/src/model/BindAxgRequest.cc +++ b/dyplsapi/src/model/BindAxgRequest.cc @@ -1,238 +1,198 @@ /* * 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 - -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_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::BindAxgRequest; + +BindAxgRequest::BindAxgRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxg") { + setMethod(HttpRequest::Method::Post); } -void BindAxgRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +BindAxgRequest::~BindAxgRequest() {} + +long BindAxgRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -int BindAxgRequest::getCallDisplayType()const -{ - return callDisplayType_; +void BindAxgRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void BindAxgRequest::setCallDisplayType(int callDisplayType) -{ - callDisplayType_ = callDisplayType; - setParameter("CallDisplayType", std::to_string(callDisplayType)); +int BindAxgRequest::getCallDisplayType() const { + return callDisplayType_; } -std::string BindAxgRequest::getAccessKeyId()const -{ - return accessKeyId_; +void BindAxgRequest::setCallDisplayType(int callDisplayType) { + callDisplayType_ = callDisplayType; + setParameter(std::string("CallDisplayType"), std::to_string(callDisplayType)); } -void BindAxgRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string BindAxgRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string BindAxgRequest::getPhoneNoX()const -{ - return phoneNoX_; +void BindAxgRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void BindAxgRequest::setPhoneNoX(const std::string& phoneNoX) -{ - phoneNoX_ = phoneNoX; - setParameter("PhoneNoX", phoneNoX); +std::string BindAxgRequest::getPhoneNoX() const { + return phoneNoX_; } -std::string BindAxgRequest::getRingConfig()const -{ - return ringConfig_; +void BindAxgRequest::setPhoneNoX(const std::string &phoneNoX) { + phoneNoX_ = phoneNoX; + setParameter(std::string("PhoneNoX"), phoneNoX); } -void BindAxgRequest::setRingConfig(const std::string& ringConfig) -{ - ringConfig_ = ringConfig; - setParameter("RingConfig", ringConfig); +std::string BindAxgRequest::getRingConfig() const { + return ringConfig_; } -bool BindAxgRequest::getASRStatus()const -{ - return aSRStatus_; +void BindAxgRequest::setRingConfig(const std::string &ringConfig) { + ringConfig_ = ringConfig; + setParameter(std::string("RingConfig"), ringConfig); } -void BindAxgRequest::setASRStatus(bool aSRStatus) -{ - aSRStatus_ = aSRStatus; - setParameter("ASRStatus", aSRStatus ? "true" : "false"); +bool BindAxgRequest::getASRStatus() const { + return aSRStatus_; } -std::string BindAxgRequest::getPhoneNoB()const -{ - return phoneNoB_; +void BindAxgRequest::setASRStatus(bool aSRStatus) { + aSRStatus_ = aSRStatus; + setParameter(std::string("ASRStatus"), aSRStatus ? "true" : "false"); } -void BindAxgRequest::setPhoneNoB(const std::string& phoneNoB) -{ - phoneNoB_ = phoneNoB; - setParameter("PhoneNoB", phoneNoB); +std::string BindAxgRequest::getPhoneNoB() const { + return phoneNoB_; } -std::string BindAxgRequest::getPhoneNoA()const -{ - return phoneNoA_; +void BindAxgRequest::setPhoneNoB(const std::string &phoneNoB) { + phoneNoB_ = phoneNoB; + setParameter(std::string("PhoneNoB"), phoneNoB); } -void BindAxgRequest::setPhoneNoA(const std::string& phoneNoA) -{ - phoneNoA_ = phoneNoA; - setParameter("PhoneNoA", phoneNoA); +std::string BindAxgRequest::getPhoneNoA() const { + return phoneNoA_; } -std::string BindAxgRequest::getExpectCity()const -{ - return expectCity_; +void BindAxgRequest::setPhoneNoA(const std::string &phoneNoA) { + phoneNoA_ = phoneNoA; + setParameter(std::string("PhoneNoA"), phoneNoA); } -void BindAxgRequest::setExpectCity(const std::string& expectCity) -{ - expectCity_ = expectCity; - setParameter("ExpectCity", expectCity); +std::string BindAxgRequest::getExpectCity() const { + return expectCity_; } -std::string BindAxgRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void BindAxgRequest::setExpectCity(const std::string &expectCity) { + expectCity_ = expectCity; + setParameter(std::string("ExpectCity"), expectCity); } -void BindAxgRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string BindAxgRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string BindAxgRequest::getGroupId()const -{ - return groupId_; +void BindAxgRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void BindAxgRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setParameter("GroupId", groupId); +std::string BindAxgRequest::getGroupId() const { + return groupId_; } -long BindAxgRequest::getOwnerId()const -{ - return ownerId_; +void BindAxgRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), groupId); } -void BindAxgRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BindAxgRequest::getOwnerId() const { + return ownerId_; } -std::string BindAxgRequest::getOutOrderId()const -{ - return outOrderId_; +void BindAxgRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BindAxgRequest::setOutOrderId(const std::string& outOrderId) -{ - outOrderId_ = outOrderId; - setParameter("OutOrderId", outOrderId); +std::string BindAxgRequest::getOutOrderId() const { + return outOrderId_; } -std::string BindAxgRequest::getPoolKey()const -{ - return poolKey_; +void BindAxgRequest::setOutOrderId(const std::string &outOrderId) { + outOrderId_ = outOrderId; + setParameter(std::string("OutOrderId"), outOrderId); } -void BindAxgRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string BindAxgRequest::getPoolKey() const { + return poolKey_; } -std::string BindAxgRequest::getExpiration()const -{ - return expiration_; +void BindAxgRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void BindAxgRequest::setExpiration(const std::string& expiration) -{ - expiration_ = expiration; - setParameter("Expiration", expiration); +std::string BindAxgRequest::getExpiration() const { + return expiration_; } -bool BindAxgRequest::getIsRecordingEnabled()const -{ - return isRecordingEnabled_; +void BindAxgRequest::setExpiration(const std::string &expiration) { + expiration_ = expiration; + setParameter(std::string("Expiration"), expiration); } -void BindAxgRequest::setIsRecordingEnabled(bool isRecordingEnabled) -{ - isRecordingEnabled_ = isRecordingEnabled; - setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false"); +bool BindAxgRequest::getIsRecordingEnabled() const { + return isRecordingEnabled_; } -std::string BindAxgRequest::getOutId()const -{ - return outId_; +void BindAxgRequest::setIsRecordingEnabled(bool isRecordingEnabled) { + isRecordingEnabled_ = isRecordingEnabled; + setParameter(std::string("IsRecordingEnabled"), isRecordingEnabled ? "true" : "false"); } -void BindAxgRequest::setOutId(const std::string& outId) -{ - outId_ = outId; - setParameter("OutId", outId); +std::string BindAxgRequest::getOutId() const { + return outId_; } -std::string BindAxgRequest::getASRModelId()const -{ - return aSRModelId_; +void BindAxgRequest::setOutId(const std::string &outId) { + outId_ = outId; + setParameter(std::string("OutId"), outId); } -void BindAxgRequest::setASRModelId(const std::string& aSRModelId) -{ - aSRModelId_ = aSRModelId; - setParameter("ASRModelId", aSRModelId); +std::string BindAxgRequest::getASRModelId() const { + return aSRModelId_; } -std::string BindAxgRequest::getCallRestrict()const -{ - return callRestrict_; +void BindAxgRequest::setASRModelId(const std::string &aSRModelId) { + aSRModelId_ = aSRModelId; + setParameter(std::string("ASRModelId"), aSRModelId); } -void BindAxgRequest::setCallRestrict(const std::string& callRestrict) -{ - callRestrict_ = callRestrict; - setParameter("CallRestrict", callRestrict); +std::string BindAxgRequest::getCallRestrict() const { + return callRestrict_; +} + +void BindAxgRequest::setCallRestrict(const std::string &callRestrict) { + callRestrict_ = callRestrict; + setParameter(std::string("CallRestrict"), callRestrict); } diff --git a/dyplsapi/src/model/BindAxgResult.cc b/dyplsapi/src/model/BindAxgResult.cc index 99dcd8dd8..108acf970 100644 --- a/dyplsapi/src/model/BindAxgResult.cc +++ b/dyplsapi/src/model/BindAxgResult.cc @@ -40,12 +40,12 @@ void BindAxgResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto secretBindDTONode = value["SecretBindDTO"]; + if(!secretBindDTONode["Extension"].isNull()) + secretBindDTO_.extension = secretBindDTONode["Extension"].asString(); if(!secretBindDTONode["SubsId"].isNull()) secretBindDTO_.subsId = secretBindDTONode["SubsId"].asString(); if(!secretBindDTONode["SecretNo"].isNull()) secretBindDTO_.secretNo = secretBindDTONode["SecretNo"].asString(); - if(!secretBindDTONode["Extension"].isNull()) - secretBindDTO_.extension = secretBindDTONode["Extension"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); if(!value["Message"].isNull()) diff --git a/dyplsapi/src/model/BindAxnExtensionRequest.cc b/dyplsapi/src/model/BindAxnExtensionRequest.cc index 0209ac84b..31be996d4 100644 --- a/dyplsapi/src/model/BindAxnExtensionRequest.cc +++ b/dyplsapi/src/model/BindAxnExtensionRequest.cc @@ -1,238 +1,198 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::BindAxnExtensionRequest; - -BindAxnExtensionRequest::BindAxnExtensionRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxnExtension") -{ - setMethod(HttpRequest::Method::Post); -} - -BindAxnExtensionRequest::~BindAxnExtensionRequest() -{} - -long BindAxnExtensionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::BindAxnExtensionRequest; + +BindAxnExtensionRequest::BindAxnExtensionRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxnExtension") { + setMethod(HttpRequest::Method::Post); } -void BindAxnExtensionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +BindAxnExtensionRequest::~BindAxnExtensionRequest() {} + +long BindAxnExtensionRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string BindAxnExtensionRequest::getExtension()const -{ - return extension_; +void BindAxnExtensionRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void BindAxnExtensionRequest::setExtension(const std::string& extension) -{ - extension_ = extension; - setParameter("Extension", extension); +std::string BindAxnExtensionRequest::getExtension() const { + return extension_; } -int BindAxnExtensionRequest::getCallDisplayType()const -{ - return callDisplayType_; +void BindAxnExtensionRequest::setExtension(const std::string &extension) { + extension_ = extension; + setParameter(std::string("Extension"), extension); } -void BindAxnExtensionRequest::setCallDisplayType(int callDisplayType) -{ - callDisplayType_ = callDisplayType; - setParameter("CallDisplayType", std::to_string(callDisplayType)); +int BindAxnExtensionRequest::getCallDisplayType() const { + return callDisplayType_; } -std::string BindAxnExtensionRequest::getAccessKeyId()const -{ - return accessKeyId_; +void BindAxnExtensionRequest::setCallDisplayType(int callDisplayType) { + callDisplayType_ = callDisplayType; + setParameter(std::string("CallDisplayType"), std::to_string(callDisplayType)); } -void BindAxnExtensionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string BindAxnExtensionRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string BindAxnExtensionRequest::getPhoneNoX()const -{ - return phoneNoX_; +void BindAxnExtensionRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void BindAxnExtensionRequest::setPhoneNoX(const std::string& phoneNoX) -{ - phoneNoX_ = phoneNoX; - setParameter("PhoneNoX", phoneNoX); +std::string BindAxnExtensionRequest::getPhoneNoX() const { + return phoneNoX_; } -std::string BindAxnExtensionRequest::getRingConfig()const -{ - return ringConfig_; +void BindAxnExtensionRequest::setPhoneNoX(const std::string &phoneNoX) { + phoneNoX_ = phoneNoX; + setParameter(std::string("PhoneNoX"), phoneNoX); } -void BindAxnExtensionRequest::setRingConfig(const std::string& ringConfig) -{ - ringConfig_ = ringConfig; - setParameter("RingConfig", ringConfig); +std::string BindAxnExtensionRequest::getRingConfig() const { + return ringConfig_; } -bool BindAxnExtensionRequest::getASRStatus()const -{ - return aSRStatus_; +void BindAxnExtensionRequest::setRingConfig(const std::string &ringConfig) { + ringConfig_ = ringConfig; + setParameter(std::string("RingConfig"), ringConfig); } -void BindAxnExtensionRequest::setASRStatus(bool aSRStatus) -{ - aSRStatus_ = aSRStatus; - setParameter("ASRStatus", aSRStatus ? "true" : "false"); +bool BindAxnExtensionRequest::getASRStatus() const { + return aSRStatus_; } -std::string BindAxnExtensionRequest::getPhoneNoB()const -{ - return phoneNoB_; +void BindAxnExtensionRequest::setASRStatus(bool aSRStatus) { + aSRStatus_ = aSRStatus; + setParameter(std::string("ASRStatus"), aSRStatus ? "true" : "false"); } -void BindAxnExtensionRequest::setPhoneNoB(const std::string& phoneNoB) -{ - phoneNoB_ = phoneNoB; - setParameter("PhoneNoB", phoneNoB); +std::string BindAxnExtensionRequest::getPhoneNoB() const { + return phoneNoB_; } -std::string BindAxnExtensionRequest::getPhoneNoA()const -{ - return phoneNoA_; +void BindAxnExtensionRequest::setPhoneNoB(const std::string &phoneNoB) { + phoneNoB_ = phoneNoB; + setParameter(std::string("PhoneNoB"), phoneNoB); } -void BindAxnExtensionRequest::setPhoneNoA(const std::string& phoneNoA) -{ - phoneNoA_ = phoneNoA; - setParameter("PhoneNoA", phoneNoA); +std::string BindAxnExtensionRequest::getPhoneNoA() const { + return phoneNoA_; } -std::string BindAxnExtensionRequest::getExpectCity()const -{ - return expectCity_; +void BindAxnExtensionRequest::setPhoneNoA(const std::string &phoneNoA) { + phoneNoA_ = phoneNoA; + setParameter(std::string("PhoneNoA"), phoneNoA); } -void BindAxnExtensionRequest::setExpectCity(const std::string& expectCity) -{ - expectCity_ = expectCity; - setParameter("ExpectCity", expectCity); +std::string BindAxnExtensionRequest::getExpectCity() const { + return expectCity_; } -std::string BindAxnExtensionRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void BindAxnExtensionRequest::setExpectCity(const std::string &expectCity) { + expectCity_ = expectCity; + setParameter(std::string("ExpectCity"), expectCity); } -void BindAxnExtensionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string BindAxnExtensionRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long BindAxnExtensionRequest::getOwnerId()const -{ - return ownerId_; +void BindAxnExtensionRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void BindAxnExtensionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BindAxnExtensionRequest::getOwnerId() const { + return ownerId_; } -std::string BindAxnExtensionRequest::getOutOrderId()const -{ - return outOrderId_; +void BindAxnExtensionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BindAxnExtensionRequest::setOutOrderId(const std::string& outOrderId) -{ - outOrderId_ = outOrderId; - setParameter("OutOrderId", outOrderId); +std::string BindAxnExtensionRequest::getOutOrderId() const { + return outOrderId_; } -std::string BindAxnExtensionRequest::getPoolKey()const -{ - return poolKey_; +void BindAxnExtensionRequest::setOutOrderId(const std::string &outOrderId) { + outOrderId_ = outOrderId; + setParameter(std::string("OutOrderId"), outOrderId); } -void BindAxnExtensionRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string BindAxnExtensionRequest::getPoolKey() const { + return poolKey_; } -std::string BindAxnExtensionRequest::getExpiration()const -{ - return expiration_; +void BindAxnExtensionRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void BindAxnExtensionRequest::setExpiration(const std::string& expiration) -{ - expiration_ = expiration; - setParameter("Expiration", expiration); +std::string BindAxnExtensionRequest::getExpiration() const { + return expiration_; } -bool BindAxnExtensionRequest::getIsRecordingEnabled()const -{ - return isRecordingEnabled_; +void BindAxnExtensionRequest::setExpiration(const std::string &expiration) { + expiration_ = expiration; + setParameter(std::string("Expiration"), expiration); } -void BindAxnExtensionRequest::setIsRecordingEnabled(bool isRecordingEnabled) -{ - isRecordingEnabled_ = isRecordingEnabled; - setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false"); +bool BindAxnExtensionRequest::getIsRecordingEnabled() const { + return isRecordingEnabled_; } -std::string BindAxnExtensionRequest::getOutId()const -{ - return outId_; +void BindAxnExtensionRequest::setIsRecordingEnabled(bool isRecordingEnabled) { + isRecordingEnabled_ = isRecordingEnabled; + setParameter(std::string("IsRecordingEnabled"), isRecordingEnabled ? "true" : "false"); } -void BindAxnExtensionRequest::setOutId(const std::string& outId) -{ - outId_ = outId; - setParameter("OutId", outId); +std::string BindAxnExtensionRequest::getOutId() const { + return outId_; } -std::string BindAxnExtensionRequest::getASRModelId()const -{ - return aSRModelId_; +void BindAxnExtensionRequest::setOutId(const std::string &outId) { + outId_ = outId; + setParameter(std::string("OutId"), outId); } -void BindAxnExtensionRequest::setASRModelId(const std::string& aSRModelId) -{ - aSRModelId_ = aSRModelId; - setParameter("ASRModelId", aSRModelId); +std::string BindAxnExtensionRequest::getASRModelId() const { + return aSRModelId_; } -std::string BindAxnExtensionRequest::getCallRestrict()const -{ - return callRestrict_; +void BindAxnExtensionRequest::setASRModelId(const std::string &aSRModelId) { + aSRModelId_ = aSRModelId; + setParameter(std::string("ASRModelId"), aSRModelId); } -void BindAxnExtensionRequest::setCallRestrict(const std::string& callRestrict) -{ - callRestrict_ = callRestrict; - setParameter("CallRestrict", callRestrict); +std::string BindAxnExtensionRequest::getCallRestrict() const { + return callRestrict_; +} + +void BindAxnExtensionRequest::setCallRestrict(const std::string &callRestrict) { + callRestrict_ = callRestrict; + setParameter(std::string("CallRestrict"), callRestrict); } diff --git a/dyplsapi/src/model/BindAxnExtensionResult.cc b/dyplsapi/src/model/BindAxnExtensionResult.cc index 3e4679c36..6483fcc8e 100644 --- a/dyplsapi/src/model/BindAxnExtensionResult.cc +++ b/dyplsapi/src/model/BindAxnExtensionResult.cc @@ -40,12 +40,12 @@ void BindAxnExtensionResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto secretBindDTONode = value["SecretBindDTO"]; + if(!secretBindDTONode["Extension"].isNull()) + secretBindDTO_.extension = secretBindDTONode["Extension"].asString(); if(!secretBindDTONode["SubsId"].isNull()) secretBindDTO_.subsId = secretBindDTONode["SubsId"].asString(); if(!secretBindDTONode["SecretNo"].isNull()) secretBindDTO_.secretNo = secretBindDTONode["SecretNo"].asString(); - if(!secretBindDTONode["Extension"].isNull()) - secretBindDTO_.extension = secretBindDTONode["Extension"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); if(!value["Message"].isNull()) diff --git a/dyplsapi/src/model/BindAxnRequest.cc b/dyplsapi/src/model/BindAxnRequest.cc index eb9ea7a7e..9ca168c48 100644 --- a/dyplsapi/src/model/BindAxnRequest.cc +++ b/dyplsapi/src/model/BindAxnRequest.cc @@ -1,249 +1,207 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::BindAxnRequest; - -BindAxnRequest::BindAxnRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxn") -{ - setMethod(HttpRequest::Method::Post); -} - -BindAxnRequest::~BindAxnRequest() -{} - -long BindAxnRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::BindAxnRequest; + +BindAxnRequest::BindAxnRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "BindAxn") { + setMethod(HttpRequest::Method::Post); } -void BindAxnRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +BindAxnRequest::~BindAxnRequest() {} + +long BindAxnRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -int BindAxnRequest::getCallDisplayType()const -{ - return callDisplayType_; +void BindAxnRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void BindAxnRequest::setCallDisplayType(int callDisplayType) -{ - callDisplayType_ = callDisplayType; - setParameter("CallDisplayType", std::to_string(callDisplayType)); +int BindAxnRequest::getCallDisplayType() const { + return callDisplayType_; } -std::string BindAxnRequest::getAccessKeyId()const -{ - return accessKeyId_; +void BindAxnRequest::setCallDisplayType(int callDisplayType) { + callDisplayType_ = callDisplayType; + setParameter(std::string("CallDisplayType"), std::to_string(callDisplayType)); } -void BindAxnRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string BindAxnRequest::getAccessKeyId() const { + return accessKeyId_; } -int BindAxnRequest::getCallTimeout()const -{ - return callTimeout_; +void BindAxnRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void BindAxnRequest::setCallTimeout(int callTimeout) -{ - callTimeout_ = callTimeout; - setParameter("CallTimeout", std::to_string(callTimeout)); +int BindAxnRequest::getCallTimeout() const { + return callTimeout_; } -std::string BindAxnRequest::getPhoneNoX()const -{ - return phoneNoX_; +void BindAxnRequest::setCallTimeout(int callTimeout) { + callTimeout_ = callTimeout; + setParameter(std::string("CallTimeout"), std::to_string(callTimeout)); } -void BindAxnRequest::setPhoneNoX(const std::string& phoneNoX) -{ - phoneNoX_ = phoneNoX; - setParameter("PhoneNoX", phoneNoX); +std::string BindAxnRequest::getPhoneNoX() const { + return phoneNoX_; } -std::string BindAxnRequest::getRingConfig()const -{ - return ringConfig_; +void BindAxnRequest::setPhoneNoX(const std::string &phoneNoX) { + phoneNoX_ = phoneNoX; + setParameter(std::string("PhoneNoX"), phoneNoX); } -void BindAxnRequest::setRingConfig(const std::string& ringConfig) -{ - ringConfig_ = ringConfig; - setParameter("RingConfig", ringConfig); +std::string BindAxnRequest::getRingConfig() const { + return ringConfig_; } -bool BindAxnRequest::getASRStatus()const -{ - return aSRStatus_; +void BindAxnRequest::setRingConfig(const std::string &ringConfig) { + ringConfig_ = ringConfig; + setParameter(std::string("RingConfig"), ringConfig); } -void BindAxnRequest::setASRStatus(bool aSRStatus) -{ - aSRStatus_ = aSRStatus; - setParameter("ASRStatus", aSRStatus ? "true" : "false"); +bool BindAxnRequest::getASRStatus() const { + return aSRStatus_; } -std::string BindAxnRequest::getPhoneNoB()const -{ - return phoneNoB_; +void BindAxnRequest::setASRStatus(bool aSRStatus) { + aSRStatus_ = aSRStatus; + setParameter(std::string("ASRStatus"), aSRStatus ? "true" : "false"); } -void BindAxnRequest::setPhoneNoB(const std::string& phoneNoB) -{ - phoneNoB_ = phoneNoB; - setParameter("PhoneNoB", phoneNoB); +std::string BindAxnRequest::getPhoneNoB() const { + return phoneNoB_; } -std::string BindAxnRequest::getPhoneNoA()const -{ - return phoneNoA_; +void BindAxnRequest::setPhoneNoB(const std::string &phoneNoB) { + phoneNoB_ = phoneNoB; + setParameter(std::string("PhoneNoB"), phoneNoB); } -void BindAxnRequest::setPhoneNoA(const std::string& phoneNoA) -{ - phoneNoA_ = phoneNoA; - setParameter("PhoneNoA", phoneNoA); +std::string BindAxnRequest::getPhoneNoA() const { + return phoneNoA_; } -std::string BindAxnRequest::getExpectCity()const -{ - return expectCity_; +void BindAxnRequest::setPhoneNoA(const std::string &phoneNoA) { + phoneNoA_ = phoneNoA; + setParameter(std::string("PhoneNoA"), phoneNoA); } -void BindAxnRequest::setExpectCity(const std::string& expectCity) -{ - expectCity_ = expectCity; - setParameter("ExpectCity", expectCity); +std::string BindAxnRequest::getExpectCity() const { + return expectCity_; } -std::string BindAxnRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void BindAxnRequest::setExpectCity(const std::string &expectCity) { + expectCity_ = expectCity; + setParameter(std::string("ExpectCity"), expectCity); } -void BindAxnRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string BindAxnRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long BindAxnRequest::getOwnerId()const -{ - return ownerId_; +void BindAxnRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void BindAxnRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BindAxnRequest::getOwnerId() const { + return ownerId_; } -std::string BindAxnRequest::getOutOrderId()const -{ - return outOrderId_; +void BindAxnRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BindAxnRequest::setOutOrderId(const std::string& outOrderId) -{ - outOrderId_ = outOrderId; - setParameter("OutOrderId", outOrderId); +std::string BindAxnRequest::getOutOrderId() const { + return outOrderId_; } -std::string BindAxnRequest::getPoolKey()const -{ - return poolKey_; +void BindAxnRequest::setOutOrderId(const std::string &outOrderId) { + outOrderId_ = outOrderId; + setParameter(std::string("OutOrderId"), outOrderId); } -void BindAxnRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string BindAxnRequest::getPoolKey() const { + return poolKey_; } -std::string BindAxnRequest::getExpiration()const -{ - return expiration_; +void BindAxnRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void BindAxnRequest::setExpiration(const std::string& expiration) -{ - expiration_ = expiration; - setParameter("Expiration", expiration); +std::string BindAxnRequest::getExpiration() const { + return expiration_; } -bool BindAxnRequest::getIsRecordingEnabled()const -{ - return isRecordingEnabled_; +void BindAxnRequest::setExpiration(const std::string &expiration) { + expiration_ = expiration; + setParameter(std::string("Expiration"), expiration); } -void BindAxnRequest::setIsRecordingEnabled(bool isRecordingEnabled) -{ - isRecordingEnabled_ = isRecordingEnabled; - setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false"); +bool BindAxnRequest::getIsRecordingEnabled() const { + return isRecordingEnabled_; } -std::string BindAxnRequest::getOutId()const -{ - return outId_; +void BindAxnRequest::setIsRecordingEnabled(bool isRecordingEnabled) { + isRecordingEnabled_ = isRecordingEnabled; + setParameter(std::string("IsRecordingEnabled"), isRecordingEnabled ? "true" : "false"); } -void BindAxnRequest::setOutId(const std::string& outId) -{ - outId_ = outId; - setParameter("OutId", outId); +std::string BindAxnRequest::getOutId() const { + return outId_; } -std::string BindAxnRequest::getNoType()const -{ - return noType_; +void BindAxnRequest::setOutId(const std::string &outId) { + outId_ = outId; + setParameter(std::string("OutId"), outId); } -void BindAxnRequest::setNoType(const std::string& noType) -{ - noType_ = noType; - setParameter("NoType", noType); +std::string BindAxnRequest::getNoType() const { + return noType_; } -std::string BindAxnRequest::getASRModelId()const -{ - return aSRModelId_; +void BindAxnRequest::setNoType(const std::string &noType) { + noType_ = noType; + setParameter(std::string("NoType"), noType); } -void BindAxnRequest::setASRModelId(const std::string& aSRModelId) -{ - aSRModelId_ = aSRModelId; - setParameter("ASRModelId", aSRModelId); +std::string BindAxnRequest::getASRModelId() const { + return aSRModelId_; } -std::string BindAxnRequest::getCallRestrict()const -{ - return callRestrict_; +void BindAxnRequest::setASRModelId(const std::string &aSRModelId) { + aSRModelId_ = aSRModelId; + setParameter(std::string("ASRModelId"), aSRModelId); } -void BindAxnRequest::setCallRestrict(const std::string& callRestrict) -{ - callRestrict_ = callRestrict; - setParameter("CallRestrict", callRestrict); +std::string BindAxnRequest::getCallRestrict() const { + return callRestrict_; +} + +void BindAxnRequest::setCallRestrict(const std::string &callRestrict) { + callRestrict_ = callRestrict; + setParameter(std::string("CallRestrict"), callRestrict); } diff --git a/dyplsapi/src/model/BindAxnResult.cc b/dyplsapi/src/model/BindAxnResult.cc index 3d82c572c..0c3bfe7c1 100644 --- a/dyplsapi/src/model/BindAxnResult.cc +++ b/dyplsapi/src/model/BindAxnResult.cc @@ -40,12 +40,12 @@ void BindAxnResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto secretBindDTONode = value["SecretBindDTO"]; + if(!secretBindDTONode["Extension"].isNull()) + secretBindDTO_.extension = secretBindDTONode["Extension"].asString(); if(!secretBindDTONode["SubsId"].isNull()) secretBindDTO_.subsId = secretBindDTONode["SubsId"].asString(); if(!secretBindDTONode["SecretNo"].isNull()) secretBindDTO_.secretNo = secretBindDTONode["SecretNo"].asString(); - if(!secretBindDTONode["Extension"].isNull()) - secretBindDTO_.extension = secretBindDTONode["Extension"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); if(!value["Message"].isNull()) diff --git a/dyplsapi/src/model/BuySecretNoRequest.cc b/dyplsapi/src/model/BuySecretNoRequest.cc index e1d94cd0c..8d5d0d313 100644 --- a/dyplsapi/src/model/BuySecretNoRequest.cc +++ b/dyplsapi/src/model/BuySecretNoRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::BuySecretNoRequest; - -BuySecretNoRequest::BuySecretNoRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "BuySecretNo") -{ - setMethod(HttpRequest::Method::Post); -} - -BuySecretNoRequest::~BuySecretNoRequest() -{} - -long BuySecretNoRequest::getSpecId()const -{ - return specId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::BuySecretNoRequest; + +BuySecretNoRequest::BuySecretNoRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "BuySecretNo") { + setMethod(HttpRequest::Method::Post); } -void BuySecretNoRequest::setSpecId(long specId) -{ - specId_ = specId; - setParameter("SpecId", std::to_string(specId)); +BuySecretNoRequest::~BuySecretNoRequest() {} + +long BuySecretNoRequest::getSpecId() const { + return specId_; } -long BuySecretNoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; +void BuySecretNoRequest::setSpecId(long specId) { + specId_ = specId; + setParameter(std::string("SpecId"), std::to_string(specId)); } -void BuySecretNoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +long BuySecretNoRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string BuySecretNoRequest::getCity()const -{ - return city_; +void BuySecretNoRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void BuySecretNoRequest::setCity(const std::string& city) -{ - city_ = city; - setParameter("City", city); +std::string BuySecretNoRequest::getCity() const { + return city_; } -std::string BuySecretNoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void BuySecretNoRequest::setCity(const std::string &city) { + city_ = city; + setParameter(std::string("City"), city); } -void BuySecretNoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string BuySecretNoRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string BuySecretNoRequest::getSecretNo()const -{ - return secretNo_; +void BuySecretNoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void BuySecretNoRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string BuySecretNoRequest::getSecretNo() const { + return secretNo_; } -std::string BuySecretNoRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void BuySecretNoRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } -void BuySecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string BuySecretNoRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -bool BuySecretNoRequest::getDisplayPool()const -{ - return displayPool_; +void BuySecretNoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void BuySecretNoRequest::setDisplayPool(bool displayPool) -{ - displayPool_ = displayPool; - setParameter("DisplayPool", displayPool ? "true" : "false"); +bool BuySecretNoRequest::getDisplayPool() const { + return displayPool_; } -long BuySecretNoRequest::getOwnerId()const -{ - return ownerId_; +void BuySecretNoRequest::setDisplayPool(bool displayPool) { + displayPool_ = displayPool; + setParameter(std::string("DisplayPool"), displayPool ? "true" : "false"); } -void BuySecretNoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BuySecretNoRequest::getOwnerId() const { + return ownerId_; } -std::string BuySecretNoRequest::getPoolKey()const -{ - return poolKey_; +void BuySecretNoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BuySecretNoRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string BuySecretNoRequest::getPoolKey() const { + return poolKey_; +} + +void BuySecretNoRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/CancelPickUpWaybillRequest.cc b/dyplsapi/src/model/CancelPickUpWaybillRequest.cc index 9a78455fa..bd336aa06 100644 --- a/dyplsapi/src/model/CancelPickUpWaybillRequest.cc +++ b/dyplsapi/src/model/CancelPickUpWaybillRequest.cc @@ -1,106 +1,90 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::CancelPickUpWaybillRequest; - -CancelPickUpWaybillRequest::CancelPickUpWaybillRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "CancelPickUpWaybill") -{ - setMethod(HttpRequest::Method::Post); -} - -CancelPickUpWaybillRequest::~CancelPickUpWaybillRequest() -{} - -long CancelPickUpWaybillRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::CancelPickUpWaybillRequest; + +CancelPickUpWaybillRequest::CancelPickUpWaybillRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "CancelPickUpWaybill") { + setMethod(HttpRequest::Method::Post); } -void CancelPickUpWaybillRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +CancelPickUpWaybillRequest::~CancelPickUpWaybillRequest() {} + +long CancelPickUpWaybillRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string CancelPickUpWaybillRequest::getOuterOrderCode()const -{ - return outerOrderCode_; +void CancelPickUpWaybillRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void CancelPickUpWaybillRequest::setOuterOrderCode(const std::string& outerOrderCode) -{ - outerOrderCode_ = outerOrderCode; - setParameter("OuterOrderCode", outerOrderCode); +std::string CancelPickUpWaybillRequest::getOuterOrderCode() const { + return outerOrderCode_; } -std::string CancelPickUpWaybillRequest::getAccessKeyId()const -{ - return accessKeyId_; +void CancelPickUpWaybillRequest::setOuterOrderCode(const std::string &outerOrderCode) { + outerOrderCode_ = outerOrderCode; + setParameter(std::string("OuterOrderCode"), outerOrderCode); } -void CancelPickUpWaybillRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string CancelPickUpWaybillRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string CancelPickUpWaybillRequest::getCancelDesc()const -{ - return cancelDesc_; +void CancelPickUpWaybillRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void CancelPickUpWaybillRequest::setCancelDesc(const std::string& cancelDesc) -{ - cancelDesc_ = cancelDesc; - setParameter("CancelDesc", cancelDesc); +std::string CancelPickUpWaybillRequest::getCancelDesc() const { + return cancelDesc_; } -std::string CancelPickUpWaybillRequest::getContentType()const -{ - return contentType_; +void CancelPickUpWaybillRequest::setCancelDesc(const std::string &cancelDesc) { + cancelDesc_ = cancelDesc; + setParameter(std::string("CancelDesc"), cancelDesc); } -void CancelPickUpWaybillRequest::setContentType(const std::string& contentType) -{ - contentType_ = contentType; - setHeader("ContentType", contentType); +std::string CancelPickUpWaybillRequest::getContentType() const { + return contentType_; } -std::string CancelPickUpWaybillRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void CancelPickUpWaybillRequest::setContentType(const std::string &contentType) { + contentType_ = contentType; + setHeader(std::string("Content-Type"), contentType); } -void CancelPickUpWaybillRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string CancelPickUpWaybillRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long CancelPickUpWaybillRequest::getOwnerId()const -{ - return ownerId_; +void CancelPickUpWaybillRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void CancelPickUpWaybillRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CancelPickUpWaybillRequest::getOwnerId() const { + return ownerId_; +} + +void CancelPickUpWaybillRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dyplsapi/src/model/ConfirmSendSmsRequest.cc b/dyplsapi/src/model/ConfirmSendSmsRequest.cc index 8320be91f..09feb3f31 100644 --- a/dyplsapi/src/model/ConfirmSendSmsRequest.cc +++ b/dyplsapi/src/model/ConfirmSendSmsRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::ConfirmSendSmsRequest; - -ConfirmSendSmsRequest::ConfirmSendSmsRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "ConfirmSendSms") -{ - setMethod(HttpRequest::Method::Post); -} - -ConfirmSendSmsRequest::~ConfirmSendSmsRequest() -{} - -std::string ConfirmSendSmsRequest::getCallId()const -{ - return callId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::ConfirmSendSmsRequest; + +ConfirmSendSmsRequest::ConfirmSendSmsRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "ConfirmSendSms") { + setMethod(HttpRequest::Method::Post); } -void ConfirmSendSmsRequest::setCallId(const std::string& callId) -{ - callId_ = callId; - setParameter("CallId", callId); +ConfirmSendSmsRequest::~ConfirmSendSmsRequest() {} + +std::string ConfirmSendSmsRequest::getCallId() const { + return callId_; } -long ConfirmSendSmsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; +void ConfirmSendSmsRequest::setCallId(const std::string &callId) { + callId_ = callId; + setParameter(std::string("CallId"), callId); } -void ConfirmSendSmsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +long ConfirmSendSmsRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string ConfirmSendSmsRequest::getAccessKeyId()const -{ - return accessKeyId_; +void ConfirmSendSmsRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void ConfirmSendSmsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string ConfirmSendSmsRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string ConfirmSendSmsRequest::getSecretNo()const -{ - return secretNo_; +void ConfirmSendSmsRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void ConfirmSendSmsRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string ConfirmSendSmsRequest::getSecretNo() const { + return secretNo_; } -std::string ConfirmSendSmsRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void ConfirmSendSmsRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } -void ConfirmSendSmsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string ConfirmSendSmsRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string ConfirmSendSmsRequest::getProdCode()const -{ - return prodCode_; +void ConfirmSendSmsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void ConfirmSendSmsRequest::setProdCode(const std::string& prodCode) -{ - prodCode_ = prodCode; - setParameter("ProdCode", prodCode); +std::string ConfirmSendSmsRequest::getProdCode() const { + return prodCode_; } -long ConfirmSendSmsRequest::getOwnerId()const -{ - return ownerId_; +void ConfirmSendSmsRequest::setProdCode(const std::string &prodCode) { + prodCode_ = prodCode; + setParameter(std::string("ProdCode"), prodCode); } -void ConfirmSendSmsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ConfirmSendSmsRequest::getOwnerId() const { + return ownerId_; } -std::string ConfirmSendSmsRequest::getPoolKey()const -{ - return poolKey_; +void ConfirmSendSmsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ConfirmSendSmsRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string ConfirmSendSmsRequest::getPoolKey() const { + return poolKey_; +} + +void ConfirmSendSmsRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/CreateAxgGroupRequest.cc b/dyplsapi/src/model/CreateAxgGroupRequest.cc index 02c4fd316..5d9914d1f 100644 --- a/dyplsapi/src/model/CreateAxgGroupRequest.cc +++ b/dyplsapi/src/model/CreateAxgGroupRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::CreateAxgGroupRequest; - -CreateAxgGroupRequest::CreateAxgGroupRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "CreateAxgGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateAxgGroupRequest::~CreateAxgGroupRequest() -{} - -long CreateAxgGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::CreateAxgGroupRequest; + +CreateAxgGroupRequest::CreateAxgGroupRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "CreateAxgGroup") { + setMethod(HttpRequest::Method::Post); } -void CreateAxgGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +CreateAxgGroupRequest::~CreateAxgGroupRequest() {} + +long CreateAxgGroupRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string CreateAxgGroupRequest::getNumbers()const -{ - return numbers_; +void CreateAxgGroupRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void CreateAxgGroupRequest::setNumbers(const std::string& numbers) -{ - numbers_ = numbers; - setParameter("Numbers", numbers); +std::string CreateAxgGroupRequest::getNumbers() const { + return numbers_; } -std::string CreateAxgGroupRequest::getRemark()const -{ - return remark_; +void CreateAxgGroupRequest::setNumbers(const std::string &numbers) { + numbers_ = numbers; + setParameter(std::string("Numbers"), numbers); } -void CreateAxgGroupRequest::setRemark(const std::string& remark) -{ - remark_ = remark; - setParameter("Remark", remark); +std::string CreateAxgGroupRequest::getRemark() const { + return remark_; } -std::string CreateAxgGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; +void CreateAxgGroupRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); } -void CreateAxgGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string CreateAxgGroupRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string CreateAxgGroupRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void CreateAxgGroupRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void CreateAxgGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string CreateAxgGroupRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long CreateAxgGroupRequest::getOwnerId()const -{ - return ownerId_; +void CreateAxgGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void CreateAxgGroupRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CreateAxgGroupRequest::getOwnerId() const { + return ownerId_; } -std::string CreateAxgGroupRequest::getPoolKey()const -{ - return poolKey_; +void CreateAxgGroupRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void CreateAxgGroupRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string CreateAxgGroupRequest::getPoolKey() const { + return poolKey_; } -std::string CreateAxgGroupRequest::getName()const -{ - return name_; +void CreateAxgGroupRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void CreateAxgGroupRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateAxgGroupRequest::getName() const { + return name_; +} + +void CreateAxgGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/dyplsapi/src/model/CreatePickUpWaybillRequest.cc b/dyplsapi/src/model/CreatePickUpWaybillRequest.cc index a5551b0f3..2aad6da31 100644 --- a/dyplsapi/src/model/CreatePickUpWaybillRequest.cc +++ b/dyplsapi/src/model/CreatePickUpWaybillRequest.cc @@ -1,183 +1,165 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::CreatePickUpWaybillRequest; - -CreatePickUpWaybillRequest::CreatePickUpWaybillRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "CreatePickUpWaybill") -{ - setMethod(HttpRequest::Method::Post); -} - -CreatePickUpWaybillRequest::~CreatePickUpWaybillRequest() -{} - -std::string CreatePickUpWaybillRequest::getConsigneeName()const -{ - return consigneeName_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::CreatePickUpWaybillRequest; + +CreatePickUpWaybillRequest::CreatePickUpWaybillRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "CreatePickUpWaybill") { + setMethod(HttpRequest::Method::Post); } -void CreatePickUpWaybillRequest::setConsigneeName(const std::string& consigneeName) -{ - consigneeName_ = consigneeName; - setParameter("ConsigneeName", consigneeName); +CreatePickUpWaybillRequest::~CreatePickUpWaybillRequest() {} + +std::string CreatePickUpWaybillRequest::getConsigneeName() const { + return consigneeName_; } -std::string CreatePickUpWaybillRequest::getOrderChannels()const -{ - return orderChannels_; +void CreatePickUpWaybillRequest::setConsigneeName(const std::string &consigneeName) { + consigneeName_ = consigneeName; + setParameter(std::string("ConsigneeName"), consigneeName); } -void CreatePickUpWaybillRequest::setOrderChannels(const std::string& orderChannels) -{ - orderChannels_ = orderChannels; - setParameter("OrderChannels", orderChannels); +std::string CreatePickUpWaybillRequest::getOrderChannels() const { + return orderChannels_; } -Struct CreatePickUpWaybillRequest::getSendAddress()const -{ - return sendAddress_; +void CreatePickUpWaybillRequest::setOrderChannels(const std::string &orderChannels) { + orderChannels_ = orderChannels; + setParameter(std::string("OrderChannels"), orderChannels); } -void CreatePickUpWaybillRequest::setSendAddress(const Struct& sendAddress) -{ - sendAddress_ = sendAddress; - setParameter("SendAddress", std::to_string(sendAddress)); +CreatePickUpWaybillRequest::SendAddress CreatePickUpWaybillRequest::getSendAddress() const { + return sendAddress_; } -std::string CreatePickUpWaybillRequest::getOuterOrderCode()const -{ - return outerOrderCode_; +void CreatePickUpWaybillRequest::setSendAddress(const CreatePickUpWaybillRequest::SendAddress &sendAddress) { + sendAddress_ = sendAddress; + setParameter(std::string("SendAddress") + ".ProvinceName", sendAddress.provinceName); + setParameter(std::string("SendAddress") + ".CityName", sendAddress.cityName); + setParameter(std::string("SendAddress") + ".AreaName", sendAddress.areaName); + setParameter(std::string("SendAddress") + ".TownName", sendAddress.townName); + setParameter(std::string("SendAddress") + ".AddressDetail", sendAddress.addressDetail); } -void CreatePickUpWaybillRequest::setOuterOrderCode(const std::string& outerOrderCode) -{ - outerOrderCode_ = outerOrderCode; - setParameter("OuterOrderCode", outerOrderCode); +std::string CreatePickUpWaybillRequest::getOuterOrderCode() const { + return outerOrderCode_; } -std::string CreatePickUpWaybillRequest::getRemark()const -{ - return remark_; +void CreatePickUpWaybillRequest::setOuterOrderCode(const std::string &outerOrderCode) { + outerOrderCode_ = outerOrderCode; + setParameter(std::string("OuterOrderCode"), outerOrderCode); } -void CreatePickUpWaybillRequest::setRemark(const std::string& remark) -{ - remark_ = remark; - setParameter("Remark", remark); +std::string CreatePickUpWaybillRequest::getRemark() const { + return remark_; } -std::string CreatePickUpWaybillRequest::getCpCode()const -{ - return cpCode_; +void CreatePickUpWaybillRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); } -void CreatePickUpWaybillRequest::setCpCode(const std::string& cpCode) -{ - cpCode_ = cpCode; - setParameter("CpCode", cpCode); +std::string CreatePickUpWaybillRequest::getCpCode() const { + return cpCode_; } -std::string CreatePickUpWaybillRequest::getSendMobile()const -{ - return sendMobile_; +void CreatePickUpWaybillRequest::setCpCode(const std::string &cpCode) { + cpCode_ = cpCode; + setParameter(std::string("CpCode"), cpCode); } -void CreatePickUpWaybillRequest::setSendMobile(const std::string& sendMobile) -{ - sendMobile_ = sendMobile; - setParameter("SendMobile", sendMobile); +std::string CreatePickUpWaybillRequest::getSendMobile() const { + return sendMobile_; } -std::string CreatePickUpWaybillRequest::getConsigneeMobile()const -{ - return consigneeMobile_; +void CreatePickUpWaybillRequest::setSendMobile(const std::string &sendMobile) { + sendMobile_ = sendMobile; + setParameter(std::string("SendMobile"), sendMobile); } -void CreatePickUpWaybillRequest::setConsigneeMobile(const std::string& consigneeMobile) -{ - consigneeMobile_ = consigneeMobile; - setParameter("ConsigneeMobile", consigneeMobile); +std::string CreatePickUpWaybillRequest::getConsigneeMobile() const { + return consigneeMobile_; } -std::string CreatePickUpWaybillRequest::getContentType()const -{ - return contentType_; +void CreatePickUpWaybillRequest::setConsigneeMobile(const std::string &consigneeMobile) { + consigneeMobile_ = consigneeMobile; + setParameter(std::string("ConsigneeMobile"), consigneeMobile); } -void CreatePickUpWaybillRequest::setContentType(const std::string& contentType) -{ - contentType_ = contentType; - setHeader("ContentType", contentType); +std::string CreatePickUpWaybillRequest::getContentType() const { + return contentType_; } -Struct CreatePickUpWaybillRequest::getConsigneeAddress()const -{ - return consigneeAddress_; +void CreatePickUpWaybillRequest::setContentType(const std::string &contentType) { + contentType_ = contentType; + setHeader(std::string("Content-Type"), contentType); } -void CreatePickUpWaybillRequest::setConsigneeAddress(const Struct& consigneeAddress) -{ - consigneeAddress_ = consigneeAddress; - setParameter("ConsigneeAddress", std::to_string(consigneeAddress)); +CreatePickUpWaybillRequest::ConsigneeAddress CreatePickUpWaybillRequest::getConsigneeAddress() const { + return consigneeAddress_; } -std::string CreatePickUpWaybillRequest::getSendPhone()const -{ - return sendPhone_; +void CreatePickUpWaybillRequest::setConsigneeAddress(const CreatePickUpWaybillRequest::ConsigneeAddress &consigneeAddress) { + consigneeAddress_ = consigneeAddress; + setParameter(std::string("ConsigneeAddress") + ".ProvinceName", consigneeAddress.provinceName); + setParameter(std::string("ConsigneeAddress") + ".CityName", consigneeAddress.cityName); + setParameter(std::string("ConsigneeAddress") + ".AreaName", consigneeAddress.areaName); + setParameter(std::string("ConsigneeAddress") + ".TownName", consigneeAddress.townName); + setParameter(std::string("ConsigneeAddress") + ".AddressDetail", consigneeAddress.addressDetail); } -void CreatePickUpWaybillRequest::setSendPhone(const std::string& sendPhone) -{ - sendPhone_ = sendPhone; - setParameter("SendPhone", sendPhone); +std::string CreatePickUpWaybillRequest::getSendPhone() const { + return sendPhone_; } -Array CreatePickUpWaybillRequest::getGoodsInfos()const -{ - return goodsInfos_; +void CreatePickUpWaybillRequest::setSendPhone(const std::string &sendPhone) { + sendPhone_ = sendPhone; + setParameter(std::string("SendPhone"), sendPhone); } -void CreatePickUpWaybillRequest::setGoodsInfos(const Array& goodsInfos) -{ - goodsInfos_ = goodsInfos; - setParameter("GoodsInfos", std::to_string(goodsInfos)); +std::vector CreatePickUpWaybillRequest::getGoodsInfos() const { + return goodsInfos_; } -std::string CreatePickUpWaybillRequest::getSendName()const -{ - return sendName_; +void CreatePickUpWaybillRequest::setGoodsInfos(const std::vector &goodsInfos) { + goodsInfos_ = goodsInfos; + for(int dep1 = 0; dep1 != goodsInfos.size(); dep1++) { + setParameter(std::string("GoodsInfos") + "." + std::to_string(dep1 + 1) + ".Name", goodsInfos[dep1].name); + setParameter(std::string("GoodsInfos") + "." + std::to_string(dep1 + 1) + ".Weight", goodsInfos[dep1].weight); + setParameter(std::string("GoodsInfos") + "." + std::to_string(dep1 + 1) + ".Quantity", goodsInfos[dep1].quantity); + } } -void CreatePickUpWaybillRequest::setSendName(const std::string& sendName) -{ - sendName_ = sendName; - setParameter("SendName", sendName); +std::string CreatePickUpWaybillRequest::getSendName() const { + return sendName_; } -std::string CreatePickUpWaybillRequest::getConsigneePhone()const -{ - return consigneePhone_; +void CreatePickUpWaybillRequest::setSendName(const std::string &sendName) { + sendName_ = sendName; + setParameter(std::string("SendName"), sendName); } -void CreatePickUpWaybillRequest::setConsigneePhone(const std::string& consigneePhone) -{ - consigneePhone_ = consigneePhone; - setParameter("ConsigneePhone", consigneePhone); +std::string CreatePickUpWaybillRequest::getConsigneePhone() const { + return consigneePhone_; +} + +void CreatePickUpWaybillRequest::setConsigneePhone(const std::string &consigneePhone) { + consigneePhone_ = consigneePhone; + setParameter(std::string("ConsigneePhone"), consigneePhone); } diff --git a/dyplsapi/src/model/CreateSubscriptionRequest.cc b/dyplsapi/src/model/CreateSubscriptionRequest.cc index d78d5fbb5..046cb7291 100644 --- a/dyplsapi/src/model/CreateSubscriptionRequest.cc +++ b/dyplsapi/src/model/CreateSubscriptionRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::CreateSubscriptionRequest; - -CreateSubscriptionRequest::CreateSubscriptionRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "CreateSubscription") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateSubscriptionRequest::~CreateSubscriptionRequest() -{} - -long CreateSubscriptionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::CreateSubscriptionRequest; + +CreateSubscriptionRequest::CreateSubscriptionRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "CreateSubscription") { + setMethod(HttpRequest::Method::Post); } -void CreateSubscriptionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +CreateSubscriptionRequest::~CreateSubscriptionRequest() {} + +long CreateSubscriptionRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string CreateSubscriptionRequest::getAccessKeyId()const -{ - return accessKeyId_; +void CreateSubscriptionRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void CreateSubscriptionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string CreateSubscriptionRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string CreateSubscriptionRequest::getSecretNo()const -{ - return secretNo_; +void CreateSubscriptionRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void CreateSubscriptionRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string CreateSubscriptionRequest::getSecretNo() const { + return secretNo_; } -std::string CreateSubscriptionRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void CreateSubscriptionRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } -void CreateSubscriptionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string CreateSubscriptionRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string CreateSubscriptionRequest::getProdCode()const -{ - return prodCode_; +void CreateSubscriptionRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void CreateSubscriptionRequest::setProdCode(const std::string& prodCode) -{ - prodCode_ = prodCode; - setParameter("ProdCode", prodCode); +std::string CreateSubscriptionRequest::getProdCode() const { + return prodCode_; } -std::string CreateSubscriptionRequest::getBindToken()const -{ - return bindToken_; +void CreateSubscriptionRequest::setProdCode(const std::string &prodCode) { + prodCode_ = prodCode; + setParameter(std::string("ProdCode"), prodCode); } -void CreateSubscriptionRequest::setBindToken(const std::string& bindToken) -{ - bindToken_ = bindToken; - setParameter("BindToken", bindToken); +std::string CreateSubscriptionRequest::getBindToken() const { + return bindToken_; } -long CreateSubscriptionRequest::getOwnerId()const -{ - return ownerId_; +void CreateSubscriptionRequest::setBindToken(const std::string &bindToken) { + bindToken_ = bindToken; + setParameter(std::string("BindToken"), bindToken); } -void CreateSubscriptionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CreateSubscriptionRequest::getOwnerId() const { + return ownerId_; } -std::string CreateSubscriptionRequest::getPhoneNo()const -{ - return phoneNo_; +void CreateSubscriptionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void CreateSubscriptionRequest::setPhoneNo(const std::string& phoneNo) -{ - phoneNo_ = phoneNo; - setParameter("PhoneNo", phoneNo); +std::string CreateSubscriptionRequest::getPhoneNo() const { + return phoneNo_; } -std::string CreateSubscriptionRequest::getPoolKey()const -{ - return poolKey_; +void CreateSubscriptionRequest::setPhoneNo(const std::string &phoneNo) { + phoneNo_ = phoneNo; + setParameter(std::string("PhoneNo"), phoneNo); } -void CreateSubscriptionRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string CreateSubscriptionRequest::getPoolKey() const { + return poolKey_; +} + +void CreateSubscriptionRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/DeleteSecretBlacklistRequest.cc b/dyplsapi/src/model/DeleteSecretBlacklistRequest.cc index e45664dc8..d9a14dabc 100644 --- a/dyplsapi/src/model/DeleteSecretBlacklistRequest.cc +++ b/dyplsapi/src/model/DeleteSecretBlacklistRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::DeleteSecretBlacklistRequest; - -DeleteSecretBlacklistRequest::DeleteSecretBlacklistRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "DeleteSecretBlacklist") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteSecretBlacklistRequest::~DeleteSecretBlacklistRequest() -{} - -std::string DeleteSecretBlacklistRequest::getBlackType()const -{ - return blackType_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::DeleteSecretBlacklistRequest; + +DeleteSecretBlacklistRequest::DeleteSecretBlacklistRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "DeleteSecretBlacklist") { + setMethod(HttpRequest::Method::Post); } -void DeleteSecretBlacklistRequest::setBlackType(const std::string& blackType) -{ - blackType_ = blackType; - setParameter("BlackType", blackType); +DeleteSecretBlacklistRequest::~DeleteSecretBlacklistRequest() {} + +std::string DeleteSecretBlacklistRequest::getBlackType() const { + return blackType_; } -long DeleteSecretBlacklistRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; +void DeleteSecretBlacklistRequest::setBlackType(const std::string &blackType) { + blackType_ = blackType; + setParameter(std::string("BlackType"), blackType); } -void DeleteSecretBlacklistRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +long DeleteSecretBlacklistRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string DeleteSecretBlacklistRequest::getRemark()const -{ - return remark_; +void DeleteSecretBlacklistRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void DeleteSecretBlacklistRequest::setRemark(const std::string& remark) -{ - remark_ = remark; - setParameter("Remark", remark); +std::string DeleteSecretBlacklistRequest::getRemark() const { + return remark_; } -std::string DeleteSecretBlacklistRequest::getAccessKeyId()const -{ - return accessKeyId_; +void DeleteSecretBlacklistRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); } -void DeleteSecretBlacklistRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string DeleteSecretBlacklistRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string DeleteSecretBlacklistRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void DeleteSecretBlacklistRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void DeleteSecretBlacklistRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string DeleteSecretBlacklistRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long DeleteSecretBlacklistRequest::getOwnerId()const -{ - return ownerId_; +void DeleteSecretBlacklistRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void DeleteSecretBlacklistRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteSecretBlacklistRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteSecretBlacklistRequest::getPoolKey()const -{ - return poolKey_; +void DeleteSecretBlacklistRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteSecretBlacklistRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string DeleteSecretBlacklistRequest::getPoolKey() const { + return poolKey_; } -std::string DeleteSecretBlacklistRequest::getBlackNo()const -{ - return blackNo_; +void DeleteSecretBlacklistRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void DeleteSecretBlacklistRequest::setBlackNo(const std::string& blackNo) -{ - blackNo_ = blackNo; - setParameter("BlackNo", blackNo); +std::string DeleteSecretBlacklistRequest::getBlackNo() const { + return blackNo_; } -std::string DeleteSecretBlacklistRequest::getWayControl()const -{ - return wayControl_; +void DeleteSecretBlacklistRequest::setBlackNo(const std::string &blackNo) { + blackNo_ = blackNo; + setParameter(std::string("BlackNo"), blackNo); } -void DeleteSecretBlacklistRequest::setWayControl(const std::string& wayControl) -{ - wayControl_ = wayControl; - setParameter("WayControl", wayControl); +std::string DeleteSecretBlacklistRequest::getWayControl() const { + return wayControl_; +} + +void DeleteSecretBlacklistRequest::setWayControl(const std::string &wayControl) { + wayControl_ = wayControl; + setParameter(std::string("WayControl"), wayControl); } diff --git a/dyplsapi/src/model/GetFaceVerifyRequest.cc b/dyplsapi/src/model/GetFaceVerifyRequest.cc index 7c66d9632..0318a6c61 100644 --- a/dyplsapi/src/model/GetFaceVerifyRequest.cc +++ b/dyplsapi/src/model/GetFaceVerifyRequest.cc @@ -1,95 +1,81 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::GetFaceVerifyRequest; - -GetFaceVerifyRequest::GetFaceVerifyRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "GetFaceVerify") -{ - setMethod(HttpRequest::Method::Post); -} - -GetFaceVerifyRequest::~GetFaceVerifyRequest() -{} - -long GetFaceVerifyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::GetFaceVerifyRequest; + +GetFaceVerifyRequest::GetFaceVerifyRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "GetFaceVerify") { + setMethod(HttpRequest::Method::Post); } -void GetFaceVerifyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +GetFaceVerifyRequest::~GetFaceVerifyRequest() {} + +long GetFaceVerifyRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string GetFaceVerifyRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetFaceVerifyRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void GetFaceVerifyRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetFaceVerifyRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string GetFaceVerifyRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void GetFaceVerifyRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetFaceVerifyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string GetFaceVerifyRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string GetFaceVerifyRequest::getVerifyToken()const -{ - return verifyToken_; +void GetFaceVerifyRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void GetFaceVerifyRequest::setVerifyToken(const std::string& verifyToken) -{ - verifyToken_ = verifyToken; - setParameter("VerifyToken", verifyToken); +std::string GetFaceVerifyRequest::getVerifyToken() const { + return verifyToken_; } -std::string GetFaceVerifyRequest::getProdCode()const -{ - return prodCode_; +void GetFaceVerifyRequest::setVerifyToken(const std::string &verifyToken) { + verifyToken_ = verifyToken; + setParameter(std::string("VerifyToken"), verifyToken); } -void GetFaceVerifyRequest::setProdCode(const std::string& prodCode) -{ - prodCode_ = prodCode; - setParameter("ProdCode", prodCode); +std::string GetFaceVerifyRequest::getProdCode() const { + return prodCode_; } -long GetFaceVerifyRequest::getOwnerId()const -{ - return ownerId_; +void GetFaceVerifyRequest::setProdCode(const std::string &prodCode) { + prodCode_ = prodCode; + setParameter(std::string("ProdCode"), prodCode); } -void GetFaceVerifyRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long GetFaceVerifyRequest::getOwnerId() const { + return ownerId_; +} + +void GetFaceVerifyRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dyplsapi/src/model/GetSecretAsrDetailRequest.cc b/dyplsapi/src/model/GetSecretAsrDetailRequest.cc index ab76bd10e..a340291f3 100644 --- a/dyplsapi/src/model/GetSecretAsrDetailRequest.cc +++ b/dyplsapi/src/model/GetSecretAsrDetailRequest.cc @@ -1,106 +1,90 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::GetSecretAsrDetailRequest; - -GetSecretAsrDetailRequest::GetSecretAsrDetailRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "GetSecretAsrDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -GetSecretAsrDetailRequest::~GetSecretAsrDetailRequest() -{} - -std::string GetSecretAsrDetailRequest::getCallId()const -{ - return callId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::GetSecretAsrDetailRequest; + +GetSecretAsrDetailRequest::GetSecretAsrDetailRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "GetSecretAsrDetail") { + setMethod(HttpRequest::Method::Post); } -void GetSecretAsrDetailRequest::setCallId(const std::string& callId) -{ - callId_ = callId; - setParameter("CallId", callId); +GetSecretAsrDetailRequest::~GetSecretAsrDetailRequest() {} + +std::string GetSecretAsrDetailRequest::getCallId() const { + return callId_; } -long GetSecretAsrDetailRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; +void GetSecretAsrDetailRequest::setCallId(const std::string &callId) { + callId_ = callId; + setParameter(std::string("CallId"), callId); } -void GetSecretAsrDetailRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +long GetSecretAsrDetailRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string GetSecretAsrDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetSecretAsrDetailRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void GetSecretAsrDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetSecretAsrDetailRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string GetSecretAsrDetailRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void GetSecretAsrDetailRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetSecretAsrDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string GetSecretAsrDetailRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long GetSecretAsrDetailRequest::getOwnerId()const -{ - return ownerId_; +void GetSecretAsrDetailRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void GetSecretAsrDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long GetSecretAsrDetailRequest::getOwnerId() const { + return ownerId_; } -std::string GetSecretAsrDetailRequest::getCallTime()const -{ - return callTime_; +void GetSecretAsrDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void GetSecretAsrDetailRequest::setCallTime(const std::string& callTime) -{ - callTime_ = callTime; - setParameter("CallTime", callTime); +std::string GetSecretAsrDetailRequest::getCallTime() const { + return callTime_; } -std::string GetSecretAsrDetailRequest::getPoolKey()const -{ - return poolKey_; +void GetSecretAsrDetailRequest::setCallTime(const std::string &callTime) { + callTime_ = callTime; + setParameter(std::string("CallTime"), callTime); } -void GetSecretAsrDetailRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string GetSecretAsrDetailRequest::getPoolKey() const { + return poolKey_; +} + +void GetSecretAsrDetailRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/GetSubscriptionDetailRequest.cc b/dyplsapi/src/model/GetSubscriptionDetailRequest.cc index 30f681ba0..f1f3c3fad 100644 --- a/dyplsapi/src/model/GetSubscriptionDetailRequest.cc +++ b/dyplsapi/src/model/GetSubscriptionDetailRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::GetSubscriptionDetailRequest; - -GetSubscriptionDetailRequest::GetSubscriptionDetailRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "GetSubscriptionDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -GetSubscriptionDetailRequest::~GetSubscriptionDetailRequest() -{} - -long GetSubscriptionDetailRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::GetSubscriptionDetailRequest; + +GetSubscriptionDetailRequest::GetSubscriptionDetailRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "GetSubscriptionDetail") { + setMethod(HttpRequest::Method::Post); } -void GetSubscriptionDetailRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +GetSubscriptionDetailRequest::~GetSubscriptionDetailRequest() {} + +long GetSubscriptionDetailRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string GetSubscriptionDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetSubscriptionDetailRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void GetSubscriptionDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetSubscriptionDetailRequest::getAccessKeyId() const { + return accessKeyId_; } -long GetSubscriptionDetailRequest::getSubsId()const -{ - return subsId_; +void GetSubscriptionDetailRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetSubscriptionDetailRequest::setSubsId(long subsId) -{ - subsId_ = subsId; - setParameter("SubsId", std::to_string(subsId)); +long GetSubscriptionDetailRequest::getSubsId() const { + return subsId_; } -std::string GetSubscriptionDetailRequest::getSecretNo()const -{ - return secretNo_; +void GetSubscriptionDetailRequest::setSubsId(long subsId) { + subsId_ = subsId; + setParameter(std::string("SubsId"), std::to_string(subsId)); } -void GetSubscriptionDetailRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string GetSubscriptionDetailRequest::getSecretNo() const { + return secretNo_; } -std::string GetSubscriptionDetailRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void GetSubscriptionDetailRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } -void GetSubscriptionDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string GetSubscriptionDetailRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string GetSubscriptionDetailRequest::getProdCode()const -{ - return prodCode_; +void GetSubscriptionDetailRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void GetSubscriptionDetailRequest::setProdCode(const std::string& prodCode) -{ - prodCode_ = prodCode; - setParameter("ProdCode", prodCode); +std::string GetSubscriptionDetailRequest::getProdCode() const { + return prodCode_; } -long GetSubscriptionDetailRequest::getOwnerId()const -{ - return ownerId_; +void GetSubscriptionDetailRequest::setProdCode(const std::string &prodCode) { + prodCode_ = prodCode; + setParameter(std::string("ProdCode"), prodCode); } -void GetSubscriptionDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long GetSubscriptionDetailRequest::getOwnerId() const { + return ownerId_; } -std::string GetSubscriptionDetailRequest::getPoolKey()const -{ - return poolKey_; +void GetSubscriptionDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void GetSubscriptionDetailRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string GetSubscriptionDetailRequest::getPoolKey() const { + return poolKey_; +} + +void GetSubscriptionDetailRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/GetSubscriptionDetailResult.cc b/dyplsapi/src/model/GetSubscriptionDetailResult.cc index 6804ce0ef..24d2f03e0 100644 --- a/dyplsapi/src/model/GetSubscriptionDetailResult.cc +++ b/dyplsapi/src/model/GetSubscriptionDetailResult.cc @@ -40,20 +40,20 @@ void GetSubscriptionDetailResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; + if(!dataNode["PhoneNo"].isNull()) + data_.phoneNo = dataNode["PhoneNo"].asString(); + if(!dataNode["City"].isNull()) + data_.city = dataNode["City"].asString(); + if(!dataNode["SwitchStatus"].isNull()) + data_.switchStatus = std::stoi(dataNode["SwitchStatus"].asString()); if(!dataNode["SubsId"].isNull()) data_.subsId = std::stol(dataNode["SubsId"].asString()); if(!dataNode["SecretNo"].isNull()) data_.secretNo = dataNode["SecretNo"].asString(); - if(!dataNode["PhoneNo"].isNull()) - data_.phoneNo = dataNode["PhoneNo"].asString(); - if(!dataNode["SwitchStatus"].isNull()) - data_.switchStatus = std::stoi(dataNode["SwitchStatus"].asString()); - if(!dataNode["Province"].isNull()) - data_.province = dataNode["Province"].asString(); - if(!dataNode["City"].isNull()) - data_.city = dataNode["City"].asString(); if(!dataNode["Vendor"].isNull()) data_.vendor = dataNode["Vendor"].asString(); + if(!dataNode["Province"].isNull()) + data_.province = dataNode["Province"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); if(!value["Message"].isNull()) diff --git a/dyplsapi/src/model/GetTotalPublicUrlRequest.cc b/dyplsapi/src/model/GetTotalPublicUrlRequest.cc index 8ef4d6a26..bcd0261b3 100644 --- a/dyplsapi/src/model/GetTotalPublicUrlRequest.cc +++ b/dyplsapi/src/model/GetTotalPublicUrlRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::GetTotalPublicUrlRequest; - -GetTotalPublicUrlRequest::GetTotalPublicUrlRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "GetTotalPublicUrl") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTotalPublicUrlRequest::~GetTotalPublicUrlRequest() -{} - -std::string GetTotalPublicUrlRequest::getCallId()const -{ - return callId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::GetTotalPublicUrlRequest; + +GetTotalPublicUrlRequest::GetTotalPublicUrlRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "GetTotalPublicUrl") { + setMethod(HttpRequest::Method::Post); } -void GetTotalPublicUrlRequest::setCallId(const std::string& callId) -{ - callId_ = callId; - setParameter("CallId", callId); +GetTotalPublicUrlRequest::~GetTotalPublicUrlRequest() {} + +std::string GetTotalPublicUrlRequest::getCallId() const { + return callId_; } -long GetTotalPublicUrlRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; +void GetTotalPublicUrlRequest::setCallId(const std::string &callId) { + callId_ = callId; + setParameter(std::string("CallId"), callId); } -void GetTotalPublicUrlRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +long GetTotalPublicUrlRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string GetTotalPublicUrlRequest::getAccessKeyId()const -{ - return accessKeyId_; +void GetTotalPublicUrlRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void GetTotalPublicUrlRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string GetTotalPublicUrlRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string GetTotalPublicUrlRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void GetTotalPublicUrlRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void GetTotalPublicUrlRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string GetTotalPublicUrlRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -bool GetTotalPublicUrlRequest::getCheckSubs()const -{ - return checkSubs_; +void GetTotalPublicUrlRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void GetTotalPublicUrlRequest::setCheckSubs(bool checkSubs) -{ - checkSubs_ = checkSubs; - setParameter("CheckSubs", checkSubs ? "true" : "false"); +bool GetTotalPublicUrlRequest::getCheckSubs() const { + return checkSubs_; } -long GetTotalPublicUrlRequest::getOwnerId()const -{ - return ownerId_; +void GetTotalPublicUrlRequest::setCheckSubs(bool checkSubs) { + checkSubs_ = checkSubs; + setParameter(std::string("CheckSubs"), checkSubs ? "true" : "false"); } -void GetTotalPublicUrlRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long GetTotalPublicUrlRequest::getOwnerId() const { + return ownerId_; } -std::string GetTotalPublicUrlRequest::getCallTime()const -{ - return callTime_; +void GetTotalPublicUrlRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void GetTotalPublicUrlRequest::setCallTime(const std::string& callTime) -{ - callTime_ = callTime; - setParameter("CallTime", callTime); +std::string GetTotalPublicUrlRequest::getCallTime() const { + return callTime_; } -std::string GetTotalPublicUrlRequest::getPartnerKey()const -{ - return partnerKey_; +void GetTotalPublicUrlRequest::setCallTime(const std::string &callTime) { + callTime_ = callTime; + setParameter(std::string("CallTime"), callTime); } -void GetTotalPublicUrlRequest::setPartnerKey(const std::string& partnerKey) -{ - partnerKey_ = partnerKey; - setParameter("PartnerKey", partnerKey); +std::string GetTotalPublicUrlRequest::getPartnerKey() const { + return partnerKey_; +} + +void GetTotalPublicUrlRequest::setPartnerKey(const std::string &partnerKey) { + partnerKey_ = partnerKey; + setParameter(std::string("PartnerKey"), partnerKey); } diff --git a/dyplsapi/src/model/GetTotalPublicUrlResult.cc b/dyplsapi/src/model/GetTotalPublicUrlResult.cc index e1a5b4e10..77f7a837f 100644 --- a/dyplsapi/src/model/GetTotalPublicUrlResult.cc +++ b/dyplsapi/src/model/GetTotalPublicUrlResult.cc @@ -40,10 +40,10 @@ void GetTotalPublicUrlResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["PhonePublicUrl"].isNull()) - data_.phonePublicUrl = dataNode["PhonePublicUrl"].asString(); if(!dataNode["RingPublicUrl"].isNull()) data_.ringPublicUrl = dataNode["RingPublicUrl"].asString(); + if(!dataNode["PhonePublicUrl"].isNull()) + data_.phonePublicUrl = dataNode["PhonePublicUrl"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); if(!value["Message"].isNull()) diff --git a/dyplsapi/src/model/InitFaceVerifyRequest.cc b/dyplsapi/src/model/InitFaceVerifyRequest.cc index fcf1b852a..1b253e82a 100644 --- a/dyplsapi/src/model/InitFaceVerifyRequest.cc +++ b/dyplsapi/src/model/InitFaceVerifyRequest.cc @@ -1,95 +1,81 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::InitFaceVerifyRequest; - -InitFaceVerifyRequest::InitFaceVerifyRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "InitFaceVerify") -{ - setMethod(HttpRequest::Method::Post); -} - -InitFaceVerifyRequest::~InitFaceVerifyRequest() -{} - -long InitFaceVerifyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::InitFaceVerifyRequest; + +InitFaceVerifyRequest::InitFaceVerifyRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "InitFaceVerify") { + setMethod(HttpRequest::Method::Post); } -void InitFaceVerifyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +InitFaceVerifyRequest::~InitFaceVerifyRequest() {} + +long InitFaceVerifyRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string InitFaceVerifyRequest::getAccessKeyId()const -{ - return accessKeyId_; +void InitFaceVerifyRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void InitFaceVerifyRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string InitFaceVerifyRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string InitFaceVerifyRequest::getMetaInfo()const -{ - return metaInfo_; +void InitFaceVerifyRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void InitFaceVerifyRequest::setMetaInfo(const std::string& metaInfo) -{ - metaInfo_ = metaInfo; - setParameter("MetaInfo", metaInfo); +std::string InitFaceVerifyRequest::getMetaInfo() const { + return metaInfo_; } -std::string InitFaceVerifyRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void InitFaceVerifyRequest::setMetaInfo(const std::string &metaInfo) { + metaInfo_ = metaInfo; + setParameter(std::string("MetaInfo"), metaInfo); } -void InitFaceVerifyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string InitFaceVerifyRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string InitFaceVerifyRequest::getProdCode()const -{ - return prodCode_; +void InitFaceVerifyRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void InitFaceVerifyRequest::setProdCode(const std::string& prodCode) -{ - prodCode_ = prodCode; - setParameter("ProdCode", prodCode); +std::string InitFaceVerifyRequest::getProdCode() const { + return prodCode_; } -long InitFaceVerifyRequest::getOwnerId()const -{ - return ownerId_; +void InitFaceVerifyRequest::setProdCode(const std::string &prodCode) { + prodCode_ = prodCode; + setParameter(std::string("ProdCode"), prodCode); } -void InitFaceVerifyRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long InitFaceVerifyRequest::getOwnerId() const { + return ownerId_; +} + +void InitFaceVerifyRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dyplsapi/src/model/LockSecretNoRequest.cc b/dyplsapi/src/model/LockSecretNoRequest.cc index ba09ac0a0..cc11301fa 100644 --- a/dyplsapi/src/model/LockSecretNoRequest.cc +++ b/dyplsapi/src/model/LockSecretNoRequest.cc @@ -1,95 +1,81 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::LockSecretNoRequest; - -LockSecretNoRequest::LockSecretNoRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "LockSecretNo") -{ - setMethod(HttpRequest::Method::Post); -} - -LockSecretNoRequest::~LockSecretNoRequest() -{} - -long LockSecretNoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::LockSecretNoRequest; + +LockSecretNoRequest::LockSecretNoRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "LockSecretNo") { + setMethod(HttpRequest::Method::Post); } -void LockSecretNoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +LockSecretNoRequest::~LockSecretNoRequest() {} + +long LockSecretNoRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string LockSecretNoRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void LockSecretNoRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void LockSecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string LockSecretNoRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long LockSecretNoRequest::getOwnerId()const -{ - return ownerId_; +void LockSecretNoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void LockSecretNoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long LockSecretNoRequest::getOwnerId() const { + return ownerId_; } -std::string LockSecretNoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void LockSecretNoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void LockSecretNoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string LockSecretNoRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string LockSecretNoRequest::getPoolKey()const -{ - return poolKey_; +void LockSecretNoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void LockSecretNoRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string LockSecretNoRequest::getPoolKey() const { + return poolKey_; } -std::string LockSecretNoRequest::getSecretNo()const -{ - return secretNo_; +void LockSecretNoRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void LockSecretNoRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string LockSecretNoRequest::getSecretNo() const { + return secretNo_; +} + +void LockSecretNoRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } diff --git a/dyplsapi/src/model/OperateAxgGroupRequest.cc b/dyplsapi/src/model/OperateAxgGroupRequest.cc index 46ceab8fc..f1c0888b6 100644 --- a/dyplsapi/src/model/OperateAxgGroupRequest.cc +++ b/dyplsapi/src/model/OperateAxgGroupRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::OperateAxgGroupRequest; - -OperateAxgGroupRequest::OperateAxgGroupRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "OperateAxgGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -OperateAxgGroupRequest::~OperateAxgGroupRequest() -{} - -long OperateAxgGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::OperateAxgGroupRequest; + +OperateAxgGroupRequest::OperateAxgGroupRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "OperateAxgGroup") { + setMethod(HttpRequest::Method::Post); } -void OperateAxgGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +OperateAxgGroupRequest::~OperateAxgGroupRequest() {} + +long OperateAxgGroupRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string OperateAxgGroupRequest::getNumbers()const -{ - return numbers_; +void OperateAxgGroupRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void OperateAxgGroupRequest::setNumbers(const std::string& numbers) -{ - numbers_ = numbers; - setParameter("Numbers", numbers); +std::string OperateAxgGroupRequest::getNumbers() const { + return numbers_; } -std::string OperateAxgGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; +void OperateAxgGroupRequest::setNumbers(const std::string &numbers) { + numbers_ = numbers; + setParameter(std::string("Numbers"), numbers); } -void OperateAxgGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string OperateAxgGroupRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string OperateAxgGroupRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void OperateAxgGroupRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void OperateAxgGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string OperateAxgGroupRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long OperateAxgGroupRequest::getGroupId()const -{ - return groupId_; +void OperateAxgGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void OperateAxgGroupRequest::setGroupId(long groupId) -{ - groupId_ = groupId; - setParameter("GroupId", std::to_string(groupId)); +long OperateAxgGroupRequest::getGroupId() const { + return groupId_; } -long OperateAxgGroupRequest::getOwnerId()const -{ - return ownerId_; +void OperateAxgGroupRequest::setGroupId(long groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), std::to_string(groupId)); } -void OperateAxgGroupRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long OperateAxgGroupRequest::getOwnerId() const { + return ownerId_; } -std::string OperateAxgGroupRequest::getPoolKey()const -{ - return poolKey_; +void OperateAxgGroupRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void OperateAxgGroupRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string OperateAxgGroupRequest::getPoolKey() const { + return poolKey_; } -std::string OperateAxgGroupRequest::getOperateType()const -{ - return operateType_; +void OperateAxgGroupRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void OperateAxgGroupRequest::setOperateType(const std::string& operateType) -{ - operateType_ = operateType; - setParameter("OperateType", operateType); +std::string OperateAxgGroupRequest::getOperateType() const { + return operateType_; +} + +void OperateAxgGroupRequest::setOperateType(const std::string &operateType) { + operateType_ = operateType; + setParameter(std::string("OperateType"), operateType); } diff --git a/dyplsapi/src/model/OperateBlackNoRequest.cc b/dyplsapi/src/model/OperateBlackNoRequest.cc index 535be41ac..b10d9b96c 100644 --- a/dyplsapi/src/model/OperateBlackNoRequest.cc +++ b/dyplsapi/src/model/OperateBlackNoRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::OperateBlackNoRequest; - -OperateBlackNoRequest::OperateBlackNoRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "OperateBlackNo") -{ - setMethod(HttpRequest::Method::Post); -} - -OperateBlackNoRequest::~OperateBlackNoRequest() -{} - -long OperateBlackNoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::OperateBlackNoRequest; + +OperateBlackNoRequest::OperateBlackNoRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "OperateBlackNo") { + setMethod(HttpRequest::Method::Post); } -void OperateBlackNoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +OperateBlackNoRequest::~OperateBlackNoRequest() {} + +long OperateBlackNoRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string OperateBlackNoRequest::getTips()const -{ - return tips_; +void OperateBlackNoRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void OperateBlackNoRequest::setTips(const std::string& tips) -{ - tips_ = tips; - setParameter("Tips", tips); +std::string OperateBlackNoRequest::getTips() const { + return tips_; } -std::string OperateBlackNoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void OperateBlackNoRequest::setTips(const std::string &tips) { + tips_ = tips; + setParameter(std::string("Tips"), tips); } -void OperateBlackNoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string OperateBlackNoRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string OperateBlackNoRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void OperateBlackNoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void OperateBlackNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string OperateBlackNoRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long OperateBlackNoRequest::getOwnerId()const -{ - return ownerId_; +void OperateBlackNoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void OperateBlackNoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long OperateBlackNoRequest::getOwnerId() const { + return ownerId_; } -std::string OperateBlackNoRequest::getPoolKey()const -{ - return poolKey_; +void OperateBlackNoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void OperateBlackNoRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string OperateBlackNoRequest::getPoolKey() const { + return poolKey_; } -std::string OperateBlackNoRequest::getBlackNo()const -{ - return blackNo_; +void OperateBlackNoRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void OperateBlackNoRequest::setBlackNo(const std::string& blackNo) -{ - blackNo_ = blackNo; - setParameter("BlackNo", blackNo); +std::string OperateBlackNoRequest::getBlackNo() const { + return blackNo_; } -std::string OperateBlackNoRequest::getOperateType()const -{ - return operateType_; +void OperateBlackNoRequest::setBlackNo(const std::string &blackNo) { + blackNo_ = blackNo; + setParameter(std::string("BlackNo"), blackNo); } -void OperateBlackNoRequest::setOperateType(const std::string& operateType) -{ - operateType_ = operateType; - setParameter("OperateType", operateType); +std::string OperateBlackNoRequest::getOperateType() const { + return operateType_; +} + +void OperateBlackNoRequest::setOperateType(const std::string &operateType) { + operateType_ = operateType; + setParameter(std::string("OperateType"), operateType); } diff --git a/dyplsapi/src/model/QueryCallStatusRequest.cc b/dyplsapi/src/model/QueryCallStatusRequest.cc index ebee1de2a..a7c3fe843 100644 --- a/dyplsapi/src/model/QueryCallStatusRequest.cc +++ b/dyplsapi/src/model/QueryCallStatusRequest.cc @@ -1,106 +1,90 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::QueryCallStatusRequest; - -QueryCallStatusRequest::QueryCallStatusRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "QueryCallStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryCallStatusRequest::~QueryCallStatusRequest() -{} - -long QueryCallStatusRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::QueryCallStatusRequest; + +QueryCallStatusRequest::QueryCallStatusRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "QueryCallStatus") { + setMethod(HttpRequest::Method::Post); } -void QueryCallStatusRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +QueryCallStatusRequest::~QueryCallStatusRequest() {} + +long QueryCallStatusRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string QueryCallStatusRequest::getAccessKeyId()const -{ - return accessKeyId_; +void QueryCallStatusRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void QueryCallStatusRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string QueryCallStatusRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string QueryCallStatusRequest::getSubsId()const -{ - return subsId_; +void QueryCallStatusRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void QueryCallStatusRequest::setSubsId(const std::string& subsId) -{ - subsId_ = subsId; - setParameter("SubsId", subsId); +std::string QueryCallStatusRequest::getSubsId() const { + return subsId_; } -std::string QueryCallStatusRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void QueryCallStatusRequest::setSubsId(const std::string &subsId) { + subsId_ = subsId; + setParameter(std::string("SubsId"), subsId); } -void QueryCallStatusRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string QueryCallStatusRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string QueryCallStatusRequest::getCallNo()const -{ - return callNo_; +void QueryCallStatusRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void QueryCallStatusRequest::setCallNo(const std::string& callNo) -{ - callNo_ = callNo; - setParameter("CallNo", callNo); +std::string QueryCallStatusRequest::getCallNo() const { + return callNo_; } -long QueryCallStatusRequest::getOwnerId()const -{ - return ownerId_; +void QueryCallStatusRequest::setCallNo(const std::string &callNo) { + callNo_ = callNo; + setParameter(std::string("CallNo"), callNo); } -void QueryCallStatusRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long QueryCallStatusRequest::getOwnerId() const { + return ownerId_; } -std::string QueryCallStatusRequest::getPoolKey()const -{ - return poolKey_; +void QueryCallStatusRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void QueryCallStatusRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string QueryCallStatusRequest::getPoolKey() const { + return poolKey_; +} + +void QueryCallStatusRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/QueryPhoneNoAByTrackNoRequest.cc b/dyplsapi/src/model/QueryPhoneNoAByTrackNoRequest.cc index 4a567fcce..f5f64b46d 100644 --- a/dyplsapi/src/model/QueryPhoneNoAByTrackNoRequest.cc +++ b/dyplsapi/src/model/QueryPhoneNoAByTrackNoRequest.cc @@ -1,106 +1,90 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::QueryPhoneNoAByTrackNoRequest; - -QueryPhoneNoAByTrackNoRequest::QueryPhoneNoAByTrackNoRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "QueryPhoneNoAByTrackNo") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryPhoneNoAByTrackNoRequest::~QueryPhoneNoAByTrackNoRequest() -{} - -long QueryPhoneNoAByTrackNoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::QueryPhoneNoAByTrackNoRequest; + +QueryPhoneNoAByTrackNoRequest::QueryPhoneNoAByTrackNoRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "QueryPhoneNoAByTrackNo") { + setMethod(HttpRequest::Method::Post); } -void QueryPhoneNoAByTrackNoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +QueryPhoneNoAByTrackNoRequest::~QueryPhoneNoAByTrackNoRequest() {} + +long QueryPhoneNoAByTrackNoRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string QueryPhoneNoAByTrackNoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void QueryPhoneNoAByTrackNoRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void QueryPhoneNoAByTrackNoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string QueryPhoneNoAByTrackNoRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string QueryPhoneNoAByTrackNoRequest::getCabinetNo()const -{ - return cabinetNo_; +void QueryPhoneNoAByTrackNoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void QueryPhoneNoAByTrackNoRequest::setCabinetNo(const std::string& cabinetNo) -{ - cabinetNo_ = cabinetNo; - setParameter("CabinetNo", cabinetNo); +std::string QueryPhoneNoAByTrackNoRequest::getCabinetNo() const { + return cabinetNo_; } -std::string QueryPhoneNoAByTrackNoRequest::getPhoneNoX()const -{ - return phoneNoX_; +void QueryPhoneNoAByTrackNoRequest::setCabinetNo(const std::string &cabinetNo) { + cabinetNo_ = cabinetNo; + setParameter(std::string("CabinetNo"), cabinetNo); } -void QueryPhoneNoAByTrackNoRequest::setPhoneNoX(const std::string& phoneNoX) -{ - phoneNoX_ = phoneNoX; - setParameter("PhoneNoX", phoneNoX); +std::string QueryPhoneNoAByTrackNoRequest::getPhoneNoX() const { + return phoneNoX_; } -std::string QueryPhoneNoAByTrackNoRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void QueryPhoneNoAByTrackNoRequest::setPhoneNoX(const std::string &phoneNoX) { + phoneNoX_ = phoneNoX; + setParameter(std::string("PhoneNoX"), phoneNoX); } -void QueryPhoneNoAByTrackNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string QueryPhoneNoAByTrackNoRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long QueryPhoneNoAByTrackNoRequest::getOwnerId()const -{ - return ownerId_; +void QueryPhoneNoAByTrackNoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void QueryPhoneNoAByTrackNoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long QueryPhoneNoAByTrackNoRequest::getOwnerId() const { + return ownerId_; } -std::string QueryPhoneNoAByTrackNoRequest::getTrackNo()const -{ - return trackNo_; +void QueryPhoneNoAByTrackNoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void QueryPhoneNoAByTrackNoRequest::setTrackNo(const std::string& trackNo) -{ - trackNo_ = trackNo; - setParameter("TrackNo", trackNo); +std::string QueryPhoneNoAByTrackNoRequest::getTrackNo() const { + return trackNo_; +} + +void QueryPhoneNoAByTrackNoRequest::setTrackNo(const std::string &trackNo) { + trackNo_ = trackNo; + setParameter(std::string("trackNo"), trackNo); } diff --git a/dyplsapi/src/model/QueryPhoneNoAByTrackNoResult.cc b/dyplsapi/src/model/QueryPhoneNoAByTrackNoResult.cc index 588ca8714..ff3d6b57c 100644 --- a/dyplsapi/src/model/QueryPhoneNoAByTrackNoResult.cc +++ b/dyplsapi/src/model/QueryPhoneNoAByTrackNoResult.cc @@ -43,12 +43,12 @@ void QueryPhoneNoAByTrackNoResult::parse(const std::string &payload) for (auto valueModulephoneNoAInfo : allModuleNode) { PhoneNoAInfo moduleObject; - if(!valueModulephoneNoAInfo["PhoneNoA"].isNull()) - moduleObject.phoneNoA = valueModulephoneNoAInfo["PhoneNoA"].asString(); - if(!valueModulephoneNoAInfo["PhoneNoX"].isNull()) - moduleObject.phoneNoX = valueModulephoneNoAInfo["PhoneNoX"].asString(); if(!valueModulephoneNoAInfo["Extension"].isNull()) moduleObject.extension = valueModulephoneNoAInfo["Extension"].asString(); + if(!valueModulephoneNoAInfo["PhoneNoX"].isNull()) + moduleObject.phoneNoX = valueModulephoneNoAInfo["PhoneNoX"].asString(); + if(!valueModulephoneNoAInfo["PhoneNoA"].isNull()) + moduleObject.phoneNoA = valueModulephoneNoAInfo["PhoneNoA"].asString(); module_.push_back(moduleObject); } if(!value["Code"].isNull()) diff --git a/dyplsapi/src/model/QueryRecordFileDownloadUrlRequest.cc b/dyplsapi/src/model/QueryRecordFileDownloadUrlRequest.cc index 163d14538..e4a98aca0 100644 --- a/dyplsapi/src/model/QueryRecordFileDownloadUrlRequest.cc +++ b/dyplsapi/src/model/QueryRecordFileDownloadUrlRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::QueryRecordFileDownloadUrlRequest; - -QueryRecordFileDownloadUrlRequest::QueryRecordFileDownloadUrlRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "QueryRecordFileDownloadUrl") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryRecordFileDownloadUrlRequest::~QueryRecordFileDownloadUrlRequest() -{} - -std::string QueryRecordFileDownloadUrlRequest::getCallId()const -{ - return callId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::QueryRecordFileDownloadUrlRequest; + +QueryRecordFileDownloadUrlRequest::QueryRecordFileDownloadUrlRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "QueryRecordFileDownloadUrl") { + setMethod(HttpRequest::Method::Post); } -void QueryRecordFileDownloadUrlRequest::setCallId(const std::string& callId) -{ - callId_ = callId; - setParameter("CallId", callId); +QueryRecordFileDownloadUrlRequest::~QueryRecordFileDownloadUrlRequest() {} + +std::string QueryRecordFileDownloadUrlRequest::getCallId() const { + return callId_; } -long QueryRecordFileDownloadUrlRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; +void QueryRecordFileDownloadUrlRequest::setCallId(const std::string &callId) { + callId_ = callId; + setParameter(std::string("CallId"), callId); } -void QueryRecordFileDownloadUrlRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +long QueryRecordFileDownloadUrlRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string QueryRecordFileDownloadUrlRequest::getAccessKeyId()const -{ - return accessKeyId_; +void QueryRecordFileDownloadUrlRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void QueryRecordFileDownloadUrlRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string QueryRecordFileDownloadUrlRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string QueryRecordFileDownloadUrlRequest::getProductType()const -{ - return productType_; +void QueryRecordFileDownloadUrlRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void QueryRecordFileDownloadUrlRequest::setProductType(const std::string& productType) -{ - productType_ = productType; - setParameter("ProductType", productType); +std::string QueryRecordFileDownloadUrlRequest::getProductType() const { + return productType_; } -std::string QueryRecordFileDownloadUrlRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void QueryRecordFileDownloadUrlRequest::setProductType(const std::string &productType) { + productType_ = productType; + setParameter(std::string("ProductType"), productType); } -void QueryRecordFileDownloadUrlRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string QueryRecordFileDownloadUrlRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long QueryRecordFileDownloadUrlRequest::getOwnerId()const -{ - return ownerId_; +void QueryRecordFileDownloadUrlRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void QueryRecordFileDownloadUrlRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long QueryRecordFileDownloadUrlRequest::getOwnerId() const { + return ownerId_; } -std::string QueryRecordFileDownloadUrlRequest::getCallTime()const -{ - return callTime_; +void QueryRecordFileDownloadUrlRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void QueryRecordFileDownloadUrlRequest::setCallTime(const std::string& callTime) -{ - callTime_ = callTime; - setParameter("CallTime", callTime); +std::string QueryRecordFileDownloadUrlRequest::getCallTime() const { + return callTime_; } -std::string QueryRecordFileDownloadUrlRequest::getPoolKey()const -{ - return poolKey_; +void QueryRecordFileDownloadUrlRequest::setCallTime(const std::string &callTime) { + callTime_ = callTime; + setParameter(std::string("CallTime"), callTime); } -void QueryRecordFileDownloadUrlRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string QueryRecordFileDownloadUrlRequest::getPoolKey() const { + return poolKey_; +} + +void QueryRecordFileDownloadUrlRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/QuerySecretNoDetailRequest.cc b/dyplsapi/src/model/QuerySecretNoDetailRequest.cc index 7355ec964..200ba5ad2 100644 --- a/dyplsapi/src/model/QuerySecretNoDetailRequest.cc +++ b/dyplsapi/src/model/QuerySecretNoDetailRequest.cc @@ -1,106 +1,90 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::QuerySecretNoDetailRequest; - -QuerySecretNoDetailRequest::QuerySecretNoDetailRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySecretNoDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -QuerySecretNoDetailRequest::~QuerySecretNoDetailRequest() -{} - -long QuerySecretNoDetailRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::QuerySecretNoDetailRequest; + +QuerySecretNoDetailRequest::QuerySecretNoDetailRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySecretNoDetail") { + setMethod(HttpRequest::Method::Post); } -void QuerySecretNoDetailRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +QuerySecretNoDetailRequest::~QuerySecretNoDetailRequest() {} + +long QuerySecretNoDetailRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string QuerySecretNoDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; +void QuerySecretNoDetailRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void QuerySecretNoDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string QuerySecretNoDetailRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string QuerySecretNoDetailRequest::getSecretNo()const -{ - return secretNo_; +void QuerySecretNoDetailRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void QuerySecretNoDetailRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string QuerySecretNoDetailRequest::getSecretNo() const { + return secretNo_; } -std::string QuerySecretNoDetailRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void QuerySecretNoDetailRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } -void QuerySecretNoDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string QuerySecretNoDetailRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string QuerySecretNoDetailRequest::getProdCode()const -{ - return prodCode_; +void QuerySecretNoDetailRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void QuerySecretNoDetailRequest::setProdCode(const std::string& prodCode) -{ - prodCode_ = prodCode; - setParameter("ProdCode", prodCode); +std::string QuerySecretNoDetailRequest::getProdCode() const { + return prodCode_; } -long QuerySecretNoDetailRequest::getOwnerId()const -{ - return ownerId_; +void QuerySecretNoDetailRequest::setProdCode(const std::string &prodCode) { + prodCode_ = prodCode; + setParameter(std::string("ProdCode"), prodCode); } -void QuerySecretNoDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long QuerySecretNoDetailRequest::getOwnerId() const { + return ownerId_; } -std::string QuerySecretNoDetailRequest::getPoolKey()const -{ - return poolKey_; +void QuerySecretNoDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void QuerySecretNoDetailRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string QuerySecretNoDetailRequest::getPoolKey() const { + return poolKey_; +} + +void QuerySecretNoDetailRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/QuerySecretNoRemainRequest.cc b/dyplsapi/src/model/QuerySecretNoRemainRequest.cc index 84587739c..d7aae1e49 100644 --- a/dyplsapi/src/model/QuerySecretNoRemainRequest.cc +++ b/dyplsapi/src/model/QuerySecretNoRemainRequest.cc @@ -1,106 +1,90 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::QuerySecretNoRemainRequest; - -QuerySecretNoRemainRequest::QuerySecretNoRemainRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySecretNoRemain") -{ - setMethod(HttpRequest::Method::Post); -} - -QuerySecretNoRemainRequest::~QuerySecretNoRemainRequest() -{} - -long QuerySecretNoRemainRequest::getSpecId()const -{ - return specId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::QuerySecretNoRemainRequest; + +QuerySecretNoRemainRequest::QuerySecretNoRemainRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySecretNoRemain") { + setMethod(HttpRequest::Method::Post); } -void QuerySecretNoRemainRequest::setSpecId(long specId) -{ - specId_ = specId; - setParameter("SpecId", std::to_string(specId)); +QuerySecretNoRemainRequest::~QuerySecretNoRemainRequest() {} + +long QuerySecretNoRemainRequest::getSpecId() const { + return specId_; } -long QuerySecretNoRemainRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; +void QuerySecretNoRemainRequest::setSpecId(long specId) { + specId_ = specId; + setParameter(std::string("SpecId"), std::to_string(specId)); } -void QuerySecretNoRemainRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +long QuerySecretNoRemainRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string QuerySecretNoRemainRequest::getCity()const -{ - return city_; +void QuerySecretNoRemainRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void QuerySecretNoRemainRequest::setCity(const std::string& city) -{ - city_ = city; - setParameter("City", city); +std::string QuerySecretNoRemainRequest::getCity() const { + return city_; } -std::string QuerySecretNoRemainRequest::getAccessKeyId()const -{ - return accessKeyId_; +void QuerySecretNoRemainRequest::setCity(const std::string &city) { + city_ = city; + setParameter(std::string("City"), city); } -void QuerySecretNoRemainRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string QuerySecretNoRemainRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string QuerySecretNoRemainRequest::getSecretNo()const -{ - return secretNo_; +void QuerySecretNoRemainRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void QuerySecretNoRemainRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string QuerySecretNoRemainRequest::getSecretNo() const { + return secretNo_; } -std::string QuerySecretNoRemainRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void QuerySecretNoRemainRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } -void QuerySecretNoRemainRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string QuerySecretNoRemainRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long QuerySecretNoRemainRequest::getOwnerId()const -{ - return ownerId_; +void QuerySecretNoRemainRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void QuerySecretNoRemainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long QuerySecretNoRemainRequest::getOwnerId() const { + return ownerId_; +} + +void QuerySecretNoRemainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/dyplsapi/src/model/QuerySecretNoRemainResult.cc b/dyplsapi/src/model/QuerySecretNoRemainResult.cc index 28ca92d44..42f1a0c64 100644 --- a/dyplsapi/src/model/QuerySecretNoRemainResult.cc +++ b/dyplsapi/src/model/QuerySecretNoRemainResult.cc @@ -40,18 +40,18 @@ void QuerySecretNoRemainResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto secretRemainDTONode = value["SecretRemainDTO"]; - if(!secretRemainDTONode["City"].isNull()) - secretRemainDTO_.city = secretRemainDTONode["City"].asString(); if(!secretRemainDTONode["Amount"].isNull()) secretRemainDTO_.amount = std::stol(secretRemainDTONode["Amount"].asString()); + if(!secretRemainDTONode["City"].isNull()) + secretRemainDTO_.city = secretRemainDTONode["City"].asString(); auto allRemainDTOListNode = secretRemainDTONode["RemainDTOList"]["remainDTO"]; for (auto secretRemainDTONodeRemainDTOListremainDTO : allRemainDTOListNode) { SecretRemainDTO::RemainDTO remainDTOObject; - if(!secretRemainDTONodeRemainDTOListremainDTO["City"].isNull()) - remainDTOObject.city = secretRemainDTONodeRemainDTOListremainDTO["City"].asString(); if(!secretRemainDTONodeRemainDTOListremainDTO["Amount"].isNull()) remainDTOObject.amount = std::stol(secretRemainDTONodeRemainDTOListremainDTO["Amount"].asString()); + if(!secretRemainDTONodeRemainDTOListremainDTO["City"].isNull()) + remainDTOObject.city = secretRemainDTONodeRemainDTOListremainDTO["City"].asString(); secretRemainDTO_.remainDTOList.push_back(remainDTOObject); } if(!value["Code"].isNull()) diff --git a/dyplsapi/src/model/QuerySubsIdRequest.cc b/dyplsapi/src/model/QuerySubsIdRequest.cc index 271e6c2c2..d58ab76ec 100644 --- a/dyplsapi/src/model/QuerySubsIdRequest.cc +++ b/dyplsapi/src/model/QuerySubsIdRequest.cc @@ -1,95 +1,81 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::QuerySubsIdRequest; - -QuerySubsIdRequest::QuerySubsIdRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySubsId") -{ - setMethod(HttpRequest::Method::Post); -} - -QuerySubsIdRequest::~QuerySubsIdRequest() -{} - -long QuerySubsIdRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::QuerySubsIdRequest; + +QuerySubsIdRequest::QuerySubsIdRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySubsId") { + setMethod(HttpRequest::Method::Post); } -void QuerySubsIdRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +QuerySubsIdRequest::~QuerySubsIdRequest() {} + +long QuerySubsIdRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string QuerySubsIdRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void QuerySubsIdRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void QuerySubsIdRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string QuerySubsIdRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long QuerySubsIdRequest::getOwnerId()const -{ - return ownerId_; +void QuerySubsIdRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void QuerySubsIdRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long QuerySubsIdRequest::getOwnerId() const { + return ownerId_; } -std::string QuerySubsIdRequest::getAccessKeyId()const -{ - return accessKeyId_; +void QuerySubsIdRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void QuerySubsIdRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string QuerySubsIdRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string QuerySubsIdRequest::getPoolKey()const -{ - return poolKey_; +void QuerySubsIdRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void QuerySubsIdRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string QuerySubsIdRequest::getPoolKey() const { + return poolKey_; } -std::string QuerySubsIdRequest::getPhoneNoX()const -{ - return phoneNoX_; +void QuerySubsIdRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void QuerySubsIdRequest::setPhoneNoX(const std::string& phoneNoX) -{ - phoneNoX_ = phoneNoX; - setParameter("PhoneNoX", phoneNoX); +std::string QuerySubsIdRequest::getPhoneNoX() const { + return phoneNoX_; +} + +void QuerySubsIdRequest::setPhoneNoX(const std::string &phoneNoX) { + phoneNoX_ = phoneNoX; + setParameter(std::string("PhoneNoX"), phoneNoX); } diff --git a/dyplsapi/src/model/QuerySubscriptionDetailRequest.cc b/dyplsapi/src/model/QuerySubscriptionDetailRequest.cc index a858ef3de..fc700ca11 100644 --- a/dyplsapi/src/model/QuerySubscriptionDetailRequest.cc +++ b/dyplsapi/src/model/QuerySubscriptionDetailRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::QuerySubscriptionDetailRequest; - -QuerySubscriptionDetailRequest::QuerySubscriptionDetailRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySubscriptionDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -QuerySubscriptionDetailRequest::~QuerySubscriptionDetailRequest() -{} - -long QuerySubscriptionDetailRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::QuerySubscriptionDetailRequest; + +QuerySubscriptionDetailRequest::QuerySubscriptionDetailRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "QuerySubscriptionDetail") { + setMethod(HttpRequest::Method::Post); } -void QuerySubscriptionDetailRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +QuerySubscriptionDetailRequest::~QuerySubscriptionDetailRequest() {} + +long QuerySubscriptionDetailRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string QuerySubscriptionDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; +void QuerySubscriptionDetailRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void QuerySubscriptionDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string QuerySubscriptionDetailRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string QuerySubscriptionDetailRequest::getProductType()const -{ - return productType_; +void QuerySubscriptionDetailRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void QuerySubscriptionDetailRequest::setProductType(const std::string& productType) -{ - productType_ = productType; - setParameter("ProductType", productType); +std::string QuerySubscriptionDetailRequest::getProductType() const { + return productType_; } -std::string QuerySubscriptionDetailRequest::getSubsId()const -{ - return subsId_; +void QuerySubscriptionDetailRequest::setProductType(const std::string &productType) { + productType_ = productType; + setParameter(std::string("ProductType"), productType); } -void QuerySubscriptionDetailRequest::setSubsId(const std::string& subsId) -{ - subsId_ = subsId; - setParameter("SubsId", subsId); +std::string QuerySubscriptionDetailRequest::getSubsId() const { + return subsId_; } -std::string QuerySubscriptionDetailRequest::getPhoneNoX()const -{ - return phoneNoX_; +void QuerySubscriptionDetailRequest::setSubsId(const std::string &subsId) { + subsId_ = subsId; + setParameter(std::string("SubsId"), subsId); } -void QuerySubscriptionDetailRequest::setPhoneNoX(const std::string& phoneNoX) -{ - phoneNoX_ = phoneNoX; - setParameter("PhoneNoX", phoneNoX); +std::string QuerySubscriptionDetailRequest::getPhoneNoX() const { + return phoneNoX_; } -std::string QuerySubscriptionDetailRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void QuerySubscriptionDetailRequest::setPhoneNoX(const std::string &phoneNoX) { + phoneNoX_ = phoneNoX; + setParameter(std::string("PhoneNoX"), phoneNoX); } -void QuerySubscriptionDetailRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string QuerySubscriptionDetailRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long QuerySubscriptionDetailRequest::getOwnerId()const -{ - return ownerId_; +void QuerySubscriptionDetailRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void QuerySubscriptionDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long QuerySubscriptionDetailRequest::getOwnerId() const { + return ownerId_; } -std::string QuerySubscriptionDetailRequest::getPoolKey()const -{ - return poolKey_; +void QuerySubscriptionDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void QuerySubscriptionDetailRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string QuerySubscriptionDetailRequest::getPoolKey() const { + return poolKey_; +} + +void QuerySubscriptionDetailRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/QuerySubscriptionDetailResult.cc b/dyplsapi/src/model/QuerySubscriptionDetailResult.cc index 4688c68f8..d73d04892 100644 --- a/dyplsapi/src/model/QuerySubscriptionDetailResult.cc +++ b/dyplsapi/src/model/QuerySubscriptionDetailResult.cc @@ -40,32 +40,32 @@ void QuerySubscriptionDetailResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto secretBindDetailDTONode = value["SecretBindDetailDTO"]; - if(!secretBindDetailDTONode["SubsId"].isNull()) - secretBindDetailDTO_.subsId = secretBindDetailDTONode["SubsId"].asString(); - if(!secretBindDetailDTONode["PhoneNoA"].isNull()) - secretBindDetailDTO_.phoneNoA = secretBindDetailDTONode["PhoneNoA"].asString(); - if(!secretBindDetailDTONode["PhoneNoX"].isNull()) - secretBindDetailDTO_.phoneNoX = secretBindDetailDTONode["PhoneNoX"].asString(); - if(!secretBindDetailDTONode["PhoneNoB"].isNull()) - secretBindDetailDTO_.phoneNoB = secretBindDetailDTONode["PhoneNoB"].asString(); + if(!secretBindDetailDTONode["Status"].isNull()) + secretBindDetailDTO_.status = std::stol(secretBindDetailDTONode["Status"].asString()); if(!secretBindDetailDTONode["Extension"].isNull()) secretBindDetailDTO_.extension = secretBindDetailDTONode["Extension"].asString(); + if(!secretBindDetailDTONode["PhoneNoB"].isNull()) + secretBindDetailDTO_.phoneNoB = secretBindDetailDTONode["PhoneNoB"].asString(); if(!secretBindDetailDTONode["GroupId"].isNull()) secretBindDetailDTO_.groupId = std::stol(secretBindDetailDTONode["GroupId"].asString()); + if(!secretBindDetailDTONode["NeedRecord"].isNull()) + secretBindDetailDTO_.needRecord = secretBindDetailDTONode["NeedRecord"].asString() == "true"; + if(!secretBindDetailDTONode["ASRStatus"].isNull()) + secretBindDetailDTO_.aSRStatus = secretBindDetailDTONode["ASRStatus"].asString() == "true"; if(!secretBindDetailDTONode["GmtCreate"].isNull()) secretBindDetailDTO_.gmtCreate = secretBindDetailDTONode["GmtCreate"].asString(); if(!secretBindDetailDTONode["ExpireDate"].isNull()) secretBindDetailDTO_.expireDate = secretBindDetailDTONode["ExpireDate"].asString(); - if(!secretBindDetailDTONode["NeedRecord"].isNull()) - secretBindDetailDTO_.needRecord = secretBindDetailDTONode["NeedRecord"].asString() == "true"; + if(!secretBindDetailDTONode["SubsId"].isNull()) + secretBindDetailDTO_.subsId = secretBindDetailDTONode["SubsId"].asString(); + if(!secretBindDetailDTONode["PhoneNoX"].isNull()) + secretBindDetailDTO_.phoneNoX = secretBindDetailDTONode["PhoneNoX"].asString(); if(!secretBindDetailDTONode["CallRestrict"].isNull()) secretBindDetailDTO_.callRestrict = secretBindDetailDTONode["CallRestrict"].asString(); - if(!secretBindDetailDTONode["Status"].isNull()) - secretBindDetailDTO_.status = std::stol(secretBindDetailDTONode["Status"].asString()); - if(!secretBindDetailDTONode["ASRStatus"].isNull()) - secretBindDetailDTO_.aSRStatus = secretBindDetailDTONode["ASRStatus"].asString() == "true"; if(!secretBindDetailDTONode["ASRModelId"].isNull()) secretBindDetailDTO_.aSRModelId = secretBindDetailDTONode["ASRModelId"].asString(); + if(!secretBindDetailDTONode["PhoneNoA"].isNull()) + secretBindDetailDTO_.phoneNoA = secretBindDetailDTONode["PhoneNoA"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); if(!value["Message"].isNull()) diff --git a/dyplsapi/src/model/ReleaseSecretNoRequest.cc b/dyplsapi/src/model/ReleaseSecretNoRequest.cc index f7396d18c..b2e6016df 100644 --- a/dyplsapi/src/model/ReleaseSecretNoRequest.cc +++ b/dyplsapi/src/model/ReleaseSecretNoRequest.cc @@ -1,95 +1,81 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::ReleaseSecretNoRequest; - -ReleaseSecretNoRequest::ReleaseSecretNoRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "ReleaseSecretNo") -{ - setMethod(HttpRequest::Method::Post); -} - -ReleaseSecretNoRequest::~ReleaseSecretNoRequest() -{} - -long ReleaseSecretNoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::ReleaseSecretNoRequest; + +ReleaseSecretNoRequest::ReleaseSecretNoRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "ReleaseSecretNo") { + setMethod(HttpRequest::Method::Post); } -void ReleaseSecretNoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +ReleaseSecretNoRequest::~ReleaseSecretNoRequest() {} + +long ReleaseSecretNoRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string ReleaseSecretNoRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void ReleaseSecretNoRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void ReleaseSecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string ReleaseSecretNoRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long ReleaseSecretNoRequest::getOwnerId()const -{ - return ownerId_; +void ReleaseSecretNoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void ReleaseSecretNoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ReleaseSecretNoRequest::getOwnerId() const { + return ownerId_; } -std::string ReleaseSecretNoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void ReleaseSecretNoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ReleaseSecretNoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string ReleaseSecretNoRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string ReleaseSecretNoRequest::getPoolKey()const -{ - return poolKey_; +void ReleaseSecretNoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void ReleaseSecretNoRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string ReleaseSecretNoRequest::getPoolKey() const { + return poolKey_; } -std::string ReleaseSecretNoRequest::getSecretNo()const -{ - return secretNo_; +void ReleaseSecretNoRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void ReleaseSecretNoRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string ReleaseSecretNoRequest::getSecretNo() const { + return secretNo_; +} + +void ReleaseSecretNoRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } diff --git a/dyplsapi/src/model/UnbindSubscriptionRequest.cc b/dyplsapi/src/model/UnbindSubscriptionRequest.cc index b22975cf0..6e1205c18 100644 --- a/dyplsapi/src/model/UnbindSubscriptionRequest.cc +++ b/dyplsapi/src/model/UnbindSubscriptionRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::UnbindSubscriptionRequest; - -UnbindSubscriptionRequest::UnbindSubscriptionRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "UnbindSubscription") -{ - setMethod(HttpRequest::Method::Post); -} - -UnbindSubscriptionRequest::~UnbindSubscriptionRequest() -{} - -long UnbindSubscriptionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::UnbindSubscriptionRequest; + +UnbindSubscriptionRequest::UnbindSubscriptionRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "UnbindSubscription") { + setMethod(HttpRequest::Method::Post); } -void UnbindSubscriptionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +UnbindSubscriptionRequest::~UnbindSubscriptionRequest() {} + +long UnbindSubscriptionRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string UnbindSubscriptionRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UnbindSubscriptionRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void UnbindSubscriptionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UnbindSubscriptionRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string UnbindSubscriptionRequest::getProductType()const -{ - return productType_; +void UnbindSubscriptionRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void UnbindSubscriptionRequest::setProductType(const std::string& productType) -{ - productType_ = productType; - setParameter("ProductType", productType); +std::string UnbindSubscriptionRequest::getProductType() const { + return productType_; } -std::string UnbindSubscriptionRequest::getSubsId()const -{ - return subsId_; +void UnbindSubscriptionRequest::setProductType(const std::string &productType) { + productType_ = productType; + setParameter(std::string("ProductType"), productType); } -void UnbindSubscriptionRequest::setSubsId(const std::string& subsId) -{ - subsId_ = subsId; - setParameter("SubsId", subsId); +std::string UnbindSubscriptionRequest::getSubsId() const { + return subsId_; } -std::string UnbindSubscriptionRequest::getSecretNo()const -{ - return secretNo_; +void UnbindSubscriptionRequest::setSubsId(const std::string &subsId) { + subsId_ = subsId; + setParameter(std::string("SubsId"), subsId); } -void UnbindSubscriptionRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string UnbindSubscriptionRequest::getSecretNo() const { + return secretNo_; } -std::string UnbindSubscriptionRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void UnbindSubscriptionRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } -void UnbindSubscriptionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string UnbindSubscriptionRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long UnbindSubscriptionRequest::getOwnerId()const -{ - return ownerId_; +void UnbindSubscriptionRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void UnbindSubscriptionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UnbindSubscriptionRequest::getOwnerId() const { + return ownerId_; } -std::string UnbindSubscriptionRequest::getPoolKey()const -{ - return poolKey_; +void UnbindSubscriptionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UnbindSubscriptionRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string UnbindSubscriptionRequest::getPoolKey() const { + return poolKey_; +} + +void UnbindSubscriptionRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/UnbindSubscriptionResult.cc b/dyplsapi/src/model/UnbindSubscriptionResult.cc index 26ed34763..9951f3951 100644 --- a/dyplsapi/src/model/UnbindSubscriptionResult.cc +++ b/dyplsapi/src/model/UnbindSubscriptionResult.cc @@ -39,12 +39,12 @@ void UnbindSubscriptionResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["ChargeId"].isNull()) - chargeId_ = value["ChargeId"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); + if(!value["ChargeId"].isNull()) + chargeId_ = value["ChargeId"].asString(); } diff --git a/dyplsapi/src/model/UnlockSecretNoRequest.cc b/dyplsapi/src/model/UnlockSecretNoRequest.cc index 4abbf933f..0c85555c2 100644 --- a/dyplsapi/src/model/UnlockSecretNoRequest.cc +++ b/dyplsapi/src/model/UnlockSecretNoRequest.cc @@ -1,95 +1,81 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::UnlockSecretNoRequest; - -UnlockSecretNoRequest::UnlockSecretNoRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "UnlockSecretNo") -{ - setMethod(HttpRequest::Method::Post); -} - -UnlockSecretNoRequest::~UnlockSecretNoRequest() -{} - -long UnlockSecretNoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::UnlockSecretNoRequest; + +UnlockSecretNoRequest::UnlockSecretNoRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "UnlockSecretNo") { + setMethod(HttpRequest::Method::Post); } -void UnlockSecretNoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +UnlockSecretNoRequest::~UnlockSecretNoRequest() {} + +long UnlockSecretNoRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string UnlockSecretNoRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void UnlockSecretNoRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void UnlockSecretNoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string UnlockSecretNoRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -long UnlockSecretNoRequest::getOwnerId()const -{ - return ownerId_; +void UnlockSecretNoRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void UnlockSecretNoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UnlockSecretNoRequest::getOwnerId() const { + return ownerId_; } -std::string UnlockSecretNoRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UnlockSecretNoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UnlockSecretNoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UnlockSecretNoRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string UnlockSecretNoRequest::getPoolKey()const -{ - return poolKey_; +void UnlockSecretNoRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void UnlockSecretNoRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string UnlockSecretNoRequest::getPoolKey() const { + return poolKey_; } -std::string UnlockSecretNoRequest::getSecretNo()const -{ - return secretNo_; +void UnlockSecretNoRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void UnlockSecretNoRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string UnlockSecretNoRequest::getSecretNo() const { + return secretNo_; +} + +void UnlockSecretNoRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } diff --git a/dyplsapi/src/model/UpdateDefaultBRequest.cc b/dyplsapi/src/model/UpdateDefaultBRequest.cc index 75a2193e9..75c422b09 100644 --- a/dyplsapi/src/model/UpdateDefaultBRequest.cc +++ b/dyplsapi/src/model/UpdateDefaultBRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::UpdateDefaultBRequest; - -UpdateDefaultBRequest::UpdateDefaultBRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "UpdateDefaultB") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDefaultBRequest::~UpdateDefaultBRequest() -{} - -long UpdateDefaultBRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::UpdateDefaultBRequest; + +UpdateDefaultBRequest::UpdateDefaultBRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "UpdateDefaultB") { + setMethod(HttpRequest::Method::Post); } -void UpdateDefaultBRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +UpdateDefaultBRequest::~UpdateDefaultBRequest() {} + +long UpdateDefaultBRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string UpdateDefaultBRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UpdateDefaultBRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void UpdateDefaultBRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UpdateDefaultBRequest::getAccessKeyId() const { + return accessKeyId_; } -long UpdateDefaultBRequest::getSubsId()const -{ - return subsId_; +void UpdateDefaultBRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void UpdateDefaultBRequest::setSubsId(long subsId) -{ - subsId_ = subsId; - setParameter("SubsId", std::to_string(subsId)); +long UpdateDefaultBRequest::getSubsId() const { + return subsId_; } -std::string UpdateDefaultBRequest::getSecretNo()const -{ - return secretNo_; +void UpdateDefaultBRequest::setSubsId(long subsId) { + subsId_ = subsId; + setParameter(std::string("SubsId"), std::to_string(subsId)); } -void UpdateDefaultBRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string UpdateDefaultBRequest::getSecretNo() const { + return secretNo_; } -std::string UpdateDefaultBRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void UpdateDefaultBRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } -void UpdateDefaultBRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string UpdateDefaultBRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string UpdateDefaultBRequest::getProdCode()const -{ - return prodCode_; +void UpdateDefaultBRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void UpdateDefaultBRequest::setProdCode(const std::string& prodCode) -{ - prodCode_ = prodCode; - setParameter("ProdCode", prodCode); +std::string UpdateDefaultBRequest::getProdCode() const { + return prodCode_; } -long UpdateDefaultBRequest::getOwnerId()const -{ - return ownerId_; +void UpdateDefaultBRequest::setProdCode(const std::string &prodCode) { + prodCode_ = prodCode; + setParameter(std::string("ProdCode"), prodCode); } -void UpdateDefaultBRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateDefaultBRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateDefaultBRequest::getPhoneNo()const -{ - return phoneNo_; +void UpdateDefaultBRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateDefaultBRequest::setPhoneNo(const std::string& phoneNo) -{ - phoneNo_ = phoneNo; - setParameter("PhoneNo", phoneNo); +std::string UpdateDefaultBRequest::getPhoneNo() const { + return phoneNo_; } -std::string UpdateDefaultBRequest::getPoolKey()const -{ - return poolKey_; +void UpdateDefaultBRequest::setPhoneNo(const std::string &phoneNo) { + phoneNo_ = phoneNo; + setParameter(std::string("PhoneNo"), phoneNo); } -void UpdateDefaultBRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string UpdateDefaultBRequest::getPoolKey() const { + return poolKey_; +} + +void UpdateDefaultBRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/UpdatePhoneNumberRequest.cc b/dyplsapi/src/model/UpdatePhoneNumberRequest.cc index 8c4f61fbd..2b92c3aab 100644 --- a/dyplsapi/src/model/UpdatePhoneNumberRequest.cc +++ b/dyplsapi/src/model/UpdatePhoneNumberRequest.cc @@ -1,139 +1,117 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::UpdatePhoneNumberRequest; - -UpdatePhoneNumberRequest::UpdatePhoneNumberRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "UpdatePhoneNumber") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdatePhoneNumberRequest::~UpdatePhoneNumberRequest() -{} - -long UpdatePhoneNumberRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::UpdatePhoneNumberRequest; + +UpdatePhoneNumberRequest::UpdatePhoneNumberRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "UpdatePhoneNumber") { + setMethod(HttpRequest::Method::Post); } -void UpdatePhoneNumberRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +UpdatePhoneNumberRequest::~UpdatePhoneNumberRequest() {} + +long UpdatePhoneNumberRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -std::string UpdatePhoneNumberRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UpdatePhoneNumberRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void UpdatePhoneNumberRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UpdatePhoneNumberRequest::getAccessKeyId() const { + return accessKeyId_; } -long UpdatePhoneNumberRequest::getSubsId()const -{ - return subsId_; +void UpdatePhoneNumberRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void UpdatePhoneNumberRequest::setSubsId(long subsId) -{ - subsId_ = subsId; - setParameter("SubsId", std::to_string(subsId)); +long UpdatePhoneNumberRequest::getSubsId() const { + return subsId_; } -std::string UpdatePhoneNumberRequest::getSecretNo()const -{ - return secretNo_; +void UpdatePhoneNumberRequest::setSubsId(long subsId) { + subsId_ = subsId; + setParameter(std::string("SubsId"), std::to_string(subsId)); } -void UpdatePhoneNumberRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string UpdatePhoneNumberRequest::getSecretNo() const { + return secretNo_; } -std::string UpdatePhoneNumberRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void UpdatePhoneNumberRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } -void UpdatePhoneNumberRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string UpdatePhoneNumberRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string UpdatePhoneNumberRequest::getProdCode()const -{ - return prodCode_; +void UpdatePhoneNumberRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void UpdatePhoneNumberRequest::setProdCode(const std::string& prodCode) -{ - prodCode_ = prodCode; - setParameter("ProdCode", prodCode); +std::string UpdatePhoneNumberRequest::getProdCode() const { + return prodCode_; } -std::string UpdatePhoneNumberRequest::getBindToken()const -{ - return bindToken_; +void UpdatePhoneNumberRequest::setProdCode(const std::string &prodCode) { + prodCode_ = prodCode; + setParameter(std::string("ProdCode"), prodCode); } -void UpdatePhoneNumberRequest::setBindToken(const std::string& bindToken) -{ - bindToken_ = bindToken; - setParameter("BindToken", bindToken); +std::string UpdatePhoneNumberRequest::getBindToken() const { + return bindToken_; } -long UpdatePhoneNumberRequest::getOwnerId()const -{ - return ownerId_; +void UpdatePhoneNumberRequest::setBindToken(const std::string &bindToken) { + bindToken_ = bindToken; + setParameter(std::string("BindToken"), bindToken); } -void UpdatePhoneNumberRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdatePhoneNumberRequest::getOwnerId() const { + return ownerId_; } -std::string UpdatePhoneNumberRequest::getPoolKey()const -{ - return poolKey_; +void UpdatePhoneNumberRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdatePhoneNumberRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string UpdatePhoneNumberRequest::getPoolKey() const { + return poolKey_; } -std::string UpdatePhoneNumberRequest::getNewPhoneNo()const -{ - return newPhoneNo_; +void UpdatePhoneNumberRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void UpdatePhoneNumberRequest::setNewPhoneNo(const std::string& newPhoneNo) -{ - newPhoneNo_ = newPhoneNo; - setParameter("NewPhoneNo", newPhoneNo); +std::string UpdatePhoneNumberRequest::getNewPhoneNo() const { + return newPhoneNo_; +} + +void UpdatePhoneNumberRequest::setNewPhoneNo(const std::string &newPhoneNo) { + newPhoneNo_ = newPhoneNo; + setParameter(std::string("NewPhoneNo"), newPhoneNo); } diff --git a/dyplsapi/src/model/UpdatePhoneSwitchRequest.cc b/dyplsapi/src/model/UpdatePhoneSwitchRequest.cc index f2fae8d47..c7c386de3 100644 --- a/dyplsapi/src/model/UpdatePhoneSwitchRequest.cc +++ b/dyplsapi/src/model/UpdatePhoneSwitchRequest.cc @@ -1,128 +1,108 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::UpdatePhoneSwitchRequest; - -UpdatePhoneSwitchRequest::UpdatePhoneSwitchRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "UpdatePhoneSwitch") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdatePhoneSwitchRequest::~UpdatePhoneSwitchRequest() -{} - -long UpdatePhoneSwitchRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::UpdatePhoneSwitchRequest; + +UpdatePhoneSwitchRequest::UpdatePhoneSwitchRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "UpdatePhoneSwitch") { + setMethod(HttpRequest::Method::Post); } -void UpdatePhoneSwitchRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +UpdatePhoneSwitchRequest::~UpdatePhoneSwitchRequest() {} + +long UpdatePhoneSwitchRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -int UpdatePhoneSwitchRequest::getSwitchStatus()const -{ - return switchStatus_; +void UpdatePhoneSwitchRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void UpdatePhoneSwitchRequest::setSwitchStatus(int switchStatus) -{ - switchStatus_ = switchStatus; - setParameter("SwitchStatus", std::to_string(switchStatus)); +int UpdatePhoneSwitchRequest::getSwitchStatus() const { + return switchStatus_; } -std::string UpdatePhoneSwitchRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UpdatePhoneSwitchRequest::setSwitchStatus(int switchStatus) { + switchStatus_ = switchStatus; + setParameter(std::string("SwitchStatus"), std::to_string(switchStatus)); } -void UpdatePhoneSwitchRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UpdatePhoneSwitchRequest::getAccessKeyId() const { + return accessKeyId_; } -long UpdatePhoneSwitchRequest::getSubsId()const -{ - return subsId_; +void UpdatePhoneSwitchRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void UpdatePhoneSwitchRequest::setSubsId(long subsId) -{ - subsId_ = subsId; - setParameter("SubsId", std::to_string(subsId)); +long UpdatePhoneSwitchRequest::getSubsId() const { + return subsId_; } -std::string UpdatePhoneSwitchRequest::getSecretNo()const -{ - return secretNo_; +void UpdatePhoneSwitchRequest::setSubsId(long subsId) { + subsId_ = subsId; + setParameter(std::string("SubsId"), std::to_string(subsId)); } -void UpdatePhoneSwitchRequest::setSecretNo(const std::string& secretNo) -{ - secretNo_ = secretNo; - setParameter("SecretNo", secretNo); +std::string UpdatePhoneSwitchRequest::getSecretNo() const { + return secretNo_; } -std::string UpdatePhoneSwitchRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void UpdatePhoneSwitchRequest::setSecretNo(const std::string &secretNo) { + secretNo_ = secretNo; + setParameter(std::string("SecretNo"), secretNo); } -void UpdatePhoneSwitchRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string UpdatePhoneSwitchRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string UpdatePhoneSwitchRequest::getProdCode()const -{ - return prodCode_; +void UpdatePhoneSwitchRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void UpdatePhoneSwitchRequest::setProdCode(const std::string& prodCode) -{ - prodCode_ = prodCode; - setParameter("ProdCode", prodCode); +std::string UpdatePhoneSwitchRequest::getProdCode() const { + return prodCode_; } -long UpdatePhoneSwitchRequest::getOwnerId()const -{ - return ownerId_; +void UpdatePhoneSwitchRequest::setProdCode(const std::string &prodCode) { + prodCode_ = prodCode; + setParameter(std::string("ProdCode"), prodCode); } -void UpdatePhoneSwitchRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdatePhoneSwitchRequest::getOwnerId() const { + return ownerId_; } -std::string UpdatePhoneSwitchRequest::getPoolKey()const -{ - return poolKey_; +void UpdatePhoneSwitchRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdatePhoneSwitchRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string UpdatePhoneSwitchRequest::getPoolKey() const { + return poolKey_; +} + +void UpdatePhoneSwitchRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } diff --git a/dyplsapi/src/model/UpdateSubscriptionRequest.cc b/dyplsapi/src/model/UpdateSubscriptionRequest.cc index ff0d1ed46..9b58d43da 100644 --- a/dyplsapi/src/model/UpdateSubscriptionRequest.cc +++ b/dyplsapi/src/model/UpdateSubscriptionRequest.cc @@ -1,249 +1,207 @@ /* * 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 - -using AlibabaCloud::Dyplsapi::Model::UpdateSubscriptionRequest; - -UpdateSubscriptionRequest::UpdateSubscriptionRequest() : - RpcServiceRequest("dyplsapi", "2017-05-25", "UpdateSubscription") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateSubscriptionRequest::~UpdateSubscriptionRequest() -{} - -long UpdateSubscriptionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; + */ + +#include + +using AlibabaCloud::Dyplsapi::Model::UpdateSubscriptionRequest; + +UpdateSubscriptionRequest::UpdateSubscriptionRequest() + : RpcServiceRequest("dyplsapi", "2017-05-25", "UpdateSubscription") { + setMethod(HttpRequest::Method::Post); } -void UpdateSubscriptionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +UpdateSubscriptionRequest::~UpdateSubscriptionRequest() {} + +long UpdateSubscriptionRequest::getResourceOwnerId() const { + return resourceOwnerId_; } -int UpdateSubscriptionRequest::getCallDisplayType()const -{ - return callDisplayType_; +void UpdateSubscriptionRequest::setResourceOwnerId(long resourceOwnerId) { + resourceOwnerId_ = resourceOwnerId; + setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId)); } -void UpdateSubscriptionRequest::setCallDisplayType(int callDisplayType) -{ - callDisplayType_ = callDisplayType; - setParameter("CallDisplayType", std::to_string(callDisplayType)); +int UpdateSubscriptionRequest::getCallDisplayType() const { + return callDisplayType_; } -std::string UpdateSubscriptionRequest::getAccessKeyId()const -{ - return accessKeyId_; +void UpdateSubscriptionRequest::setCallDisplayType(int callDisplayType) { + callDisplayType_ = callDisplayType; + setParameter(std::string("CallDisplayType"), std::to_string(callDisplayType)); } -void UpdateSubscriptionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); +std::string UpdateSubscriptionRequest::getAccessKeyId() const { + return accessKeyId_; } -std::string UpdateSubscriptionRequest::getProductType()const -{ - return productType_; +void UpdateSubscriptionRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); } -void UpdateSubscriptionRequest::setProductType(const std::string& productType) -{ - productType_ = productType; - setParameter("ProductType", productType); +std::string UpdateSubscriptionRequest::getProductType() const { + return productType_; } -std::string UpdateSubscriptionRequest::getSubsId()const -{ - return subsId_; +void UpdateSubscriptionRequest::setProductType(const std::string &productType) { + productType_ = productType; + setParameter(std::string("ProductType"), productType); } -void UpdateSubscriptionRequest::setSubsId(const std::string& subsId) -{ - subsId_ = subsId; - setParameter("SubsId", subsId); +std::string UpdateSubscriptionRequest::getSubsId() const { + return subsId_; } -std::string UpdateSubscriptionRequest::getPhoneNoX()const -{ - return phoneNoX_; +void UpdateSubscriptionRequest::setSubsId(const std::string &subsId) { + subsId_ = subsId; + setParameter(std::string("SubsId"), subsId); } -void UpdateSubscriptionRequest::setPhoneNoX(const std::string& phoneNoX) -{ - phoneNoX_ = phoneNoX; - setParameter("PhoneNoX", phoneNoX); +std::string UpdateSubscriptionRequest::getPhoneNoX() const { + return phoneNoX_; } -std::string UpdateSubscriptionRequest::getRingConfig()const -{ - return ringConfig_; +void UpdateSubscriptionRequest::setPhoneNoX(const std::string &phoneNoX) { + phoneNoX_ = phoneNoX; + setParameter(std::string("PhoneNoX"), phoneNoX); } -void UpdateSubscriptionRequest::setRingConfig(const std::string& ringConfig) -{ - ringConfig_ = ringConfig; - setParameter("RingConfig", ringConfig); +std::string UpdateSubscriptionRequest::getRingConfig() const { + return ringConfig_; } -bool UpdateSubscriptionRequest::getASRStatus()const -{ - return aSRStatus_; +void UpdateSubscriptionRequest::setRingConfig(const std::string &ringConfig) { + ringConfig_ = ringConfig; + setParameter(std::string("RingConfig"), ringConfig); } -void UpdateSubscriptionRequest::setASRStatus(bool aSRStatus) -{ - aSRStatus_ = aSRStatus; - setParameter("ASRStatus", aSRStatus ? "true" : "false"); +bool UpdateSubscriptionRequest::getASRStatus() const { + return aSRStatus_; } -std::string UpdateSubscriptionRequest::getPhoneNoB()const -{ - return phoneNoB_; +void UpdateSubscriptionRequest::setASRStatus(bool aSRStatus) { + aSRStatus_ = aSRStatus; + setParameter(std::string("ASRStatus"), aSRStatus ? "true" : "false"); } -void UpdateSubscriptionRequest::setPhoneNoB(const std::string& phoneNoB) -{ - phoneNoB_ = phoneNoB; - setParameter("PhoneNoB", phoneNoB); +std::string UpdateSubscriptionRequest::getPhoneNoB() const { + return phoneNoB_; } -std::string UpdateSubscriptionRequest::getPhoneNoA()const -{ - return phoneNoA_; +void UpdateSubscriptionRequest::setPhoneNoB(const std::string &phoneNoB) { + phoneNoB_ = phoneNoB; + setParameter(std::string("PhoneNoB"), phoneNoB); } -void UpdateSubscriptionRequest::setPhoneNoA(const std::string& phoneNoA) -{ - phoneNoA_ = phoneNoA; - setParameter("PhoneNoA", phoneNoA); +std::string UpdateSubscriptionRequest::getPhoneNoA() const { + return phoneNoA_; } -std::string UpdateSubscriptionRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; +void UpdateSubscriptionRequest::setPhoneNoA(const std::string &phoneNoA) { + phoneNoA_ = phoneNoA; + setParameter(std::string("PhoneNoA"), phoneNoA); } -void UpdateSubscriptionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setParameter("ResourceOwnerAccount", resourceOwnerAccount); +std::string UpdateSubscriptionRequest::getResourceOwnerAccount() const { + return resourceOwnerAccount_; } -std::string UpdateSubscriptionRequest::getGroupId()const -{ - return groupId_; +void UpdateSubscriptionRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) { + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount); } -void UpdateSubscriptionRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setParameter("GroupId", groupId); +std::string UpdateSubscriptionRequest::getGroupId() const { + return groupId_; } -long UpdateSubscriptionRequest::getOwnerId()const -{ - return ownerId_; +void UpdateSubscriptionRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), groupId); } -void UpdateSubscriptionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateSubscriptionRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateSubscriptionRequest::getPoolKey()const -{ - return poolKey_; +void UpdateSubscriptionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateSubscriptionRequest::setPoolKey(const std::string& poolKey) -{ - poolKey_ = poolKey; - setParameter("PoolKey", poolKey); +std::string UpdateSubscriptionRequest::getPoolKey() const { + return poolKey_; } -std::string UpdateSubscriptionRequest::getExpiration()const -{ - return expiration_; +void UpdateSubscriptionRequest::setPoolKey(const std::string &poolKey) { + poolKey_ = poolKey; + setParameter(std::string("PoolKey"), poolKey); } -void UpdateSubscriptionRequest::setExpiration(const std::string& expiration) -{ - expiration_ = expiration; - setParameter("Expiration", expiration); +std::string UpdateSubscriptionRequest::getExpiration() const { + return expiration_; } -std::string UpdateSubscriptionRequest::getOutId()const -{ - return outId_; +void UpdateSubscriptionRequest::setExpiration(const std::string &expiration) { + expiration_ = expiration; + setParameter(std::string("Expiration"), expiration); } -void UpdateSubscriptionRequest::setOutId(const std::string& outId) -{ - outId_ = outId; - setParameter("OutId", outId); +std::string UpdateSubscriptionRequest::getOutId() const { + return outId_; } -bool UpdateSubscriptionRequest::getIsRecordingEnabled()const -{ - return isRecordingEnabled_; +void UpdateSubscriptionRequest::setOutId(const std::string &outId) { + outId_ = outId; + setParameter(std::string("OutId"), outId); } -void UpdateSubscriptionRequest::setIsRecordingEnabled(bool isRecordingEnabled) -{ - isRecordingEnabled_ = isRecordingEnabled; - setParameter("IsRecordingEnabled", isRecordingEnabled ? "true" : "false"); +bool UpdateSubscriptionRequest::getIsRecordingEnabled() const { + return isRecordingEnabled_; } -std::string UpdateSubscriptionRequest::getOperateType()const -{ - return operateType_; +void UpdateSubscriptionRequest::setIsRecordingEnabled(bool isRecordingEnabled) { + isRecordingEnabled_ = isRecordingEnabled; + setParameter(std::string("IsRecordingEnabled"), isRecordingEnabled ? "true" : "false"); } -void UpdateSubscriptionRequest::setOperateType(const std::string& operateType) -{ - operateType_ = operateType; - setParameter("OperateType", operateType); +std::string UpdateSubscriptionRequest::getOperateType() const { + return operateType_; } -std::string UpdateSubscriptionRequest::getASRModelId()const -{ - return aSRModelId_; +void UpdateSubscriptionRequest::setOperateType(const std::string &operateType) { + operateType_ = operateType; + setParameter(std::string("OperateType"), operateType); } -void UpdateSubscriptionRequest::setASRModelId(const std::string& aSRModelId) -{ - aSRModelId_ = aSRModelId; - setParameter("ASRModelId", aSRModelId); +std::string UpdateSubscriptionRequest::getASRModelId() const { + return aSRModelId_; } -std::string UpdateSubscriptionRequest::getCallRestrict()const -{ - return callRestrict_; +void UpdateSubscriptionRequest::setASRModelId(const std::string &aSRModelId) { + aSRModelId_ = aSRModelId; + setParameter(std::string("ASRModelId"), aSRModelId); } -void UpdateSubscriptionRequest::setCallRestrict(const std::string& callRestrict) -{ - callRestrict_ = callRestrict; - setParameter("CallRestrict", callRestrict); +std::string UpdateSubscriptionRequest::getCallRestrict() const { + return callRestrict_; +} + +void UpdateSubscriptionRequest::setCallRestrict(const std::string &callRestrict) { + callRestrict_ = callRestrict; + setParameter(std::string("CallRestrict"), callRestrict); }