Support Darabonba API.
This commit is contained in:
@@ -1,194 +1,162 @@
|
||||
/*
|
||||
* 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/cbn/model/DescribeFlowlogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DescribeFlowlogsRequest;
|
||||
|
||||
DescribeFlowlogsRequest::DescribeFlowlogsRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DescribeFlowlogs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeFlowlogsRequest::~DescribeFlowlogsRequest()
|
||||
{}
|
||||
|
||||
long DescribeFlowlogsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DescribeFlowlogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DescribeFlowlogsRequest;
|
||||
|
||||
DescribeFlowlogsRequest::DescribeFlowlogsRequest()
|
||||
: RpcServiceRequest("cbn", "2017-09-12", "DescribeFlowlogs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
DescribeFlowlogsRequest::~DescribeFlowlogsRequest() {}
|
||||
|
||||
long DescribeFlowlogsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void DescribeFlowlogsRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
std::string DescribeFlowlogsRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
void DescribeFlowlogsRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
std::string DescribeFlowlogsRequest::getCenId() const {
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
void DescribeFlowlogsRequest::setCenId(const std::string &cenId) {
|
||||
cenId_ = cenId;
|
||||
setParameter(std::string("CenId"), cenId);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
std::string DescribeFlowlogsRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
int DescribeFlowlogsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
void DescribeFlowlogsRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
int DescribeFlowlogsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DescribeFlowlogsRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DescribeFlowlogsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
int DescribeFlowlogsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeFlowlogsRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeFlowlogsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
void DescribeFlowlogsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setProjectName(const std::string& projectName)
|
||||
{
|
||||
projectName_ = projectName;
|
||||
setParameter("ProjectName", projectName);
|
||||
std::string DescribeFlowlogsRequest::getProjectName() const {
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getLogStoreName()const
|
||||
{
|
||||
return logStoreName_;
|
||||
void DescribeFlowlogsRequest::setProjectName(const std::string &projectName) {
|
||||
projectName_ = projectName;
|
||||
setParameter(std::string("ProjectName"), projectName);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setLogStoreName(const std::string& logStoreName)
|
||||
{
|
||||
logStoreName_ = logStoreName;
|
||||
setParameter("LogStoreName", logStoreName);
|
||||
std::string DescribeFlowlogsRequest::getLogStoreName() const {
|
||||
return logStoreName_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeFlowlogsRequest::setLogStoreName(const std::string &logStoreName) {
|
||||
logStoreName_ = logStoreName;
|
||||
setParameter(std::string("LogStoreName"), logStoreName);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string DescribeFlowlogsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void DescribeFlowlogsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string DescribeFlowlogsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long DescribeFlowlogsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeFlowlogsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeFlowlogsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getFlowLogId()const
|
||||
{
|
||||
return flowLogId_;
|
||||
void DescribeFlowlogsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setFlowLogId(const std::string& flowLogId)
|
||||
{
|
||||
flowLogId_ = flowLogId;
|
||||
setParameter("FlowLogId", flowLogId);
|
||||
std::string DescribeFlowlogsRequest::getFlowLogId() const {
|
||||
return flowLogId_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getFlowLogName()const
|
||||
{
|
||||
return flowLogName_;
|
||||
void DescribeFlowlogsRequest::setFlowLogId(const std::string &flowLogId) {
|
||||
flowLogId_ = flowLogId;
|
||||
setParameter(std::string("FlowLogId"), flowLogId);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setFlowLogName(const std::string& flowLogName)
|
||||
{
|
||||
flowLogName_ = flowLogName;
|
||||
setParameter("FlowLogName", flowLogName);
|
||||
std::string DescribeFlowlogsRequest::getFlowLogName() const {
|
||||
return flowLogName_;
|
||||
}
|
||||
|
||||
std::string DescribeFlowlogsRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
void DescribeFlowlogsRequest::setFlowLogName(const std::string &flowLogName) {
|
||||
flowLogName_ = flowLogName;
|
||||
setParameter(std::string("FlowLogName"), flowLogName);
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
std::string DescribeFlowlogsRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeFlowlogsRequest::setStatus(const std::string &status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), status);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user