public static DefineIndexFieldResultUnmarshaller GetInstance() { if (instance == null) { instance = new DefineIndexFieldResultUnmarshaller(); } return(instance); }
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { DefineIndexFieldResponse response = new DefineIndexFieldResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("DefineIndexFieldResult", 2)) { response.DefineIndexFieldResult = DefineIndexFieldResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }