/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Omics { namespace Model { /** *

An annotation store.

See Also:

AWS * API Reference

*/ class AnnotationStoreItem { public: AWS_OMICS_API AnnotationStoreItem(); AWS_OMICS_API AnnotationStoreItem(Aws::Utils::Json::JsonView jsonValue); AWS_OMICS_API AnnotationStoreItem& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The store's ID.

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

The store's ID.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The store's ID.

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

The store's ID.

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

The store's ID.

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

The store's ID.

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

The store's ID.

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

The store's ID.

*/ inline AnnotationStoreItem& 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 bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; } /** *

The store's genome reference.

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

The store's genome reference.

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

The store's genome reference.

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

The store's genome reference.

*/ inline AnnotationStoreItem& 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 bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The store's status.

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

The store's status.

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

The store's status.

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

The store's status.

*/ inline AnnotationStoreItem& 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 bool StoreArnHasBeenSet() const { return m_storeArnHasBeenSet; } /** *

The store's ARN.

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

The store's ARN.

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

The store's ARN.

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

The store's ARN.

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

The store's ARN.

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

The store's ARN.

*/ inline AnnotationStoreItem& 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 bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The store's name.

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

The store's name.

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

The store's name.

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

The store's name.

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

The store's name.

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

The store's name.

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

The store's file format.

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

The store's file format.

*/ inline bool StoreFormatHasBeenSet() const { return m_storeFormatHasBeenSet; } /** *

The store's file format.

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

The store's file format.

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

The store's file format.

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

The store's file format.

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

The store's description.

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

The store's description.

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

The store's description.

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

The store's description.

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

The store's description.

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

The store's description.

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

The store's description.

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

The store's description.

*/ inline AnnotationStoreItem& 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 bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; } /** *

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

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

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

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

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

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

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

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

The store's creation time.

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

The store's creation time.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The store's creation time.

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

The store's creation time.

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

The store's creation time.

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

The store's creation time.

*/ inline AnnotationStoreItem& 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 bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *

When the store was updated.

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

When the store was updated.

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

When the store was updated.

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

When the store was updated.

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

The store's status message.

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

The store's status message.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

The store's status message.

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

The store's status message.

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

The store's status message.

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

The store's status message.

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

The store's status message.

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

The store's status message.

*/ inline AnnotationStoreItem& 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 bool StoreSizeBytesHasBeenSet() const { return m_storeSizeBytesHasBeenSet; } /** *

The store's size in bytes.

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

The store's size in bytes.

*/ inline AnnotationStoreItem& WithStoreSizeBytes(long long value) { SetStoreSizeBytes(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; ReferenceItem m_reference; bool m_referenceHasBeenSet = false; StoreStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_storeArn; bool m_storeArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; StoreFormat m_storeFormat; bool m_storeFormatHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; SseConfig m_sseConfig; bool m_sseConfigHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; long long m_storeSizeBytes; bool m_storeSizeBytesHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws