AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ICD10CMConcept.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ComprehendMedical
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COMPREHENDMEDICAL_API ICD10CMConcept() = default;
36 AWS_COMPREHENDMEDICAL_API ICD10CMConcept(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COMPREHENDMEDICAL_API ICD10CMConcept& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDescription() const { return m_description; }
46 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
47 template<typename DescriptionT = Aws::String>
48 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
49 template<typename DescriptionT = Aws::String>
50 ICD10CMConcept& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
52
54
58 inline const Aws::String& GetCode() const { return m_code; }
59 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
60 template<typename CodeT = Aws::String>
61 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
62 template<typename CodeT = Aws::String>
63 ICD10CMConcept& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
65
67
71 inline double GetScore() const { return m_score; }
72 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
73 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
74 inline ICD10CMConcept& WithScore(double value) { SetScore(value); return *this;}
76 private:
77
78 Aws::String m_description;
79 bool m_descriptionHasBeenSet = false;
80
81 Aws::String m_code;
82 bool m_codeHasBeenSet = false;
83
84 double m_score{0.0};
85 bool m_scoreHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ComprehendMedical
90} // namespace Aws
ICD10CMConcept & WithDescription(DescriptionT &&value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
ICD10CMConcept & WithScore(double value)
AWS_COMPREHENDMEDICAL_API ICD10CMConcept()=default
AWS_COMPREHENDMEDICAL_API ICD10CMConcept & operator=(Aws::Utils::Json::JsonView jsonValue)
ICD10CMConcept & WithCode(CodeT &&value)
AWS_COMPREHENDMEDICAL_API ICD10CMConcept(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue