/** * 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 UpdateAnnotationStoreResult { public: AWS_OMICS_API UpdateAnnotationStoreResult(); AWS_OMICS_API UpdateAnnotationStoreResult(const Aws::AmazonWebServiceResult& result); AWS_OMICS_API UpdateAnnotationStoreResult& 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 UpdateAnnotationStoreResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The store's ID.

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

The store's ID.

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

The store's genome reference.

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

The store's status.

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

The store's name.

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

The store's name.

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

The store's description.

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

The store's description.

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

When the store was created.

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

When the store was updated.

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

Parsing options for the store.

*/ inline const StoreOptions& GetStoreOptions() const{ return m_storeOptions; } /** *

Parsing options for the store.

*/ inline void SetStoreOptions(const StoreOptions& value) { m_storeOptions = value; } /** *

Parsing options for the store.

*/ inline void SetStoreOptions(StoreOptions&& value) { m_storeOptions = std::move(value); } /** *

Parsing options for the store.

*/ inline UpdateAnnotationStoreResult& WithStoreOptions(const StoreOptions& value) { SetStoreOptions(value); return *this;} /** *

Parsing options for the store.

*/ inline UpdateAnnotationStoreResult& WithStoreOptions(StoreOptions&& value) { SetStoreOptions(std::move(value)); return *this;} /** *

The annotation file format of the store.

*/ inline const StoreFormat& GetStoreFormat() const{ return m_storeFormat; } /** *

The annotation file format of the store.

*/ inline void SetStoreFormat(const StoreFormat& value) { m_storeFormat = value; } /** *

The annotation file format of the store.

*/ inline void SetStoreFormat(StoreFormat&& value) { m_storeFormat = std::move(value); } /** *

The annotation file format of the store.

*/ inline UpdateAnnotationStoreResult& WithStoreFormat(const StoreFormat& value) { SetStoreFormat(value); return *this;} /** *

The annotation file format of the store.

*/ inline UpdateAnnotationStoreResult& WithStoreFormat(StoreFormat&& value) { SetStoreFormat(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 UpdateAnnotationStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateAnnotationStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateAnnotationStoreResult& 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; StoreOptions m_storeOptions; StoreFormat m_storeFormat; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws