7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
11#include <aws/network-firewall/model/LogDestinationType.h>
12#include <aws/network-firewall/model/LogType.h>
22namespace NetworkFirewall {
39 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
60 m_logTypeHasBeenSet =
true;
77 m_logDestinationTypeHasBeenSet =
true;
78 m_logDestinationType = value;
106 template <
typename LogDestinationT = Aws::Map<Aws::String, Aws::String>>
108 m_logDestinationHasBeenSet =
true;
109 m_logDestination = std::forward<LogDestinationT>(value);
111 template <
typename LogDestinationT = Aws::Map<Aws::String, Aws::String>>
116 template <
typename LogDestinationKeyT = Aws::String,
typename LogDestinationValueT = Aws::String>
118 m_logDestinationHasBeenSet =
true;
119 m_logDestination.emplace(std::forward<LogDestinationKeyT>(key), std::forward<LogDestinationValueT>(value));
129 bool m_logTypeHasBeenSet =
false;
130 bool m_logDestinationTypeHasBeenSet =
false;
131 bool m_logDestinationHasBeenSet =
false;
bool LogDestinationTypeHasBeenSet() const
void SetLogDestination(LogDestinationT &&value)
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool LogDestinationHasBeenSet() const
LogDestinationConfig & WithLogDestinationType(LogDestinationType value)
LogDestinationConfig & AddLogDestination(LogDestinationKeyT &&key, LogDestinationValueT &&value)
LogDestinationConfig & WithLogDestination(LogDestinationT &&value)
LogType GetLogType() const
AWS_NETWORKFIREWALL_API LogDestinationConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_NETWORKFIREWALL_API LogDestinationConfig()=default
AWS_NETWORKFIREWALL_API LogDestinationConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
LogDestinationType GetLogDestinationType() const
bool LogTypeHasBeenSet() const
LogDestinationConfig & WithLogType(LogType value)
const Aws::Map< Aws::String, Aws::String > & GetLogDestination() const
void SetLogType(LogType value)
void SetLogDestinationType(LogDestinationType value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map