/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Omics { namespace Model { /** *

A genome reference.

See Also:

AWS * API Reference

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

The reference's ID.

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

The reference's ID.

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

The reference's ID.

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

The reference's ID.

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

The reference's ID.

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

The reference's ID.

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

The reference's ID.

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

The reference's ID.

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

The reference's ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The reference's ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The reference's ARN.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The reference's ARN.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The reference's ARN.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The reference's ARN.

*/ inline ReferenceListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The reference's ARN.

*/ inline ReferenceListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The reference's ARN.

*/ inline ReferenceListItem& WithArn(const char* value) { SetArn(value); return *this;} /** *

The reference's store ID.

*/ inline const Aws::String& GetReferenceStoreId() const{ return m_referenceStoreId; } /** *

The reference's store ID.

*/ inline bool ReferenceStoreIdHasBeenSet() const { return m_referenceStoreIdHasBeenSet; } /** *

The reference's store ID.

*/ inline void SetReferenceStoreId(const Aws::String& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = value; } /** *

The reference's store ID.

*/ inline void SetReferenceStoreId(Aws::String&& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::move(value); } /** *

The reference's store ID.

*/ inline void SetReferenceStoreId(const char* value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId.assign(value); } /** *

The reference's store ID.

*/ inline ReferenceListItem& WithReferenceStoreId(const Aws::String& value) { SetReferenceStoreId(value); return *this;} /** *

The reference's store ID.

*/ inline ReferenceListItem& WithReferenceStoreId(Aws::String&& value) { SetReferenceStoreId(std::move(value)); return *this;} /** *

The reference's store ID.

*/ inline ReferenceListItem& WithReferenceStoreId(const char* value) { SetReferenceStoreId(value); return *this;} /** *

The reference's MD5 checksum.

*/ inline const Aws::String& GetMd5() const{ return m_md5; } /** *

The reference's MD5 checksum.

*/ inline bool Md5HasBeenSet() const { return m_md5HasBeenSet; } /** *

The reference's MD5 checksum.

*/ inline void SetMd5(const Aws::String& value) { m_md5HasBeenSet = true; m_md5 = value; } /** *

The reference's MD5 checksum.

*/ inline void SetMd5(Aws::String&& value) { m_md5HasBeenSet = true; m_md5 = std::move(value); } /** *

The reference's MD5 checksum.

*/ inline void SetMd5(const char* value) { m_md5HasBeenSet = true; m_md5.assign(value); } /** *

The reference's MD5 checksum.

*/ inline ReferenceListItem& WithMd5(const Aws::String& value) { SetMd5(value); return *this;} /** *

The reference's MD5 checksum.

*/ inline ReferenceListItem& WithMd5(Aws::String&& value) { SetMd5(std::move(value)); return *this;} /** *

The reference's MD5 checksum.

*/ inline ReferenceListItem& WithMd5(const char* value) { SetMd5(value); return *this;} /** *

The reference's status.

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

The reference's status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The reference's status.

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

The reference's status.

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

The reference's status.

*/ inline ReferenceListItem& WithStatus(const ReferenceStatus& value) { SetStatus(value); return *this;} /** *

The reference's status.

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

The reference's name.

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

The reference's name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The reference's name.

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

The reference's name.

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

The reference's name.

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

The reference's name.

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

The reference's name.

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

The reference's name.

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

The reference's description.

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

The reference's description.

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

The reference's description.

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

The reference's description.

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

The reference's description.

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

The reference's description.

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

The reference's description.

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

The reference's description.

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

When the reference was created.

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

When the reference was created.

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

When the reference was created.

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

When the reference was created.

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

When the reference was created.

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

When the reference was created.

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

When the reference was updated.

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

When the reference was updated.

*/ inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *

When the reference was updated.

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

When the reference was updated.

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

When the reference was updated.

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

When the reference was updated.

*/ inline ReferenceListItem& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_referenceStoreId; bool m_referenceStoreIdHasBeenSet = false; Aws::String m_md5; bool m_md5HasBeenSet = false; ReferenceStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws