7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
10#include <aws/network-firewall/model/IPAddressType.h>
20namespace NetworkFirewall {
35 AWS_NETWORKFIREWALL_API
SubnetMapping(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename SubnetIdT = Aws::String>
47 m_subnetIdHasBeenSet =
true;
48 m_subnetId = std::forward<SubnetIdT>(value);
50 template <
typename SubnetIdT = Aws::String>
65 m_iPAddressTypeHasBeenSet =
true;
66 m_iPAddressType = value;
77 bool m_subnetIdHasBeenSet =
false;
78 bool m_iPAddressTypeHasBeenSet =
false;
bool IPAddressTypeHasBeenSet() const
AWS_NETWORKFIREWALL_API SubnetMapping(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetSubnetId() const
IPAddressType GetIPAddressType() const
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool SubnetIdHasBeenSet() const
SubnetMapping & WithSubnetId(SubnetIdT &&value)
SubnetMapping & WithIPAddressType(IPAddressType value)
void SetIPAddressType(IPAddressType value)
AWS_NETWORKFIREWALL_API SubnetMapping()=default
void SetSubnetId(SubnetIdT &&value)
AWS_NETWORKFIREWALL_API SubnetMapping & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String