Returns information about the GetIdentityNotificationAttributes response and response metadata.
Inheritance: GetIdentityNotificationAttributesResult
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            GetIdentityNotificationAttributesResponse response = new GetIdentityNotificationAttributesResponse();

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

            return response;
        }
        private static void UnmarshallResult(XmlUnmarshallerContext context, GetIdentityNotificationAttributesResponse 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("NotificationAttributes/entry", targetDepth))
                    {
                        var unmarshaller = new KeyValueUnmarshaller<string, IdentityNotificationAttributes, StringUnmarshaller, IdentityNotificationAttributesUnmarshaller>(StringUnmarshaller.Instance, IdentityNotificationAttributesUnmarshaller.Instance);
                        var item = unmarshaller.Unmarshall(context);
                        response.NotificationAttributes.Add(item);
                        continue;
                    }
                } 
           }

            return;
        }
        private static void UnmarshallResult(XmlUnmarshallerContext context,GetIdentityNotificationAttributesResponse 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("NotificationAttributes/entry", targetDepth))
                    {
                        KeyValueUnmarshaller<string, IdentityNotificationAttributes, StringUnmarshaller, IdentityNotificationAttributesUnmarshaller> unmarshaller = new KeyValueUnmarshaller<string, IdentityNotificationAttributes, StringUnmarshaller, IdentityNotificationAttributesUnmarshaller>(StringUnmarshaller.GetInstance(), IdentityNotificationAttributesUnmarshaller.GetInstance());
                        KeyValuePair<string, IdentityNotificationAttributes> kvp = unmarshaller.Unmarshall(context);
                        response.NotificationAttributes.Add(kvp.Key, kvp.Value);
                        continue;
                    }
                }
                else if (context.IsEndElement && context.CurrentDepth < originalDepth)
                {
                    return;
                }
            }
                            


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

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

            return response;
        }