/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Omics { namespace Model { class GetVariantStoreResult { public: AWS_OMICS_API GetVariantStoreResult(); AWS_OMICS_API GetVariantStoreResult(const Aws::AmazonWebServiceResult& result); AWS_OMICS_API GetVariantStoreResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The store's ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The store's ID.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

The store's ID.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

The store's ID.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The store's ID.

*/ inline GetVariantStoreResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The store's ID.

*/ inline GetVariantStoreResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The store's ID.

*/ inline GetVariantStoreResult& WithId(const char* value) { SetId(value); return *this;} /** *

The store's genome reference.

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

The store's genome reference.

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

The store's genome reference.

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

The store's genome reference.

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

The store's genome reference.

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

The store's status.

*/ inline const StoreStatus& GetStatus() const{ return m_status; } /** *

The store's status.

*/ inline void SetStatus(const StoreStatus& value) { m_status = value; } /** *

The store's status.

*/ inline void SetStatus(StoreStatus&& value) { m_status = std::move(value); } /** *

The store's status.

*/ inline GetVariantStoreResult& WithStatus(const StoreStatus& value) { SetStatus(value); return *this;} /** *

The store's status.

*/ inline GetVariantStoreResult& WithStatus(StoreStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The store's ARN.

*/ inline const Aws::String& GetStoreArn() const{ return m_storeArn; } /** *

The store's ARN.

*/ inline void SetStoreArn(const Aws::String& value) { m_storeArn = value; } /** *

The store's ARN.

*/ inline void SetStoreArn(Aws::String&& value) { m_storeArn = std::move(value); } /** *

The store's ARN.

*/ inline void SetStoreArn(const char* value) { m_storeArn.assign(value); } /** *

The store's ARN.

*/ inline GetVariantStoreResult& WithStoreArn(const Aws::String& value) { SetStoreArn(value); return *this;} /** *

The store's ARN.

*/ inline GetVariantStoreResult& WithStoreArn(Aws::String&& value) { SetStoreArn(std::move(value)); return *this;} /** *

The store's ARN.

*/ inline GetVariantStoreResult& WithStoreArn(const char* value) { SetStoreArn(value); return *this;} /** *

The store's name.

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

The store's name.

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

The store's name.

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

The store's name.

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

The store's name.

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

The store's name.

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

The store's name.

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

The store's description.

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

The store's description.

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

The store's description.

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

The store's description.

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

The store's description.

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

The store's description.

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

The store's description.

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

The store's server-side encryption (SSE) settings.

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

The store's server-side encryption (SSE) settings.

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

The store's server-side encryption (SSE) settings.

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

The store's server-side encryption (SSE) settings.

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

The store's server-side encryption (SSE) settings.

*/ inline GetVariantStoreResult& WithSseConfig(SseConfig&& value) { SetSseConfig(std::move(value)); return *this;} /** *

When the store was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the store was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

When the store was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

When the store was created.

*/ inline GetVariantStoreResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the store was created.

*/ inline GetVariantStoreResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

When the store was updated.

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

When the store was updated.

*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } /** *

When the store was updated.

*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } /** *

When the store was updated.

*/ inline GetVariantStoreResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

When the store was updated.

*/ inline GetVariantStoreResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} /** *

The store's tags.

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

The store's tags.

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

The store's tags.

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

The store's tags.

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

The store's tags.

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

The store's tags.

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

The store's tags.

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

The store's tags.

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

The store's tags.

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

The store's tags.

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

The store's tags.

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

The store's tags.

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

The store's status message.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The store's status message.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } /** *

The store's status message.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } /** *

The store's status message.

*/ inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } /** *

The store's status message.

*/ inline GetVariantStoreResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The store's status message.

*/ inline GetVariantStoreResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The store's status message.

*/ inline GetVariantStoreResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

The store's size in bytes.

*/ inline long long GetStoreSizeBytes() const{ return m_storeSizeBytes; } /** *

The store's size in bytes.

*/ inline void SetStoreSizeBytes(long long value) { m_storeSizeBytes = value; } /** *

The store's size in bytes.

*/ inline GetVariantStoreResult& WithStoreSizeBytes(long long value) { SetStoreSizeBytes(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetVariantStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetVariantStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetVariantStoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; ReferenceItem m_reference; StoreStatus m_status; Aws::String m_storeArn; Aws::String m_name; Aws::String m_description; SseConfig m_sseConfig; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_updateTime; Aws::Map m_tags; Aws::String m_statusMessage; long long m_storeSizeBytes; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws