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/NatGatewayAttachmentStatus.h>
20namespace NetworkFirewall {
35 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename NatGatewayIdT = Aws::String>
45 m_natGatewayIdHasBeenSet =
true;
46 m_natGatewayId = std::forward<NatGatewayIdT>(value);
48 template <
typename NatGatewayIdT = Aws::String>
65 m_statusHasBeenSet =
true;
81 template <
typename StatusMessageT = Aws::String>
83 m_statusMessageHasBeenSet =
true;
84 m_statusMessage = std::forward<StatusMessageT>(value);
86 template <
typename StatusMessageT = Aws::String>
100 template <
typename DnsNameT = Aws::String>
102 m_dnsNameHasBeenSet =
true;
103 m_dnsName = std::forward<DnsNameT>(value);
105 template <
typename DnsNameT = Aws::String>
119 bool m_natGatewayIdHasBeenSet =
false;
120 bool m_statusHasBeenSet =
false;
121 bool m_statusMessageHasBeenSet =
false;
122 bool m_dnsNameHasBeenSet =
false;
void SetNatGatewayId(NatGatewayIdT &&value)
void SetDnsName(DnsNameT &&value)
bool StatusHasBeenSet() const
NatGatewayAttachment & WithDnsName(DnsNameT &&value)
bool NatGatewayIdHasBeenSet() const
void SetStatus(NatGatewayAttachmentStatus value)
AWS_NETWORKFIREWALL_API NatGatewayAttachment & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool StatusMessageHasBeenSet() const
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
NatGatewayAttachmentStatus GetStatus() const
const Aws::String & GetNatGatewayId() const
bool DnsNameHasBeenSet() const
void SetStatusMessage(StatusMessageT &&value)
NatGatewayAttachment & WithStatus(NatGatewayAttachmentStatus value)
AWS_NETWORKFIREWALL_API NatGatewayAttachment(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
NatGatewayAttachment & WithNatGatewayId(NatGatewayIdT &&value)
AWS_NETWORKFIREWALL_API NatGatewayAttachment()=default
const Aws::String & GetDnsName() const
const Aws::String & GetStatusMessage() const
NatGatewayAttachment & WithStatusMessage(StatusMessageT &&value)
NatGatewayAttachmentStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String