void GenerateRequest(Operation operation)
{
var requestGenerator = new StructureGenerator
{
ClassName = operation.Name + "Request",
BaseClass = string.Format("Amazon{0}Request", Configuration.BaseName),
StructureType = StructureType.Request,
Operation = operation
};
if (operation.RequestStructure != null)
{
requestGenerator.Structure = this.Configuration.ServiceModel.FindShape(operation.RequestStructure.Name);
}
this.ExecuteGenerator(requestGenerator, requestGenerator.ClassName + ".cs", "Model");
if (operation.RequestStructure != null)
this.DetermineStructuresToProcess(operation.RequestStructure, false);
}