Files
aliyun-openapi-cpp-sdk/privatelink/src/model/ListVpcEndpointServicesRequest.cc
2021-04-16 12:02:38 +00:00

129 lines
3.5 KiB
C++

/*
* 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/privatelink/model/ListVpcEndpointServicesRequest.h>
using AlibabaCloud::Privatelink::Model::ListVpcEndpointServicesRequest;
ListVpcEndpointServicesRequest::ListVpcEndpointServicesRequest() :
RpcServiceRequest("privatelink", "2020-04-15", "ListVpcEndpointServices")
{
setMethod(HttpRequest::Method::Post);
}
ListVpcEndpointServicesRequest::~ListVpcEndpointServicesRequest()
{}
std::string ListVpcEndpointServicesRequest::getServiceBusinessStatus()const
{
return serviceBusinessStatus_;
}
void ListVpcEndpointServicesRequest::setServiceBusinessStatus(const std::string& serviceBusinessStatus)
{
serviceBusinessStatus_ = serviceBusinessStatus;
setParameter("ServiceBusinessStatus", serviceBusinessStatus);
}
bool ListVpcEndpointServicesRequest::getAutoAcceptEnabled()const
{
return autoAcceptEnabled_;
}
void ListVpcEndpointServicesRequest::setAutoAcceptEnabled(bool autoAcceptEnabled)
{
autoAcceptEnabled_ = autoAcceptEnabled;
setParameter("AutoAcceptEnabled", autoAcceptEnabled ? "true" : "false");
}
std::string ListVpcEndpointServicesRequest::getServiceStatus()const
{
return serviceStatus_;
}
void ListVpcEndpointServicesRequest::setServiceStatus(const std::string& serviceStatus)
{
serviceStatus_ = serviceStatus;
setParameter("ServiceStatus", serviceStatus);
}
std::string ListVpcEndpointServicesRequest::getRegionId()const
{
return regionId_;
}
void ListVpcEndpointServicesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ListVpcEndpointServicesRequest::getNextToken()const
{
return nextToken_;
}
void ListVpcEndpointServicesRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
bool ListVpcEndpointServicesRequest::getZoneAffinityEnabled()const
{
return zoneAffinityEnabled_;
}
void ListVpcEndpointServicesRequest::setZoneAffinityEnabled(bool zoneAffinityEnabled)
{
zoneAffinityEnabled_ = zoneAffinityEnabled;
setParameter("ZoneAffinityEnabled", zoneAffinityEnabled ? "true" : "false");
}
std::string ListVpcEndpointServicesRequest::getServiceName()const
{
return serviceName_;
}
void ListVpcEndpointServicesRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setParameter("ServiceName", serviceName);
}
int ListVpcEndpointServicesRequest::getMaxResults()const
{
return maxResults_;
}
void ListVpcEndpointServicesRequest::setMaxResults(int maxResults)
{
maxResults_ = maxResults;
setParameter("MaxResults", std::to_string(maxResults));
}
std::string ListVpcEndpointServicesRequest::getServiceId()const
{
return serviceId_;
}
void ListVpcEndpointServicesRequest::setServiceId(const std::string& serviceId)
{
serviceId_ = serviceId;
setParameter("ServiceId", serviceId);
}