/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 UpdateVariantStoreResult { public: AWS_OMICS_API UpdateVariantStoreResult(); AWS_OMICS_API UpdateVariantStoreResult(const Aws::AmazonWebServiceResult& result); AWS_OMICS_API UpdateVariantStoreResult& 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 UpdateVariantStoreResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The store's ID.

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

The store's ID.

*/ inline UpdateVariantStoreResult& 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 UpdateVariantStoreResult& WithReference(const ReferenceItem& value) { SetReference(value); return *this;} /** *

The store's genome reference.

*/ inline UpdateVariantStoreResult& 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 UpdateVariantStoreResult& WithStatus(const StoreStatus& value) { SetStatus(value); return *this;} /** *

The store's status.

*/ inline UpdateVariantStoreResult& WithStatus(StoreStatus&& value) { SetStatus(std::move(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 UpdateVariantStoreResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The store's name.

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

The store's name.

*/ inline UpdateVariantStoreResult& 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 UpdateVariantStoreResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The store's description.

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

The store's description.

*/ inline UpdateVariantStoreResult& WithDescription(const char* value) { SetDescription(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 UpdateVariantStoreResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the store was created.

*/ inline UpdateVariantStoreResult& 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 UpdateVariantStoreResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

When the store was updated.

*/ inline UpdateVariantStoreResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(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 UpdateVariantStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateVariantStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateVariantStoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; ReferenceItem m_reference; StoreStatus m_status; Aws::String m_name; Aws::String m_description; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws