AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
StartPatientInsightsJobRequest.h
1
6#pragma once
7#include <aws/connecthealth/ConnectHealthRequest.h>
8#include <aws/connecthealth/ConnectHealth_EXPORTS.h>
9#include <aws/connecthealth/model/InputDataConfig.h>
10#include <aws/connecthealth/model/InsightsContext.h>
11#include <aws/connecthealth/model/OutputDataConfig.h>
12#include <aws/connecthealth/model/PatientInsightsEncounterContext.h>
13#include <aws/connecthealth/model/PatientInsightsPatientContext.h>
14#include <aws/connecthealth/model/UserContext.h>
15#include <aws/core/utils/UUID.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17
18#include <utility>
19
20namespace Aws {
21namespace ConnectHealth {
22namespace Model {
23
27 public:
28 AWS_CONNECTHEALTH_API StartPatientInsightsJobRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartPatientInsightsJob"; }
35
36 AWS_CONNECTHEALTH_API Aws::String SerializePayload() const override;
37
39
42 inline const Aws::String& GetDomainId() const { return m_domainId; }
43 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
44 template <typename DomainIdT = Aws::String>
45 void SetDomainId(DomainIdT&& value) {
46 m_domainIdHasBeenSet = true;
47 m_domainId = std::forward<DomainIdT>(value);
48 }
49 template <typename DomainIdT = Aws::String>
51 SetDomainId(std::forward<DomainIdT>(value));
52 return *this;
53 }
55
57
60 inline const PatientInsightsPatientContext& GetPatientContext() const { return m_patientContext; }
61 inline bool PatientContextHasBeenSet() const { return m_patientContextHasBeenSet; }
62 template <typename PatientContextT = PatientInsightsPatientContext>
63 void SetPatientContext(PatientContextT&& value) {
64 m_patientContextHasBeenSet = true;
65 m_patientContext = std::forward<PatientContextT>(value);
66 }
67 template <typename PatientContextT = PatientInsightsPatientContext>
69 SetPatientContext(std::forward<PatientContextT>(value));
70 return *this;
71 }
73
75
78 inline const InsightsContext& GetInsightsContext() const { return m_insightsContext; }
79 inline bool InsightsContextHasBeenSet() const { return m_insightsContextHasBeenSet; }
80 template <typename InsightsContextT = InsightsContext>
81 void SetInsightsContext(InsightsContextT&& value) {
82 m_insightsContextHasBeenSet = true;
83 m_insightsContext = std::forward<InsightsContextT>(value);
84 }
85 template <typename InsightsContextT = InsightsContext>
87 SetInsightsContext(std::forward<InsightsContextT>(value));
88 return *this;
89 }
91
93
96 inline const PatientInsightsEncounterContext& GetEncounterContext() const { return m_encounterContext; }
97 inline bool EncounterContextHasBeenSet() const { return m_encounterContextHasBeenSet; }
98 template <typename EncounterContextT = PatientInsightsEncounterContext>
99 void SetEncounterContext(EncounterContextT&& value) {
100 m_encounterContextHasBeenSet = true;
101 m_encounterContext = std::forward<EncounterContextT>(value);
102 }
103 template <typename EncounterContextT = PatientInsightsEncounterContext>
105 SetEncounterContext(std::forward<EncounterContextT>(value));
106 return *this;
107 }
109
111
114 inline const UserContext& GetUserContext() const { return m_userContext; }
115 inline bool UserContextHasBeenSet() const { return m_userContextHasBeenSet; }
116 template <typename UserContextT = UserContext>
117 void SetUserContext(UserContextT&& value) {
118 m_userContextHasBeenSet = true;
119 m_userContext = std::forward<UserContextT>(value);
120 }
121 template <typename UserContextT = UserContext>
123 SetUserContext(std::forward<UserContextT>(value));
124 return *this;
125 }
127
129
132 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
133 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
134 template <typename InputDataConfigT = InputDataConfig>
135 void SetInputDataConfig(InputDataConfigT&& value) {
136 m_inputDataConfigHasBeenSet = true;
137 m_inputDataConfig = std::forward<InputDataConfigT>(value);
138 }
139 template <typename InputDataConfigT = InputDataConfig>
141 SetInputDataConfig(std::forward<InputDataConfigT>(value));
142 return *this;
143 }
145
147
150 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
151 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
152 template <typename OutputDataConfigT = OutputDataConfig>
153 void SetOutputDataConfig(OutputDataConfigT&& value) {
154 m_outputDataConfigHasBeenSet = true;
155 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
156 }
157 template <typename OutputDataConfigT = OutputDataConfig>
159 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
160 return *this;
161 }
163
165
169 inline const Aws::String& GetClientToken() const { return m_clientToken; }
170 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
171 template <typename ClientTokenT = Aws::String>
172 void SetClientToken(ClientTokenT&& value) {
173 m_clientTokenHasBeenSet = true;
174 m_clientToken = std::forward<ClientTokenT>(value);
175 }
176 template <typename ClientTokenT = Aws::String>
178 SetClientToken(std::forward<ClientTokenT>(value));
179 return *this;
180 }
182 private:
183 Aws::String m_domainId;
184
185 PatientInsightsPatientContext m_patientContext;
186
187 InsightsContext m_insightsContext;
188
189 PatientInsightsEncounterContext m_encounterContext;
190
191 UserContext m_userContext;
192
193 InputDataConfig m_inputDataConfig;
194
195 OutputDataConfig m_outputDataConfig;
196
198 bool m_domainIdHasBeenSet = false;
199 bool m_patientContextHasBeenSet = false;
200 bool m_insightsContextHasBeenSet = false;
201 bool m_encounterContextHasBeenSet = false;
202 bool m_userContextHasBeenSet = false;
203 bool m_inputDataConfigHasBeenSet = false;
204 bool m_outputDataConfigHasBeenSet = false;
205 bool m_clientTokenHasBeenSet = true;
206};
207
208} // namespace Model
209} // namespace ConnectHealth
210} // namespace Aws
StartPatientInsightsJobRequest & WithEncounterContext(EncounterContextT &&value)
const PatientInsightsPatientContext & GetPatientContext() const
const PatientInsightsEncounterContext & GetEncounterContext() const
StartPatientInsightsJobRequest & WithUserContext(UserContextT &&value)
AWS_CONNECTHEALTH_API StartPatientInsightsJobRequest()=default
StartPatientInsightsJobRequest & WithOutputDataConfig(OutputDataConfigT &&value)
StartPatientInsightsJobRequest & WithPatientContext(PatientContextT &&value)
StartPatientInsightsJobRequest & WithClientToken(ClientTokenT &&value)
StartPatientInsightsJobRequest & WithInputDataConfig(InputDataConfigT &&value)
StartPatientInsightsJobRequest & WithDomainId(DomainIdT &&value)
StartPatientInsightsJobRequest & WithInsightsContext(InsightsContextT &&value)
AWS_CONNECTHEALTH_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String