#@ template language="C#" inherits="BaseGenerator" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #>
<#
AddLicenseHeader();
#>
using Amazon.Runtime;
namespace <#=this.Config.Namespace#>.Model
{
///
/// Paginator for the <#=this.Operation.Name#> operation
///
public interface I<#=this.Operation.Name#>Paginator
{
///
/// Enumerable containing all full responses for the operation
///
IPaginatedEnumerable<<#=this.Operation.Name#>Response> Responses { get; }
<#
foreach(var resultKey in this.Operation.Paginators.ResultKeys)
{
if (resultKey.ListItemType != null)
{
#>
///
/// Enumerable containing all of the <#=resultKey.Member.PropertyName#>
///
IPaginatedEnumerable<<#=resultKey.ListItemType#>> <#=resultKey.Member.PropertyName#> { get; }
<#
}
}
#>
}
}
<#+
// The operation the marshaller will be used on
public Operation Operation { get; set; }
#>