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