public static GetUserPolicyResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new GetUserPolicyResultUnmarshaller();
            }

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

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


            return(response);
        }