/** * 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 namespace Aws { namespace Omics { namespace Model { /** */ class CreateVariantStoreRequest : public OmicsRequest { public: AWS_OMICS_API CreateVariantStoreRequest(); // 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 "CreateVariantStore"; } AWS_OMICS_API Aws::String SerializePayload() const override; /** *

The genome reference for the store's variants.

*/ inline const ReferenceItem& GetReference() const{ return m_reference; } /** *

The genome reference for the store's variants.

*/ inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; } /** *

The genome reference for the store's variants.

*/ inline void SetReference(const ReferenceItem& value) { m_referenceHasBeenSet = true; m_reference = value; } /** *

The genome reference for the store's variants.

*/ inline void SetReference(ReferenceItem&& value) { m_referenceHasBeenSet = true; m_reference = std::move(value); } /** *

The genome reference for the store's variants.

*/ inline CreateVariantStoreRequest& WithReference(const ReferenceItem& value) { SetReference(value); return *this;} /** *

The genome reference for the store's variants.

*/ inline CreateVariantStoreRequest& WithReference(ReferenceItem&& value) { SetReference(std::move(value)); return *this;} /** *

A name for the store.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A name for the store.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A name for the store.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A name for the store.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A name for the store.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A name for the store.

*/ inline CreateVariantStoreRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A name for the store.

*/ inline CreateVariantStoreRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A name for the store.

*/ inline CreateVariantStoreRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A description for the store.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description for the store.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description for the store.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description for the store.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description for the store.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description for the store.

*/ inline CreateVariantStoreRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description for the store.

*/ inline CreateVariantStoreRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description for the store.

*/ inline CreateVariantStoreRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Tags for the store.

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

Tags for the store.

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

Tags for the store.

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

Tags for the store.

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

Tags for the store.

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

Tags for the store.

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

Tags for the store.

*/ inline CreateVariantStoreRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Tags for the store.

*/ inline CreateVariantStoreRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags for the store.

*/ inline CreateVariantStoreRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags for the store.

*/ inline CreateVariantStoreRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags for the store.

*/ inline CreateVariantStoreRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags for the store.

*/ inline CreateVariantStoreRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags for the store.

*/ inline CreateVariantStoreRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Server-side encryption (SSE) settings for the store.

*/ inline const SseConfig& GetSseConfig() const{ return m_sseConfig; } /** *

Server-side encryption (SSE) settings for the store.

*/ inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; } /** *

Server-side encryption (SSE) settings for the store.

*/ inline void SetSseConfig(const SseConfig& value) { m_sseConfigHasBeenSet = true; m_sseConfig = value; } /** *

Server-side encryption (SSE) settings for the store.

*/ inline void SetSseConfig(SseConfig&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::move(value); } /** *

Server-side encryption (SSE) settings for the store.

*/ inline CreateVariantStoreRequest& WithSseConfig(const SseConfig& value) { SetSseConfig(value); return *this;} /** *

Server-side encryption (SSE) settings for the store.

*/ inline CreateVariantStoreRequest& WithSseConfig(SseConfig&& value) { SetSseConfig(std::move(value)); return *this;} private: ReferenceItem m_reference; bool m_referenceHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; SseConfig m_sseConfig; bool m_sseConfigHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws