7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
12#include <aws/network-firewall/model/AddressTranslations.h>
13#include <aws/network-firewall/model/Attachment.h>
14#include <aws/network-firewall/model/NatGatewayAttachment.h>
15#include <aws/network-firewall/model/PerObjectStatus.h>
25namespace NetworkFirewall {
45 AWS_NETWORKFIREWALL_API
SyncState(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
46 AWS_NETWORKFIREWALL_API
SyncState&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
47 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
57 template <
typename AttachmentT = Attachment>
59 m_attachmentHasBeenSet =
true;
60 m_attachment = std::forward<AttachmentT>(value);
62 template <
typename AttachmentT = Attachment>
79 template <
typename ConfigT = Aws::Map<Aws::String, PerObjectStatus>>
81 m_configHasBeenSet =
true;
82 m_config = std::forward<ConfigT>(value);
84 template <
typename ConfigT = Aws::Map<Aws::String, PerObjectStatus>>
89 template <
typename ConfigKeyT = Aws::String,
typename ConfigValueT = PerObjectStatus>
91 m_configHasBeenSet =
true;
92 m_config.emplace(std::forward<ConfigKeyT>(key), std::forward<ConfigValueT>(value));
106 template <
typename AddressTranslationsT = AddressTranslations>
108 m_addressTranslationsHasBeenSet =
true;
109 m_addressTranslations = std::forward<AddressTranslationsT>(value);
111 template <
typename AddressTranslationsT = AddressTranslations>
128 template <
typename NatGatewayAttachmentsT = Aws::Vector<NatGatewayAttachment>>
130 m_natGatewayAttachmentsHasBeenSet =
true;
131 m_natGatewayAttachments = std::forward<NatGatewayAttachmentsT>(value);
133 template <
typename NatGatewayAttachmentsT = Aws::Vector<NatGatewayAttachment>>
138 template <
typename NatGatewayAttachmentsT = NatGatewayAttachment>
140 m_natGatewayAttachmentsHasBeenSet =
true;
141 m_natGatewayAttachments.emplace_back(std::forward<NatGatewayAttachmentsT>(value));
153 bool m_attachmentHasBeenSet =
false;
154 bool m_configHasBeenSet =
false;
155 bool m_addressTranslationsHasBeenSet =
false;
156 bool m_natGatewayAttachmentsHasBeenSet =
false;
bool ConfigHasBeenSet() const
void SetAddressTranslations(AddressTranslationsT &&value)
bool AttachmentHasBeenSet() const
const AddressTranslations & GetAddressTranslations() const
SyncState & WithAddressTranslations(AddressTranslationsT &&value)
AWS_NETWORKFIREWALL_API SyncState()=default
bool NatGatewayAttachmentsHasBeenSet() const
void SetAttachment(AttachmentT &&value)
SyncState & WithConfig(ConfigT &&value)
bool AddressTranslationsHasBeenSet() const
const Aws::Vector< NatGatewayAttachment > & GetNatGatewayAttachments() const
SyncState & AddConfig(ConfigKeyT &&key, ConfigValueT &&value)
AWS_NETWORKFIREWALL_API SyncState(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SyncState & WithNatGatewayAttachments(NatGatewayAttachmentsT &&value)
SyncState & WithAttachment(AttachmentT &&value)
AWS_NETWORKFIREWALL_API SyncState & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetNatGatewayAttachments(NatGatewayAttachmentsT &&value)
SyncState & AddNatGatewayAttachments(NatGatewayAttachmentsT &&value)
const Attachment & GetAttachment() const
const Aws::Map< Aws::String, PerObjectStatus > & GetConfig() const
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetConfig(ConfigT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector