/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A collection of parts associated with a multipart upload.See
* Also:
AWS
* API Reference
The total number of parts.
*/ inline int GetTotalPartsCount() const{ return m_totalPartsCount; } inline bool TotalPartsCountHasBeenSet() const { return m_totalPartsCountHasBeenSet; } inline void SetTotalPartsCount(int value) { m_totalPartsCountHasBeenSet = true; m_totalPartsCount = value; } inline GetObjectAttributesParts& WithTotalPartsCount(int value) { SetTotalPartsCount(value); return *this;} ///@} ///@{ /** *The marker for the current part.
*/ inline int GetPartNumberMarker() const{ return m_partNumberMarker; } inline bool PartNumberMarkerHasBeenSet() const { return m_partNumberMarkerHasBeenSet; } inline void SetPartNumberMarker(int value) { m_partNumberMarkerHasBeenSet = true; m_partNumberMarker = value; } inline GetObjectAttributesParts& WithPartNumberMarker(int value) { SetPartNumberMarker(value); return *this;} ///@} ///@{ /** *When a list is truncated, this element specifies the last part in the list,
* as well as the value to use for the PartNumberMarker request
* parameter in a subsequent request.
The maximum number of parts allowed in the response.
*/ inline int GetMaxParts() const{ return m_maxParts; } inline bool MaxPartsHasBeenSet() const { return m_maxPartsHasBeenSet; } inline void SetMaxParts(int value) { m_maxPartsHasBeenSet = true; m_maxParts = value; } inline GetObjectAttributesParts& WithMaxParts(int value) { SetMaxParts(value); return *this;} ///@} ///@{ /** *Indicates whether the returned list of parts is truncated. A value of
* true indicates that the list was truncated. A list can be truncated
* if the number of parts exceeds the limit returned in the MaxParts
* element.
A container for elements related to a particular part. A response can contain
* zero or more Parts elements.
General
* purpose buckets - For GetObjectAttributes, if a additional
* checksum (including x-amz-checksum-crc32,
* x-amz-checksum-crc32c, x-amz-checksum-sha1, or
* x-amz-checksum-sha256) isn't applied to the object specified in the
* request, the response doesn't return Part.
* Directory buckets - For GetObjectAttributes, no matter
* whether a additional checksum is applied to the object specified in the request,
* the response returns Part.