public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
CreateComputeEnvironmentResponse response = new CreateComputeEnvironmentResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("computeEnvironmentArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ComputeEnvironmentArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("computeEnvironmentName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ComputeEnvironmentName = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}