7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/Attribute.h>
9#include <aws/comprehendmedical/model/EntityType.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace ComprehendMedical {
32 AWS_COMPREHENDMEDICAL_API
UnmappedAttribute(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_COMPREHENDMEDICAL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 m_typeHasBeenSet =
true;
61 template <
typename AttributeT = Attribute>
63 m_attributeHasBeenSet =
true;
64 m_attribute = std::forward<AttributeT>(value);
66 template <
typename AttributeT = Attribute>
75 Attribute m_attribute;
76 bool m_typeHasBeenSet =
false;
77 bool m_attributeHasBeenSet =
false;
UnmappedAttribute & WithType(EntityType value)
bool TypeHasBeenSet() const
UnmappedAttribute & WithAttribute(AttributeT &&value)
EntityType GetType() const
void SetType(EntityType value)
AWS_COMPREHENDMEDICAL_API UnmappedAttribute(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPREHENDMEDICAL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool AttributeHasBeenSet() const
const Attribute & GetAttribute() const
AWS_COMPREHENDMEDICAL_API UnmappedAttribute()=default
AWS_COMPREHENDMEDICAL_API UnmappedAttribute & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetAttribute(AttributeT &&value)