public static CreateClusterParameterGroupResultUnmarshaller GetInstance()
 {
     if (instance == null)
     {
         instance = new CreateClusterParameterGroupResultUnmarshaller();
     }
     return(instance);
 }
Exemple #2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            CreateClusterParameterGroupResponse response = new CreateClusterParameterGroupResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("CreateClusterParameterGroupResult", 2))
                    {
                        response.CreateClusterParameterGroupResult = CreateClusterParameterGroupResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }

                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }


            return(response);
        }