7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/PortRange.h>
43 template <
typename AddressT = Aws::Vector<Aws::String>>
45 m_addressHasBeenSet =
true;
46 m_address = std::forward<AddressT>(value);
48 template <
typename AddressT = Aws::Vector<Aws::String>>
53 template <
typename AddressT = Aws::String>
55 m_addressHasBeenSet =
true;
56 m_address.emplace_back(std::forward<AddressT>(value));
67 template <
typename PortRangesT = Aws::Vector<PortRange>>
69 m_portRangesHasBeenSet =
true;
70 m_portRanges = std::forward<PortRangesT>(value);
72 template <
typename PortRangesT = Aws::Vector<PortRange>>
77 template <
typename PortRangesT = PortRange>
79 m_portRangesHasBeenSet =
true;
80 m_portRanges.emplace_back(std::forward<PortRangesT>(value));
88 bool m_addressHasBeenSet =
false;
89 bool m_portRangesHasBeenSet =
false;
bool PortRangesHasBeenSet() const
NetworkPathComponentDetails & WithPortRanges(PortRangesT &&value)
NetworkPathComponentDetails & AddPortRanges(PortRangesT &&value)
const Aws::Vector< PortRange > & GetPortRanges() const
AWS_SECURITYHUB_API NetworkPathComponentDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAddress(AddressT &&value)
void SetPortRanges(PortRangesT &&value)
const Aws::Vector< Aws::String > & GetAddress() const
NetworkPathComponentDetails & AddAddress(AddressT &&value)
AWS_SECURITYHUB_API NetworkPathComponentDetails()=default
AWS_SECURITYHUB_API NetworkPathComponentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkPathComponentDetails & WithAddress(AddressT &&value)
bool AddressHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue