public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
CreateSizeConstraintSetResponse response = new CreateSizeConstraintSetResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ChangeToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ChangeToken = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("SizeConstraintSet", targetDepth))
{
var unmarshaller = SizeConstraintSetUnmarshaller.Instance;
response.SizeConstraintSet = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}