Returns information about the GetStatusResult response and response metadata.
Наследование: Amazon.Runtime.AmazonWebServiceResponse
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            GetStatusResponse response = new GetStatusResponse();

            context.Read();
            int targetDepth = context.CurrentDepth;
            while (context.ReadAtDepth(targetDepth))
            {
                if (context.IsStartElement)
                {                    
                    if(context.TestExpression("GetStatusResult", 2))
                    {
                        UnmarshallResult(context, response);                        
                        continue;
                    }
                    
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context);
                    }
                }
            }

            return response;
        }
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            GetStatusResponse response = new GetStatusResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if(context.TestExpression("GetStatusResult", 2))
                    {
                        response.GetStatusResult = GetStatusResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }

            return response;
        }
        private static void UnmarshallResult(XmlUnmarshallerContext context, GetStatusResponse response)
        {
            
            int originalDepth = context.CurrentDepth;
            int targetDepth = originalDepth + 1;
            
            if (context.IsStartOfDocument) 
               targetDepth += 2;
            
            while (context.ReadAtDepth(originalDepth))
            {
                if (context.IsStartElement || context.IsAttribute)
                {

                    if (context.TestExpression("ArtifactList/member", targetDepth))
                    {
                        var unmarshaller = ArtifactUnmarshaller.Instance;
                        var item = unmarshaller.Unmarshall(context);
                        response.ArtifactList.Add(item);
                        continue;
                    }
                    if (context.TestExpression("Carrier", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.Carrier = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("CreationDate", targetDepth))
                    {
                        var unmarshaller = DateTimeUnmarshaller.Instance;
                        response.CreationDate = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("CurrentManifest", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.CurrentManifest = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ErrorCount", targetDepth))
                    {
                        var unmarshaller = IntUnmarshaller.Instance;
                        response.ErrorCount = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("JobId", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.JobId = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("JobType", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.JobType = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("LocationCode", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.LocationCode = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("LocationMessage", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.LocationMessage = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("LogBucket", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.LogBucket = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("LogKey", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.LogKey = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ProgressCode", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.ProgressCode = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ProgressMessage", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.ProgressMessage = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("Signature", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.Signature = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("SignatureFileContents", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.SignatureFileContents = unmarshaller.Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("TrackingNumber", targetDepth))
                    {
                        var unmarshaller = StringUnmarshaller.Instance;
                        response.TrackingNumber = unmarshaller.Unmarshall(context);
                        continue;
                    }
                } 
           }

            return;
        }
        private static void UnmarshallResult(XmlUnmarshallerContext context,GetStatusResponse response)
        {
            
            int originalDepth = context.CurrentDepth;
            int targetDepth = originalDepth + 1;
            
            if (context.IsStartOfDocument) 
               targetDepth += 2;
            
            while (context.Read())
            {
                if (context.IsStartElement || context.IsAttribute)
                {
                    if (context.TestExpression("JobId", targetDepth))
                    {
                        response.JobId = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("JobType", targetDepth))
                    {
                        response.JobType = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("AwsShippingAddress", targetDepth))
                    {
                        response.AwsShippingAddress = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("LocationCode", targetDepth))
                    {
                        response.LocationCode = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("LocationMessage", targetDepth))
                    {
                        response.LocationMessage = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("ProgressCode", targetDepth))
                    {
                        response.ProgressCode = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("ProgressMessage", targetDepth))
                    {
                        response.ProgressMessage = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("Carrier", targetDepth))
                    {
                        response.Carrier = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("TrackingNumber", targetDepth))
                    {
                        response.TrackingNumber = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("LogBucket", targetDepth))
                    {
                        response.LogBucket = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("LogKey", targetDepth))
                    {
                        response.LogKey = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("ErrorCount", targetDepth))
                    {
                        response.ErrorCount = IntUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("Signature", targetDepth))
                    {
                        response.Signature = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("SignatureFileContents", targetDepth))
                    {
                        response.SignatureFileContents = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("CurrentManifest", targetDepth))
                    {
                        response.CurrentManifest = StringUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                    if (context.TestExpression("CreationDate", targetDepth))
                    {
                        response.CreationDate = DateTimeUnmarshaller.GetInstance().Unmarshall(context);
                            
                        continue;
                    }
                }
                else if (context.IsEndElement && context.CurrentDepth < originalDepth)
                {
                    return;
                }
            }
                            


            return;
        }