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

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

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


            return(response);
        }