/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for elements related to a part.See Also:
AWS API
* Reference
Part number identifying the part. This is a positive integer between 1 and * 10,000.
*/ inline int GetPartNumber() const{ return m_partNumber; } /** *Part number identifying the part. This is a positive integer between 1 and * 10,000.
*/ inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } /** *Part number identifying the part. This is a positive integer between 1 and * 10,000.
*/ inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; } /** *Part number identifying the part. This is a positive integer between 1 and * 10,000.
*/ inline Part& WithPartNumber(int value) { SetPartNumber(value); return *this;} /** *Date and time at which the part was uploaded.
*/ inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; } /** *Date and time at which the part was uploaded.
*/ inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } /** *Date and time at which the part was uploaded.
*/ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } /** *Date and time at which the part was uploaded.
*/ inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); } /** *Date and time at which the part was uploaded.
*/ inline Part& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;} /** *Date and time at which the part was uploaded.
*/ inline Part& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} /** *Entity tag returned when the part was uploaded.
*/ inline const Aws::String& GetETag() const{ return m_eTag; } /** *Entity tag returned when the part was uploaded.
*/ inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } /** *Entity tag returned when the part was uploaded.
*/ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } /** *Entity tag returned when the part was uploaded.
*/ inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); } /** *Entity tag returned when the part was uploaded.
*/ inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); } /** *Entity tag returned when the part was uploaded.
*/ inline Part& WithETag(const Aws::String& value) { SetETag(value); return *this;} /** *Entity tag returned when the part was uploaded.
*/ inline Part& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} /** *Entity tag returned when the part was uploaded.
*/ inline Part& WithETag(const char* value) { SetETag(value); return *this;} /** *Size in bytes of the uploaded part data.
*/ inline long long GetSize() const{ return m_size; } /** *Size in bytes of the uploaded part data.
*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *Size in bytes of the uploaded part data.
*/ inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; } /** *Size in bytes of the uploaded part data.
*/ inline Part& WithSize(long long value) { SetSize(value); return *this;} private: int m_partNumber; bool m_partNumberHasBeenSet; Aws::Utils::DateTime m_lastModified; bool m_lastModifiedHasBeenSet; Aws::String m_eTag; bool m_eTagHasBeenSet; long long m_size; bool m_sizeHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws