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