7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/RxNormAttributeType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/comprehendmedical/model/RxNormTrait.h>
24namespace ComprehendMedical
64 inline double GetScore()
const{
return m_score; }
66 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
77 inline void SetRelationshipScore(
double value) { m_relationshipScoreHasBeenSet =
true; m_relationshipScore = value; }
86 inline int GetId()
const{
return m_id; }
88 inline void SetId(
int value) { m_idHasBeenSet =
true; m_id = value; }
99 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
110 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
122 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
146 bool m_typeHasBeenSet =
false;
149 bool m_scoreHasBeenSet =
false;
151 double m_relationshipScore;
152 bool m_relationshipScoreHasBeenSet =
false;
155 bool m_idHasBeenSet =
false;
158 bool m_beginOffsetHasBeenSet =
false;
161 bool m_endOffsetHasBeenSet =
false;
164 bool m_textHasBeenSet =
false;
167 bool m_traitsHasBeenSet =
false;
bool TextHasBeenSet() const
void SetTraits(Aws::Vector< RxNormTrait > &&value)
void SetScore(double value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
bool TraitsHasBeenSet() const
bool EndOffsetHasBeenSet() const
void SetRelationshipScore(double value)
bool RelationshipScoreHasBeenSet() const
RxNormAttribute & WithType(const RxNormAttributeType &value)
void SetBeginOffset(int value)
AWS_COMPREHENDMEDICAL_API RxNormAttribute()
const Aws::String & GetText() const
void SetTraits(const Aws::Vector< RxNormTrait > &value)
bool ScoreHasBeenSet() const
RxNormAttribute & WithBeginOffset(int value)
RxNormAttribute & WithTraits(const Aws::Vector< RxNormTrait > &value)
void SetText(const Aws::String &value)
int GetBeginOffset() const
RxNormAttribute & WithText(const char *value)
AWS_COMPREHENDMEDICAL_API RxNormAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
RxNormAttribute & WithScore(double value)
void SetType(const RxNormAttributeType &value)
RxNormAttribute & WithType(RxNormAttributeType &&value)
RxNormAttribute & AddTraits(const RxNormTrait &value)
const Aws::Vector< RxNormTrait > & GetTraits() const
void SetText(Aws::String &&value)
void SetEndOffset(int value)
RxNormAttribute & WithText(Aws::String &&value)
RxNormAttribute & WithTraits(Aws::Vector< RxNormTrait > &&value)
void SetText(const char *value)
bool TypeHasBeenSet() const
double GetRelationshipScore() const
RxNormAttribute & WithEndOffset(int value)
RxNormAttribute & WithText(const Aws::String &value)
bool BeginOffsetHasBeenSet() const
const RxNormAttributeType & GetType() const
AWS_COMPREHENDMEDICAL_API RxNormAttribute(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
RxNormAttribute & WithRelationshipScore(double value)
RxNormAttribute & AddTraits(RxNormTrait &&value)
RxNormAttribute & WithId(int value)
void SetType(RxNormAttributeType &&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