AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ICD10CMAttribute.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/ICD10CMAttributeType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/comprehendmedical/model/ICD10CMEntityType.h>
12#include <aws/comprehendmedical/model/ICD10CMRelationshipType.h>
13#include <aws/comprehendmedical/model/ICD10CMTrait.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ComprehendMedical
27{
28namespace Model
29{
30
41 {
42 public:
43 AWS_COMPREHENDMEDICAL_API ICD10CMAttribute();
44 AWS_COMPREHENDMEDICAL_API ICD10CMAttribute(Aws::Utils::Json::JsonView jsonValue);
45 AWS_COMPREHENDMEDICAL_API ICD10CMAttribute& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const ICD10CMAttributeType& GetType() const{ return m_type; }
55 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
56 inline void SetType(const ICD10CMAttributeType& value) { m_typeHasBeenSet = true; m_type = value; }
57 inline void SetType(ICD10CMAttributeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
58 inline ICD10CMAttribute& WithType(const ICD10CMAttributeType& value) { SetType(value); return *this;}
59 inline ICD10CMAttribute& WithType(ICD10CMAttributeType&& value) { SetType(std::move(value)); return *this;}
61
63
67 inline double GetScore() const{ return m_score; }
68 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
69 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
70 inline ICD10CMAttribute& WithScore(double value) { SetScore(value); return *this;}
72
74
78 inline double GetRelationshipScore() const{ return m_relationshipScore; }
79 inline bool RelationshipScoreHasBeenSet() const { return m_relationshipScoreHasBeenSet; }
80 inline void SetRelationshipScore(double value) { m_relationshipScoreHasBeenSet = true; m_relationshipScore = value; }
81 inline ICD10CMAttribute& WithRelationshipScore(double value) { SetRelationshipScore(value); return *this;}
83
85
89 inline int GetId() const{ return m_id; }
90 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
91 inline void SetId(int value) { m_idHasBeenSet = true; m_id = value; }
92 inline ICD10CMAttribute& WithId(int value) { SetId(value); return *this;}
94
96
100 inline int GetBeginOffset() const{ return m_beginOffset; }
101 inline bool BeginOffsetHasBeenSet() const { return m_beginOffsetHasBeenSet; }
102 inline void SetBeginOffset(int value) { m_beginOffsetHasBeenSet = true; m_beginOffset = value; }
103 inline ICD10CMAttribute& WithBeginOffset(int value) { SetBeginOffset(value); return *this;}
105
107
111 inline int GetEndOffset() const{ return m_endOffset; }
112 inline bool EndOffsetHasBeenSet() const { return m_endOffsetHasBeenSet; }
113 inline void SetEndOffset(int value) { m_endOffsetHasBeenSet = true; m_endOffset = value; }
114 inline ICD10CMAttribute& WithEndOffset(int value) { SetEndOffset(value); return *this;}
116
118
121 inline const Aws::String& GetText() const{ return m_text; }
122 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
123 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
124 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
125 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
126 inline ICD10CMAttribute& WithText(const Aws::String& value) { SetText(value); return *this;}
127 inline ICD10CMAttribute& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
128 inline ICD10CMAttribute& WithText(const char* value) { SetText(value); return *this;}
130
132
137 inline const Aws::Vector<ICD10CMTrait>& GetTraits() const{ return m_traits; }
138 inline bool TraitsHasBeenSet() const { return m_traitsHasBeenSet; }
139 inline void SetTraits(const Aws::Vector<ICD10CMTrait>& value) { m_traitsHasBeenSet = true; m_traits = value; }
140 inline void SetTraits(Aws::Vector<ICD10CMTrait>&& value) { m_traitsHasBeenSet = true; m_traits = std::move(value); }
141 inline ICD10CMAttribute& WithTraits(const Aws::Vector<ICD10CMTrait>& value) { SetTraits(value); return *this;}
142 inline ICD10CMAttribute& WithTraits(Aws::Vector<ICD10CMTrait>&& value) { SetTraits(std::move(value)); return *this;}
143 inline ICD10CMAttribute& AddTraits(const ICD10CMTrait& value) { m_traitsHasBeenSet = true; m_traits.push_back(value); return *this; }
144 inline ICD10CMAttribute& AddTraits(ICD10CMTrait&& value) { m_traitsHasBeenSet = true; m_traits.push_back(std::move(value)); return *this; }
146
148
152 inline const ICD10CMEntityType& GetCategory() const{ return m_category; }
153 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
154 inline void SetCategory(const ICD10CMEntityType& value) { m_categoryHasBeenSet = true; m_category = value; }
155 inline void SetCategory(ICD10CMEntityType&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
156 inline ICD10CMAttribute& WithCategory(const ICD10CMEntityType& value) { SetCategory(value); return *this;}
157 inline ICD10CMAttribute& WithCategory(ICD10CMEntityType&& value) { SetCategory(std::move(value)); return *this;}
159
161
166 inline const ICD10CMRelationshipType& GetRelationshipType() const{ return m_relationshipType; }
167 inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; }
168 inline void SetRelationshipType(const ICD10CMRelationshipType& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = value; }
169 inline void SetRelationshipType(ICD10CMRelationshipType&& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = std::move(value); }
171 inline ICD10CMAttribute& WithRelationshipType(ICD10CMRelationshipType&& value) { SetRelationshipType(std::move(value)); return *this;}
173 private:
174
176 bool m_typeHasBeenSet = false;
177
178 double m_score;
179 bool m_scoreHasBeenSet = false;
180
181 double m_relationshipScore;
182 bool m_relationshipScoreHasBeenSet = false;
183
184 int m_id;
185 bool m_idHasBeenSet = false;
186
187 int m_beginOffset;
188 bool m_beginOffsetHasBeenSet = false;
189
190 int m_endOffset;
191 bool m_endOffsetHasBeenSet = false;
192
193 Aws::String m_text;
194 bool m_textHasBeenSet = false;
195
197 bool m_traitsHasBeenSet = false;
198
199 ICD10CMEntityType m_category;
200 bool m_categoryHasBeenSet = false;
201
202 ICD10CMRelationshipType m_relationshipType;
203 bool m_relationshipTypeHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace ComprehendMedical
208} // namespace Aws
ICD10CMAttribute & WithText(const Aws::String &value)
AWS_COMPREHENDMEDICAL_API ICD10CMAttribute(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
const ICD10CMEntityType & GetCategory() const
ICD10CMAttribute & WithText(const char *value)
void SetTraits(const Aws::Vector< ICD10CMTrait > &value)
ICD10CMAttribute & WithText(Aws::String &&value)
void SetType(ICD10CMAttributeType &&value)
void SetType(const ICD10CMAttributeType &value)
ICD10CMAttribute & AddTraits(ICD10CMTrait &&value)
ICD10CMAttribute & WithCategory(ICD10CMEntityType &&value)
AWS_COMPREHENDMEDICAL_API ICD10CMAttribute()
ICD10CMAttribute & WithType(const ICD10CMAttributeType &value)
const ICD10CMAttributeType & GetType() const
ICD10CMAttribute & WithScore(double value)
void SetRelationshipType(ICD10CMRelationshipType &&value)
ICD10CMAttribute & WithType(ICD10CMAttributeType &&value)
ICD10CMAttribute & WithRelationshipScore(double value)
void SetCategory(const ICD10CMEntityType &value)
void SetRelationshipType(const ICD10CMRelationshipType &value)
ICD10CMAttribute & AddTraits(const ICD10CMTrait &value)
ICD10CMAttribute & WithCategory(const ICD10CMEntityType &value)
const Aws::Vector< ICD10CMTrait > & GetTraits() const
ICD10CMAttribute & WithTraits(Aws::Vector< ICD10CMTrait > &&value)
ICD10CMAttribute & WithRelationshipType(ICD10CMRelationshipType &&value)
AWS_COMPREHENDMEDICAL_API ICD10CMAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
ICD10CMAttribute & WithTraits(const Aws::Vector< ICD10CMTrait > &value)
void SetTraits(Aws::Vector< ICD10CMTrait > &&value)
const ICD10CMRelationshipType & GetRelationshipType() const
ICD10CMAttribute & WithRelationshipType(const ICD10CMRelationshipType &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