Add new API.
This commit is contained in:
@@ -267,6 +267,42 @@ DyplsapiClient::BindAxnExtensionOutcomeCallable DyplsapiClient::bindAxnExtension
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::BindBatchAxgOutcome DyplsapiClient::bindBatchAxg(const BindBatchAxgRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BindBatchAxgOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BindBatchAxgOutcome(BindBatchAxgResult(outcome.result()));
|
||||
else
|
||||
return BindBatchAxgOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::bindBatchAxgAsync(const BindBatchAxgRequest& request, const BindBatchAxgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, bindBatchAxg(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::BindBatchAxgOutcomeCallable DyplsapiClient::bindBatchAxgCallable(const BindBatchAxgRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BindBatchAxgOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->bindBatchAxg(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::BuySecretNoOutcome DyplsapiClient::buySecretNo(const BuySecretNoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -447,6 +483,42 @@ DyplsapiClient::CreatePickUpWaybillPreQueryOutcomeCallable DyplsapiClient::creat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::DeleteAxgGroupOutcome DyplsapiClient::deleteAxgGroup(const DeleteAxgGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteAxgGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteAxgGroupOutcome(DeleteAxgGroupResult(outcome.result()));
|
||||
else
|
||||
return DeleteAxgGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DyplsapiClient::deleteAxgGroupAsync(const DeleteAxgGroupRequest& request, const DeleteAxgGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteAxgGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DyplsapiClient::DeleteAxgGroupOutcomeCallable DyplsapiClient::deleteAxgGroupCallable(const DeleteAxgGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteAxgGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteAxgGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DyplsapiClient::DeleteSecretBlacklistOutcome DyplsapiClient::deleteSecretBlacklist(const DeleteSecretBlacklistRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
96
dyplsapi/src/model/BindBatchAxgRequest.cc
Normal file
96
dyplsapi/src/model/BindBatchAxgRequest.cc
Normal file
@@ -0,0 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyplsapi/model/BindBatchAxgRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::BindBatchAxgRequest;
|
||||
|
||||
BindBatchAxgRequest::BindBatchAxgRequest()
|
||||
: RpcServiceRequest("dyplsapi", "2017-05-25", "BindBatchAxg") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BindBatchAxgRequest::~BindBatchAxgRequest() {}
|
||||
|
||||
long BindBatchAxgRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void BindBatchAxgRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::vector<BindBatchAxgRequest::AxgBindList> BindBatchAxgRequest::getAxgBindList() const {
|
||||
return axgBindList_;
|
||||
}
|
||||
|
||||
void BindBatchAxgRequest::setAxgBindList(const std::vector<BindBatchAxgRequest::AxgBindList> &axgBindList) {
|
||||
axgBindList_ = axgBindList;
|
||||
for(int dep1 = 0; dep1 != axgBindList.size(); dep1++) {
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".PhoneNoB", axgBindList[dep1].phoneNoB);
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".PhoneNoA", axgBindList[dep1].phoneNoA);
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".ExpectCity", axgBindList[dep1].expectCity);
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".GroupId", axgBindList[dep1].groupId);
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".CallDisplayType", std::to_string(axgBindList[dep1].callDisplayType));
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".OutOrderId", axgBindList[dep1].outOrderId);
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".PhoneNoX", axgBindList[dep1].phoneNoX);
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".IsRecordingEnabled", axgBindList[dep1].isRecordingEnabled ? "true" : "false");
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".OutId", axgBindList[dep1].outId);
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".Expiration", axgBindList[dep1].expiration);
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".RingConfig", axgBindList[dep1].ringConfig);
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".ASRStatus", axgBindList[dep1].aSRStatus ? "true" : "false");
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".ASRModelId", axgBindList[dep1].aSRModelId);
|
||||
setParameter(std::string("AxgBindList") + "." + std::to_string(dep1 + 1) + ".CallRestrict", axgBindList[dep1].callRestrict);
|
||||
}
|
||||
}
|
||||
|
||||
std::string BindBatchAxgRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void BindBatchAxgRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string BindBatchAxgRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void BindBatchAxgRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long BindBatchAxgRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void BindBatchAxgRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BindBatchAxgRequest::getPoolKey() const {
|
||||
return poolKey_;
|
||||
}
|
||||
|
||||
void BindBatchAxgRequest::setPoolKey(const std::string &poolKey) {
|
||||
poolKey_ = poolKey;
|
||||
setParameter(std::string("PoolKey"), poolKey);
|
||||
}
|
||||
|
||||
83
dyplsapi/src/model/BindBatchAxgResult.cc
Normal file
83
dyplsapi/src/model/BindBatchAxgResult.cc
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyplsapi/model/BindBatchAxgResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
BindBatchAxgResult::BindBatchAxgResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BindBatchAxgResult::BindBatchAxgResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BindBatchAxgResult::~BindBatchAxgResult()
|
||||
{}
|
||||
|
||||
void BindBatchAxgResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSecretBindListNode = value["SecretBindList"]["SecretBind"];
|
||||
for (auto valueSecretBindListSecretBind : allSecretBindListNode)
|
||||
{
|
||||
SecretBind secretBindListObject;
|
||||
if(!valueSecretBindListSecretBind["SecretNo"].isNull())
|
||||
secretBindListObject.secretNo = valueSecretBindListSecretBind["SecretNo"].asString();
|
||||
if(!valueSecretBindListSecretBind["SubsId"].isNull())
|
||||
secretBindListObject.subsId = valueSecretBindListSecretBind["SubsId"].asString();
|
||||
if(!valueSecretBindListSecretBind["Extension"].isNull())
|
||||
secretBindListObject.extension = valueSecretBindListSecretBind["Extension"].asString();
|
||||
if(!valueSecretBindListSecretBind["GroupId"].isNull())
|
||||
secretBindListObject.groupId = valueSecretBindListSecretBind["GroupId"].asString();
|
||||
if(!valueSecretBindListSecretBind["PhoneNoA"].isNull())
|
||||
secretBindListObject.phoneNoA = valueSecretBindListSecretBind["PhoneNoA"].asString();
|
||||
if(!valueSecretBindListSecretBind["Code"].isNull())
|
||||
secretBindListObject.code = valueSecretBindListSecretBind["Code"].asString();
|
||||
if(!valueSecretBindListSecretBind["Message"].isNull())
|
||||
secretBindListObject.message = valueSecretBindListSecretBind["Message"].asString();
|
||||
secretBindList_.push_back(secretBindListObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string BindBatchAxgResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<BindBatchAxgResult::SecretBind> BindBatchAxgResult::getSecretBindList()const
|
||||
{
|
||||
return secretBindList_;
|
||||
}
|
||||
|
||||
std::string BindBatchAxgResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
81
dyplsapi/src/model/DeleteAxgGroupRequest.cc
Normal file
81
dyplsapi/src/model/DeleteAxgGroupRequest.cc
Normal file
@@ -0,0 +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 <alibabacloud/dyplsapi/model/DeleteAxgGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Dyplsapi::Model::DeleteAxgGroupRequest;
|
||||
|
||||
DeleteAxgGroupRequest::DeleteAxgGroupRequest()
|
||||
: RpcServiceRequest("dyplsapi", "2017-05-25", "DeleteAxgGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteAxgGroupRequest::~DeleteAxgGroupRequest() {}
|
||||
|
||||
long DeleteAxgGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteAxgGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteAxgGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteAxgGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteAxgGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteAxgGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DeleteAxgGroupRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void DeleteAxgGroupRequest::setGroupId(long groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), std::to_string(groupId));
|
||||
}
|
||||
|
||||
long DeleteAxgGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteAxgGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteAxgGroupRequest::getPoolKey() const {
|
||||
return poolKey_;
|
||||
}
|
||||
|
||||
void DeleteAxgGroupRequest::setPoolKey(const std::string &poolKey) {
|
||||
poolKey_ = poolKey;
|
||||
setParameter(std::string("PoolKey"), poolKey);
|
||||
}
|
||||
|
||||
58
dyplsapi/src/model/DeleteAxgGroupResult.cc
Normal file
58
dyplsapi/src/model/DeleteAxgGroupResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dyplsapi/model/DeleteAxgGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dyplsapi;
|
||||
using namespace AlibabaCloud::Dyplsapi::Model;
|
||||
|
||||
DeleteAxgGroupResult::DeleteAxgGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteAxgGroupResult::DeleteAxgGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteAxgGroupResult::~DeleteAxgGroupResult()
|
||||
{}
|
||||
|
||||
void DeleteAxgGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteAxgGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DeleteAxgGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,24 @@ void LockSecretNoRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string LockSecretNoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void LockSecretNoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string LockSecretNoRequest::getSecretNo() const {
|
||||
return secretNo_;
|
||||
}
|
||||
|
||||
void LockSecretNoRequest::setSecretNo(const std::string &secretNo) {
|
||||
secretNo_ = secretNo;
|
||||
setParameter(std::string("SecretNo"), secretNo);
|
||||
}
|
||||
|
||||
std::string LockSecretNoRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
@@ -52,15 +70,6 @@ void LockSecretNoRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string LockSecretNoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void LockSecretNoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string LockSecretNoRequest::getPoolKey() const {
|
||||
return poolKey_;
|
||||
}
|
||||
@@ -70,12 +79,3 @@ void LockSecretNoRequest::setPoolKey(const std::string &poolKey) {
|
||||
setParameter(std::string("PoolKey"), poolKey);
|
||||
}
|
||||
|
||||
std::string LockSecretNoRequest::getSecretNo() const {
|
||||
return secretNo_;
|
||||
}
|
||||
|
||||
void LockSecretNoRequest::setSecretNo(const std::string &secretNo) {
|
||||
secretNo_ = secretNo;
|
||||
setParameter(std::string("SecretNo"), secretNo);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,24 @@ void QuerySubsIdRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QuerySubsIdRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getPhoneNoX() const {
|
||||
return phoneNoX_;
|
||||
}
|
||||
|
||||
void QuerySubsIdRequest::setPhoneNoX(const std::string &phoneNoX) {
|
||||
phoneNoX_ = phoneNoX;
|
||||
setParameter(std::string("PhoneNoX"), phoneNoX);
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
@@ -52,15 +70,6 @@ void QuerySubsIdRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QuerySubsIdRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getPoolKey() const {
|
||||
return poolKey_;
|
||||
}
|
||||
@@ -70,12 +79,3 @@ void QuerySubsIdRequest::setPoolKey(const std::string &poolKey) {
|
||||
setParameter(std::string("PoolKey"), poolKey);
|
||||
}
|
||||
|
||||
std::string QuerySubsIdRequest::getPhoneNoX() const {
|
||||
return phoneNoX_;
|
||||
}
|
||||
|
||||
void QuerySubsIdRequest::setPhoneNoX(const std::string &phoneNoX) {
|
||||
phoneNoX_ = phoneNoX;
|
||||
setParameter(std::string("PhoneNoX"), phoneNoX);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,24 @@ void ReleaseSecretNoRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ReleaseSecretNoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getSecretNo() const {
|
||||
return secretNo_;
|
||||
}
|
||||
|
||||
void ReleaseSecretNoRequest::setSecretNo(const std::string &secretNo) {
|
||||
secretNo_ = secretNo;
|
||||
setParameter(std::string("SecretNo"), secretNo);
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
@@ -52,15 +70,6 @@ void ReleaseSecretNoRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ReleaseSecretNoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getPoolKey() const {
|
||||
return poolKey_;
|
||||
}
|
||||
@@ -70,12 +79,3 @@ void ReleaseSecretNoRequest::setPoolKey(const std::string &poolKey) {
|
||||
setParameter(std::string("PoolKey"), poolKey);
|
||||
}
|
||||
|
||||
std::string ReleaseSecretNoRequest::getSecretNo() const {
|
||||
return secretNo_;
|
||||
}
|
||||
|
||||
void ReleaseSecretNoRequest::setSecretNo(const std::string &secretNo) {
|
||||
secretNo_ = secretNo;
|
||||
setParameter(std::string("SecretNo"), secretNo);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,24 @@ void UnlockSecretNoRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UnlockSecretNoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoRequest::getSecretNo() const {
|
||||
return secretNo_;
|
||||
}
|
||||
|
||||
void UnlockSecretNoRequest::setSecretNo(const std::string &secretNo) {
|
||||
secretNo_ = secretNo;
|
||||
setParameter(std::string("SecretNo"), secretNo);
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
@@ -52,15 +70,6 @@ void UnlockSecretNoRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UnlockSecretNoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoRequest::getPoolKey() const {
|
||||
return poolKey_;
|
||||
}
|
||||
@@ -70,12 +79,3 @@ void UnlockSecretNoRequest::setPoolKey(const std::string &poolKey) {
|
||||
setParameter(std::string("PoolKey"), poolKey);
|
||||
}
|
||||
|
||||
std::string UnlockSecretNoRequest::getSecretNo() const {
|
||||
return secretNo_;
|
||||
}
|
||||
|
||||
void UnlockSecretNoRequest::setSecretNo(const std::string &secretNo) {
|
||||
secretNo_ = secretNo;
|
||||
setParameter(std::string("SecretNo"), secretNo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user