AWS SDK for C++

AWS SDK for C++ Version 1.11.832

Loading...
Searching...
No Matches
DatastoreProperties.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/healthlake/HealthLake_EXPORTS.h>
10#include <aws/healthlake/model/AnalyticsConfiguration.h>
11#include <aws/healthlake/model/DatastoreStatus.h>
12#include <aws/healthlake/model/ErrorCause.h>
13#include <aws/healthlake/model/FHIRVersion.h>
14#include <aws/healthlake/model/IdentityProviderConfiguration.h>
15#include <aws/healthlake/model/NlpConfiguration.h>
16#include <aws/healthlake/model/PreloadDataConfig.h>
17#include <aws/healthlake/model/ProfileConfiguration.h>
18#include <aws/healthlake/model/SseConfiguration.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace HealthLake {
30namespace Model {
31
38 public:
39 AWS_HEALTHLAKE_API DatastoreProperties() = default;
40 AWS_HEALTHLAKE_API DatastoreProperties(Aws::Utils::Json::JsonView jsonValue);
42 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
49 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
50 template <typename DatastoreIdT = Aws::String>
51 void SetDatastoreId(DatastoreIdT&& value) {
52 m_datastoreIdHasBeenSet = true;
53 m_datastoreId = std::forward<DatastoreIdT>(value);
54 }
55 template <typename DatastoreIdT = Aws::String>
56 DatastoreProperties& WithDatastoreId(DatastoreIdT&& value) {
57 SetDatastoreId(std::forward<DatastoreIdT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetDatastoreArn() const { return m_datastoreArn; }
67 inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; }
68 template <typename DatastoreArnT = Aws::String>
69 void SetDatastoreArn(DatastoreArnT&& value) {
70 m_datastoreArnHasBeenSet = true;
71 m_datastoreArn = std::forward<DatastoreArnT>(value);
72 }
73 template <typename DatastoreArnT = Aws::String>
74 DatastoreProperties& WithDatastoreArn(DatastoreArnT&& value) {
75 SetDatastoreArn(std::forward<DatastoreArnT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetDatastoreName() const { return m_datastoreName; }
85 inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
86 template <typename DatastoreNameT = Aws::String>
87 void SetDatastoreName(DatastoreNameT&& value) {
88 m_datastoreNameHasBeenSet = true;
89 m_datastoreName = std::forward<DatastoreNameT>(value);
90 }
91 template <typename DatastoreNameT = Aws::String>
92 DatastoreProperties& WithDatastoreName(DatastoreNameT&& value) {
93 SetDatastoreName(std::forward<DatastoreNameT>(value));
94 return *this;
95 }
97
99
102 inline DatastoreStatus GetDatastoreStatus() const { return m_datastoreStatus; }
103 inline bool DatastoreStatusHasBeenSet() const { return m_datastoreStatusHasBeenSet; }
105 m_datastoreStatusHasBeenSet = true;
106 m_datastoreStatus = value;
107 }
109 SetDatastoreStatus(value);
110 return *this;
111 }
113
115
118 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
119 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
120 template <typename CreatedAtT = Aws::Utils::DateTime>
121 void SetCreatedAt(CreatedAtT&& value) {
122 m_createdAtHasBeenSet = true;
123 m_createdAt = std::forward<CreatedAtT>(value);
124 }
125 template <typename CreatedAtT = Aws::Utils::DateTime>
126 DatastoreProperties& WithCreatedAt(CreatedAtT&& value) {
127 SetCreatedAt(std::forward<CreatedAtT>(value));
128 return *this;
129 }
131
133
137 inline FHIRVersion GetDatastoreTypeVersion() const { return m_datastoreTypeVersion; }
138 inline bool DatastoreTypeVersionHasBeenSet() const { return m_datastoreTypeVersionHasBeenSet; }
140 m_datastoreTypeVersionHasBeenSet = true;
141 m_datastoreTypeVersion = value;
142 }
145 return *this;
146 }
148
150
153 inline const Aws::String& GetDatastoreEndpoint() const { return m_datastoreEndpoint; }
154 inline bool DatastoreEndpointHasBeenSet() const { return m_datastoreEndpointHasBeenSet; }
155 template <typename DatastoreEndpointT = Aws::String>
156 void SetDatastoreEndpoint(DatastoreEndpointT&& value) {
157 m_datastoreEndpointHasBeenSet = true;
158 m_datastoreEndpoint = std::forward<DatastoreEndpointT>(value);
159 }
160 template <typename DatastoreEndpointT = Aws::String>
161 DatastoreProperties& WithDatastoreEndpoint(DatastoreEndpointT&& value) {
162 SetDatastoreEndpoint(std::forward<DatastoreEndpointT>(value));
163 return *this;
164 }
166
168
172 inline const SseConfiguration& GetSseConfiguration() const { return m_sseConfiguration; }
173 inline bool SseConfigurationHasBeenSet() const { return m_sseConfigurationHasBeenSet; }
174 template <typename SseConfigurationT = SseConfiguration>
175 void SetSseConfiguration(SseConfigurationT&& value) {
176 m_sseConfigurationHasBeenSet = true;
177 m_sseConfiguration = std::forward<SseConfigurationT>(value);
178 }
179 template <typename SseConfigurationT = SseConfiguration>
180 DatastoreProperties& WithSseConfiguration(SseConfigurationT&& value) {
181 SetSseConfiguration(std::forward<SseConfigurationT>(value));
182 return *this;
183 }
185
187
190 inline const PreloadDataConfig& GetPreloadDataConfig() const { return m_preloadDataConfig; }
191 inline bool PreloadDataConfigHasBeenSet() const { return m_preloadDataConfigHasBeenSet; }
192 template <typename PreloadDataConfigT = PreloadDataConfig>
193 void SetPreloadDataConfig(PreloadDataConfigT&& value) {
194 m_preloadDataConfigHasBeenSet = true;
195 m_preloadDataConfig = std::forward<PreloadDataConfigT>(value);
196 }
197 template <typename PreloadDataConfigT = PreloadDataConfig>
198 DatastoreProperties& WithPreloadDataConfig(PreloadDataConfigT&& value) {
199 SetPreloadDataConfig(std::forward<PreloadDataConfigT>(value));
200 return *this;
201 }
203
205
208 inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const { return m_identityProviderConfiguration; }
209 inline bool IdentityProviderConfigurationHasBeenSet() const { return m_identityProviderConfigurationHasBeenSet; }
210 template <typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
211 void SetIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) {
212 m_identityProviderConfigurationHasBeenSet = true;
213 m_identityProviderConfiguration = std::forward<IdentityProviderConfigurationT>(value);
214 }
215 template <typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
216 DatastoreProperties& WithIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) {
217 SetIdentityProviderConfiguration(std::forward<IdentityProviderConfigurationT>(value));
218 return *this;
219 }
221
223
226 inline const ErrorCause& GetErrorCause() const { return m_errorCause; }
227 inline bool ErrorCauseHasBeenSet() const { return m_errorCauseHasBeenSet; }
228 template <typename ErrorCauseT = ErrorCause>
229 void SetErrorCause(ErrorCauseT&& value) {
230 m_errorCauseHasBeenSet = true;
231 m_errorCause = std::forward<ErrorCauseT>(value);
232 }
233 template <typename ErrorCauseT = ErrorCause>
234 DatastoreProperties& WithErrorCause(ErrorCauseT&& value) {
235 SetErrorCause(std::forward<ErrorCauseT>(value));
236 return *this;
237 }
239
241
244 inline const NlpConfiguration& GetNlpConfiguration() const { return m_nlpConfiguration; }
245 inline bool NlpConfigurationHasBeenSet() const { return m_nlpConfigurationHasBeenSet; }
246 template <typename NlpConfigurationT = NlpConfiguration>
247 void SetNlpConfiguration(NlpConfigurationT&& value) {
248 m_nlpConfigurationHasBeenSet = true;
249 m_nlpConfiguration = std::forward<NlpConfigurationT>(value);
250 }
251 template <typename NlpConfigurationT = NlpConfiguration>
252 DatastoreProperties& WithNlpConfiguration(NlpConfigurationT&& value) {
253 SetNlpConfiguration(std::forward<NlpConfigurationT>(value));
254 return *this;
255 }
257
259
262 inline const AnalyticsConfiguration& GetAnalyticsConfiguration() const { return m_analyticsConfiguration; }
263 inline bool AnalyticsConfigurationHasBeenSet() const { return m_analyticsConfigurationHasBeenSet; }
264 template <typename AnalyticsConfigurationT = AnalyticsConfiguration>
265 void SetAnalyticsConfiguration(AnalyticsConfigurationT&& value) {
266 m_analyticsConfigurationHasBeenSet = true;
267 m_analyticsConfiguration = std::forward<AnalyticsConfigurationT>(value);
268 }
269 template <typename AnalyticsConfigurationT = AnalyticsConfiguration>
270 DatastoreProperties& WithAnalyticsConfiguration(AnalyticsConfigurationT&& value) {
271 SetAnalyticsConfiguration(std::forward<AnalyticsConfigurationT>(value));
272 return *this;
273 }
275
277
280 inline const ProfileConfiguration& GetProfileConfiguration() const { return m_profileConfiguration; }
281 inline bool ProfileConfigurationHasBeenSet() const { return m_profileConfigurationHasBeenSet; }
282 template <typename ProfileConfigurationT = ProfileConfiguration>
283 void SetProfileConfiguration(ProfileConfigurationT&& value) {
284 m_profileConfigurationHasBeenSet = true;
285 m_profileConfiguration = std::forward<ProfileConfigurationT>(value);
286 }
287 template <typename ProfileConfigurationT = ProfileConfiguration>
288 DatastoreProperties& WithProfileConfiguration(ProfileConfigurationT&& value) {
289 SetProfileConfiguration(std::forward<ProfileConfigurationT>(value));
290 return *this;
291 }
293 private:
294 Aws::String m_datastoreId;
295
296 Aws::String m_datastoreArn;
297
298 Aws::String m_datastoreName;
299
300 DatastoreStatus m_datastoreStatus{DatastoreStatus::NOT_SET};
301
302 Aws::Utils::DateTime m_createdAt{};
303
304 FHIRVersion m_datastoreTypeVersion{FHIRVersion::NOT_SET};
305
306 Aws::String m_datastoreEndpoint;
307
308 SseConfiguration m_sseConfiguration;
309
310 PreloadDataConfig m_preloadDataConfig;
311
312 IdentityProviderConfiguration m_identityProviderConfiguration;
313
314 ErrorCause m_errorCause;
315
316 NlpConfiguration m_nlpConfiguration;
317
318 AnalyticsConfiguration m_analyticsConfiguration;
319
320 ProfileConfiguration m_profileConfiguration;
321 bool m_datastoreIdHasBeenSet = false;
322 bool m_datastoreArnHasBeenSet = false;
323 bool m_datastoreNameHasBeenSet = false;
324 bool m_datastoreStatusHasBeenSet = false;
325 bool m_createdAtHasBeenSet = false;
326 bool m_datastoreTypeVersionHasBeenSet = false;
327 bool m_datastoreEndpointHasBeenSet = false;
328 bool m_sseConfigurationHasBeenSet = false;
329 bool m_preloadDataConfigHasBeenSet = false;
330 bool m_identityProviderConfigurationHasBeenSet = false;
331 bool m_errorCauseHasBeenSet = false;
332 bool m_nlpConfigurationHasBeenSet = false;
333 bool m_analyticsConfigurationHasBeenSet = false;
334 bool m_profileConfigurationHasBeenSet = false;
335};
336
337} // namespace Model
338} // namespace HealthLake
339} // namespace Aws
DatastoreProperties & WithCreatedAt(CreatedAtT &&value)
DatastoreProperties & WithDatastoreTypeVersion(FHIRVersion value)
DatastoreProperties & WithPreloadDataConfig(PreloadDataConfigT &&value)
void SetProfileConfiguration(ProfileConfigurationT &&value)
DatastoreProperties & WithDatastoreId(DatastoreIdT &&value)
void SetSseConfiguration(SseConfigurationT &&value)
const SseConfiguration & GetSseConfiguration() const
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAnalyticsConfiguration(AnalyticsConfigurationT &&value)
DatastoreProperties & WithSseConfiguration(SseConfigurationT &&value)
DatastoreProperties & WithDatastoreEndpoint(DatastoreEndpointT &&value)
void SetNlpConfiguration(NlpConfigurationT &&value)
const PreloadDataConfig & GetPreloadDataConfig() const
const NlpConfiguration & GetNlpConfiguration() const
const Aws::Utils::DateTime & GetCreatedAt() const
DatastoreProperties & WithDatastoreStatus(DatastoreStatus value)
void SetIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
void SetDatastoreEndpoint(DatastoreEndpointT &&value)
const ProfileConfiguration & GetProfileConfiguration() const
DatastoreProperties & WithDatastoreName(DatastoreNameT &&value)
DatastoreProperties & WithDatastoreArn(DatastoreArnT &&value)
DatastoreProperties & WithAnalyticsConfiguration(AnalyticsConfigurationT &&value)
AWS_HEALTHLAKE_API DatastoreProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
DatastoreProperties & WithIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
const IdentityProviderConfiguration & GetIdentityProviderConfiguration() const
DatastoreProperties & WithErrorCause(ErrorCauseT &&value)
AWS_HEALTHLAKE_API DatastoreProperties()=default
void SetPreloadDataConfig(PreloadDataConfigT &&value)
AWS_HEALTHLAKE_API DatastoreProperties(Aws::Utils::Json::JsonView jsonValue)
const AnalyticsConfiguration & GetAnalyticsConfiguration() const
DatastoreProperties & WithProfileConfiguration(ProfileConfigurationT &&value)
DatastoreProperties & WithNlpConfiguration(NlpConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue