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

The store's ID.

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

The store's ID.

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

The store's genome reference. Required for all stores except TSV format with * generic annotations.

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

The store's genome reference. Required for all stores except TSV format with * generic annotations.

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

The store's genome reference. Required for all stores except TSV format with * generic annotations.

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

The store's genome reference. Required for all stores except TSV format with * generic annotations.

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

The store's genome reference. Required for all stores except TSV format with * generic annotations.

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

The annotation file format of the store.

*/ inline CreateAnnotationStoreResult& WithStoreFormat(StoreFormat&& value) { SetStoreFormat(std::move(value)); return *this;} /** *

The store's file parsing options.

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

The store's file parsing options.

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

The store's file parsing options.

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

The store's file parsing options.

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

The store's file parsing options.

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

The store's status.

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

The store's name.

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

The store's name.

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

When the store was created.

*/ inline CreateAnnotationStoreResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(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 CreateAnnotationStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateAnnotationStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateAnnotationStoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; ReferenceItem m_reference; StoreFormat m_storeFormat; StoreOptions m_storeOptions; StoreStatus m_status; Aws::String m_name; Aws::Utils::DateTime m_creationTime; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws