7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9#include <aws/lightsail/model/InstancePortInfo.h>
10#include <aws/lightsail/model/MonthlyTransfer.h>
43 template <
typename MonthlyTransferT = MonthlyTransfer>
45 m_monthlyTransferHasBeenSet =
true;
46 m_monthlyTransfer = std::forward<MonthlyTransferT>(value);
48 template <
typename MonthlyTransferT = MonthlyTransfer>
62 template <
typename PortsT = Aws::Vector<InstancePortInfo>>
64 m_portsHasBeenSet =
true;
65 m_ports = std::forward<PortsT>(value);
67 template <
typename PortsT = Aws::Vector<InstancePortInfo>>
69 SetPorts(std::forward<PortsT>(value));
72 template <
typename PortsT = InstancePortInfo>
74 m_portsHasBeenSet =
true;
75 m_ports.emplace_back(std::forward<PortsT>(value));
83 bool m_monthlyTransferHasBeenSet =
false;
84 bool m_portsHasBeenSet =
false;
const MonthlyTransfer & GetMonthlyTransfer() const
void SetMonthlyTransfer(MonthlyTransferT &&value)
InstanceNetworking & WithPorts(PortsT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPorts(PortsT &&value)
AWS_LIGHTSAIL_API InstanceNetworking(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API InstanceNetworking()=default
const Aws::Vector< InstancePortInfo > & GetPorts() const
InstanceNetworking & WithMonthlyTransfer(MonthlyTransferT &&value)
AWS_LIGHTSAIL_API InstanceNetworking & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceNetworking & AddPorts(PortsT &&value)
bool MonthlyTransferHasBeenSet() const
bool PortsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue