7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/ICD10CMAttributeType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/comprehendmedical/model/ICD10CMEntityType.h>
12#include <aws/comprehendmedical/model/ICD10CMRelationshipType.h>
13#include <aws/comprehendmedical/model/ICD10CMTrait.h>
26namespace ComprehendMedical
67 inline double GetScore()
const{
return m_score; }
69 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
80 inline void SetRelationshipScore(
double value) { m_relationshipScoreHasBeenSet =
true; m_relationshipScore = value; }
89 inline int GetId()
const{
return m_id; }
91 inline void SetId(
int value) { m_idHasBeenSet =
true; m_id = value; }
102 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
113 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
125 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
176 bool m_typeHasBeenSet =
false;
179 bool m_scoreHasBeenSet =
false;
181 double m_relationshipScore;
182 bool m_relationshipScoreHasBeenSet =
false;
185 bool m_idHasBeenSet =
false;
188 bool m_beginOffsetHasBeenSet =
false;
191 bool m_endOffsetHasBeenSet =
false;
194 bool m_textHasBeenSet =
false;
197 bool m_traitsHasBeenSet =
false;
200 bool m_categoryHasBeenSet =
false;
203 bool m_relationshipTypeHasBeenSet =
false;
ICD10CMAttribute & WithText(const Aws::String &value)
AWS_COMPREHENDMEDICAL_API ICD10CMAttribute(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
ICD10CMAttribute & WithEndOffset(int value)
bool ScoreHasBeenSet() const
const ICD10CMEntityType & GetCategory() const
ICD10CMAttribute & WithText(const char *value)
void SetTraits(const Aws::Vector< ICD10CMTrait > &value)
void SetText(const Aws::String &value)
void SetBeginOffset(int value)
bool EndOffsetHasBeenSet() const
ICD10CMAttribute & WithText(Aws::String &&value)
void SetType(ICD10CMAttributeType &&value)
void SetType(const ICD10CMAttributeType &value)
ICD10CMAttribute & AddTraits(ICD10CMTrait &&value)
void SetRelationshipScore(double value)
int GetBeginOffset() const
void SetScore(double value)
const Aws::String & GetText() const
ICD10CMAttribute & WithCategory(ICD10CMEntityType &&value)
bool TextHasBeenSet() const
AWS_COMPREHENDMEDICAL_API ICD10CMAttribute()
bool RelationshipTypeHasBeenSet() const
bool TraitsHasBeenSet() const
void SetText(const char *value)
double GetRelationshipScore() const
ICD10CMAttribute & WithType(const ICD10CMAttributeType &value)
bool BeginOffsetHasBeenSet() const
const ICD10CMAttributeType & GetType() const
void SetCategory(ICD10CMEntityType &&value)
ICD10CMAttribute & WithScore(double value)
void SetRelationshipType(ICD10CMRelationshipType &&value)
ICD10CMAttribute & WithType(ICD10CMAttributeType &&value)
ICD10CMAttribute & WithRelationshipScore(double value)
void SetCategory(const ICD10CMEntityType &value)
void SetEndOffset(int value)
void SetRelationshipType(const ICD10CMRelationshipType &value)
ICD10CMAttribute & AddTraits(const ICD10CMTrait &value)
ICD10CMAttribute & WithCategory(const ICD10CMEntityType &value)
bool CategoryHasBeenSet() const
const Aws::Vector< ICD10CMTrait > & GetTraits() const
ICD10CMAttribute & WithId(int value)
ICD10CMAttribute & WithTraits(Aws::Vector< ICD10CMTrait > &&value)
ICD10CMAttribute & WithBeginOffset(int value)
ICD10CMAttribute & WithRelationshipType(ICD10CMRelationshipType &&value)
AWS_COMPREHENDMEDICAL_API ICD10CMAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
ICD10CMAttribute & WithTraits(const Aws::Vector< ICD10CMTrait > &value)
bool RelationshipScoreHasBeenSet() const
bool TypeHasBeenSet() const
void SetTraits(Aws::Vector< ICD10CMTrait > &&value)
const ICD10CMRelationshipType & GetRelationshipType() const
ICD10CMAttribute & WithRelationshipType(const ICD10CMRelationshipType &value)
void SetText(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue