7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/AttributeName.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace ComprehendMedical {
30 AWS_COMPREHENDMEDICAL_API
Trait() =
default;
31 AWS_COMPREHENDMEDICAL_API
Trait(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_COMPREHENDMEDICAL_API
Trait&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_COMPREHENDMEDICAL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 m_nameHasBeenSet =
true;
56 inline double GetScore()
const {
return m_score; }
59 m_scoreHasBeenSet =
true;
71 bool m_nameHasBeenSet =
false;
72 bool m_scoreHasBeenSet =
false;
AWS_COMPREHENDMEDICAL_API Trait(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Trait & WithName(AttributeName value)
AWS_COMPREHENDMEDICAL_API Trait()=default
bool ScoreHasBeenSet() const
AttributeName GetName() const
void SetName(AttributeName value)
AWS_COMPREHENDMEDICAL_API Trait & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPREHENDMEDICAL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetScore(double value)
bool NameHasBeenSet() const
Trait & WithScore(double value)