AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ICD10CMEntity.h
1
6#pragma once
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>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace ComprehendMedical
28{
29namespace Model
30{
31
43 {
44 public:
45 AWS_COMPREHENDMEDICAL_API ICD10CMEntity();
46 AWS_COMPREHENDMEDICAL_API ICD10CMEntity(Aws::Utils::Json::JsonView jsonValue);
47 AWS_COMPREHENDMEDICAL_API ICD10CMEntity& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline int GetId() const{ return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 inline void SetId(int value) { m_idHasBeenSet = true; m_id = value; }
59 inline ICD10CMEntity& WithId(int value) { SetId(value); return *this;}
61
63
66 inline const Aws::String& GetText() const{ return m_text; }
67 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
68 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
69 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
70 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
71 inline ICD10CMEntity& WithText(const Aws::String& value) { SetText(value); return *this;}
72 inline ICD10CMEntity& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
73 inline ICD10CMEntity& WithText(const char* value) { SetText(value); return *this;}
75
77
81 inline const ICD10CMEntityCategory& GetCategory() const{ return m_category; }
82 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
83 inline void SetCategory(const ICD10CMEntityCategory& value) { m_categoryHasBeenSet = true; m_category = value; }
84 inline void SetCategory(ICD10CMEntityCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
85 inline ICD10CMEntity& WithCategory(const ICD10CMEntityCategory& value) { SetCategory(value); return *this;}
86 inline ICD10CMEntity& WithCategory(ICD10CMEntityCategory&& value) { SetCategory(std::move(value)); return *this;}
88
90
95 inline const ICD10CMEntityType& GetType() const{ return m_type; }
96 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
97 inline void SetType(const ICD10CMEntityType& value) { m_typeHasBeenSet = true; m_type = value; }
98 inline void SetType(ICD10CMEntityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
99 inline ICD10CMEntity& WithType(const ICD10CMEntityType& value) { SetType(value); return *this;}
100 inline ICD10CMEntity& WithType(ICD10CMEntityType&& value) { SetType(std::move(value)); return *this;}
102
104
108 inline double GetScore() const{ return m_score; }
109 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
110 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
111 inline ICD10CMEntity& WithScore(double value) { SetScore(value); return *this;}
113
115
119 inline int GetBeginOffset() const{ return m_beginOffset; }
120 inline bool BeginOffsetHasBeenSet() const { return m_beginOffsetHasBeenSet; }
121 inline void SetBeginOffset(int value) { m_beginOffsetHasBeenSet = true; m_beginOffset = value; }
122 inline ICD10CMEntity& WithBeginOffset(int value) { SetBeginOffset(value); return *this;}
124
126
130 inline int GetEndOffset() const{ return m_endOffset; }
131 inline bool EndOffsetHasBeenSet() const { return m_endOffsetHasBeenSet; }
132 inline void SetEndOffset(int value) { m_endOffsetHasBeenSet = true; m_endOffset = value; }
133 inline ICD10CMEntity& WithEndOffset(int value) { SetEndOffset(value); return *this;}
135
137
142 inline const Aws::Vector<ICD10CMAttribute>& GetAttributes() const{ return m_attributes; }
143 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
144 inline void SetAttributes(const Aws::Vector<ICD10CMAttribute>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
145 inline void SetAttributes(Aws::Vector<ICD10CMAttribute>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
146 inline ICD10CMEntity& WithAttributes(const Aws::Vector<ICD10CMAttribute>& value) { SetAttributes(value); return *this;}
147 inline ICD10CMEntity& WithAttributes(Aws::Vector<ICD10CMAttribute>&& value) { SetAttributes(std::move(value)); return *this;}
148 inline ICD10CMEntity& AddAttributes(const ICD10CMAttribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
149 inline ICD10CMEntity& AddAttributes(ICD10CMAttribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
151
153
158 inline const Aws::Vector<ICD10CMTrait>& GetTraits() const{ return m_traits; }
159 inline bool TraitsHasBeenSet() const { return m_traitsHasBeenSet; }
160 inline void SetTraits(const Aws::Vector<ICD10CMTrait>& value) { m_traitsHasBeenSet = true; m_traits = value; }
161 inline void SetTraits(Aws::Vector<ICD10CMTrait>&& value) { m_traitsHasBeenSet = true; m_traits = std::move(value); }
162 inline ICD10CMEntity& WithTraits(const Aws::Vector<ICD10CMTrait>& value) { SetTraits(value); return *this;}
163 inline ICD10CMEntity& WithTraits(Aws::Vector<ICD10CMTrait>&& value) { SetTraits(std::move(value)); return *this;}
164 inline ICD10CMEntity& AddTraits(const ICD10CMTrait& value) { m_traitsHasBeenSet = true; m_traits.push_back(value); return *this; }
165 inline ICD10CMEntity& AddTraits(ICD10CMTrait&& value) { m_traitsHasBeenSet = true; m_traits.push_back(std::move(value)); return *this; }
167
169
173 inline const Aws::Vector<ICD10CMConcept>& GetICD10CMConcepts() const{ return m_iCD10CMConcepts; }
174 inline bool ICD10CMConceptsHasBeenSet() const { return m_iCD10CMConceptsHasBeenSet; }
175 inline void SetICD10CMConcepts(const Aws::Vector<ICD10CMConcept>& value) { m_iCD10CMConceptsHasBeenSet = true; m_iCD10CMConcepts = value; }
176 inline void SetICD10CMConcepts(Aws::Vector<ICD10CMConcept>&& value) { m_iCD10CMConceptsHasBeenSet = true; m_iCD10CMConcepts = std::move(value); }
178 inline ICD10CMEntity& WithICD10CMConcepts(Aws::Vector<ICD10CMConcept>&& value) { SetICD10CMConcepts(std::move(value)); return *this;}
179 inline ICD10CMEntity& AddICD10CMConcepts(const ICD10CMConcept& value) { m_iCD10CMConceptsHasBeenSet = true; m_iCD10CMConcepts.push_back(value); return *this; }
180 inline ICD10CMEntity& AddICD10CMConcepts(ICD10CMConcept&& value) { m_iCD10CMConceptsHasBeenSet = true; m_iCD10CMConcepts.push_back(std::move(value)); return *this; }
182 private:
183
184 int m_id;
185 bool m_idHasBeenSet = false;
186
187 Aws::String m_text;
188 bool m_textHasBeenSet = false;
189
190 ICD10CMEntityCategory m_category;
191 bool m_categoryHasBeenSet = false;
192
193 ICD10CMEntityType m_type;
194 bool m_typeHasBeenSet = false;
195
196 double m_score;
197 bool m_scoreHasBeenSet = false;
198
199 int m_beginOffset;
200 bool m_beginOffsetHasBeenSet = false;
201
202 int m_endOffset;
203 bool m_endOffsetHasBeenSet = false;
204
206 bool m_attributesHasBeenSet = false;
207
209 bool m_traitsHasBeenSet = false;
210
211 Aws::Vector<ICD10CMConcept> m_iCD10CMConcepts;
212 bool m_iCD10CMConceptsHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace ComprehendMedical
217} // namespace Aws
ICD10CMEntity & AddICD10CMConcepts(ICD10CMConcept &&value)
ICD10CMEntity & WithText(Aws::String &&value)
void SetType(ICD10CMEntityType &&value)
ICD10CMEntity & WithICD10CMConcepts(const Aws::Vector< ICD10CMConcept > &value)
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)
ICD10CMEntity & WithCategory(ICD10CMEntityCategory &&value)
ICD10CMEntity & AddAttributes(ICD10CMAttribute &&value)
ICD10CMEntity & AddICD10CMConcepts(const ICD10CMConcept &value)
ICD10CMEntity & AddAttributes(const ICD10CMAttribute &value)
const ICD10CMEntityCategory & GetCategory() 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)
ICD10CMEntity & WithText(const char *value)
const Aws::Vector< ICD10CMConcept > & GetICD10CMConcepts() const
void SetType(const ICD10CMEntityType &value)
ICD10CMEntity & AddTraits(ICD10CMTrait &&value)
void SetAttributes(const Aws::Vector< ICD10CMAttribute > &value)
const Aws::Vector< ICD10CMAttribute > & GetAttributes() const
ICD10CMEntity & WithType(const ICD10CMEntityType &value)
ICD10CMEntity & WithText(const Aws::String &value)
void SetTraits(const Aws::Vector< ICD10CMTrait > &value)
ICD10CMEntity & WithType(ICD10CMEntityType &&value)
ICD10CMEntity & WithScore(double value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() 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)
ICD10CMEntity & WithICD10CMConcepts(Aws::Vector< ICD10CMConcept > &&value)
const ICD10CMEntityType & GetType() const
void SetAttributes(Aws::Vector< ICD10CMAttribute > &&value)
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