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/AttachmentStatus.h>
20namespace NetworkFirewall {
41 AWS_NETWORKFIREWALL_API
Attachment(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
42 AWS_NETWORKFIREWALL_API
Attachment&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
43 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
52 template <
typename SubnetIdT = Aws::String>
54 m_subnetIdHasBeenSet =
true;
55 m_subnetId = std::forward<SubnetIdT>(value);
57 template <
typename SubnetIdT = Aws::String>
73 template <
typename Endpo
intIdT = Aws::String>
75 m_endpointIdHasBeenSet =
true;
76 m_endpointId = std::forward<EndpointIdT>(value);
78 template <
typename Endpo
intIdT = Aws::String>
98 m_statusHasBeenSet =
true;
122 template <
typename StatusMessageT = Aws::String>
124 m_statusMessageHasBeenSet =
true;
125 m_statusMessage = std::forward<StatusMessageT>(value);
127 template <
typename StatusMessageT = Aws::String>
148 template <
typename DnsNameT = Aws::String>
150 m_dnsNameHasBeenSet =
true;
151 m_dnsName = std::forward<DnsNameT>(value);
153 template <
typename DnsNameT = Aws::String>
169 bool m_subnetIdHasBeenSet =
false;
170 bool m_endpointIdHasBeenSet =
false;
171 bool m_statusHasBeenSet =
false;
172 bool m_statusMessageHasBeenSet =
false;
173 bool m_dnsNameHasBeenSet =
false;
void SetStatusMessage(StatusMessageT &&value)
Attachment & WithDnsName(DnsNameT &&value)
Attachment & WithStatus(AttachmentStatus value)
bool EndpointIdHasBeenSet() const
Attachment & WithSubnetId(SubnetIdT &&value)
AWS_NETWORKFIREWALL_API Attachment(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool SubnetIdHasBeenSet() const
Attachment & WithEndpointId(EndpointIdT &&value)
const Aws::String & GetStatusMessage() const
void SetStatus(AttachmentStatus value)
const Aws::String & GetSubnetId() const
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool StatusMessageHasBeenSet() const
const Aws::String & GetEndpointId() const
void SetEndpointId(EndpointIdT &&value)
AWS_NETWORKFIREWALL_API Attachment()=default
void SetDnsName(DnsNameT &&value)
AttachmentStatus GetStatus() const
Attachment & WithStatusMessage(StatusMessageT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetDnsName() const
void SetSubnetId(SubnetIdT &&value)
AWS_NETWORKFIREWALL_API Attachment & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool DnsNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String