AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename TextT = Aws::String>
69 void SetText(TextT&& value) { m_textHasBeenSet = true; m_text = std::forward<TextT>(value); }
70 template<typename TextT = Aws::String>
71 ICD10CMEntity& WithText(TextT&& value) { SetText(std::forward<TextT>(value)); return *this;}
73
75
79 inline ICD10CMEntityCategory GetCategory() const { return m_category; }
80 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
81 inline void SetCategory(ICD10CMEntityCategory value) { m_categoryHasBeenSet = true; m_category = value; }
82 inline ICD10CMEntity& WithCategory(ICD10CMEntityCategory value) { SetCategory(value); return *this;}
84
86
91 inline ICD10CMEntityType GetType() const { return m_type; }
92 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
93 inline void SetType(ICD10CMEntityType value) { m_typeHasBeenSet = true; m_type = value; }
94 inline ICD10CMEntity& WithType(ICD10CMEntityType value) { SetType(value); return *this;}
96
98
102 inline double GetScore() const { return m_score; }
103 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
104 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
105 inline ICD10CMEntity& WithScore(double value) { SetScore(value); return *this;}
107
109
113 inline int GetBeginOffset() const { return m_beginOffset; }
114 inline bool BeginOffsetHasBeenSet() const { return m_beginOffsetHasBeenSet; }
115 inline void SetBeginOffset(int value) { m_beginOffsetHasBeenSet = true; m_beginOffset = value; }
116 inline ICD10CMEntity& WithBeginOffset(int value) { SetBeginOffset(value); return *this;}
118
120
124 inline int GetEndOffset() const { return m_endOffset; }
125 inline bool EndOffsetHasBeenSet() const { return m_endOffsetHasBeenSet; }
126 inline void SetEndOffset(int value) { m_endOffsetHasBeenSet = true; m_endOffset = value; }
127 inline ICD10CMEntity& WithEndOffset(int value) { SetEndOffset(value); return *this;}
129
131
136 inline const Aws::Vector<ICD10CMAttribute>& GetAttributes() const { return m_attributes; }
137 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
138 template<typename AttributesT = Aws::Vector<ICD10CMAttribute>>
139 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
140 template<typename AttributesT = Aws::Vector<ICD10CMAttribute>>
141 ICD10CMEntity& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
142 template<typename AttributesT = ICD10CMAttribute>
143 ICD10CMEntity& AddAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes.emplace_back(std::forward<AttributesT>(value)); return *this; }
145
147
152 inline const Aws::Vector<ICD10CMTrait>& GetTraits() const { return m_traits; }
153 inline bool TraitsHasBeenSet() const { return m_traitsHasBeenSet; }
154 template<typename TraitsT = Aws::Vector<ICD10CMTrait>>
155 void SetTraits(TraitsT&& value) { m_traitsHasBeenSet = true; m_traits = std::forward<TraitsT>(value); }
156 template<typename TraitsT = Aws::Vector<ICD10CMTrait>>
157 ICD10CMEntity& WithTraits(TraitsT&& value) { SetTraits(std::forward<TraitsT>(value)); return *this;}
158 template<typename TraitsT = ICD10CMTrait>
159 ICD10CMEntity& AddTraits(TraitsT&& value) { m_traitsHasBeenSet = true; m_traits.emplace_back(std::forward<TraitsT>(value)); return *this; }
161
163
167 inline const Aws::Vector<ICD10CMConcept>& GetICD10CMConcepts() const { return m_iCD10CMConcepts; }
168 inline bool ICD10CMConceptsHasBeenSet() const { return m_iCD10CMConceptsHasBeenSet; }
169 template<typename ICD10CMConceptsT = Aws::Vector<ICD10CMConcept>>
170 void SetICD10CMConcepts(ICD10CMConceptsT&& value) { m_iCD10CMConceptsHasBeenSet = true; m_iCD10CMConcepts = std::forward<ICD10CMConceptsT>(value); }
171 template<typename ICD10CMConceptsT = Aws::Vector<ICD10CMConcept>>
172 ICD10CMEntity& WithICD10CMConcepts(ICD10CMConceptsT&& value) { SetICD10CMConcepts(std::forward<ICD10CMConceptsT>(value)); return *this;}
173 template<typename ICD10CMConceptsT = ICD10CMConcept>
174 ICD10CMEntity& AddICD10CMConcepts(ICD10CMConceptsT&& value) { m_iCD10CMConceptsHasBeenSet = true; m_iCD10CMConcepts.emplace_back(std::forward<ICD10CMConceptsT>(value)); return *this; }
176 private:
177
178 int m_id{0};
179 bool m_idHasBeenSet = false;
180
181 Aws::String m_text;
182 bool m_textHasBeenSet = false;
183
185 bool m_categoryHasBeenSet = false;
186
188 bool m_typeHasBeenSet = false;
189
190 double m_score{0.0};
191 bool m_scoreHasBeenSet = false;
192
193 int m_beginOffset{0};
194 bool m_beginOffsetHasBeenSet = false;
195
196 int m_endOffset{0};
197 bool m_endOffsetHasBeenSet = false;
198
200 bool m_attributesHasBeenSet = false;
201
203 bool m_traitsHasBeenSet = false;
204
205 Aws::Vector<ICD10CMConcept> m_iCD10CMConcepts;
206 bool m_iCD10CMConceptsHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace ComprehendMedical
211} // namespace Aws
ICD10CMEntity & WithText(TextT &&value)
void SetType(ICD10CMEntityType value)
ICD10CMEntity & AddTraits(TraitsT &&value)
ICD10CMEntity & WithTraits(TraitsT &&value)
AWS_COMPREHENDMEDICAL_API ICD10CMEntity()=default
void SetCategory(ICD10CMEntityCategory value)
AWS_COMPREHENDMEDICAL_API ICD10CMEntity(Aws::Utils::Json::JsonView jsonValue)
ICD10CMEntity & AddAttributes(AttributesT &&value)
ICD10CMEntity & WithCategory(ICD10CMEntityCategory value)
const Aws::Vector< ICD10CMConcept > & GetICD10CMConcepts() const
ICD10CMEntityCategory GetCategory() const
const Aws::Vector< ICD10CMAttribute > & GetAttributes() const
ICD10CMEntity & WithAttributes(AttributesT &&value)
ICD10CMEntity & WithType(ICD10CMEntityType value)
ICD10CMEntity & WithICD10CMConcepts(ICD10CMConceptsT &&value)
ICD10CMEntity & WithScore(double value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetICD10CMConcepts(ICD10CMConceptsT &&value)
AWS_COMPREHENDMEDICAL_API ICD10CMEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
ICD10CMEntity & AddICD10CMConcepts(ICD10CMConceptsT &&value)
const Aws::Vector< ICD10CMTrait > & GetTraits() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue