Delete live API.
This commit is contained in:
@@ -1,117 +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/cdn/model/AddLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::AddLiveStreamTranscodeRequest;
|
||||
|
||||
AddLiveStreamTranscodeRequest::AddLiveStreamTranscodeRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "AddLiveStreamTranscode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getRecord()const
|
||||
{
|
||||
return record_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setRecord(const std::string& record)
|
||||
{
|
||||
record_ = record;
|
||||
setParameter("Record", record);
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AddLiveStreamTranscodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getSnapshot()const
|
||||
{
|
||||
return snapshot_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setSnapshot(const std::string& snapshot)
|
||||
{
|
||||
snapshot_ = snapshot;
|
||||
setParameter("Snapshot", snapshot);
|
||||
}
|
||||
|
||||
106
cdn/src/model/CreateCdnDeliverTaskRequest.cc
Normal file
106
cdn/src/model/CreateCdnDeliverTaskRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/cdn/model/CreateCdnDeliverTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::CreateCdnDeliverTaskRequest;
|
||||
|
||||
CreateCdnDeliverTaskRequest::CreateCdnDeliverTaskRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "CreateCdnDeliverTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCdnDeliverTaskRequest::~CreateCdnDeliverTaskRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCdnDeliverTaskRequest::getReports()const
|
||||
{
|
||||
return reports_;
|
||||
}
|
||||
|
||||
void CreateCdnDeliverTaskRequest::setReports(const std::string& reports)
|
||||
{
|
||||
reports_ = reports;
|
||||
setBodyParameter("Reports", reports);
|
||||
}
|
||||
|
||||
std::string CreateCdnDeliverTaskRequest::getDeliver()const
|
||||
{
|
||||
return deliver_;
|
||||
}
|
||||
|
||||
void CreateCdnDeliverTaskRequest::setDeliver(const std::string& deliver)
|
||||
{
|
||||
deliver_ = deliver;
|
||||
setBodyParameter("Deliver", deliver);
|
||||
}
|
||||
|
||||
std::string CreateCdnDeliverTaskRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CreateCdnDeliverTaskRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long CreateCdnDeliverTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCdnDeliverTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCdnDeliverTaskRequest::getSchedule()const
|
||||
{
|
||||
return schedule_;
|
||||
}
|
||||
|
||||
void CreateCdnDeliverTaskRequest::setSchedule(const std::string& schedule)
|
||||
{
|
||||
schedule_ = schedule;
|
||||
setBodyParameter("Schedule", schedule);
|
||||
}
|
||||
|
||||
std::string CreateCdnDeliverTaskRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateCdnDeliverTaskRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setBodyParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateCdnDeliverTaskRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void CreateCdnDeliverTaskRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setBodyParameter("Status", status);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/AddLiveStreamTranscodeResult.h>
|
||||
#include <alibabacloud/cdn/model/CreateCdnDeliverTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
AddLiveStreamTranscodeResult::AddLiveStreamTranscodeResult() :
|
||||
CreateCdnDeliverTaskResult::CreateCdnDeliverTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLiveStreamTranscodeResult::AddLiveStreamTranscodeResult(const std::string &payload) :
|
||||
CreateCdnDeliverTaskResult::CreateCdnDeliverTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLiveStreamTranscodeResult::~AddLiveStreamTranscodeResult()
|
||||
CreateCdnDeliverTaskResult::~CreateCdnDeliverTaskResult()
|
||||
{}
|
||||
|
||||
void AddLiveStreamTranscodeResult::parse(const std::string &payload)
|
||||
void CreateCdnDeliverTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
95
cdn/src/model/CreateCdnSubTaskRequest.cc
Normal file
95
cdn/src/model/CreateCdnSubTaskRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/cdn/model/CreateCdnSubTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::CreateCdnSubTaskRequest;
|
||||
|
||||
CreateCdnSubTaskRequest::CreateCdnSubTaskRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "CreateCdnSubTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCdnSubTaskRequest::~CreateCdnSubTaskRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCdnSubTaskRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void CreateCdnSubTaskRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string CreateCdnSubTaskRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CreateCdnSubTaskRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CreateCdnSubTaskRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void CreateCdnSubTaskRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long CreateCdnSubTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCdnSubTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCdnSubTaskRequest::getReportIds()const
|
||||
{
|
||||
return reportIds_;
|
||||
}
|
||||
|
||||
void CreateCdnSubTaskRequest::setReportIds(const std::string& reportIds)
|
||||
{
|
||||
reportIds_ = reportIds;
|
||||
setBodyParameter("ReportIds", reportIds);
|
||||
}
|
||||
|
||||
std::string CreateCdnSubTaskRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void CreateCdnSubTaskRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setBodyParameter("Status", status);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/SetErrorPageConfigResult.h>
|
||||
#include <alibabacloud/cdn/model/CreateCdnSubTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
SetErrorPageConfigResult::SetErrorPageConfigResult() :
|
||||
CreateCdnSubTaskResult::CreateCdnSubTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SetErrorPageConfigResult::SetErrorPageConfigResult(const std::string &payload) :
|
||||
CreateCdnSubTaskResult::CreateCdnSubTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SetErrorPageConfigResult::~SetErrorPageConfigResult()
|
||||
CreateCdnSubTaskResult::~CreateCdnSubTaskResult()
|
||||
{}
|
||||
|
||||
void SetErrorPageConfigResult::parse(const std::string &payload)
|
||||
void CreateCdnSubTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
51
cdn/src/model/DeleteCdnDeliverTaskRequest.cc
Normal file
51
cdn/src/model/DeleteCdnDeliverTaskRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/cdn/model/DeleteCdnDeliverTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteCdnDeliverTaskRequest;
|
||||
|
||||
DeleteCdnDeliverTaskRequest::DeleteCdnDeliverTaskRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DeleteCdnDeliverTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCdnDeliverTaskRequest::~DeleteCdnDeliverTaskRequest()
|
||||
{}
|
||||
|
||||
long DeleteCdnDeliverTaskRequest::getDeliverId()const
|
||||
{
|
||||
return deliverId_;
|
||||
}
|
||||
|
||||
void DeleteCdnDeliverTaskRequest::setDeliverId(long deliverId)
|
||||
{
|
||||
deliverId_ = deliverId;
|
||||
setParameter("DeliverId", std::to_string(deliverId));
|
||||
}
|
||||
|
||||
long DeleteCdnDeliverTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCdnDeliverTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/SetHttpErrorPageConfigResult.h>
|
||||
#include <alibabacloud/cdn/model/DeleteCdnDeliverTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
SetHttpErrorPageConfigResult::SetHttpErrorPageConfigResult() :
|
||||
DeleteCdnDeliverTaskResult::DeleteCdnDeliverTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SetHttpErrorPageConfigResult::SetHttpErrorPageConfigResult(const std::string &payload) :
|
||||
DeleteCdnDeliverTaskResult::DeleteCdnDeliverTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SetHttpErrorPageConfigResult::~SetHttpErrorPageConfigResult()
|
||||
DeleteCdnDeliverTaskResult::~DeleteCdnDeliverTaskResult()
|
||||
{}
|
||||
|
||||
void SetHttpErrorPageConfigResult::parse(const std::string &payload)
|
||||
void DeleteCdnDeliverTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
40
cdn/src/model/DeleteCdnSubTaskRequest.cc
Normal file
40
cdn/src/model/DeleteCdnSubTaskRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* 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/cdn/model/DeleteCdnSubTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteCdnSubTaskRequest;
|
||||
|
||||
DeleteCdnSubTaskRequest::DeleteCdnSubTaskRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DeleteCdnSubTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCdnSubTaskRequest::~DeleteCdnSubTaskRequest()
|
||||
{}
|
||||
|
||||
long DeleteCdnSubTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCdnSubTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/SetVideoSeekConfigResult.h>
|
||||
#include <alibabacloud/cdn/model/DeleteCdnSubTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
SetVideoSeekConfigResult::SetVideoSeekConfigResult() :
|
||||
DeleteCdnSubTaskResult::DeleteCdnSubTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SetVideoSeekConfigResult::SetVideoSeekConfigResult(const std::string &payload) :
|
||||
DeleteCdnSubTaskResult::DeleteCdnSubTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SetVideoSeekConfigResult::~SetVideoSeekConfigResult()
|
||||
DeleteCdnSubTaskResult::~DeleteCdnSubTaskResult()
|
||||
{}
|
||||
|
||||
void SetVideoSeekConfigResult::parse(const std::string &payload)
|
||||
void DeleteCdnSubTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
62
cdn/src/model/DescribeCdnDeliverListRequest.cc
Normal file
62
cdn/src/model/DescribeCdnDeliverListRequest.cc
Normal 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/cdn/model/DescribeCdnDeliverListRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeCdnDeliverListRequest;
|
||||
|
||||
DescribeCdnDeliverListRequest::DescribeCdnDeliverListRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDeliverList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCdnDeliverListRequest::~DescribeCdnDeliverListRequest()
|
||||
{}
|
||||
|
||||
long DescribeCdnDeliverListRequest::getDeliverId()const
|
||||
{
|
||||
return deliverId_;
|
||||
}
|
||||
|
||||
void DescribeCdnDeliverListRequest::setDeliverId(long deliverId)
|
||||
{
|
||||
deliverId_ = deliverId;
|
||||
setParameter("DeliverId", std::to_string(deliverId));
|
||||
}
|
||||
|
||||
long DescribeCdnDeliverListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCdnDeliverListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnDeliverListRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeCdnDeliverListRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
51
cdn/src/model/DescribeCdnDeliverListResult.cc
Normal file
51
cdn/src/model/DescribeCdnDeliverListResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/cdn/model/DescribeCdnDeliverListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeCdnDeliverListResult::DescribeCdnDeliverListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCdnDeliverListResult::DescribeCdnDeliverListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCdnDeliverListResult::~DescribeCdnDeliverListResult()
|
||||
{}
|
||||
|
||||
void DescribeCdnDeliverListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Content"].isNull())
|
||||
content_ = value["Content"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeCdnDeliverListResult::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
73
cdn/src/model/DescribeCdnReportListRequest.cc
Normal file
73
cdn/src/model/DescribeCdnReportListRequest.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/cdn/model/DescribeCdnReportListRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeCdnReportListRequest;
|
||||
|
||||
DescribeCdnReportListRequest::DescribeCdnReportListRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnReportList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCdnReportListRequest::~DescribeCdnReportListRequest()
|
||||
{}
|
||||
|
||||
long DescribeCdnReportListRequest::getReportId()const
|
||||
{
|
||||
return reportId_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportListRequest::setReportId(long reportId)
|
||||
{
|
||||
reportId_ = reportId;
|
||||
setParameter("ReportId", std::to_string(reportId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportListRequest::getPermission()const
|
||||
{
|
||||
return permission_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportListRequest::setPermission(const std::string& permission)
|
||||
{
|
||||
permission_ = permission;
|
||||
setParameter("Permission", permission);
|
||||
}
|
||||
|
||||
long DescribeCdnReportListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportListRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportListRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
51
cdn/src/model/DescribeCdnReportListResult.cc
Normal file
51
cdn/src/model/DescribeCdnReportListResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/cdn/model/DescribeCdnReportListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeCdnReportListResult::DescribeCdnReportListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCdnReportListResult::DescribeCdnReportListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCdnReportListResult::~DescribeCdnReportListResult()
|
||||
{}
|
||||
|
||||
void DescribeCdnReportListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Content"].isNull())
|
||||
content_ = value["Content"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportListResult::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
117
cdn/src/model/DescribeCdnReportRequest.cc
Normal file
117
cdn/src/model/DescribeCdnReportRequest.cc
Normal file
@@ -0,0 +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 <alibabacloud/cdn/model/DescribeCdnReportRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeCdnReportRequest;
|
||||
|
||||
DescribeCdnReportRequest::DescribeCdnReportRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnReport")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCdnReportRequest::~DescribeCdnReportRequest()
|
||||
{}
|
||||
|
||||
long DescribeCdnReportRequest::getReportId()const
|
||||
{
|
||||
return reportId_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportRequest::setReportId(long reportId)
|
||||
{
|
||||
reportId_ = reportId;
|
||||
setParameter("ReportId", std::to_string(reportId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportRequest::getArea()const
|
||||
{
|
||||
return area_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportRequest::setArea(const std::string& area)
|
||||
{
|
||||
area_ = area;
|
||||
setParameter("Area", area);
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeCdnReportRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportRequest::getHttpCode()const
|
||||
{
|
||||
return httpCode_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportRequest::setHttpCode(const std::string& httpCode)
|
||||
{
|
||||
httpCode_ = httpCode;
|
||||
setParameter("HttpCode", httpCode);
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportRequest::getIsOverseas()const
|
||||
{
|
||||
return isOverseas_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportRequest::setIsOverseas(const std::string& isOverseas)
|
||||
{
|
||||
isOverseas_ = isOverseas;
|
||||
setParameter("IsOverseas", isOverseas);
|
||||
}
|
||||
|
||||
51
cdn/src/model/DescribeCdnReportResult.cc
Normal file
51
cdn/src/model/DescribeCdnReportResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/cdn/model/DescribeCdnReportResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeCdnReportResult::DescribeCdnReportResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCdnReportResult::DescribeCdnReportResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCdnReportResult::~DescribeCdnReportResult()
|
||||
{}
|
||||
|
||||
void DescribeCdnReportResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Content"].isNull())
|
||||
content_ = value["Content"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportResult::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
51
cdn/src/model/DescribeCdnSubListRequest.cc
Normal file
51
cdn/src/model/DescribeCdnSubListRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/cdn/model/DescribeCdnSubListRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeCdnSubListRequest;
|
||||
|
||||
DescribeCdnSubListRequest::DescribeCdnSubListRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnSubList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCdnSubListRequest::~DescribeCdnSubListRequest()
|
||||
{}
|
||||
|
||||
long DescribeCdnSubListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCdnSubListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnSubListRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeCdnSubListRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
51
cdn/src/model/DescribeCdnSubListResult.cc
Normal file
51
cdn/src/model/DescribeCdnSubListResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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/cdn/model/DescribeCdnSubListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeCdnSubListResult::DescribeCdnSubListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCdnSubListResult::DescribeCdnSubListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCdnSubListResult::~DescribeCdnSubListResult()
|
||||
{}
|
||||
|
||||
void DescribeCdnSubListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Content"].isNull())
|
||||
content_ = value["Content"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeCdnSubListResult::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
73
cdn/src/model/DescribeEsExceptionDataRequest.cc
Normal file
73
cdn/src/model/DescribeEsExceptionDataRequest.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/cdn/model/DescribeEsExceptionDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeEsExceptionDataRequest;
|
||||
|
||||
DescribeEsExceptionDataRequest::DescribeEsExceptionDataRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeEsExceptionData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeEsExceptionDataRequest::~DescribeEsExceptionDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeEsExceptionDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeEsExceptionDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeEsExceptionDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeEsExceptionDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeEsExceptionDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeEsExceptionDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeEsExceptionDataRequest::getRuleId()const
|
||||
{
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
void DescribeEsExceptionDataRequest::setRuleId(const std::string& ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setParameter("RuleId", ruleId);
|
||||
}
|
||||
|
||||
63
cdn/src/model/DescribeEsExceptionDataResult.cc
Normal file
63
cdn/src/model/DescribeEsExceptionDataResult.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/cdn/model/DescribeEsExceptionDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeEsExceptionDataResult::DescribeEsExceptionDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeEsExceptionDataResult::DescribeEsExceptionDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeEsExceptionDataResult::~DescribeEsExceptionDataResult()
|
||||
{}
|
||||
|
||||
void DescribeEsExceptionDataResult::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<DescribeEsExceptionDataResult::Content> DescribeEsExceptionDataResult::getContents()const
|
||||
{
|
||||
return contents_;
|
||||
}
|
||||
|
||||
73
cdn/src/model/DescribeEsExecuteDataRequest.cc
Normal file
73
cdn/src/model/DescribeEsExecuteDataRequest.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/cdn/model/DescribeEsExecuteDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeEsExecuteDataRequest;
|
||||
|
||||
DescribeEsExecuteDataRequest::DescribeEsExecuteDataRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeEsExecuteData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeEsExecuteDataRequest::~DescribeEsExecuteDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeEsExecuteDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeEsExecuteDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeEsExecuteDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeEsExecuteDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeEsExecuteDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeEsExecuteDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeEsExecuteDataRequest::getRuleId()const
|
||||
{
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
void DescribeEsExecuteDataRequest::setRuleId(const std::string& ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setParameter("RuleId", ruleId);
|
||||
}
|
||||
|
||||
63
cdn/src/model/DescribeEsExecuteDataResult.cc
Normal file
63
cdn/src/model/DescribeEsExecuteDataResult.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/cdn/model/DescribeEsExecuteDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeEsExecuteDataResult::DescribeEsExecuteDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeEsExecuteDataResult::DescribeEsExecuteDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeEsExecuteDataResult::~DescribeEsExecuteDataResult()
|
||||
{}
|
||||
|
||||
void DescribeEsExecuteDataResult::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<DescribeEsExecuteDataResult::Content> DescribeEsExecuteDataResult::getContents()const
|
||||
{
|
||||
return contents_;
|
||||
}
|
||||
|
||||
@@ -1,106 +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/cdn/model/ModifyPathCacheExpiredConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::ModifyPathCacheExpiredConfigRequest;
|
||||
|
||||
ModifyPathCacheExpiredConfigRequest::ModifyPathCacheExpiredConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "ModifyPathCacheExpiredConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyPathCacheExpiredConfigRequest::~ModifyPathCacheExpiredConfigRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyPathCacheExpiredConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyPathCacheExpiredConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyPathCacheExpiredConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void ModifyPathCacheExpiredConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string ModifyPathCacheExpiredConfigRequest::getWeight()const
|
||||
{
|
||||
return weight_;
|
||||
}
|
||||
|
||||
void ModifyPathCacheExpiredConfigRequest::setWeight(const std::string& weight)
|
||||
{
|
||||
weight_ = weight;
|
||||
setParameter("Weight", weight);
|
||||
}
|
||||
|
||||
std::string ModifyPathCacheExpiredConfigRequest::getCacheContent()const
|
||||
{
|
||||
return cacheContent_;
|
||||
}
|
||||
|
||||
void ModifyPathCacheExpiredConfigRequest::setCacheContent(const std::string& cacheContent)
|
||||
{
|
||||
cacheContent_ = cacheContent;
|
||||
setParameter("CacheContent", cacheContent);
|
||||
}
|
||||
|
||||
long ModifyPathCacheExpiredConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyPathCacheExpiredConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyPathCacheExpiredConfigRequest::getTTL()const
|
||||
{
|
||||
return tTL_;
|
||||
}
|
||||
|
||||
void ModifyPathCacheExpiredConfigRequest::setTTL(const std::string& tTL)
|
||||
{
|
||||
tTL_ = tTL;
|
||||
setParameter("TTL", tTL);
|
||||
}
|
||||
|
||||
std::string ModifyPathCacheExpiredConfigRequest::getConfigID()const
|
||||
{
|
||||
return configID_;
|
||||
}
|
||||
|
||||
void ModifyPathCacheExpiredConfigRequest::setConfigID(const std::string& configID)
|
||||
{
|
||||
configID_ = configID;
|
||||
setParameter("ConfigID", configID);
|
||||
}
|
||||
|
||||
@@ -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/cdn/model/ModifyPathCacheExpiredConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
ModifyPathCacheExpiredConfigResult::ModifyPathCacheExpiredConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyPathCacheExpiredConfigResult::ModifyPathCacheExpiredConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyPathCacheExpiredConfigResult::~ModifyPathCacheExpiredConfigResult()
|
||||
{}
|
||||
|
||||
void ModifyPathCacheExpiredConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,62 +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/cdn/model/ModifyUserCustomLogConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::ModifyUserCustomLogConfigRequest;
|
||||
|
||||
ModifyUserCustomLogConfigRequest::ModifyUserCustomLogConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "ModifyUserCustomLogConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ModifyUserCustomLogConfigRequest::~ModifyUserCustomLogConfigRequest()
|
||||
{}
|
||||
|
||||
long ModifyUserCustomLogConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyUserCustomLogConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyUserCustomLogConfigRequest::getConfigId()const
|
||||
{
|
||||
return configId_;
|
||||
}
|
||||
|
||||
void ModifyUserCustomLogConfigRequest::setConfigId(const std::string& configId)
|
||||
{
|
||||
configId_ = configId;
|
||||
setParameter("ConfigId", configId);
|
||||
}
|
||||
|
||||
std::string ModifyUserCustomLogConfigRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void ModifyUserCustomLogConfigRequest::setTag(const std::string& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
setParameter("Tag", tag);
|
||||
}
|
||||
|
||||
@@ -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/cdn/model/ModifyUserCustomLogConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
ModifyUserCustomLogConfigResult::ModifyUserCustomLogConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyUserCustomLogConfigResult::ModifyUserCustomLogConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyUserCustomLogConfigResult::~ModifyUserCustomLogConfigResult()
|
||||
{}
|
||||
|
||||
void ModifyUserCustomLogConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,84 +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/cdn/model/SetErrorPageConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::SetErrorPageConfigRequest;
|
||||
|
||||
SetErrorPageConfigRequest::SetErrorPageConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "SetErrorPageConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetErrorPageConfigRequest::~SetErrorPageConfigRequest()
|
||||
{}
|
||||
|
||||
std::string SetErrorPageConfigRequest::getPageType()const
|
||||
{
|
||||
return pageType_;
|
||||
}
|
||||
|
||||
void SetErrorPageConfigRequest::setPageType(const std::string& pageType)
|
||||
{
|
||||
pageType_ = pageType;
|
||||
setParameter("PageType", pageType);
|
||||
}
|
||||
|
||||
std::string SetErrorPageConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void SetErrorPageConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string SetErrorPageConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void SetErrorPageConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string SetErrorPageConfigRequest::getCustomPageUrl()const
|
||||
{
|
||||
return customPageUrl_;
|
||||
}
|
||||
|
||||
void SetErrorPageConfigRequest::setCustomPageUrl(const std::string& customPageUrl)
|
||||
{
|
||||
customPageUrl_ = customPageUrl;
|
||||
setParameter("CustomPageUrl", customPageUrl);
|
||||
}
|
||||
|
||||
long SetErrorPageConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SetErrorPageConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,84 +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/cdn/model/SetHttpErrorPageConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::SetHttpErrorPageConfigRequest;
|
||||
|
||||
SetHttpErrorPageConfigRequest::SetHttpErrorPageConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "SetHttpErrorPageConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetHttpErrorPageConfigRequest::~SetHttpErrorPageConfigRequest()
|
||||
{}
|
||||
|
||||
std::string SetHttpErrorPageConfigRequest::getPageUrl()const
|
||||
{
|
||||
return pageUrl_;
|
||||
}
|
||||
|
||||
void SetHttpErrorPageConfigRequest::setPageUrl(const std::string& pageUrl)
|
||||
{
|
||||
pageUrl_ = pageUrl;
|
||||
setParameter("PageUrl", pageUrl);
|
||||
}
|
||||
|
||||
std::string SetHttpErrorPageConfigRequest::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
void SetHttpErrorPageConfigRequest::setErrorCode(const std::string& errorCode)
|
||||
{
|
||||
errorCode_ = errorCode;
|
||||
setParameter("ErrorCode", errorCode);
|
||||
}
|
||||
|
||||
std::string SetHttpErrorPageConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void SetHttpErrorPageConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long SetHttpErrorPageConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SetHttpErrorPageConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long SetHttpErrorPageConfigRequest::getConfigId()const
|
||||
{
|
||||
return configId_;
|
||||
}
|
||||
|
||||
void SetHttpErrorPageConfigRequest::setConfigId(long configId)
|
||||
{
|
||||
configId_ = configId;
|
||||
setParameter("ConfigId", std::to_string(configId));
|
||||
}
|
||||
|
||||
@@ -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/cdn/model/SetVideoSeekConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::SetVideoSeekConfigRequest;
|
||||
|
||||
SetVideoSeekConfigRequest::SetVideoSeekConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "SetVideoSeekConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetVideoSeekConfigRequest::~SetVideoSeekConfigRequest()
|
||||
{}
|
||||
|
||||
std::string SetVideoSeekConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void SetVideoSeekConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long SetVideoSeekConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SetVideoSeekConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SetVideoSeekConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void SetVideoSeekConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string SetVideoSeekConfigRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void SetVideoSeekConfigRequest::setEnable(const std::string& enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setParameter("Enable", enable);
|
||||
}
|
||||
|
||||
117
cdn/src/model/UpdateCdnDeliverTaskRequest.cc
Normal file
117
cdn/src/model/UpdateCdnDeliverTaskRequest.cc
Normal file
@@ -0,0 +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 <alibabacloud/cdn/model/UpdateCdnDeliverTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::UpdateCdnDeliverTaskRequest;
|
||||
|
||||
UpdateCdnDeliverTaskRequest::UpdateCdnDeliverTaskRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "UpdateCdnDeliverTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateCdnDeliverTaskRequest::~UpdateCdnDeliverTaskRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateCdnDeliverTaskRequest::getReports()const
|
||||
{
|
||||
return reports_;
|
||||
}
|
||||
|
||||
void UpdateCdnDeliverTaskRequest::setReports(const std::string& reports)
|
||||
{
|
||||
reports_ = reports;
|
||||
setBodyParameter("Reports", reports);
|
||||
}
|
||||
|
||||
std::string UpdateCdnDeliverTaskRequest::getDeliver()const
|
||||
{
|
||||
return deliver_;
|
||||
}
|
||||
|
||||
void UpdateCdnDeliverTaskRequest::setDeliver(const std::string& deliver)
|
||||
{
|
||||
deliver_ = deliver;
|
||||
setBodyParameter("Deliver", deliver);
|
||||
}
|
||||
|
||||
long UpdateCdnDeliverTaskRequest::getDeliverId()const
|
||||
{
|
||||
return deliverId_;
|
||||
}
|
||||
|
||||
void UpdateCdnDeliverTaskRequest::setDeliverId(long deliverId)
|
||||
{
|
||||
deliverId_ = deliverId;
|
||||
setBodyParameter("DeliverId", std::to_string(deliverId));
|
||||
}
|
||||
|
||||
std::string UpdateCdnDeliverTaskRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void UpdateCdnDeliverTaskRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long UpdateCdnDeliverTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateCdnDeliverTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateCdnDeliverTaskRequest::getSchedule()const
|
||||
{
|
||||
return schedule_;
|
||||
}
|
||||
|
||||
void UpdateCdnDeliverTaskRequest::setSchedule(const std::string& schedule)
|
||||
{
|
||||
schedule_ = schedule;
|
||||
setBodyParameter("Schedule", schedule);
|
||||
}
|
||||
|
||||
std::string UpdateCdnDeliverTaskRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void UpdateCdnDeliverTaskRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setBodyParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string UpdateCdnDeliverTaskRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void UpdateCdnDeliverTaskRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setBodyParameter("Status", status);
|
||||
}
|
||||
|
||||
44
cdn/src/model/UpdateCdnDeliverTaskResult.cc
Normal file
44
cdn/src/model/UpdateCdnDeliverTaskResult.cc
Normal 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/cdn/model/UpdateCdnDeliverTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
UpdateCdnDeliverTaskResult::UpdateCdnDeliverTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateCdnDeliverTaskResult::UpdateCdnDeliverTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateCdnDeliverTaskResult::~UpdateCdnDeliverTaskResult()
|
||||
{}
|
||||
|
||||
void UpdateCdnDeliverTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
95
cdn/src/model/UpdateCdnSubTaskRequest.cc
Normal file
95
cdn/src/model/UpdateCdnSubTaskRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/cdn/model/UpdateCdnSubTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::UpdateCdnSubTaskRequest;
|
||||
|
||||
UpdateCdnSubTaskRequest::UpdateCdnSubTaskRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "UpdateCdnSubTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateCdnSubTaskRequest::~UpdateCdnSubTaskRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateCdnSubTaskRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void UpdateCdnSubTaskRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string UpdateCdnSubTaskRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void UpdateCdnSubTaskRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string UpdateCdnSubTaskRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void UpdateCdnSubTaskRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long UpdateCdnSubTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateCdnSubTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateCdnSubTaskRequest::getReportIds()const
|
||||
{
|
||||
return reportIds_;
|
||||
}
|
||||
|
||||
void UpdateCdnSubTaskRequest::setReportIds(const std::string& reportIds)
|
||||
{
|
||||
reportIds_ = reportIds;
|
||||
setBodyParameter("ReportIds", reportIds);
|
||||
}
|
||||
|
||||
std::string UpdateCdnSubTaskRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void UpdateCdnSubTaskRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setBodyParameter("Status", status);
|
||||
}
|
||||
|
||||
44
cdn/src/model/UpdateCdnSubTaskResult.cc
Normal file
44
cdn/src/model/UpdateCdnSubTaskResult.cc
Normal 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/cdn/model/UpdateCdnSubTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
UpdateCdnSubTaskResult::UpdateCdnSubTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateCdnSubTaskResult::UpdateCdnSubTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateCdnSubTaskResult::~UpdateCdnSubTaskResult()
|
||||
{}
|
||||
|
||||
void UpdateCdnSubTaskResult::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