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

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

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


            return(response);
        }