func NewDescribeInstancePatchStatesForPatchGroupPaginator(client DescribeInstancePatchStatesForPatchGroupAPIClient, params *DescribeInstancePatchStatesForPatchGroupInput, optFns ...func(*DescribeInstancePatchStatesForPatchGroupPaginatorOptions)) *DescribeInstancePatchStatesForPatchGroupPaginator {
	if params == nil {
		params = &DescribeInstancePatchStatesForPatchGroupInput{}
	}

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

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

	return &DescribeInstancePatchStatesForPatchGroupPaginator{
		options:   options,
		client:    client,
		params:    params,
		firstPage: true,
	}
}
// NewDescribeInstancePatchStatesForPatchGroupPaginator returns a new
// DescribeInstancePatchStatesForPatchGroupPaginator
NewDescribeInstancePatchStatesForPatchGroupPaginator returns a new
DescribeInstancePatchStatesForPatchGroupPaginator
// NewDescribeInstancePatchStatesForPatchGroupPaginator returns a new // DescribeInstancePatchStatesForPatchGroupPaginator
func NewDescribeInstancePatchStatesForPatchGroupPaginator(client DescribeInstancePatchStatesForPatchGroupAPIClient, params *DescribeInstancePatchStatesForPatchGroupInput, optFns ...func(*DescribeInstancePatchStatesForPatchGroupPaginatorOptions)) *DescribeInstancePatchStatesForPatchGroupPaginator {
	if params == nil {
		params = &DescribeInstancePatchStatesForPatchGroupInput{}
	}
	options := DescribeInstancePatchStatesForPatchGroupPaginatorOptions{}
	if params.MaxResults != 0 {
		options.Limit = params.MaxResults
	}
	for _, fn := range optFns {
		fn(&options)
	}
	return &DescribeInstancePatchStatesForPatchGroupPaginator{
		options:   options,
		client:    client,
		params:    params,
		firstPage: true,
	}
}
func NewDescribeInstancePatchStatesForPatchGroupPaginator ( client DescribeInstancePatchStatesForPatchGroupAPIClient , params * DescribeInstancePatchStatesForPatchGroupInput , optFns ... func ( * DescribeInstancePatchStatesForPatchGroupPaginatorOptions ) ) * DescribeInstancePatchStatesForPatchGroupPaginator { if params == nil { params = & DescribeInstancePatchStatesForPatchGroupInput { } } options := DescribeInstancePatchStatesForPatchGroupPaginatorOptions { } if params . MaxResults != 0 { options . Limit = params . MaxResults } for _ , fn := range optFns { fn ( & options ) } return & DescribeInstancePatchStatesForPatchGroupPaginator { options : options , client : client , params : params , firstPage : true , } }
NewDescribeInstancePatchStatesForPatchGroupPaginator returns a new
DescribeInstancePatchStatesForPatchGroupPaginator
NewDescribeInstancePatchStatesForPatchGroupPaginator returns a new DescribeInstancePatchStatesForPatchGroupPaginator