func NewDescribeAvailablePatchesPaginator(client DescribeAvailablePatchesAPIClient, params *DescribeAvailablePatchesInput, optFns ...func(*DescribeAvailablePatchesPaginatorOptions)) *DescribeAvailablePatchesPaginator {
	if params == nil {
		params = &DescribeAvailablePatchesInput{}
	}

	options := DescribeAvailablePatchesPaginatorOptions{}
	if params.MaxResults != 0 {
		options.Limit = params.MaxResults
	}

	for _, fn := range optFns {
		fn(&options)
	}

	return &DescribeAvailablePatchesPaginator{
		options:   options,
		client:    client,
		params:    params,
		firstPage: true,
	}
}
// NewDescribeAvailablePatchesPaginator returns a new
// DescribeAvailablePatchesPaginator
NewDescribeAvailablePatchesPaginator returns a new
DescribeAvailablePatchesPaginator
// NewDescribeAvailablePatchesPaginator returns a new // DescribeAvailablePatchesPaginator
func NewDescribeAvailablePatchesPaginator(client DescribeAvailablePatchesAPIClient, params *DescribeAvailablePatchesInput, optFns ...func(*DescribeAvailablePatchesPaginatorOptions)) *DescribeAvailablePatchesPaginator {
	if params == nil {
		params = &DescribeAvailablePatchesInput{}
	}
	options := DescribeAvailablePatchesPaginatorOptions{}
	if params.MaxResults != 0 {
		options.Limit = params.MaxResults
	}
	for _, fn := range optFns {
		fn(&options)
	}
	return &DescribeAvailablePatchesPaginator{
		options:   options,
		client:    client,
		params:    params,
		firstPage: true,
	}
}
func NewDescribeAvailablePatchesPaginator ( client DescribeAvailablePatchesAPIClient , params * DescribeAvailablePatchesInput , optFns ... func ( * DescribeAvailablePatchesPaginatorOptions ) ) * DescribeAvailablePatchesPaginator { if params == nil { params = & DescribeAvailablePatchesInput { } } options := DescribeAvailablePatchesPaginatorOptions { } if params . MaxResults != 0 { options . Limit = params . MaxResults } for _ , fn := range optFns { fn ( & options ) } return & DescribeAvailablePatchesPaginator { options : options , client : client , params : params , firstPage : true , } }
NewDescribeAvailablePatchesPaginator returns a new
DescribeAvailablePatchesPaginator
NewDescribeAvailablePatchesPaginator returns a new DescribeAvailablePatchesPaginator