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