7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/lightsail/model/PortInfo.h>
62 inline void SetInstanceName(
const char* value) { m_instanceNameHasBeenSet =
true; m_instanceName.assign(value); }
70 bool m_portInfosHasBeenSet =
false;
73 bool m_instanceNameHasBeenSet =
false;
PutInstancePublicPortsRequest & WithPortInfos(const Aws::Vector< PortInfo > &value)
PutInstancePublicPortsRequest & WithPortInfos(Aws::Vector< PortInfo > &&value)
void SetPortInfos(const Aws::Vector< PortInfo > &value)
PutInstancePublicPortsRequest & AddPortInfos(const PortInfo &value)
PutInstancePublicPortsRequest & WithInstanceName(const char *value)
PutInstancePublicPortsRequest & WithInstanceName(Aws::String &&value)
const Aws::String & GetInstanceName() const
PutInstancePublicPortsRequest & AddPortInfos(PortInfo &&value)
bool InstanceNameHasBeenSet() const
bool PortInfosHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetInstanceName(const char *value)
AWS_LIGHTSAIL_API PutInstancePublicPortsRequest()
void SetInstanceName(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutInstancePublicPortsRequest & WithInstanceName(const Aws::String &value)
void SetPortInfos(Aws::Vector< PortInfo > &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetInstanceName(const Aws::String &value)
const Aws::Vector< PortInfo > & GetPortInfos() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector