public static CreateClusterSubnetGroupResultUnmarshaller GetInstance() { if (instance == null) { instance = new CreateClusterSubnetGroupResultUnmarshaller(); } return(instance); }
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { CreateClusterSubnetGroupResponse response = new CreateClusterSubnetGroupResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("CreateClusterSubnetGroupResult", 2)) { response.CreateClusterSubnetGroupResult = CreateClusterSubnetGroupResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }