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

Details about a file.

See Also:

AWS * API Reference

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

The file's total parts.

*/ inline int GetTotalParts() const{ return m_totalParts; } /** *

The file's total parts.

*/ inline bool TotalPartsHasBeenSet() const { return m_totalPartsHasBeenSet; } /** *

The file's total parts.

*/ inline void SetTotalParts(int value) { m_totalPartsHasBeenSet = true; m_totalParts = value; } /** *

The file's total parts.

*/ inline FileInformation& WithTotalParts(int value) { SetTotalParts(value); return *this;} /** *

The file's part size.

*/ inline long long GetPartSize() const{ return m_partSize; } /** *

The file's part size.

*/ inline bool PartSizeHasBeenSet() const { return m_partSizeHasBeenSet; } /** *

The file's part size.

*/ inline void SetPartSize(long long value) { m_partSizeHasBeenSet = true; m_partSize = value; } /** *

The file's part size.

*/ inline FileInformation& WithPartSize(long long value) { SetPartSize(value); return *this;} /** *

The file's content length.

*/ inline long long GetContentLength() const{ return m_contentLength; } /** *

The file's content length.

*/ inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; } /** *

The file's content length.

*/ inline void SetContentLength(long long value) { m_contentLengthHasBeenSet = true; m_contentLength = value; } /** *

The file's content length.

*/ inline FileInformation& WithContentLength(long long value) { SetContentLength(value); return *this;} private: int m_totalParts; bool m_totalPartsHasBeenSet = false; long long m_partSize; bool m_partSizeHasBeenSet = false; long long m_contentLength; bool m_contentLengthHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws