由温仰发起的SLB SDK自动发布, BUILD_ID=467, 版本号:1.2.14

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2018-03-15 16:58:30 +08:00
parent 85da4ff587
commit 4a15d5788a
17 changed files with 425 additions and 1540 deletions

View File

@@ -1,126 +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/slb/model/DeleteAccessLogsDownloadAttributeRequest.h>
using AlibabaCloud::Slb::Model::DeleteAccessLogsDownloadAttributeRequest;
DeleteAccessLogsDownloadAttributeRequest::DeleteAccessLogsDownloadAttributeRequest() :
RpcServiceRequest("slb", "2014-05-15", "DeleteAccessLogsDownloadAttribute")
{}
DeleteAccessLogsDownloadAttributeRequest::~DeleteAccessLogsDownloadAttributeRequest()
{}
std::string DeleteAccessLogsDownloadAttributeRequest::getAccess_key_id()const
{
return access_key_id_;
}
void DeleteAccessLogsDownloadAttributeRequest::setAccess_key_id(const std::string& access_key_id)
{
access_key_id_ = access_key_id;
setParameter("Access_key_id", access_key_id);
}
long DeleteAccessLogsDownloadAttributeRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteAccessLogsDownloadAttributeRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteAccessLogsDownloadAttributeRequest::getLoadBalancerId()const
{
return loadBalancerId_;
}
void DeleteAccessLogsDownloadAttributeRequest::setLoadBalancerId(const std::string& loadBalancerId)
{
loadBalancerId_ = loadBalancerId;
setParameter("LoadBalancerId", loadBalancerId);
}
std::string DeleteAccessLogsDownloadAttributeRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DeleteAccessLogsDownloadAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DeleteAccessLogsDownloadAttributeRequest::getRegionId()const
{
return regionId_;
}
void DeleteAccessLogsDownloadAttributeRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteAccessLogsDownloadAttributeRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DeleteAccessLogsDownloadAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long DeleteAccessLogsDownloadAttributeRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteAccessLogsDownloadAttributeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteAccessLogsDownloadAttributeRequest::getTags()const
{
return tags_;
}
void DeleteAccessLogsDownloadAttributeRequest::setTags(const std::string& tags)
{
tags_ = tags;
setParameter("Tags", tags);
}
std::string DeleteAccessLogsDownloadAttributeRequest::getLogsDownloadAttributes()const
{
return logsDownloadAttributes_;
}
void DeleteAccessLogsDownloadAttributeRequest::setLogsDownloadAttributes(const std::string& logsDownloadAttributes)
{
logsDownloadAttributes_ = logsDownloadAttributes;
setParameter("LogsDownloadAttributes", logsDownloadAttributes);
}

View File

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

View File

@@ -1,148 +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/slb/model/DescribeAccessLogsDownloadAttributeRequest.h>
using AlibabaCloud::Slb::Model::DescribeAccessLogsDownloadAttributeRequest;
DescribeAccessLogsDownloadAttributeRequest::DescribeAccessLogsDownloadAttributeRequest() :
RpcServiceRequest("slb", "2014-05-15", "DescribeAccessLogsDownloadAttribute")
{}
DescribeAccessLogsDownloadAttributeRequest::~DescribeAccessLogsDownloadAttributeRequest()
{}
std::string DescribeAccessLogsDownloadAttributeRequest::getAccess_key_id()const
{
return access_key_id_;
}
void DescribeAccessLogsDownloadAttributeRequest::setAccess_key_id(const std::string& access_key_id)
{
access_key_id_ = access_key_id;
setParameter("Access_key_id", access_key_id);
}
long DescribeAccessLogsDownloadAttributeRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeAccessLogsDownloadAttributeRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeAccessLogsDownloadAttributeRequest::getLogType()const
{
return logType_;
}
void DescribeAccessLogsDownloadAttributeRequest::setLogType(const std::string& logType)
{
logType_ = logType;
setParameter("LogType", logType);
}
std::string DescribeAccessLogsDownloadAttributeRequest::getLoadBalancerId()const
{
return loadBalancerId_;
}
void DescribeAccessLogsDownloadAttributeRequest::setLoadBalancerId(const std::string& loadBalancerId)
{
loadBalancerId_ = loadBalancerId;
setParameter("LoadBalancerId", loadBalancerId);
}
std::string DescribeAccessLogsDownloadAttributeRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void DescribeAccessLogsDownloadAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string DescribeAccessLogsDownloadAttributeRequest::getRegionId()const
{
return regionId_;
}
void DescribeAccessLogsDownloadAttributeRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeAccessLogsDownloadAttributeRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void DescribeAccessLogsDownloadAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
int DescribeAccessLogsDownloadAttributeRequest::getPageSize()const
{
return pageSize_;
}
void DescribeAccessLogsDownloadAttributeRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
long DescribeAccessLogsDownloadAttributeRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeAccessLogsDownloadAttributeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
int DescribeAccessLogsDownloadAttributeRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeAccessLogsDownloadAttributeRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeAccessLogsDownloadAttributeRequest::getTags()const
{
return tags_;
}
void DescribeAccessLogsDownloadAttributeRequest::setTags(const std::string& tags)
{
tags_ = tags;
setParameter("Tags", tags);
}

View File

@@ -1,96 +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/slb/model/DescribeAccessLogsDownloadAttributeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Slb;
using namespace AlibabaCloud::Slb::Model;
DescribeAccessLogsDownloadAttributeResult::DescribeAccessLogsDownloadAttributeResult() :
ServiceResult()
{}
DescribeAccessLogsDownloadAttributeResult::DescribeAccessLogsDownloadAttributeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAccessLogsDownloadAttributeResult::~DescribeAccessLogsDownloadAttributeResult()
{}
void DescribeAccessLogsDownloadAttributeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allLogsDownloadAttributes = value["LogsDownloadAttributes"]["LogsDownloadAttribute"];
for (auto value : allLogsDownloadAttributes)
{
LogsDownloadAttribute logsDownloadAttributesObject;
if(!value["LogProject"].isNull())
logsDownloadAttributesObject.logProject = value["LogProject"].asString();
if(!value["LogStore"].isNull())
logsDownloadAttributesObject.logStore = value["LogStore"].asString();
if(!value["LoadBalancerId"].isNull())
logsDownloadAttributesObject.loadBalancerId = value["LoadBalancerId"].asString();
if(!value["LogType"].isNull())
logsDownloadAttributesObject.logType = value["LogType"].asString();
if(!value["RoleArn"].isNull())
logsDownloadAttributesObject.roleArn = value["RoleArn"].asString();
if(!value["Region"].isNull())
logsDownloadAttributesObject.region = value["Region"].asString();
logsDownloadAttributes_.push_back(logsDownloadAttributesObject);
}
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["Count"].isNull())
count_ = std::stoi(value["Count"].asString());
}
int DescribeAccessLogsDownloadAttributeResult::getTotalCount()const
{
return totalCount_;
}
int DescribeAccessLogsDownloadAttributeResult::getPageSize()const
{
return pageSize_;
}
int DescribeAccessLogsDownloadAttributeResult::getPageNumber()const
{
return pageNumber_;
}
int DescribeAccessLogsDownloadAttributeResult::getCount()const
{
return count_;
}
std::vector<DescribeAccessLogsDownloadAttributeResult::LogsDownloadAttribute> DescribeAccessLogsDownloadAttributeResult::getLogsDownloadAttributes()const
{
return logsDownloadAttributes_;
}

View File

@@ -1,126 +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/slb/model/SetAccessLogsDownloadAttributeRequest.h>
using AlibabaCloud::Slb::Model::SetAccessLogsDownloadAttributeRequest;
SetAccessLogsDownloadAttributeRequest::SetAccessLogsDownloadAttributeRequest() :
RpcServiceRequest("slb", "2014-05-15", "SetAccessLogsDownloadAttribute")
{}
SetAccessLogsDownloadAttributeRequest::~SetAccessLogsDownloadAttributeRequest()
{}
std::string SetAccessLogsDownloadAttributeRequest::getAccess_key_id()const
{
return access_key_id_;
}
void SetAccessLogsDownloadAttributeRequest::setAccess_key_id(const std::string& access_key_id)
{
access_key_id_ = access_key_id;
setParameter("Access_key_id", access_key_id);
}
long SetAccessLogsDownloadAttributeRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void SetAccessLogsDownloadAttributeRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string SetAccessLogsDownloadAttributeRequest::getLoadBalancerId()const
{
return loadBalancerId_;
}
void SetAccessLogsDownloadAttributeRequest::setLoadBalancerId(const std::string& loadBalancerId)
{
loadBalancerId_ = loadBalancerId;
setParameter("LoadBalancerId", loadBalancerId);
}
std::string SetAccessLogsDownloadAttributeRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void SetAccessLogsDownloadAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string SetAccessLogsDownloadAttributeRequest::getRegionId()const
{
return regionId_;
}
void SetAccessLogsDownloadAttributeRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string SetAccessLogsDownloadAttributeRequest::getOwnerAccount()const
{
return ownerAccount_;
}
void SetAccessLogsDownloadAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
}
long SetAccessLogsDownloadAttributeRequest::getOwnerId()const
{
return ownerId_;
}
void SetAccessLogsDownloadAttributeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string SetAccessLogsDownloadAttributeRequest::getTags()const
{
return tags_;
}
void SetAccessLogsDownloadAttributeRequest::setTags(const std::string& tags)
{
tags_ = tags;
setParameter("Tags", tags);
}
std::string SetAccessLogsDownloadAttributeRequest::getLogsDownloadAttributes()const
{
return logsDownloadAttributes_;
}
void SetAccessLogsDownloadAttributeRequest::setLogsDownloadAttributes(const std::string& logsDownloadAttributes)
{
logsDownloadAttributes_ = logsDownloadAttributes;
setParameter("LogsDownloadAttributes", logsDownloadAttributes);
}

View File

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