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>
45 inline void SetPortInfo(
PortInfo&& value) { m_portInfoHasBeenSet =
true; m_portInfo = std::move(value); }
58 inline void SetInstanceName(
const char* value) { m_instanceNameHasBeenSet =
true; m_instanceName.assign(value); }
66 bool m_portInfoHasBeenSet =
false;
69 bool m_instanceNameHasBeenSet =
false;
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
AWS_LIGHTSAIL_API OpenInstancePublicPortsRequest()
OpenInstancePublicPortsRequest & WithPortInfo(const PortInfo &value)
void SetInstanceName(Aws::String &&value)
void SetInstanceName(const char *value)
OpenInstancePublicPortsRequest & WithPortInfo(PortInfo &&value)
OpenInstancePublicPortsRequest & WithInstanceName(const char *value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPortInfo(PortInfo &&value)
bool InstanceNameHasBeenSet() const
const PortInfo & GetPortInfo() const
OpenInstancePublicPortsRequest & WithInstanceName(Aws::String &&value)
void SetInstanceName(const Aws::String &value)
bool PortInfoHasBeenSet() const
void SetPortInfo(const PortInfo &value)
OpenInstancePublicPortsRequest & WithInstanceName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetInstanceName() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String