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

            return(instance);
        }
Exemplo n.º 2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            DescribeClusterParameterGroupsResponse response = new DescribeClusterParameterGroupsResponse();

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


            return(response);
        }