Fixed SDK update delay.

This commit is contained in:
sdk-team
2021-10-08 09:32:50 +00:00
parent 5f50d51531
commit 0fe872d573
17 changed files with 557 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2021-10-08 Version: 1.36.892
- Fixed SDK update delay.
2021-10-08 Version: 1.36.891
- Release SearchFace BatchAddFaces.

View File

@@ -1 +1 @@
1.36.891
1.36.892

View File

@@ -27,6 +27,10 @@ set(scdn_public_header_model
include/alibabacloud/scdn/model/BatchDeleteScdnDomainConfigsResult.h
include/alibabacloud/scdn/model/BatchSetScdnDomainConfigsRequest.h
include/alibabacloud/scdn/model/BatchSetScdnDomainConfigsResult.h
include/alibabacloud/scdn/model/BatchStartScdnDomainRequest.h
include/alibabacloud/scdn/model/BatchStartScdnDomainResult.h
include/alibabacloud/scdn/model/BatchStopScdnDomainRequest.h
include/alibabacloud/scdn/model/BatchStopScdnDomainResult.h
include/alibabacloud/scdn/model/BatchUpdateScdnDomainRequest.h
include/alibabacloud/scdn/model/BatchUpdateScdnDomainResult.h
include/alibabacloud/scdn/model/CheckScdnServiceRequest.h
@@ -146,6 +150,10 @@ set(scdn_src
src/model/BatchDeleteScdnDomainConfigsResult.cc
src/model/BatchSetScdnDomainConfigsRequest.cc
src/model/BatchSetScdnDomainConfigsResult.cc
src/model/BatchStartScdnDomainRequest.cc
src/model/BatchStartScdnDomainResult.cc
src/model/BatchStopScdnDomainRequest.cc
src/model/BatchStopScdnDomainResult.cc
src/model/BatchUpdateScdnDomainRequest.cc
src/model/BatchUpdateScdnDomainResult.cc
src/model/CheckScdnServiceRequest.cc

View File

@@ -28,6 +28,10 @@
#include "model/BatchDeleteScdnDomainConfigsResult.h"
#include "model/BatchSetScdnDomainConfigsRequest.h"
#include "model/BatchSetScdnDomainConfigsResult.h"
#include "model/BatchStartScdnDomainRequest.h"
#include "model/BatchStartScdnDomainResult.h"
#include "model/BatchStopScdnDomainRequest.h"
#include "model/BatchStopScdnDomainResult.h"
#include "model/BatchUpdateScdnDomainRequest.h"
#include "model/BatchUpdateScdnDomainResult.h"
#include "model/CheckScdnServiceRequest.h"
@@ -156,6 +160,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::BatchSetScdnDomainConfigsResult> BatchSetScdnDomainConfigsOutcome;
typedef std::future<BatchSetScdnDomainConfigsOutcome> BatchSetScdnDomainConfigsOutcomeCallable;
typedef std::function<void(const ScdnClient*, const Model::BatchSetScdnDomainConfigsRequest&, const BatchSetScdnDomainConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchSetScdnDomainConfigsAsyncHandler;
typedef Outcome<Error, Model::BatchStartScdnDomainResult> BatchStartScdnDomainOutcome;
typedef std::future<BatchStartScdnDomainOutcome> BatchStartScdnDomainOutcomeCallable;
typedef std::function<void(const ScdnClient*, const Model::BatchStartScdnDomainRequest&, const BatchStartScdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchStartScdnDomainAsyncHandler;
typedef Outcome<Error, Model::BatchStopScdnDomainResult> BatchStopScdnDomainOutcome;
typedef std::future<BatchStopScdnDomainOutcome> BatchStopScdnDomainOutcomeCallable;
typedef std::function<void(const ScdnClient*, const Model::BatchStopScdnDomainRequest&, const BatchStopScdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchStopScdnDomainAsyncHandler;
typedef Outcome<Error, Model::BatchUpdateScdnDomainResult> BatchUpdateScdnDomainOutcome;
typedef std::future<BatchUpdateScdnDomainOutcome> BatchUpdateScdnDomainOutcomeCallable;
typedef std::function<void(const ScdnClient*, const Model::BatchUpdateScdnDomainRequest&, const BatchUpdateScdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchUpdateScdnDomainAsyncHandler;
@@ -335,6 +345,12 @@ namespace AlibabaCloud
BatchSetScdnDomainConfigsOutcome batchSetScdnDomainConfigs(const Model::BatchSetScdnDomainConfigsRequest &request)const;
void batchSetScdnDomainConfigsAsync(const Model::BatchSetScdnDomainConfigsRequest& request, const BatchSetScdnDomainConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchSetScdnDomainConfigsOutcomeCallable batchSetScdnDomainConfigsCallable(const Model::BatchSetScdnDomainConfigsRequest& request) const;
BatchStartScdnDomainOutcome batchStartScdnDomain(const Model::BatchStartScdnDomainRequest &request)const;
void batchStartScdnDomainAsync(const Model::BatchStartScdnDomainRequest& request, const BatchStartScdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchStartScdnDomainOutcomeCallable batchStartScdnDomainCallable(const Model::BatchStartScdnDomainRequest& request) const;
BatchStopScdnDomainOutcome batchStopScdnDomain(const Model::BatchStopScdnDomainRequest &request)const;
void batchStopScdnDomainAsync(const Model::BatchStopScdnDomainRequest& request, const BatchStopScdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchStopScdnDomainOutcomeCallable batchStopScdnDomainCallable(const Model::BatchStopScdnDomainRequest& request) const;
BatchUpdateScdnDomainOutcome batchUpdateScdnDomain(const Model::BatchUpdateScdnDomainRequest &request)const;
void batchUpdateScdnDomainAsync(const Model::BatchUpdateScdnDomainRequest& request, const BatchUpdateScdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchUpdateScdnDomainOutcomeCallable batchUpdateScdnDomainCallable(const Model::BatchUpdateScdnDomainRequest& request) const;

View File

@@ -32,15 +32,23 @@ namespace AlibabaCloud
class ALIBABACLOUD_SCDN_EXPORT BatchSetScdnDomainConfigsResult : public ServiceResult
{
public:
struct DomainConfigModel
{
std::string functionName;
std::string domainName;
long configId;
};
BatchSetScdnDomainConfigsResult();
explicit BatchSetScdnDomainConfigsResult(const std::string &payload);
~BatchSetScdnDomainConfigsResult();
std::vector<DomainConfigModel> getDomainConfigList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainConfigModel> domainConfigList_;
};
}

View File

@@ -0,0 +1,54 @@
/*
* 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_SCDN_MODEL_BATCHSTARTSCDNDOMAINREQUEST_H_
#define ALIBABACLOUD_SCDN_MODEL_BATCHSTARTSCDNDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/scdn/ScdnExport.h>
namespace AlibabaCloud
{
namespace Scdn
{
namespace Model
{
class ALIBABACLOUD_SCDN_EXPORT BatchStartScdnDomainRequest : public RpcServiceRequest
{
public:
BatchStartScdnDomainRequest();
~BatchStartScdnDomainRequest();
std::string getDomainNames()const;
void setDomainNames(const std::string& domainNames);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
std::string domainNames_;
long ownerId_;
std::string securityToken_;
};
}
}
}
#endif // !ALIBABACLOUD_SCDN_MODEL_BATCHSTARTSCDNDOMAINREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_SCDN_MODEL_BATCHSTARTSCDNDOMAINRESULT_H_
#define ALIBABACLOUD_SCDN_MODEL_BATCHSTARTSCDNDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/scdn/ScdnExport.h>
namespace AlibabaCloud
{
namespace Scdn
{
namespace Model
{
class ALIBABACLOUD_SCDN_EXPORT BatchStartScdnDomainResult : public ServiceResult
{
public:
BatchStartScdnDomainResult();
explicit BatchStartScdnDomainResult(const std::string &payload);
~BatchStartScdnDomainResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SCDN_MODEL_BATCHSTARTSCDNDOMAINRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* 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_SCDN_MODEL_BATCHSTOPSCDNDOMAINREQUEST_H_
#define ALIBABACLOUD_SCDN_MODEL_BATCHSTOPSCDNDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/scdn/ScdnExport.h>
namespace AlibabaCloud
{
namespace Scdn
{
namespace Model
{
class ALIBABACLOUD_SCDN_EXPORT BatchStopScdnDomainRequest : public RpcServiceRequest
{
public:
BatchStopScdnDomainRequest();
~BatchStopScdnDomainRequest();
std::string getDomainNames()const;
void setDomainNames(const std::string& domainNames);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
private:
std::string domainNames_;
long ownerId_;
std::string securityToken_;
};
}
}
}
#endif // !ALIBABACLOUD_SCDN_MODEL_BATCHSTOPSCDNDOMAINREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_SCDN_MODEL_BATCHSTOPSCDNDOMAINRESULT_H_
#define ALIBABACLOUD_SCDN_MODEL_BATCHSTOPSCDNDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/scdn/ScdnExport.h>
namespace AlibabaCloud
{
namespace Scdn
{
namespace Model
{
class ALIBABACLOUD_SCDN_EXPORT BatchStopScdnDomainResult : public ServiceResult
{
public:
BatchStopScdnDomainResult();
explicit BatchStopScdnDomainResult(const std::string &payload);
~BatchStopScdnDomainResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SCDN_MODEL_BATCHSTOPSCDNDOMAINRESULT_H_

View File

@@ -43,12 +43,15 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getConfigId()const;
void setConfigId(const std::string& configId);
private:
std::string functionNames_;
std::string domainName_;
long ownerId_;
std::string securityToken_;
std::string configId_;
};
}

View File

@@ -159,6 +159,78 @@ ScdnClient::BatchSetScdnDomainConfigsOutcomeCallable ScdnClient::batchSetScdnDom
return task->get_future();
}
ScdnClient::BatchStartScdnDomainOutcome ScdnClient::batchStartScdnDomain(const BatchStartScdnDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BatchStartScdnDomainOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BatchStartScdnDomainOutcome(BatchStartScdnDomainResult(outcome.result()));
else
return BatchStartScdnDomainOutcome(outcome.error());
}
void ScdnClient::batchStartScdnDomainAsync(const BatchStartScdnDomainRequest& request, const BatchStartScdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, batchStartScdnDomain(request), context);
};
asyncExecute(new Runnable(fn));
}
ScdnClient::BatchStartScdnDomainOutcomeCallable ScdnClient::batchStartScdnDomainCallable(const BatchStartScdnDomainRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BatchStartScdnDomainOutcome()>>(
[this, request]()
{
return this->batchStartScdnDomain(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ScdnClient::BatchStopScdnDomainOutcome ScdnClient::batchStopScdnDomain(const BatchStopScdnDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BatchStopScdnDomainOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BatchStopScdnDomainOutcome(BatchStopScdnDomainResult(outcome.result()));
else
return BatchStopScdnDomainOutcome(outcome.error());
}
void ScdnClient::batchStopScdnDomainAsync(const BatchStopScdnDomainRequest& request, const BatchStopScdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, batchStopScdnDomain(request), context);
};
asyncExecute(new Runnable(fn));
}
ScdnClient::BatchStopScdnDomainOutcomeCallable ScdnClient::batchStopScdnDomainCallable(const BatchStopScdnDomainRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BatchStopScdnDomainOutcome()>>(
[this, request]()
{
return this->batchStopScdnDomain(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ScdnClient::BatchUpdateScdnDomainOutcome ScdnClient::batchUpdateScdnDomain(const BatchUpdateScdnDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -39,6 +39,23 @@ void BatchSetScdnDomainConfigsResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDomainConfigListNode = value["DomainConfigList"]["DomainConfigModel"];
for (auto valueDomainConfigListDomainConfigModel : allDomainConfigListNode)
{
DomainConfigModel domainConfigListObject;
if(!valueDomainConfigListDomainConfigModel["DomainName"].isNull())
domainConfigListObject.domainName = valueDomainConfigListDomainConfigModel["DomainName"].asString();
if(!valueDomainConfigListDomainConfigModel["ConfigId"].isNull())
domainConfigListObject.configId = std::stol(valueDomainConfigListDomainConfigModel["ConfigId"].asString());
if(!valueDomainConfigListDomainConfigModel["FunctionName"].isNull())
domainConfigListObject.functionName = valueDomainConfigListDomainConfigModel["FunctionName"].asString();
domainConfigList_.push_back(domainConfigListObject);
}
}
std::vector<BatchSetScdnDomainConfigsResult::DomainConfigModel> BatchSetScdnDomainConfigsResult::getDomainConfigList()const
{
return domainConfigList_;
}

View File

@@ -0,0 +1,62 @@
/*
* 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/scdn/model/BatchStartScdnDomainRequest.h>
using AlibabaCloud::Scdn::Model::BatchStartScdnDomainRequest;
BatchStartScdnDomainRequest::BatchStartScdnDomainRequest() :
RpcServiceRequest("scdn", "2017-11-15", "BatchStartScdnDomain")
{
setMethod(HttpRequest::Method::Post);
}
BatchStartScdnDomainRequest::~BatchStartScdnDomainRequest()
{}
std::string BatchStartScdnDomainRequest::getDomainNames()const
{
return domainNames_;
}
void BatchStartScdnDomainRequest::setDomainNames(const std::string& domainNames)
{
domainNames_ = domainNames;
setParameter("DomainNames", domainNames);
}
long BatchStartScdnDomainRequest::getOwnerId()const
{
return ownerId_;
}
void BatchStartScdnDomainRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string BatchStartScdnDomainRequest::getSecurityToken()const
{
return securityToken_;
}
void BatchStartScdnDomainRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/scdn/model/BatchStartScdnDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Scdn;
using namespace AlibabaCloud::Scdn::Model;
BatchStartScdnDomainResult::BatchStartScdnDomainResult() :
ServiceResult()
{}
BatchStartScdnDomainResult::BatchStartScdnDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchStartScdnDomainResult::~BatchStartScdnDomainResult()
{}
void BatchStartScdnDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,62 @@
/*
* 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/scdn/model/BatchStopScdnDomainRequest.h>
using AlibabaCloud::Scdn::Model::BatchStopScdnDomainRequest;
BatchStopScdnDomainRequest::BatchStopScdnDomainRequest() :
RpcServiceRequest("scdn", "2017-11-15", "BatchStopScdnDomain")
{
setMethod(HttpRequest::Method::Post);
}
BatchStopScdnDomainRequest::~BatchStopScdnDomainRequest()
{}
std::string BatchStopScdnDomainRequest::getDomainNames()const
{
return domainNames_;
}
void BatchStopScdnDomainRequest::setDomainNames(const std::string& domainNames)
{
domainNames_ = domainNames;
setParameter("DomainNames", domainNames);
}
long BatchStopScdnDomainRequest::getOwnerId()const
{
return ownerId_;
}
void BatchStopScdnDomainRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string BatchStopScdnDomainRequest::getSecurityToken()const
{
return securityToken_;
}
void BatchStopScdnDomainRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}

View File

@@ -0,0 +1,44 @@
/*
* 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/scdn/model/BatchStopScdnDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Scdn;
using namespace AlibabaCloud::Scdn::Model;
BatchStopScdnDomainResult::BatchStopScdnDomainResult() :
ServiceResult()
{}
BatchStopScdnDomainResult::BatchStopScdnDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchStopScdnDomainResult::~BatchStopScdnDomainResult()
{}
void BatchStopScdnDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -71,3 +71,14 @@ void DescribeScdnDomainConfigsRequest::setSecurityToken(const std::string& secur
setParameter("SecurityToken", securityToken);
}
std::string DescribeScdnDomainConfigsRequest::getConfigId()const
{
return configId_;
}
void DescribeScdnDomainConfigsRequest::setConfigId(const std::string& configId)
{
configId_ = configId;
setParameter("ConfigId", configId);
}