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

Part of the response to the CompleteReadSetUpload API, including metadata. *

See Also:

AWS * API Reference

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

A number identifying the part in a read set upload.

*/ inline int GetPartNumber() const{ return m_partNumber; } /** *

A number identifying the part in a read set upload.

*/ inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } /** *

A number identifying the part in a read set upload.

*/ inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; } /** *

A number identifying the part in a read set upload.

*/ inline CompleteReadSetUploadPartListItem& WithPartNumber(int value) { SetPartNumber(value); return *this;} /** *

The source file of the part being uploaded.

*/ inline const ReadSetPartSource& GetPartSource() const{ return m_partSource; } /** *

The source file of the part being uploaded.

*/ inline bool PartSourceHasBeenSet() const { return m_partSourceHasBeenSet; } /** *

The source file of the part being uploaded.

*/ inline void SetPartSource(const ReadSetPartSource& value) { m_partSourceHasBeenSet = true; m_partSource = value; } /** *

The source file of the part being uploaded.

*/ inline void SetPartSource(ReadSetPartSource&& value) { m_partSourceHasBeenSet = true; m_partSource = std::move(value); } /** *

The source file of the part being uploaded.

*/ inline CompleteReadSetUploadPartListItem& WithPartSource(const ReadSetPartSource& value) { SetPartSource(value); return *this;} /** *

The source file of the part being uploaded.

*/ inline CompleteReadSetUploadPartListItem& WithPartSource(ReadSetPartSource&& value) { SetPartSource(std::move(value)); return *this;} /** *

A unique identifier used to confirm that parts are being added to the * correct upload.

*/ inline const Aws::String& GetChecksum() const{ return m_checksum; } /** *

A unique identifier used to confirm that parts are being added to the * correct upload.

*/ inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; } /** *

A unique identifier used to confirm that parts are being added to the * correct upload.

*/ inline void SetChecksum(const Aws::String& value) { m_checksumHasBeenSet = true; m_checksum = value; } /** *

A unique identifier used to confirm that parts are being added to the * correct upload.

*/ inline void SetChecksum(Aws::String&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); } /** *

A unique identifier used to confirm that parts are being added to the * correct upload.

*/ inline void SetChecksum(const char* value) { m_checksumHasBeenSet = true; m_checksum.assign(value); } /** *

A unique identifier used to confirm that parts are being added to the * correct upload.

*/ inline CompleteReadSetUploadPartListItem& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;} /** *

A unique identifier used to confirm that parts are being added to the * correct upload.

*/ inline CompleteReadSetUploadPartListItem& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;} /** *

A unique identifier used to confirm that parts are being added to the * correct upload.

*/ inline CompleteReadSetUploadPartListItem& WithChecksum(const char* value) { SetChecksum(value); return *this;} private: int m_partNumber; bool m_partNumberHasBeenSet = false; ReadSetPartSource m_partSource; bool m_partSourceHasBeenSet = false; Aws::String m_checksum; bool m_checksumHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws