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>
46 template<
typename PortInfosT = Aws::Vector<PortInfo>>
47 void SetPortInfos(PortInfosT&& value) { m_portInfosHasBeenSet =
true; m_portInfos = std::forward<PortInfosT>(value); }
48 template<
typename PortInfosT = Aws::Vector<PortInfo>>
50 template<
typename PortInfosT = PortInfo>
60 template<
typename InstanceNameT = Aws::String>
61 void SetInstanceName(InstanceNameT&& value) { m_instanceNameHasBeenSet =
true; m_instanceName = std::forward<InstanceNameT>(value); }
62 template<
typename InstanceNameT = Aws::String>
68 bool m_portInfosHasBeenSet =
false;
71 bool m_instanceNameHasBeenSet =
false;
PutInstancePublicPortsRequest & WithPortInfos(PortInfosT &&value)
const Aws::String & GetInstanceName() const
PutInstancePublicPortsRequest & WithInstanceName(InstanceNameT &&value)
bool InstanceNameHasBeenSet() const
bool PortInfosHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetInstanceName(InstanceNameT &&value)
PutInstancePublicPortsRequest & AddPortInfos(PortInfosT &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LIGHTSAIL_API PutInstancePublicPortsRequest()=default
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetPortInfos(PortInfosT &&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