7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/PortRange.h>
49 template<
typename AddressT = Aws::Vector<Aws::String>>
50 void SetAddress(AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
51 template<
typename AddressT = Aws::Vector<Aws::String>>
53 template<
typename AddressT = Aws::String>
63 template<
typename PortRangesT = Aws::Vector<PortRange>>
64 void SetPortRanges(PortRangesT&& value) { m_portRangesHasBeenSet =
true; m_portRanges = std::forward<PortRangesT>(value); }
65 template<
typename PortRangesT = Aws::Vector<PortRange>>
67 template<
typename PortRangesT = PortRange>
73 bool m_addressHasBeenSet =
false;
76 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