7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
20namespace NetworkFirewall {
41 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
51 template <
typename SubnetIdT = Aws::String>
53 m_subnetIdHasBeenSet =
true;
54 m_subnetId = std::forward<SubnetIdT>(value);
56 template <
typename SubnetIdT = Aws::String>
71 template <
typename AllocationIdsT = Aws::Vector<Aws::String>>
73 m_allocationIdsHasBeenSet =
true;
74 m_allocationIds = std::forward<AllocationIdsT>(value);
76 template <
typename AllocationIdsT = Aws::Vector<Aws::String>>
81 template <
typename AllocationIdsT = Aws::String>
83 m_allocationIdsHasBeenSet =
true;
84 m_allocationIds.emplace_back(std::forward<AllocationIdsT>(value));
100 template <
typename PrivateIpsT = Aws::Vector<Aws::String>>
102 m_privateIpsHasBeenSet =
true;
103 m_privateIps = std::forward<PrivateIpsT>(value);
105 template <
typename PrivateIpsT = Aws::Vector<Aws::String>>
110 template <
typename PrivateIpsT = Aws::String>
112 m_privateIpsHasBeenSet =
true;
113 m_privateIps.emplace_back(std::forward<PrivateIpsT>(value));
123 bool m_subnetIdHasBeenSet =
false;
124 bool m_allocationIdsHasBeenSet =
false;
125 bool m_privateIpsHasBeenSet =
false;
void SetAllocationIds(AllocationIdsT &&value)
bool SubnetIdHasBeenSet() const
const Aws::String & GetSubnetId() const
NatGatewayCreateMapping & AddPrivateIps(PrivateIpsT &&value)
bool PrivateIpsHasBeenSet() const
bool AllocationIdsHasBeenSet() const
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_NETWORKFIREWALL_API NatGatewayCreateMapping()=default
const Aws::Vector< Aws::String > & GetPrivateIps() const
NatGatewayCreateMapping & WithPrivateIps(PrivateIpsT &&value)
NatGatewayCreateMapping & WithSubnetId(SubnetIdT &&value)
void SetPrivateIps(PrivateIpsT &&value)
AWS_NETWORKFIREWALL_API NatGatewayCreateMapping(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
NatGatewayCreateMapping & AddAllocationIds(AllocationIdsT &&value)
NatGatewayCreateMapping & WithAllocationIds(AllocationIdsT &&value)
const Aws::Vector< Aws::String > & GetAllocationIds() const
void SetSubnetId(SubnetIdT &&value)
AWS_NETWORKFIREWALL_API NatGatewayCreateMapping & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector