7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehendmedical/model/ICD10CMEntityCategory.h>
10#include <aws/comprehendmedical/model/ICD10CMEntityType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/comprehendmedical/model/ICD10CMAttribute.h>
13#include <aws/comprehendmedical/model/ICD10CMTrait.h>
14#include <aws/comprehendmedical/model/ICD10CMConcept.h>
27namespace ComprehendMedical
56 inline int GetId()
const{
return m_id; }
58 inline void SetId(
int value) { m_idHasBeenSet =
true; m_id = value; }
70 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
110 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
121 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
132 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
185 bool m_idHasBeenSet =
false;
188 bool m_textHasBeenSet =
false;
191 bool m_categoryHasBeenSet =
false;
194 bool m_typeHasBeenSet =
false;
197 bool m_scoreHasBeenSet =
false;
200 bool m_beginOffsetHasBeenSet =
false;
203 bool m_endOffsetHasBeenSet =
false;
206 bool m_attributesHasBeenSet =
false;
209 bool m_traitsHasBeenSet =
false;
212 bool m_iCD10CMConceptsHasBeenSet =
false;
ICD10CMEntity & AddICD10CMConcepts(ICD10CMConcept &&value)
ICD10CMEntity & WithId(int value)
ICD10CMEntity & WithText(Aws::String &&value)
void SetType(ICD10CMEntityType &&value)
bool EndOffsetHasBeenSet() const
ICD10CMEntity & WithICD10CMConcepts(const Aws::Vector< ICD10CMConcept > &value)
bool TraitsHasBeenSet() const
ICD10CMEntity & WithAttributes(const Aws::Vector< ICD10CMAttribute > &value)
void SetICD10CMConcepts(const Aws::Vector< ICD10CMConcept > &value)
ICD10CMEntity & WithTraits(const Aws::Vector< ICD10CMTrait > &value)
void SetICD10CMConcepts(Aws::Vector< ICD10CMConcept > &&value)
bool TypeHasBeenSet() const
ICD10CMEntity & WithCategory(ICD10CMEntityCategory &&value)
ICD10CMEntity & AddAttributes(ICD10CMAttribute &&value)
ICD10CMEntity & AddICD10CMConcepts(const ICD10CMConcept &value)
ICD10CMEntity & AddAttributes(const ICD10CMAttribute &value)
void SetScore(double value)
ICD10CMEntity & WithBeginOffset(int value)
const ICD10CMEntityCategory & GetCategory() const
bool TextHasBeenSet() const
void SetText(const Aws::String &value)
AWS_COMPREHENDMEDICAL_API ICD10CMEntity()
ICD10CMEntity & AddTraits(const ICD10CMTrait &value)
AWS_COMPREHENDMEDICAL_API ICD10CMEntity(Aws::Utils::Json::JsonView jsonValue)
void SetCategory(const ICD10CMEntityCategory &value)
void SetText(const char *value)
ICD10CMEntity & WithText(const char *value)
ICD10CMEntity & WithEndOffset(int value)
void SetEndOffset(int value)
const Aws::Vector< ICD10CMConcept > & GetICD10CMConcepts() const
void SetType(const ICD10CMEntityType &value)
ICD10CMEntity & AddTraits(ICD10CMTrait &&value)
void SetAttributes(const Aws::Vector< ICD10CMAttribute > &value)
bool ScoreHasBeenSet() const
const Aws::Vector< ICD10CMAttribute > & GetAttributes() const
ICD10CMEntity & WithType(const ICD10CMEntityType &value)
void SetText(Aws::String &&value)
void SetBeginOffset(int value)
ICD10CMEntity & WithText(const Aws::String &value)
void SetTraits(const Aws::Vector< ICD10CMTrait > &value)
bool CategoryHasBeenSet() const
int GetBeginOffset() const
ICD10CMEntity & WithType(ICD10CMEntityType &&value)
bool ICD10CMConceptsHasBeenSet() const
ICD10CMEntity & WithScore(double value)
bool IdHasBeenSet() const
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
bool BeginOffsetHasBeenSet() const
ICD10CMEntity & WithCategory(const ICD10CMEntityCategory &value)
AWS_COMPREHENDMEDICAL_API ICD10CMEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTraits(Aws::Vector< ICD10CMTrait > &&value)
ICD10CMEntity & WithTraits(Aws::Vector< ICD10CMTrait > &&value)
const Aws::Vector< ICD10CMTrait > & GetTraits() const
void SetCategory(ICD10CMEntityCategory &&value)
const Aws::String & GetText() const
ICD10CMEntity & WithICD10CMConcepts(Aws::Vector< ICD10CMConcept > &&value)
const ICD10CMEntityType & GetType() const
void SetAttributes(Aws::Vector< ICD10CMAttribute > &&value)
bool AttributesHasBeenSet() const
ICD10CMEntity & WithAttributes(Aws::Vector< ICD10CMAttribute > &&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