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