public Request<GetChangeRequest> marshall(GetChangeRequest getChangeRequest) {if (getChangeRequest == null) {throw new SdkClientException("Invalid argument passed to marshall(...)");}Request<GetChangeRequest> request = new DefaultRequest<GetChangeRequest>(getChangeRequest, "AmazonRoute53");request.setHttpMethod(HttpMethodName.GET);String uriResourcePath = "/2013-04-01/change/{Id}";uriResourcePath = com.amazonaws.transform.PathMarshallers.NON_GREEDY.marshall(uriResourcePath, "Id", getChangeRequest.getId());request.setResourcePath(uriResourcePath);return request;}
public IRequest Marshall(GetChangeRequest publicRequest){var request = new DefaultRequest(publicRequest, "Amazon.Route53");request.HttpMethod = "GET";if (!publicRequest.IsSetId())throw new AmazonRoute53Exception("Request object does not have required field Id set");request.AddPathResource("{Id}", StringUtils.FromString(publicRequest.Id));request.ResourcePath = "/2013-04-01/change/{Id}";request.MarshallerVersion = 2;return request;}