1 /* 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"). 5 * You may not use this file except in compliance with the License. 6 * A copy of the License is located at 7 * 8 * http://aws.amazon.com/apache2.0 9 * 10 * or in the "license" file accompanying this file. This file is distributed 11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 12 * express or implied. See the License for the specific language governing 13 * permissions and limitations under the License. 14 */ 15 16 package software.amazon.awssdk.protocol.model; 17 18 import com.fasterxml.jackson.annotation.JsonProperty; 19 import java.util.List; 20 import java.util.Map; 21 22 public class GivenResponse { 23 24 @JsonProperty(value = "status_code") 25 private Integer statusCode; 26 private Map<String, List<String>> headers; 27 private String body; 28 getStatusCode()29 public Integer getStatusCode() { 30 return statusCode; 31 } 32 setStatusCode(Integer statusCode)33 public void setStatusCode(Integer statusCode) { 34 this.statusCode = statusCode; 35 } 36 getHeaders()37 public Map<String, List<String>> getHeaders() { 38 return headers; 39 } 40 setHeaders(Map<String, List<String>> headers)41 public void setHeaders(Map<String, List<String>> headers) { 42 this.headers = headers; 43 } 44 getBody()45 public String getBody() { 46 return body; 47 } 48 setBody(String body)49 public void setBody(String body) { 50 this.body = body; 51 } 52 } 53