| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- /*
- * 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/smartag/model/ModifyFlowLogAttributeRequest.h>
- using AlibabaCloud::Smartag::Model::ModifyFlowLogAttributeRequest;
- ModifyFlowLogAttributeRequest::ModifyFlowLogAttributeRequest() :
- RpcServiceRequest("smartag", "2018-03-13", "ModifyFlowLogAttribute")
- {
- setMethod(HttpRequest::Method::Post);
- }
- ModifyFlowLogAttributeRequest::~ModifyFlowLogAttributeRequest()
- {}
- long ModifyFlowLogAttributeRequest::getResourceOwnerId()const
- {
- return resourceOwnerId_;
- }
- void ModifyFlowLogAttributeRequest::setResourceOwnerId(long resourceOwnerId)
- {
- resourceOwnerId_ = resourceOwnerId;
- setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
- }
- std::string ModifyFlowLogAttributeRequest::getNetflowVersion()const
- {
- return netflowVersion_;
- }
- void ModifyFlowLogAttributeRequest::setNetflowVersion(const std::string& netflowVersion)
- {
- netflowVersion_ = netflowVersion;
- setParameter("NetflowVersion", netflowVersion);
- }
- std::string ModifyFlowLogAttributeRequest::getDescription()const
- {
- return description_;
- }
- void ModifyFlowLogAttributeRequest::setDescription(const std::string& description)
- {
- description_ = description;
- setParameter("Description", description);
- }
- int ModifyFlowLogAttributeRequest::getInactiveAging()const
- {
- return inactiveAging_;
- }
- void ModifyFlowLogAttributeRequest::setInactiveAging(int inactiveAging)
- {
- inactiveAging_ = inactiveAging;
- setParameter("InactiveAging", std::to_string(inactiveAging));
- }
- std::string ModifyFlowLogAttributeRequest::getRegionId()const
- {
- return regionId_;
- }
- void ModifyFlowLogAttributeRequest::setRegionId(const std::string& regionId)
- {
- regionId_ = regionId;
- setParameter("RegionId", regionId);
- }
- std::string ModifyFlowLogAttributeRequest::getSlsRegionId()const
- {
- return slsRegionId_;
- }
- void ModifyFlowLogAttributeRequest::setSlsRegionId(const std::string& slsRegionId)
- {
- slsRegionId_ = slsRegionId;
- setParameter("SlsRegionId", slsRegionId);
- }
- int ModifyFlowLogAttributeRequest::getActiveAging()const
- {
- return activeAging_;
- }
- void ModifyFlowLogAttributeRequest::setActiveAging(int activeAging)
- {
- activeAging_ = activeAging;
- setParameter("ActiveAging", std::to_string(activeAging));
- }
- std::string ModifyFlowLogAttributeRequest::getOutputType()const
- {
- return outputType_;
- }
- void ModifyFlowLogAttributeRequest::setOutputType(const std::string& outputType)
- {
- outputType_ = outputType;
- setParameter("OutputType", outputType);
- }
- std::string ModifyFlowLogAttributeRequest::getProjectName()const
- {
- return projectName_;
- }
- void ModifyFlowLogAttributeRequest::setProjectName(const std::string& projectName)
- {
- projectName_ = projectName;
- setParameter("ProjectName", projectName);
- }
- std::string ModifyFlowLogAttributeRequest::getLogstoreName()const
- {
- return logstoreName_;
- }
- void ModifyFlowLogAttributeRequest::setLogstoreName(const std::string& logstoreName)
- {
- logstoreName_ = logstoreName;
- setParameter("LogstoreName", logstoreName);
- }
- std::string ModifyFlowLogAttributeRequest::getResourceOwnerAccount()const
- {
- return resourceOwnerAccount_;
- }
- void ModifyFlowLogAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
- {
- resourceOwnerAccount_ = resourceOwnerAccount;
- setParameter("ResourceOwnerAccount", resourceOwnerAccount);
- }
- std::string ModifyFlowLogAttributeRequest::getOwnerAccount()const
- {
- return ownerAccount_;
- }
- void ModifyFlowLogAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
- {
- ownerAccount_ = ownerAccount;
- setParameter("OwnerAccount", ownerAccount);
- }
- int ModifyFlowLogAttributeRequest::getNetflowServerPort()const
- {
- return netflowServerPort_;
- }
- void ModifyFlowLogAttributeRequest::setNetflowServerPort(int netflowServerPort)
- {
- netflowServerPort_ = netflowServerPort;
- setParameter("NetflowServerPort", std::to_string(netflowServerPort));
- }
- long ModifyFlowLogAttributeRequest::getOwnerId()const
- {
- return ownerId_;
- }
- void ModifyFlowLogAttributeRequest::setOwnerId(long ownerId)
- {
- ownerId_ = ownerId;
- setParameter("OwnerId", std::to_string(ownerId));
- }
- std::string ModifyFlowLogAttributeRequest::getNetflowServerIp()const
- {
- return netflowServerIp_;
- }
- void ModifyFlowLogAttributeRequest::setNetflowServerIp(const std::string& netflowServerIp)
- {
- netflowServerIp_ = netflowServerIp;
- setParameter("NetflowServerIp", netflowServerIp);
- }
- std::string ModifyFlowLogAttributeRequest::getName()const
- {
- return name_;
- }
- void ModifyFlowLogAttributeRequest::setName(const std::string& name)
- {
- name_ = name;
- setParameter("Name", name);
- }
- std::string ModifyFlowLogAttributeRequest::getFlowLogId()const
- {
- return flowLogId_;
- }
- void ModifyFlowLogAttributeRequest::setFlowLogId(const std::string& flowLogId)
- {
- flowLogId_ = flowLogId;
- setParameter("FlowLogId", flowLogId);
- }
|