7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
19namespace NetworkFirewall {
33 AWS_NETWORKFIREWALL_API
ContainerAttribute(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 template <
typename KeyT = Aws::String>
50 m_keyHasBeenSet =
true;
51 m_key = std::forward<KeyT>(value);
53 template <
typename KeyT = Aws::String>
55 SetKey(std::forward<KeyT>(value));
92 template <
typename ValueT = Aws::String>
94 m_valueHasBeenSet =
true;
95 m_value = std::forward<ValueT>(value);
97 template <
typename ValueT = Aws::String>
99 SetValue(std::forward<ValueT>(value));
107 bool m_keyHasBeenSet =
false;
108 bool m_valueHasBeenSet =
false;
AWS_NETWORKFIREWALL_API ContainerAttribute & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool KeyHasBeenSet() const
void SetValue(ValueT &&value)
void SetKey(KeyT &&value)
AWS_NETWORKFIREWALL_API ContainerAttribute()=default
const Aws::String & GetValue() const
ContainerAttribute & WithValue(ValueT &&value)
const Aws::String & GetKey() const
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ContainerAttribute & WithKey(KeyT &&value)
bool ValueHasBeenSet() const
AWS_NETWORKFIREWALL_API ContainerAttribute(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String