7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/lightsail/model/PortInfo.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
44 template<
typename PortInfoT = PortInfo>
45 void SetPortInfo(PortInfoT&& value) { m_portInfoHasBeenSet =
true; m_portInfo = std::forward<PortInfoT>(value); }
46 template<
typename PortInfoT = PortInfo>
56 template<
typename InstanceNameT = Aws::String>
57 void SetInstanceName(InstanceNameT&& value) { m_instanceNameHasBeenSet =
true; m_instanceName = std::forward<InstanceNameT>(value); }
58 template<
typename InstanceNameT = Aws::String>
64 bool m_portInfoHasBeenSet =
false;
67 bool m_instanceNameHasBeenSet =
false;
const Aws::String & GetInstanceName() const
CloseInstancePublicPortsRequest & WithInstanceName(InstanceNameT &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const PortInfo & GetPortInfo() const
void SetPortInfo(PortInfoT &&value)
virtual const char * GetServiceRequestName() const override
bool PortInfoHasBeenSet() const
AWS_LIGHTSAIL_API CloseInstancePublicPortsRequest()=default
CloseInstancePublicPortsRequest & WithPortInfo(PortInfoT &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetInstanceName(InstanceNameT &&value)
bool InstanceNameHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String