func NewDescribeInstancePatchStatesPaginator(client DescribeInstancePatchStatesAPIClient, params *DescribeInstancePatchStatesInput, optFns ...func(*DescribeInstancePatchStatesPaginatorOptions)) *DescribeInstancePatchStatesPaginator {
	if params == nil {
		params = &DescribeInstancePatchStatesInput{}
	}

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

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

	return &DescribeInstancePatchStatesPaginator{
		options:   options,
		client:    client,
		params:    params,
		firstPage: true,
	}
}
// NewDescribeInstancePatchStatesPaginator returns a new
// DescribeInstancePatchStatesPaginator
NewDescribeInstancePatchStatesPaginator returns a new
DescribeInstancePatchStatesPaginator
// NewDescribeInstancePatchStatesPaginator returns a new // DescribeInstancePatchStatesPaginator
func NewDescribeInstancePatchStatesPaginator(client DescribeInstancePatchStatesAPIClient, params *DescribeInstancePatchStatesInput, optFns ...func(*DescribeInstancePatchStatesPaginatorOptions)) *DescribeInstancePatchStatesPaginator {
	if params == nil {
		params = &DescribeInstancePatchStatesInput{}
	}
	options := DescribeInstancePatchStatesPaginatorOptions{}
	if params.MaxResults != 0 {
		options.Limit = params.MaxResults
	}
	for _, fn := range optFns {
		fn(&options)
	}
	return &DescribeInstancePatchStatesPaginator{
		options:   options,
		client:    client,
		params:    params,
		firstPage: true,
	}
}
func NewDescribeInstancePatchStatesPaginator ( client DescribeInstancePatchStatesAPIClient , params * DescribeInstancePatchStatesInput , optFns ... func ( * DescribeInstancePatchStatesPaginatorOptions ) ) * DescribeInstancePatchStatesPaginator { if params == nil { params = & DescribeInstancePatchStatesInput { } } options := DescribeInstancePatchStatesPaginatorOptions { } if params . MaxResults != 0 { options . Limit = params . MaxResults } for _ , fn := range optFns { fn ( & options ) } return & DescribeInstancePatchStatesPaginator { options : options , client : client , params : params , firstPage : true , } }
NewDescribeInstancePatchStatesPaginator returns a new
DescribeInstancePatchStatesPaginator
NewDescribeInstancePatchStatesPaginator returns a new DescribeInstancePatchStatesPaginator