public static ModifyDBSubnetGroupResultUnmarshaller GetInstance()
 {
     if (instance == null)
     {
         instance = new ModifyDBSubnetGroupResultUnmarshaller();
     }
     return(instance);
 }
Beispiel #2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            ModifyDBSubnetGroupResponse response = new ModifyDBSubnetGroupResponse();

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

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


            return(response);
        }