AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
PatientInsightsPatientContext.h
1
6#pragma once
7#include <aws/connecthealth/ConnectHealth_EXPORTS.h>
8#include <aws/connecthealth/model/Pronouns.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectHealth {
21namespace Model {
22
29 public:
30 AWS_CONNECTHEALTH_API PatientInsightsPatientContext() = default;
33 AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetPatientId() const { return m_patientId; }
40 inline bool PatientIdHasBeenSet() const { return m_patientIdHasBeenSet; }
41 template <typename PatientIdT = Aws::String>
42 void SetPatientId(PatientIdT&& value) {
43 m_patientIdHasBeenSet = true;
44 m_patientId = std::forward<PatientIdT>(value);
45 }
46 template <typename PatientIdT = Aws::String>
48 SetPatientId(std::forward<PatientIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDateOfBirth() const { return m_dateOfBirth; }
58 inline bool DateOfBirthHasBeenSet() const { return m_dateOfBirthHasBeenSet; }
59 template <typename DateOfBirthT = Aws::String>
60 void SetDateOfBirth(DateOfBirthT&& value) {
61 m_dateOfBirthHasBeenSet = true;
62 m_dateOfBirth = std::forward<DateOfBirthT>(value);
63 }
64 template <typename DateOfBirthT = Aws::String>
66 SetDateOfBirth(std::forward<DateOfBirthT>(value));
67 return *this;
68 }
70
72
75 inline Pronouns GetPronouns() const { return m_pronouns; }
76 inline bool PronounsHasBeenSet() const { return m_pronounsHasBeenSet; }
77 inline void SetPronouns(Pronouns value) {
78 m_pronounsHasBeenSet = true;
79 m_pronouns = value;
80 }
82 SetPronouns(value);
83 return *this;
84 }
86 private:
87 Aws::String m_patientId;
88
89 Aws::String m_dateOfBirth;
90
91 Pronouns m_pronouns{Pronouns::NOT_SET};
92 bool m_patientIdHasBeenSet = false;
93 bool m_dateOfBirthHasBeenSet = false;
94 bool m_pronounsHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace ConnectHealth
99} // namespace Aws
AWS_CONNECTHEALTH_API PatientInsightsPatientContext()=default
PatientInsightsPatientContext & WithPronouns(Pronouns value)
PatientInsightsPatientContext & WithDateOfBirth(DateOfBirthT &&value)
AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
PatientInsightsPatientContext & WithPatientId(PatientIdT &&value)
AWS_CONNECTHEALTH_API PatientInsightsPatientContext & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTHEALTH_API PatientInsightsPatientContext(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue