7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehendmedical/model/RxNormEntityCategory.h>
10#include <aws/comprehendmedical/model/RxNormEntityType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/comprehendmedical/model/RxNormAttribute.h>
13#include <aws/comprehendmedical/model/RxNormTrait.h>
14#include <aws/comprehendmedical/model/RxNormConcept.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); }
109 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
120 inline void SetBeginOffset(
int value) { m_beginOffsetHasBeenSet =
true; m_beginOffset = value; }
131 inline void SetEndOffset(
int value) { m_endOffsetHasBeenSet =
true; m_endOffset = value; }
183 bool m_idHasBeenSet =
false;
186 bool m_textHasBeenSet =
false;
189 bool m_categoryHasBeenSet =
false;
192 bool m_typeHasBeenSet =
false;
195 bool m_scoreHasBeenSet =
false;
198 bool m_beginOffsetHasBeenSet =
false;
201 bool m_endOffsetHasBeenSet =
false;
204 bool m_attributesHasBeenSet =
false;
207 bool m_traitsHasBeenSet =
false;
210 bool m_rxNormConceptsHasBeenSet =
false;
RxNormEntity & WithText(const Aws::String &value)
RxNormEntity & WithBeginOffset(int value)
RxNormEntity & WithAttributes(Aws::Vector< RxNormAttribute > &&value)
void SetTraits(const Aws::Vector< RxNormTrait > &value)
RxNormEntity & WithId(int value)
RxNormEntity & WithText(Aws::String &&value)
void SetRxNormConcepts(Aws::Vector< RxNormConcept > &&value)
RxNormEntity & WithTraits(const Aws::Vector< RxNormTrait > &value)
RxNormEntity & WithText(const char *value)
RxNormEntity & WithRxNormConcepts(Aws::Vector< RxNormConcept > &&value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdHasBeenSet() const
int GetBeginOffset() const
bool TypeHasBeenSet() const
void SetCategory(const RxNormEntityCategory &value)
void SetText(const Aws::String &value)
RxNormEntity & AddTraits(RxNormTrait &&value)
void SetEndOffset(int value)
RxNormEntity & WithCategory(RxNormEntityCategory &&value)
RxNormEntity & WithCategory(const RxNormEntityCategory &value)
void SetBeginOffset(int value)
AWS_COMPREHENDMEDICAL_API RxNormEntity()
void SetAttributes(Aws::Vector< RxNormAttribute > &&value)
bool TraitsHasBeenSet() const
const Aws::Vector< RxNormTrait > & GetTraits() const
void SetText(const char *value)
bool TextHasBeenSet() const
RxNormEntity & WithRxNormConcepts(const Aws::Vector< RxNormConcept > &value)
const Aws::Vector< RxNormAttribute > & GetAttributes() const
void SetType(RxNormEntityType &&value)
RxNormEntity & AddRxNormConcepts(const RxNormConcept &value)
void SetAttributes(const Aws::Vector< RxNormAttribute > &value)
AWS_COMPREHENDMEDICAL_API RxNormEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BeginOffsetHasBeenSet() const
void SetType(const RxNormEntityType &value)
RxNormEntity & AddTraits(const RxNormTrait &value)
const Aws::Vector< RxNormConcept > & GetRxNormConcepts() const
RxNormEntity & WithEndOffset(int value)
bool RxNormConceptsHasBeenSet() const
RxNormEntity & WithScore(double value)
void SetText(Aws::String &&value)
void SetTraits(Aws::Vector< RxNormTrait > &&value)
RxNormEntity & AddRxNormConcepts(RxNormConcept &&value)
AWS_COMPREHENDMEDICAL_API RxNormEntity(Aws::Utils::Json::JsonView jsonValue)
void SetRxNormConcepts(const Aws::Vector< RxNormConcept > &value)
RxNormEntity & AddAttributes(const RxNormAttribute &value)
const RxNormEntityCategory & GetCategory() const
const Aws::String & GetText() const
bool ScoreHasBeenSet() const
RxNormEntity & WithType(RxNormEntityType &&value)
RxNormEntity & WithTraits(Aws::Vector< RxNormTrait > &&value)
bool AttributesHasBeenSet() const
void SetScore(double value)
RxNormEntity & WithAttributes(const Aws::Vector< RxNormAttribute > &value)
RxNormEntity & AddAttributes(RxNormAttribute &&value)
bool CategoryHasBeenSet() const
bool EndOffsetHasBeenSet() const
const RxNormEntityType & GetType() const
void SetCategory(RxNormEntityCategory &&value)
RxNormEntity & WithType(const RxNormEntityType &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