7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/PiiEntityType.h>
9#include <aws/crt/cbor/Cbor.h>
32 AWS_COMPREHEND_API
EntityLabel(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_COMPREHEND_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 m_nameHasBeenSet =
true;
57 inline double GetScore()
const {
return m_score; }
60 m_scoreHasBeenSet =
true;
72 bool m_nameHasBeenSet =
false;
73 bool m_scoreHasBeenSet =
false;
PiiEntityType GetName() const
void SetName(PiiEntityType value)
bool ScoreHasBeenSet() const
EntityLabel & WithName(PiiEntityType value)
EntityLabel & WithScore(double value)
bool NameHasBeenSet() const
AWS_COMPREHEND_API EntityLabel & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetScore(double value)
AWS_COMPREHEND_API EntityLabel()=default
AWS_COMPREHEND_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_COMPREHEND_API EntityLabel(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)