Add CreateDcdnSubTask.
This commit is contained in:
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/CreateDcdnDomainOfflineLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::CreateDcdnDomainOfflineLogDeliveryRequest;
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryRequest::CreateDcdnDomainOfflineLogDeliveryRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "CreateDcdnDomainOfflineLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryRequest::~CreateDcdnDomainOfflineLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDcdnDomainOfflineLogDeliveryRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDcdnDomainOfflineLogDeliveryRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setBodyParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDcdnDomainOfflineLogDeliveryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CreateDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long CreateDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateDcdnDomainOfflineLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateDcdnDomainOfflineLogDeliveryRequest::getFieldId()const
|
||||
{
|
||||
return fieldId_;
|
||||
}
|
||||
|
||||
void CreateDcdnDomainOfflineLogDeliveryRequest::setFieldId(const std::string& fieldId)
|
||||
{
|
||||
fieldId_ = fieldId;
|
||||
setBodyParameter("FieldId", fieldId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/CreateDcdnDomainOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryResult::CreateDcdnDomainOfflineLogDeliveryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryResult::CreateDcdnDomainOfflineLogDeliveryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDcdnDomainOfflineLogDeliveryResult::~CreateDcdnDomainOfflineLogDeliveryResult()
|
||||
{}
|
||||
|
||||
void CreateDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
73
dcdn/src/model/DescribeDcdnEsExceptionDataRequest.cc
Normal file
73
dcdn/src/model/DescribeDcdnEsExceptionDataRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/dcdn/model/DescribeDcdnEsExceptionDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnEsExceptionDataRequest;
|
||||
|
||||
DescribeDcdnEsExceptionDataRequest::DescribeDcdnEsExceptionDataRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnEsExceptionData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnEsExceptionDataRequest::~DescribeDcdnEsExceptionDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnEsExceptionDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExceptionDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnEsExceptionDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExceptionDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeDcdnEsExceptionDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExceptionDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnEsExceptionDataRequest::getRuleId()const
|
||||
{
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExceptionDataRequest::setRuleId(const std::string& ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setParameter("RuleId", ruleId);
|
||||
}
|
||||
|
||||
63
dcdn/src/model/DescribeDcdnEsExceptionDataResult.cc
Normal file
63
dcdn/src/model/DescribeDcdnEsExceptionDataResult.cc
Normal file
@@ -0,0 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnEsExceptionDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnEsExceptionDataResult::DescribeDcdnEsExceptionDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnEsExceptionDataResult::DescribeDcdnEsExceptionDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnEsExceptionDataResult::~DescribeDcdnEsExceptionDataResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnEsExceptionDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allContentsNode = value["Contents"]["Content"];
|
||||
for (auto valueContentsContent : allContentsNode)
|
||||
{
|
||||
Content contentsObject;
|
||||
if(!valueContentsContent["Name"].isNull())
|
||||
contentsObject.name = valueContentsContent["Name"].asString();
|
||||
auto allColumns = value["Columns"]["columns"];
|
||||
for (auto value : allColumns)
|
||||
contentsObject.columns.push_back(value.asString());
|
||||
auto allPoints = value["Points"]["points"];
|
||||
for (auto value : allPoints)
|
||||
contentsObject.points.push_back(value.asString());
|
||||
contents_.push_back(contentsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnEsExceptionDataResult::Content> DescribeDcdnEsExceptionDataResult::getContents()const
|
||||
{
|
||||
return contents_;
|
||||
}
|
||||
|
||||
73
dcdn/src/model/DescribeDcdnEsExecuteDataRequest.cc
Normal file
73
dcdn/src/model/DescribeDcdnEsExecuteDataRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/dcdn/model/DescribeDcdnEsExecuteDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnEsExecuteDataRequest;
|
||||
|
||||
DescribeDcdnEsExecuteDataRequest::DescribeDcdnEsExecuteDataRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnEsExecuteData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnEsExecuteDataRequest::~DescribeDcdnEsExecuteDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnEsExecuteDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExecuteDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnEsExecuteDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExecuteDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeDcdnEsExecuteDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExecuteDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnEsExecuteDataRequest::getRuleId()const
|
||||
{
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnEsExecuteDataRequest::setRuleId(const std::string& ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setParameter("RuleId", ruleId);
|
||||
}
|
||||
|
||||
63
dcdn/src/model/DescribeDcdnEsExecuteDataResult.cc
Normal file
63
dcdn/src/model/DescribeDcdnEsExecuteDataResult.cc
Normal file
@@ -0,0 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnEsExecuteDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnEsExecuteDataResult::DescribeDcdnEsExecuteDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnEsExecuteDataResult::DescribeDcdnEsExecuteDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnEsExecuteDataResult::~DescribeDcdnEsExecuteDataResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnEsExecuteDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allContentsNode = value["Contents"]["Content"];
|
||||
for (auto valueContentsContent : allContentsNode)
|
||||
{
|
||||
Content contentsObject;
|
||||
if(!valueContentsContent["Name"].isNull())
|
||||
contentsObject.name = valueContentsContent["Name"].asString();
|
||||
auto allColumns = value["Columns"]["columns"];
|
||||
for (auto value : allColumns)
|
||||
contentsObject.columns.push_back(value.asString());
|
||||
auto allPoints = value["Points"]["points"];
|
||||
for (auto value : allPoints)
|
||||
contentsObject.points.push_back(value.asString());
|
||||
contents_.push_back(contentsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnEsExecuteDataResult::Content> DescribeDcdnEsExecuteDataResult::getContents()const
|
||||
{
|
||||
return contents_;
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryFieldRequest;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldRequest::DescribeDcdnOfflineLogDeliveryFieldRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryField")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldRequest::~DescribeDcdnOfflineLogDeliveryFieldRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnOfflineLogDeliveryFieldRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryFieldRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DescribeDcdnOfflineLogDeliveryFieldResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldResult::DescribeDcdnOfflineLogDeliveryFieldResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldResult::DescribeDcdnOfflineLogDeliveryFieldResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryFieldResult::~DescribeDcdnOfflineLogDeliveryFieldResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryFieldResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allFieldsNode = value["Fields"]["Field"];
|
||||
for (auto valueFieldsField : allFieldsNode)
|
||||
{
|
||||
Field fieldsObject;
|
||||
if(!valueFieldsField["FieldId"].isNull())
|
||||
fieldsObject.fieldId = valueFieldsField["FieldId"].asString();
|
||||
if(!valueFieldsField["FieldName"].isNull())
|
||||
fieldsObject.fieldName = valueFieldsField["FieldName"].asString();
|
||||
if(!valueFieldsField["Description"].isNull())
|
||||
fieldsObject.description = valueFieldsField["Description"].asString();
|
||||
fields_.push_back(fieldsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnOfflineLogDeliveryFieldResult::Field> DescribeDcdnOfflineLogDeliveryFieldResult::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryRegionsRequest;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsRequest::DescribeDcdnOfflineLogDeliveryRegionsRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsRequest::~DescribeDcdnOfflineLogDeliveryRegionsRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnOfflineLogDeliveryRegionsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryRegionsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DescribeDcdnOfflineLogDeliveryRegionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsResult::DescribeDcdnOfflineLogDeliveryRegionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsResult::DescribeDcdnOfflineLogDeliveryRegionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRegionsResult::~DescribeDcdnOfflineLogDeliveryRegionsResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryRegionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAreasNode = value["Areas"]["Area"];
|
||||
for (auto valueAreasArea : allAreasNode)
|
||||
{
|
||||
Area areasObject;
|
||||
if(!valueAreasArea["AreaId"].isNull())
|
||||
areasObject.areaId = valueAreasArea["AreaId"].asString();
|
||||
if(!valueAreasArea["AreaName"].isNull())
|
||||
areasObject.areaName = valueAreasArea["AreaName"].asString();
|
||||
auto allRegionInfosNode = valueAreasArea["RegionInfos"]["RegionInfo"];
|
||||
for (auto valueAreasAreaRegionInfosRegionInfo : allRegionInfosNode)
|
||||
{
|
||||
Area::RegionInfo regionInfosObject;
|
||||
if(!valueAreasAreaRegionInfosRegionInfo["RegionId"].isNull())
|
||||
regionInfosObject.regionId = valueAreasAreaRegionInfosRegionInfo["RegionId"].asString();
|
||||
if(!valueAreasAreaRegionInfosRegionInfo["RegionName"].isNull())
|
||||
regionInfosObject.regionName = valueAreasAreaRegionInfosRegionInfo["RegionName"].asString();
|
||||
if(!valueAreasAreaRegionInfosRegionInfo["IsOverseas"].isNull())
|
||||
regionInfosObject.isOverseas = valueAreasAreaRegionInfosRegionInfo["IsOverseas"].asString();
|
||||
if(!valueAreasAreaRegionInfosRegionInfo["OssEndpoint"].isNull())
|
||||
regionInfosObject.ossEndpoint = valueAreasAreaRegionInfosRegionInfo["OssEndpoint"].asString();
|
||||
areasObject.regionInfos.push_back(regionInfosObject);
|
||||
}
|
||||
areas_.push_back(areasObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnOfflineLogDeliveryRegionsResult::Area> DescribeDcdnOfflineLogDeliveryRegionsResult::getAreas()const
|
||||
{
|
||||
return areas_;
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DescribeDcdnOfflineLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryRequest;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRequest::DescribeDcdnOfflineLogDeliveryRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryRequest::~DescribeDcdnOfflineLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnOfflineLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,100 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DescribeDcdnOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryResult::DescribeDcdnOfflineLogDeliveryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryResult::DescribeDcdnOfflineLogDeliveryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryResult::~DescribeDcdnOfflineLogDeliveryResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainsNode = value["Domains"]["Domain"];
|
||||
for (auto valueDomainsDomain : allDomainsNode)
|
||||
{
|
||||
Domain domainsObject;
|
||||
if(!valueDomainsDomain["DomainName"].isNull())
|
||||
domainsObject.domainName = valueDomainsDomain["DomainName"].asString();
|
||||
domains_.push_back(domainsObject);
|
||||
}
|
||||
auto allRegionsNode = value["Regions"]["Region"];
|
||||
for (auto valueRegionsRegion : allRegionsNode)
|
||||
{
|
||||
Region regionsObject;
|
||||
if(!valueRegionsRegion["OssId"].isNull())
|
||||
regionsObject.ossId = std::stoi(valueRegionsRegion["OssId"].asString());
|
||||
if(!valueRegionsRegion["OssBucketName"].isNull())
|
||||
regionsObject.ossBucketName = valueRegionsRegion["OssBucketName"].asString();
|
||||
if(!valueRegionsRegion["OssPathPrefix"].isNull())
|
||||
regionsObject.ossPathPrefix = valueRegionsRegion["OssPathPrefix"].asString();
|
||||
if(!valueRegionsRegion["DlaVcName"].isNull())
|
||||
regionsObject.dlaVcName = valueRegionsRegion["DlaVcName"].asString();
|
||||
if(!valueRegionsRegion["RegionId"].isNull())
|
||||
regionsObject.regionId = valueRegionsRegion["RegionId"].asString();
|
||||
if(!valueRegionsRegion["RegionName"].isNull())
|
||||
regionsObject.regionName = valueRegionsRegion["RegionName"].asString();
|
||||
if(!valueRegionsRegion["IsOverseas"].isNull())
|
||||
regionsObject.isOverseas = valueRegionsRegion["IsOverseas"].asString();
|
||||
if(!valueRegionsRegion["OssEndpoint"].isNull())
|
||||
regionsObject.ossEndpoint = valueRegionsRegion["OssEndpoint"].asString();
|
||||
if(!valueRegionsRegion["AreaId"].isNull())
|
||||
regionsObject.areaId = valueRegionsRegion["AreaId"].asString();
|
||||
if(!valueRegionsRegion["AreaName"].isNull())
|
||||
regionsObject.areaName = valueRegionsRegion["AreaName"].asString();
|
||||
if(!valueRegionsRegion["DlaDbName"].isNull())
|
||||
regionsObject.dlaDbName = valueRegionsRegion["DlaDbName"].asString();
|
||||
if(!valueRegionsRegion["DlaTableName"].isNull())
|
||||
regionsObject.dlaTableName = valueRegionsRegion["DlaTableName"].asString();
|
||||
regions_.push_back(regionsObject);
|
||||
}
|
||||
auto allFields = value["Fields"]["Field"];
|
||||
for (const auto &item : allFields)
|
||||
fields_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnOfflineLogDeliveryResult::Domain> DescribeDcdnOfflineLogDeliveryResult::getDomains()const
|
||||
{
|
||||
return domains_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDcdnOfflineLogDeliveryResult::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnOfflineLogDeliveryResult::Region> DescribeDcdnOfflineLogDeliveryResult::getRegions()const
|
||||
{
|
||||
return regions_;
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnOfflineLogDeliveryStatusRequest;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusRequest::DescribeDcdnOfflineLogDeliveryStatusRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnOfflineLogDeliveryStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusRequest::~DescribeDcdnOfflineLogDeliveryStatusRequest()
|
||||
{}
|
||||
|
||||
long DescribeDcdnOfflineLogDeliveryStatusRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DescribeDcdnOfflineLogDeliveryStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusResult::DescribeDcdnOfflineLogDeliveryStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusResult::DescribeDcdnOfflineLogDeliveryStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnOfflineLogDeliveryStatusResult::~DescribeDcdnOfflineLogDeliveryStatusResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnOfflineLogDeliveryStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["OpenStatus"].isNull())
|
||||
openStatus_ = value["OpenStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDcdnOfflineLogDeliveryStatusResult::getOpenStatus()const
|
||||
{
|
||||
return openStatus_;
|
||||
}
|
||||
|
||||
@@ -53,8 +53,12 @@ void DescribeDcdnRefreshQuotaResult::parse(const std::string &payload)
|
||||
blockQuota_ = value["BlockQuota"].asString();
|
||||
if(!value["PreloadRemain"].isNull())
|
||||
preloadRemain_ = value["PreloadRemain"].asString();
|
||||
if(!value["blockRemain"].isNull())
|
||||
blockRemain_ = value["blockRemain"].asString();
|
||||
if(!value["BlockRemain"].isNull())
|
||||
blockRemain_ = value["BlockRemain"].asString();
|
||||
if(!value["RegexQuota"].isNull())
|
||||
regexQuota_ = value["RegexQuota"].asString();
|
||||
if(!value["RegexRemain"].isNull())
|
||||
regexRemain_ = value["RegexRemain"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -73,6 +77,11 @@ std::string DescribeDcdnRefreshQuotaResult::getBlockRemain()const
|
||||
return blockRemain_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnRefreshQuotaResult::getRegexRemain()const
|
||||
{
|
||||
return regexRemain_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnRefreshQuotaResult::getDirRemain()const
|
||||
{
|
||||
return dirRemain_;
|
||||
@@ -83,6 +92,11 @@ std::string DescribeDcdnRefreshQuotaResult::getBlockQuota()const
|
||||
return blockQuota_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnRefreshQuotaResult::getRegexQuota()const
|
||||
{
|
||||
return regexQuota_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnRefreshQuotaResult::getUrlQuota()const
|
||||
{
|
||||
return urlQuota_;
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DisableDcdnDomainOfflineLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DisableDcdnDomainOfflineLogDeliveryRequest;
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryRequest::DisableDcdnDomainOfflineLogDeliveryRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DisableDcdnDomainOfflineLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryRequest::~DisableDcdnDomainOfflineLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
std::string DisableDcdnDomainOfflineLogDeliveryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DisableDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DisableDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DisableDcdnDomainOfflineLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DisableDcdnDomainOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryResult::DisableDcdnDomainOfflineLogDeliveryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryResult::DisableDcdnDomainOfflineLogDeliveryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DisableDcdnDomainOfflineLogDeliveryResult::~DisableDcdnDomainOfflineLogDeliveryResult()
|
||||
{}
|
||||
|
||||
void DisableDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DisableDcdnOfflineLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DisableDcdnOfflineLogDeliveryRequest;
|
||||
|
||||
DisableDcdnOfflineLogDeliveryRequest::DisableDcdnOfflineLogDeliveryRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DisableDcdnOfflineLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DisableDcdnOfflineLogDeliveryRequest::~DisableDcdnOfflineLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
long DisableDcdnOfflineLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DisableDcdnOfflineLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/DisableDcdnOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DisableDcdnOfflineLogDeliveryResult::DisableDcdnOfflineLogDeliveryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DisableDcdnOfflineLogDeliveryResult::DisableDcdnOfflineLogDeliveryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DisableDcdnOfflineLogDeliveryResult::~DisableDcdnOfflineLogDeliveryResult()
|
||||
{}
|
||||
|
||||
void DisableDcdnOfflineLogDeliveryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/EnableDcdnDomainOfflineLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::EnableDcdnDomainOfflineLogDeliveryRequest;
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryRequest::EnableDcdnDomainOfflineLogDeliveryRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "EnableDcdnDomainOfflineLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryRequest::~EnableDcdnDomainOfflineLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
std::string EnableDcdnDomainOfflineLogDeliveryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void EnableDcdnDomainOfflineLogDeliveryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long EnableDcdnDomainOfflineLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void EnableDcdnDomainOfflineLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* 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/dcdn/model/EnableDcdnDomainOfflineLogDeliveryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryResult::EnableDcdnDomainOfflineLogDeliveryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryResult::EnableDcdnDomainOfflineLogDeliveryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
EnableDcdnDomainOfflineLogDeliveryResult::~EnableDcdnDomainOfflineLogDeliveryResult()
|
||||
{}
|
||||
|
||||
void EnableDcdnDomainOfflineLogDeliveryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user