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