AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ICD10CMTrait.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/ICD10CMTraitName.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
34 {
35 public:
36 AWS_COMPREHENDMEDICAL_API ICD10CMTrait();
37 AWS_COMPREHENDMEDICAL_API ICD10CMTrait(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COMPREHENDMEDICAL_API ICD10CMTrait& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ICD10CMTraitName& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const ICD10CMTraitName& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(ICD10CMTraitName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline ICD10CMTrait& WithName(const ICD10CMTraitName& value) { SetName(value); return *this;}
51 inline ICD10CMTrait& WithName(ICD10CMTraitName&& value) { SetName(std::move(value)); return *this;}
53
55
59 inline double GetScore() const{ return m_score; }
60 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
61 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
62 inline ICD10CMTrait& WithScore(double value) { SetScore(value); return *this;}
64 private:
65
66 ICD10CMTraitName m_name;
67 bool m_nameHasBeenSet = false;
68
69 double m_score;
70 bool m_scoreHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace ComprehendMedical
75} // namespace Aws
void SetName(const ICD10CMTraitName &value)
AWS_COMPREHENDMEDICAL_API ICD10CMTrait()
ICD10CMTrait & WithName(ICD10CMTraitName &&value)
AWS_COMPREHENDMEDICAL_API ICD10CMTrait(Aws::Utils::Json::JsonView jsonValue)
ICD10CMTrait & WithScore(double value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
ICD10CMTrait & WithName(const ICD10CMTraitName &value)
AWS_COMPREHENDMEDICAL_API ICD10CMTrait & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(ICD10CMTraitName &&value)
const ICD10CMTraitName & GetName() const
Aws::Utils::Json::JsonValue JsonValue