Sets the maximum number of parts to return in the response.
            
 Declaration Syntax
 Declaration Syntax| C# | 
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public ListPartsRequest WithMaxParts( int maxParts )
 Parameters
 Parameters- maxParts (Int32)
- Maximum parts to return
 Return Value
 Return Valuethe request with the MaxParts set