AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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/DatastoreStatus.h>
11#include <aws/healthlake/model/ErrorCause.h>
12#include <aws/healthlake/model/FHIRVersion.h>
13#include <aws/healthlake/model/IdentityProviderConfiguration.h>
14#include <aws/healthlake/model/PreloadDataConfig.h>
15#include <aws/healthlake/model/SseConfiguration.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace HealthLake {
27namespace Model {
28
35 public:
36 AWS_HEALTHLAKE_API DatastoreProperties() = default;
37 AWS_HEALTHLAKE_API DatastoreProperties(Aws::Utils::Json::JsonView jsonValue);
39 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
46 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
47 template <typename DatastoreIdT = Aws::String>
48 void SetDatastoreId(DatastoreIdT&& value) {
49 m_datastoreIdHasBeenSet = true;
50 m_datastoreId = std::forward<DatastoreIdT>(value);
51 }
52 template <typename DatastoreIdT = Aws::String>
53 DatastoreProperties& WithDatastoreId(DatastoreIdT&& value) {
54 SetDatastoreId(std::forward<DatastoreIdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetDatastoreArn() const { return m_datastoreArn; }
64 inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; }
65 template <typename DatastoreArnT = Aws::String>
66 void SetDatastoreArn(DatastoreArnT&& value) {
67 m_datastoreArnHasBeenSet = true;
68 m_datastoreArn = std::forward<DatastoreArnT>(value);
69 }
70 template <typename DatastoreArnT = Aws::String>
71 DatastoreProperties& WithDatastoreArn(DatastoreArnT&& value) {
72 SetDatastoreArn(std::forward<DatastoreArnT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDatastoreName() const { return m_datastoreName; }
82 inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
83 template <typename DatastoreNameT = Aws::String>
84 void SetDatastoreName(DatastoreNameT&& value) {
85 m_datastoreNameHasBeenSet = true;
86 m_datastoreName = std::forward<DatastoreNameT>(value);
87 }
88 template <typename DatastoreNameT = Aws::String>
89 DatastoreProperties& WithDatastoreName(DatastoreNameT&& value) {
90 SetDatastoreName(std::forward<DatastoreNameT>(value));
91 return *this;
92 }
94
96
99 inline DatastoreStatus GetDatastoreStatus() const { return m_datastoreStatus; }
100 inline bool DatastoreStatusHasBeenSet() const { return m_datastoreStatusHasBeenSet; }
102 m_datastoreStatusHasBeenSet = true;
103 m_datastoreStatus = value;
104 }
106 SetDatastoreStatus(value);
107 return *this;
108 }
110
112
115 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
116 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
117 template <typename CreatedAtT = Aws::Utils::DateTime>
118 void SetCreatedAt(CreatedAtT&& value) {
119 m_createdAtHasBeenSet = true;
120 m_createdAt = std::forward<CreatedAtT>(value);
121 }
122 template <typename CreatedAtT = Aws::Utils::DateTime>
123 DatastoreProperties& WithCreatedAt(CreatedAtT&& value) {
124 SetCreatedAt(std::forward<CreatedAtT>(value));
125 return *this;
126 }
128
130
134 inline FHIRVersion GetDatastoreTypeVersion() const { return m_datastoreTypeVersion; }
135 inline bool DatastoreTypeVersionHasBeenSet() const { return m_datastoreTypeVersionHasBeenSet; }
137 m_datastoreTypeVersionHasBeenSet = true;
138 m_datastoreTypeVersion = value;
139 }
142 return *this;
143 }
145
147
150 inline const Aws::String& GetDatastoreEndpoint() const { return m_datastoreEndpoint; }
151 inline bool DatastoreEndpointHasBeenSet() const { return m_datastoreEndpointHasBeenSet; }
152 template <typename DatastoreEndpointT = Aws::String>
153 void SetDatastoreEndpoint(DatastoreEndpointT&& value) {
154 m_datastoreEndpointHasBeenSet = true;
155 m_datastoreEndpoint = std::forward<DatastoreEndpointT>(value);
156 }
157 template <typename DatastoreEndpointT = Aws::String>
158 DatastoreProperties& WithDatastoreEndpoint(DatastoreEndpointT&& value) {
159 SetDatastoreEndpoint(std::forward<DatastoreEndpointT>(value));
160 return *this;
161 }
163
165
169 inline const SseConfiguration& GetSseConfiguration() const { return m_sseConfiguration; }
170 inline bool SseConfigurationHasBeenSet() const { return m_sseConfigurationHasBeenSet; }
171 template <typename SseConfigurationT = SseConfiguration>
172 void SetSseConfiguration(SseConfigurationT&& value) {
173 m_sseConfigurationHasBeenSet = true;
174 m_sseConfiguration = std::forward<SseConfigurationT>(value);
175 }
176 template <typename SseConfigurationT = SseConfiguration>
177 DatastoreProperties& WithSseConfiguration(SseConfigurationT&& value) {
178 SetSseConfiguration(std::forward<SseConfigurationT>(value));
179 return *this;
180 }
182
184
187 inline const PreloadDataConfig& GetPreloadDataConfig() const { return m_preloadDataConfig; }
188 inline bool PreloadDataConfigHasBeenSet() const { return m_preloadDataConfigHasBeenSet; }
189 template <typename PreloadDataConfigT = PreloadDataConfig>
190 void SetPreloadDataConfig(PreloadDataConfigT&& value) {
191 m_preloadDataConfigHasBeenSet = true;
192 m_preloadDataConfig = std::forward<PreloadDataConfigT>(value);
193 }
194 template <typename PreloadDataConfigT = PreloadDataConfig>
195 DatastoreProperties& WithPreloadDataConfig(PreloadDataConfigT&& value) {
196 SetPreloadDataConfig(std::forward<PreloadDataConfigT>(value));
197 return *this;
198 }
200
202
205 inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const { return m_identityProviderConfiguration; }
206 inline bool IdentityProviderConfigurationHasBeenSet() const { return m_identityProviderConfigurationHasBeenSet; }
207 template <typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
208 void SetIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) {
209 m_identityProviderConfigurationHasBeenSet = true;
210 m_identityProviderConfiguration = std::forward<IdentityProviderConfigurationT>(value);
211 }
212 template <typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
213 DatastoreProperties& WithIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) {
214 SetIdentityProviderConfiguration(std::forward<IdentityProviderConfigurationT>(value));
215 return *this;
216 }
218
220
223 inline const ErrorCause& GetErrorCause() const { return m_errorCause; }
224 inline bool ErrorCauseHasBeenSet() const { return m_errorCauseHasBeenSet; }
225 template <typename ErrorCauseT = ErrorCause>
226 void SetErrorCause(ErrorCauseT&& value) {
227 m_errorCauseHasBeenSet = true;
228 m_errorCause = std::forward<ErrorCauseT>(value);
229 }
230 template <typename ErrorCauseT = ErrorCause>
231 DatastoreProperties& WithErrorCause(ErrorCauseT&& value) {
232 SetErrorCause(std::forward<ErrorCauseT>(value));
233 return *this;
234 }
236 private:
237 Aws::String m_datastoreId;
238
239 Aws::String m_datastoreArn;
240
241 Aws::String m_datastoreName;
242
243 DatastoreStatus m_datastoreStatus{DatastoreStatus::NOT_SET};
244
245 Aws::Utils::DateTime m_createdAt{};
246
247 FHIRVersion m_datastoreTypeVersion{FHIRVersion::NOT_SET};
248
249 Aws::String m_datastoreEndpoint;
250
251 SseConfiguration m_sseConfiguration;
252
253 PreloadDataConfig m_preloadDataConfig;
254
255 IdentityProviderConfiguration m_identityProviderConfiguration;
256
257 ErrorCause m_errorCause;
258 bool m_datastoreIdHasBeenSet = false;
259 bool m_datastoreArnHasBeenSet = false;
260 bool m_datastoreNameHasBeenSet = false;
261 bool m_datastoreStatusHasBeenSet = false;
262 bool m_createdAtHasBeenSet = false;
263 bool m_datastoreTypeVersionHasBeenSet = false;
264 bool m_datastoreEndpointHasBeenSet = false;
265 bool m_sseConfigurationHasBeenSet = false;
266 bool m_preloadDataConfigHasBeenSet = false;
267 bool m_identityProviderConfigurationHasBeenSet = false;
268 bool m_errorCauseHasBeenSet = false;
269};
270
271} // namespace Model
272} // namespace HealthLake
273} // namespace Aws
DatastoreProperties & WithCreatedAt(CreatedAtT &&value)
DatastoreProperties & WithDatastoreTypeVersion(FHIRVersion value)
DatastoreProperties & WithPreloadDataConfig(PreloadDataConfigT &&value)
DatastoreProperties & WithDatastoreId(DatastoreIdT &&value)
void SetSseConfiguration(SseConfigurationT &&value)
const SseConfiguration & GetSseConfiguration() const
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
DatastoreProperties & WithSseConfiguration(SseConfigurationT &&value)
DatastoreProperties & WithDatastoreEndpoint(DatastoreEndpointT &&value)
const PreloadDataConfig & GetPreloadDataConfig() const
const Aws::Utils::DateTime & GetCreatedAt() const
DatastoreProperties & WithDatastoreStatus(DatastoreStatus value)
void SetIdentityProviderConfiguration(IdentityProviderConfigurationT &&value)
void SetDatastoreEndpoint(DatastoreEndpointT &&value)
DatastoreProperties & WithDatastoreName(DatastoreNameT &&value)
DatastoreProperties & WithDatastoreArn(DatastoreArnT &&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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue