AWS SDK for C++

AWS SDK for C++ Version 1.11.910

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/DatastoreBackupStatus.h>
12#include <aws/healthlake/model/DatastoreStatus.h>
13#include <aws/healthlake/model/ErrorCause.h>
14#include <aws/healthlake/model/FHIRVersion.h>
15#include <aws/healthlake/model/IdentityProviderConfiguration.h>
16#include <aws/healthlake/model/NlpConfiguration.h>
17#include <aws/healthlake/model/PreloadDataConfig.h>
18#include <aws/healthlake/model/ProfileConfiguration.h>
19#include <aws/healthlake/model/SseConfiguration.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace HealthLake {
31namespace Model {
32
39 public:
40 AWS_HEALTHLAKE_API DatastoreProperties() = default;
41 AWS_HEALTHLAKE_API DatastoreProperties(Aws::Utils::Json::JsonView jsonValue);
43 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
49 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
50 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
51 template <typename DatastoreIdT = Aws::String>
52 void SetDatastoreId(DatastoreIdT&& value) {
53 m_datastoreIdHasBeenSet = true;
54 m_datastoreId = std::forward<DatastoreIdT>(value);
55 }
56 template <typename DatastoreIdT = Aws::String>
57 DatastoreProperties& WithDatastoreId(DatastoreIdT&& value) {
58 SetDatastoreId(std::forward<DatastoreIdT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetDatastoreArn() const { return m_datastoreArn; }
68 inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; }
69 template <typename DatastoreArnT = Aws::String>
70 void SetDatastoreArn(DatastoreArnT&& value) {
71 m_datastoreArnHasBeenSet = true;
72 m_datastoreArn = std::forward<DatastoreArnT>(value);
73 }
74 template <typename DatastoreArnT = Aws::String>
75 DatastoreProperties& WithDatastoreArn(DatastoreArnT&& value) {
76 SetDatastoreArn(std::forward<DatastoreArnT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetDatastoreName() const { return m_datastoreName; }
86 inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
87 template <typename DatastoreNameT = Aws::String>
88 void SetDatastoreName(DatastoreNameT&& value) {
89 m_datastoreNameHasBeenSet = true;
90 m_datastoreName = std::forward<DatastoreNameT>(value);
91 }
92 template <typename DatastoreNameT = Aws::String>
93 DatastoreProperties& WithDatastoreName(DatastoreNameT&& value) {
94 SetDatastoreName(std::forward<DatastoreNameT>(value));
95 return *this;
96 }
98
100
103 inline DatastoreStatus GetDatastoreStatus() const { return m_datastoreStatus; }
104 inline bool DatastoreStatusHasBeenSet() const { return m_datastoreStatusHasBeenSet; }
106 m_datastoreStatusHasBeenSet = true;
107 m_datastoreStatus = value;
108 }
110 SetDatastoreStatus(value);
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
120 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
121 template <typename CreatedAtT = Aws::Utils::DateTime>
122 void SetCreatedAt(CreatedAtT&& value) {
123 m_createdAtHasBeenSet = true;
124 m_createdAt = std::forward<CreatedAtT>(value);
125 }
126 template <typename CreatedAtT = Aws::Utils::DateTime>
127 DatastoreProperties& WithCreatedAt(CreatedAtT&& value) {
128 SetCreatedAt(std::forward<CreatedAtT>(value));
129 return *this;
130 }
132
134
138 inline FHIRVersion GetDatastoreTypeVersion() const { return m_datastoreTypeVersion; }
139 inline bool DatastoreTypeVersionHasBeenSet() const { return m_datastoreTypeVersionHasBeenSet; }
141 m_datastoreTypeVersionHasBeenSet = true;
142 m_datastoreTypeVersion = value;
143 }
146 return *this;
147 }
149
151
154 inline const Aws::String& GetDatastoreEndpoint() const { return m_datastoreEndpoint; }
155 inline bool DatastoreEndpointHasBeenSet() const { return m_datastoreEndpointHasBeenSet; }
156 template <typename DatastoreEndpointT = Aws::String>
157 void SetDatastoreEndpoint(DatastoreEndpointT&& value) {
158 m_datastoreEndpointHasBeenSet = true;
159 m_datastoreEndpoint = std::forward<DatastoreEndpointT>(value);
160 }
161 template <typename DatastoreEndpointT = Aws::String>
162 DatastoreProperties& WithDatastoreEndpoint(DatastoreEndpointT&& value) {
163 SetDatastoreEndpoint(std::forward<DatastoreEndpointT>(value));
164 return *this;
165 }
167
169
173 inline const SseConfiguration& GetSseConfiguration() const { return m_sseConfiguration; }
174 inline bool SseConfigurationHasBeenSet() const { return m_sseConfigurationHasBeenSet; }
175 template <typename SseConfigurationT = SseConfiguration>
176 void SetSseConfiguration(SseConfigurationT&& value) {
177 m_sseConfigurationHasBeenSet = true;
178 m_sseConfiguration = std::forward<SseConfigurationT>(value);
179 }
180 template <typename SseConfigurationT = SseConfiguration>
181 DatastoreProperties& WithSseConfiguration(SseConfigurationT&& value) {
182 SetSseConfiguration(std::forward<SseConfigurationT>(value));
183 return *this;
184 }
186
188
191 inline const PreloadDataConfig& GetPreloadDataConfig() const { return m_preloadDataConfig; }
192 inline bool PreloadDataConfigHasBeenSet() const { return m_preloadDataConfigHasBeenSet; }
193 template <typename PreloadDataConfigT = PreloadDataConfig>
194 void SetPreloadDataConfig(PreloadDataConfigT&& value) {
195 m_preloadDataConfigHasBeenSet = true;
196 m_preloadDataConfig = std::forward<PreloadDataConfigT>(value);
197 }
198 template <typename PreloadDataConfigT = PreloadDataConfig>
199 DatastoreProperties& WithPreloadDataConfig(PreloadDataConfigT&& value) {
200 SetPreloadDataConfig(std::forward<PreloadDataConfigT>(value));
201 return *this;
202 }
204
206
209 inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const { return m_identityProviderConfiguration; }
210 inline bool IdentityProviderConfigurationHasBeenSet() const { return m_identityProviderConfigurationHasBeenSet; }
211 template <typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
212 void SetIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) {
213 m_identityProviderConfigurationHasBeenSet = true;
214 m_identityProviderConfiguration = std::forward<IdentityProviderConfigurationT>(value);
215 }
216 template <typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
217 DatastoreProperties& WithIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) {
218 SetIdentityProviderConfiguration(std::forward<IdentityProviderConfigurationT>(value));
219 return *this;
220 }
222
224
227 inline const ErrorCause& GetErrorCause() const { return m_errorCause; }
228 inline bool ErrorCauseHasBeenSet() const { return m_errorCauseHasBeenSet; }
229 template <typename ErrorCauseT = ErrorCause>
230 void SetErrorCause(ErrorCauseT&& value) {
231 m_errorCauseHasBeenSet = true;
232 m_errorCause = std::forward<ErrorCauseT>(value);
233 }
234 template <typename ErrorCauseT = ErrorCause>
235 DatastoreProperties& WithErrorCause(ErrorCauseT&& value) {
236 SetErrorCause(std::forward<ErrorCauseT>(value));
237 return *this;
238 }
240
242
245 inline const NlpConfiguration& GetNlpConfiguration() const { return m_nlpConfiguration; }
246 inline bool NlpConfigurationHasBeenSet() const { return m_nlpConfigurationHasBeenSet; }
247 template <typename NlpConfigurationT = NlpConfiguration>
248 void SetNlpConfiguration(NlpConfigurationT&& value) {
249 m_nlpConfigurationHasBeenSet = true;
250 m_nlpConfiguration = std::forward<NlpConfigurationT>(value);
251 }
252 template <typename NlpConfigurationT = NlpConfiguration>
253 DatastoreProperties& WithNlpConfiguration(NlpConfigurationT&& value) {
254 SetNlpConfiguration(std::forward<NlpConfigurationT>(value));
255 return *this;
256 }
258
260
263 inline const AnalyticsConfiguration& GetAnalyticsConfiguration() const { return m_analyticsConfiguration; }
264 inline bool AnalyticsConfigurationHasBeenSet() const { return m_analyticsConfigurationHasBeenSet; }
265 template <typename AnalyticsConfigurationT = AnalyticsConfiguration>
266 void SetAnalyticsConfiguration(AnalyticsConfigurationT&& value) {
267 m_analyticsConfigurationHasBeenSet = true;
268 m_analyticsConfiguration = std::forward<AnalyticsConfigurationT>(value);
269 }
270 template <typename AnalyticsConfigurationT = AnalyticsConfiguration>
271 DatastoreProperties& WithAnalyticsConfiguration(AnalyticsConfigurationT&& value) {
272 SetAnalyticsConfiguration(std::forward<AnalyticsConfigurationT>(value));
273 return *this;
274 }
276
278
281 inline const ProfileConfiguration& GetProfileConfiguration() const { return m_profileConfiguration; }
282 inline bool ProfileConfigurationHasBeenSet() const { return m_profileConfigurationHasBeenSet; }
283 template <typename ProfileConfigurationT = ProfileConfiguration>
284 void SetProfileConfiguration(ProfileConfigurationT&& value) {
285 m_profileConfigurationHasBeenSet = true;
286 m_profileConfiguration = std::forward<ProfileConfigurationT>(value);
287 }
288 template <typename ProfileConfigurationT = ProfileConfiguration>
289 DatastoreProperties& WithProfileConfiguration(ProfileConfigurationT&& value) {
290 SetProfileConfiguration(std::forward<ProfileConfigurationT>(value));
291 return *this;
292 }
294
296
299 inline const DatastoreBackupStatus& GetBackupStatusInfo() const { return m_backupStatusInfo; }
300 inline bool BackupStatusInfoHasBeenSet() const { return m_backupStatusInfoHasBeenSet; }
301 template <typename BackupStatusInfoT = DatastoreBackupStatus>
302 void SetBackupStatusInfo(BackupStatusInfoT&& value) {
303 m_backupStatusInfoHasBeenSet = true;
304 m_backupStatusInfo = std::forward<BackupStatusInfoT>(value);
305 }
306 template <typename BackupStatusInfoT = DatastoreBackupStatus>
307 DatastoreProperties& WithBackupStatusInfo(BackupStatusInfoT&& value) {
308 SetBackupStatusInfo(std::forward<BackupStatusInfoT>(value));
309 return *this;
310 }
312 private:
313 Aws::String m_datastoreId;
314
315 Aws::String m_datastoreArn;
316
317 Aws::String m_datastoreName;
318
319 DatastoreStatus m_datastoreStatus{DatastoreStatus::NOT_SET};
320
321 Aws::Utils::DateTime m_createdAt{};
322
323 FHIRVersion m_datastoreTypeVersion{FHIRVersion::NOT_SET};
324
325 Aws::String m_datastoreEndpoint;
326
327 SseConfiguration m_sseConfiguration;
328
329 PreloadDataConfig m_preloadDataConfig;
330
331 IdentityProviderConfiguration m_identityProviderConfiguration;
332
333 ErrorCause m_errorCause;
334
335 NlpConfiguration m_nlpConfiguration;
336
337 AnalyticsConfiguration m_analyticsConfiguration;
338
339 ProfileConfiguration m_profileConfiguration;
340
341 DatastoreBackupStatus m_backupStatusInfo;
342 bool m_datastoreIdHasBeenSet = false;
343 bool m_datastoreArnHasBeenSet = false;
344 bool m_datastoreNameHasBeenSet = false;
345 bool m_datastoreStatusHasBeenSet = false;
346 bool m_createdAtHasBeenSet = false;
347 bool m_datastoreTypeVersionHasBeenSet = false;
348 bool m_datastoreEndpointHasBeenSet = false;
349 bool m_sseConfigurationHasBeenSet = false;
350 bool m_preloadDataConfigHasBeenSet = false;
351 bool m_identityProviderConfigurationHasBeenSet = false;
352 bool m_errorCauseHasBeenSet = false;
353 bool m_nlpConfigurationHasBeenSet = false;
354 bool m_analyticsConfigurationHasBeenSet = false;
355 bool m_profileConfigurationHasBeenSet = false;
356 bool m_backupStatusInfoHasBeenSet = false;
357};
358
359} // namespace Model
360} // namespace HealthLake
361} // 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)
void SetBackupStatusInfo(BackupStatusInfoT &&value)
DatastoreProperties & WithBackupStatusInfo(BackupStatusInfoT &&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)
const DatastoreBackupStatus & GetBackupStatusInfo() const
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