AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RxNormConcept.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 RxNormConcept() = default;
36 AWS_COMPREHENDMEDICAL_API RxNormConcept(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COMPREHENDMEDICAL_API RxNormConcept& 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 RxNormConcept& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
52
54
57 inline const Aws::String& GetCode() const { return m_code; }
58 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
59 template<typename CodeT = Aws::String>
60 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
61 template<typename CodeT = Aws::String>
62 RxNormConcept& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
64
66
70 inline double GetScore() const { return m_score; }
71 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
72 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
73 inline RxNormConcept& WithScore(double value) { SetScore(value); return *this;}
75 private:
76
77 Aws::String m_description;
78 bool m_descriptionHasBeenSet = false;
79
80 Aws::String m_code;
81 bool m_codeHasBeenSet = false;
82
83 double m_score{0.0};
84 bool m_scoreHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ComprehendMedical
89} // namespace Aws
AWS_COMPREHENDMEDICAL_API RxNormConcept()=default
AWS_COMPREHENDMEDICAL_API RxNormConcept(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHENDMEDICAL_API RxNormConcept & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
RxNormConcept & WithDescription(DescriptionT &&value)
RxNormConcept & WithCode(CodeT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
RxNormConcept & WithScore(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue