AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DatastoreProperties.h
1
6#pragma once
7#include <aws/healthlake/HealthLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/healthlake/model/DatastoreStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/healthlake/model/FHIRVersion.h>
12#include <aws/healthlake/model/SseConfiguration.h>
13#include <aws/healthlake/model/PreloadDataConfig.h>
14#include <aws/healthlake/model/IdentityProviderConfiguration.h>
15#include <aws/healthlake/model/ErrorCause.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace HealthLake
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_HEALTHLAKE_API DatastoreProperties() = default;
43 AWS_HEALTHLAKE_API DatastoreProperties(Aws::Utils::Json::JsonView jsonValue);
45 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
53 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
54 template<typename DatastoreIdT = Aws::String>
55 void SetDatastoreId(DatastoreIdT&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::forward<DatastoreIdT>(value); }
56 template<typename DatastoreIdT = Aws::String>
57 DatastoreProperties& WithDatastoreId(DatastoreIdT&& value) { SetDatastoreId(std::forward<DatastoreIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDatastoreArn() const { return m_datastoreArn; }
65 inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; }
66 template<typename DatastoreArnT = Aws::String>
67 void SetDatastoreArn(DatastoreArnT&& value) { m_datastoreArnHasBeenSet = true; m_datastoreArn = std::forward<DatastoreArnT>(value); }
68 template<typename DatastoreArnT = Aws::String>
69 DatastoreProperties& WithDatastoreArn(DatastoreArnT&& value) { SetDatastoreArn(std::forward<DatastoreArnT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDatastoreName() const { return m_datastoreName; }
77 inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
78 template<typename DatastoreNameT = Aws::String>
79 void SetDatastoreName(DatastoreNameT&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::forward<DatastoreNameT>(value); }
80 template<typename DatastoreNameT = Aws::String>
81 DatastoreProperties& WithDatastoreName(DatastoreNameT&& value) { SetDatastoreName(std::forward<DatastoreNameT>(value)); return *this;}
83
85
88 inline DatastoreStatus GetDatastoreStatus() const { return m_datastoreStatus; }
89 inline bool DatastoreStatusHasBeenSet() const { return m_datastoreStatusHasBeenSet; }
90 inline void SetDatastoreStatus(DatastoreStatus value) { m_datastoreStatusHasBeenSet = true; m_datastoreStatus = value; }
93
95
98 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
99 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
100 template<typename CreatedAtT = Aws::Utils::DateTime>
101 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
102 template<typename CreatedAtT = Aws::Utils::DateTime>
103 DatastoreProperties& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
105
107
110 inline FHIRVersion GetDatastoreTypeVersion() const { return m_datastoreTypeVersion; }
111 inline bool DatastoreTypeVersionHasBeenSet() const { return m_datastoreTypeVersionHasBeenSet; }
112 inline void SetDatastoreTypeVersion(FHIRVersion value) { m_datastoreTypeVersionHasBeenSet = true; m_datastoreTypeVersion = value; }
115
117
121 inline const Aws::String& GetDatastoreEndpoint() const { return m_datastoreEndpoint; }
122 inline bool DatastoreEndpointHasBeenSet() const { return m_datastoreEndpointHasBeenSet; }
123 template<typename DatastoreEndpointT = Aws::String>
124 void SetDatastoreEndpoint(DatastoreEndpointT&& value) { m_datastoreEndpointHasBeenSet = true; m_datastoreEndpoint = std::forward<DatastoreEndpointT>(value); }
125 template<typename DatastoreEndpointT = Aws::String>
126 DatastoreProperties& WithDatastoreEndpoint(DatastoreEndpointT&& value) { SetDatastoreEndpoint(std::forward<DatastoreEndpointT>(value)); return *this;}
128
130
134 inline const SseConfiguration& GetSseConfiguration() const { return m_sseConfiguration; }
135 inline bool SseConfigurationHasBeenSet() const { return m_sseConfigurationHasBeenSet; }
136 template<typename SseConfigurationT = SseConfiguration>
137 void SetSseConfiguration(SseConfigurationT&& value) { m_sseConfigurationHasBeenSet = true; m_sseConfiguration = std::forward<SseConfigurationT>(value); }
138 template<typename SseConfigurationT = SseConfiguration>
139 DatastoreProperties& WithSseConfiguration(SseConfigurationT&& value) { SetSseConfiguration(std::forward<SseConfigurationT>(value)); return *this;}
141
143
147 inline const PreloadDataConfig& GetPreloadDataConfig() const { return m_preloadDataConfig; }
148 inline bool PreloadDataConfigHasBeenSet() const { return m_preloadDataConfigHasBeenSet; }
149 template<typename PreloadDataConfigT = PreloadDataConfig>
150 void SetPreloadDataConfig(PreloadDataConfigT&& value) { m_preloadDataConfigHasBeenSet = true; m_preloadDataConfig = std::forward<PreloadDataConfigT>(value); }
151 template<typename PreloadDataConfigT = PreloadDataConfig>
152 DatastoreProperties& WithPreloadDataConfig(PreloadDataConfigT&& value) { SetPreloadDataConfig(std::forward<PreloadDataConfigT>(value)); return *this;}
154
156
159 inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const { return m_identityProviderConfiguration; }
160 inline bool IdentityProviderConfigurationHasBeenSet() const { return m_identityProviderConfigurationHasBeenSet; }
161 template<typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
162 void SetIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) { m_identityProviderConfigurationHasBeenSet = true; m_identityProviderConfiguration = std::forward<IdentityProviderConfigurationT>(value); }
163 template<typename IdentityProviderConfigurationT = IdentityProviderConfiguration>
164 DatastoreProperties& WithIdentityProviderConfiguration(IdentityProviderConfigurationT&& value) { SetIdentityProviderConfiguration(std::forward<IdentityProviderConfigurationT>(value)); return *this;}
166
168
171 inline const ErrorCause& GetErrorCause() const { return m_errorCause; }
172 inline bool ErrorCauseHasBeenSet() const { return m_errorCauseHasBeenSet; }
173 template<typename ErrorCauseT = ErrorCause>
174 void SetErrorCause(ErrorCauseT&& value) { m_errorCauseHasBeenSet = true; m_errorCause = std::forward<ErrorCauseT>(value); }
175 template<typename ErrorCauseT = ErrorCause>
176 DatastoreProperties& WithErrorCause(ErrorCauseT&& value) { SetErrorCause(std::forward<ErrorCauseT>(value)); return *this;}
178 private:
179
180 Aws::String m_datastoreId;
181 bool m_datastoreIdHasBeenSet = false;
182
183 Aws::String m_datastoreArn;
184 bool m_datastoreArnHasBeenSet = false;
185
186 Aws::String m_datastoreName;
187 bool m_datastoreNameHasBeenSet = false;
188
189 DatastoreStatus m_datastoreStatus{DatastoreStatus::NOT_SET};
190 bool m_datastoreStatusHasBeenSet = false;
191
192 Aws::Utils::DateTime m_createdAt{};
193 bool m_createdAtHasBeenSet = false;
194
195 FHIRVersion m_datastoreTypeVersion{FHIRVersion::NOT_SET};
196 bool m_datastoreTypeVersionHasBeenSet = false;
197
198 Aws::String m_datastoreEndpoint;
199 bool m_datastoreEndpointHasBeenSet = false;
200
201 SseConfiguration m_sseConfiguration;
202 bool m_sseConfigurationHasBeenSet = false;
203
204 PreloadDataConfig m_preloadDataConfig;
205 bool m_preloadDataConfigHasBeenSet = false;
206
207 IdentityProviderConfiguration m_identityProviderConfiguration;
208 bool m_identityProviderConfigurationHasBeenSet = false;
209
210 ErrorCause m_errorCause;
211 bool m_errorCauseHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace HealthLake
216} // 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