/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace HealthLake { namespace Model { /** */ class CreateFHIRDatastoreRequest : public HealthLakeRequest { public: AWS_HEALTHLAKE_API CreateFHIRDatastoreRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateFHIRDatastore"; } AWS_HEALTHLAKE_API Aws::String SerializePayload() const override; AWS_HEALTHLAKE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The user generated name for the data store.

*/ inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; } /** *

The user generated name for the data store.

*/ inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; } /** *

The user generated name for the data store.

*/ inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; } /** *

The user generated name for the data store.

*/ inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); } /** *

The user generated name for the data store.

*/ inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); } /** *

The user generated name for the data store.

*/ inline CreateFHIRDatastoreRequest& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;} /** *

The user generated name for the data store.

*/ inline CreateFHIRDatastoreRequest& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;} /** *

The user generated name for the data store.

*/ inline CreateFHIRDatastoreRequest& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;} /** *

The FHIR version of the data store. The only supported version is R4.

*/ inline const FHIRVersion& GetDatastoreTypeVersion() const{ return m_datastoreTypeVersion; } /** *

The FHIR version of the data store. The only supported version is R4.

*/ inline bool DatastoreTypeVersionHasBeenSet() const { return m_datastoreTypeVersionHasBeenSet; } /** *

The FHIR version of the data store. The only supported version is R4.

*/ inline void SetDatastoreTypeVersion(const FHIRVersion& value) { m_datastoreTypeVersionHasBeenSet = true; m_datastoreTypeVersion = value; } /** *

The FHIR version of the data store. The only supported version is R4.

*/ inline void SetDatastoreTypeVersion(FHIRVersion&& value) { m_datastoreTypeVersionHasBeenSet = true; m_datastoreTypeVersion = std::move(value); } /** *

The FHIR version of the data store. The only supported version is R4.

*/ inline CreateFHIRDatastoreRequest& WithDatastoreTypeVersion(const FHIRVersion& value) { SetDatastoreTypeVersion(value); return *this;} /** *

The FHIR version of the data store. The only supported version is R4.

*/ inline CreateFHIRDatastoreRequest& WithDatastoreTypeVersion(FHIRVersion&& value) { SetDatastoreTypeVersion(std::move(value)); return *this;} /** *

The server-side encryption key configuration for a customer provided * encryption key specified for creating a data store.

*/ inline const SseConfiguration& GetSseConfiguration() const{ return m_sseConfiguration; } /** *

The server-side encryption key configuration for a customer provided * encryption key specified for creating a data store.

*/ inline bool SseConfigurationHasBeenSet() const { return m_sseConfigurationHasBeenSet; } /** *

The server-side encryption key configuration for a customer provided * encryption key specified for creating a data store.

*/ inline void SetSseConfiguration(const SseConfiguration& value) { m_sseConfigurationHasBeenSet = true; m_sseConfiguration = value; } /** *

The server-side encryption key configuration for a customer provided * encryption key specified for creating a data store.

*/ inline void SetSseConfiguration(SseConfiguration&& value) { m_sseConfigurationHasBeenSet = true; m_sseConfiguration = std::move(value); } /** *

The server-side encryption key configuration for a customer provided * encryption key specified for creating a data store.

*/ inline CreateFHIRDatastoreRequest& WithSseConfiguration(const SseConfiguration& value) { SetSseConfiguration(value); return *this;} /** *

The server-side encryption key configuration for a customer provided * encryption key specified for creating a data store.

*/ inline CreateFHIRDatastoreRequest& WithSseConfiguration(SseConfiguration&& value) { SetSseConfiguration(std::move(value)); return *this;} /** *

Optional parameter to preload data upon creation of the data store. * Currently, the only supported preloaded data is synthetic data generated from * Synthea.

*/ inline const PreloadDataConfig& GetPreloadDataConfig() const{ return m_preloadDataConfig; } /** *

Optional parameter to preload data upon creation of the data store. * Currently, the only supported preloaded data is synthetic data generated from * Synthea.

*/ inline bool PreloadDataConfigHasBeenSet() const { return m_preloadDataConfigHasBeenSet; } /** *

Optional parameter to preload data upon creation of the data store. * Currently, the only supported preloaded data is synthetic data generated from * Synthea.

*/ inline void SetPreloadDataConfig(const PreloadDataConfig& value) { m_preloadDataConfigHasBeenSet = true; m_preloadDataConfig = value; } /** *

Optional parameter to preload data upon creation of the data store. * Currently, the only supported preloaded data is synthetic data generated from * Synthea.

*/ inline void SetPreloadDataConfig(PreloadDataConfig&& value) { m_preloadDataConfigHasBeenSet = true; m_preloadDataConfig = std::move(value); } /** *

Optional parameter to preload data upon creation of the data store. * Currently, the only supported preloaded data is synthetic data generated from * Synthea.

*/ inline CreateFHIRDatastoreRequest& WithPreloadDataConfig(const PreloadDataConfig& value) { SetPreloadDataConfig(value); return *this;} /** *

Optional parameter to preload data upon creation of the data store. * Currently, the only supported preloaded data is synthetic data generated from * Synthea.

*/ inline CreateFHIRDatastoreRequest& WithPreloadDataConfig(PreloadDataConfig&& value) { SetPreloadDataConfig(std::move(value)); return *this;} /** *

Optional user provided token used for ensuring idempotency.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

Optional user provided token used for ensuring idempotency.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

Optional user provided token used for ensuring idempotency.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

Optional user provided token used for ensuring idempotency.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

Optional user provided token used for ensuring idempotency.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

Optional user provided token used for ensuring idempotency.

*/ inline CreateFHIRDatastoreRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

Optional user provided token used for ensuring idempotency.

*/ inline CreateFHIRDatastoreRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

Optional user provided token used for ensuring idempotency.

*/ inline CreateFHIRDatastoreRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

Resource tags that are applied to a data store when it is created.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

Resource tags that are applied to a data store when it is created.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Resource tags that are applied to a data store when it is created.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Resource tags that are applied to a data store when it is created.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Resource tags that are applied to a data store when it is created.

*/ inline CreateFHIRDatastoreRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

Resource tags that are applied to a data store when it is created.

*/ inline CreateFHIRDatastoreRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

Resource tags that are applied to a data store when it is created.

*/ inline CreateFHIRDatastoreRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

Resource tags that are applied to a data store when it is created.

*/ inline CreateFHIRDatastoreRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The configuration of the identity provider that you want to use for your data * store.

*/ inline const IdentityProviderConfiguration& GetIdentityProviderConfiguration() const{ return m_identityProviderConfiguration; } /** *

The configuration of the identity provider that you want to use for your data * store.

*/ inline bool IdentityProviderConfigurationHasBeenSet() const { return m_identityProviderConfigurationHasBeenSet; } /** *

The configuration of the identity provider that you want to use for your data * store.

*/ inline void SetIdentityProviderConfiguration(const IdentityProviderConfiguration& value) { m_identityProviderConfigurationHasBeenSet = true; m_identityProviderConfiguration = value; } /** *

The configuration of the identity provider that you want to use for your data * store.

*/ inline void SetIdentityProviderConfiguration(IdentityProviderConfiguration&& value) { m_identityProviderConfigurationHasBeenSet = true; m_identityProviderConfiguration = std::move(value); } /** *

The configuration of the identity provider that you want to use for your data * store.

*/ inline CreateFHIRDatastoreRequest& WithIdentityProviderConfiguration(const IdentityProviderConfiguration& value) { SetIdentityProviderConfiguration(value); return *this;} /** *

The configuration of the identity provider that you want to use for your data * store.

*/ inline CreateFHIRDatastoreRequest& WithIdentityProviderConfiguration(IdentityProviderConfiguration&& value) { SetIdentityProviderConfiguration(std::move(value)); return *this;} private: Aws::String m_datastoreName; bool m_datastoreNameHasBeenSet = false; FHIRVersion m_datastoreTypeVersion; bool m_datastoreTypeVersionHasBeenSet = false; SseConfiguration m_sseConfiguration; bool m_sseConfigurationHasBeenSet = false; PreloadDataConfig m_preloadDataConfig; bool m_preloadDataConfigHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; IdentityProviderConfiguration m_identityProviderConfiguration; bool m_identityProviderConfigurationHasBeenSet = false; }; } // namespace Model } // namespace HealthLake } // namespace Aws