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.codegen.model.intermediate; 17 18 public class ShapeUnmarshaller { 19 20 private String resultWrapper; 21 private boolean flattened; 22 getResultWrapper()23 public String getResultWrapper() { 24 return resultWrapper; 25 } 26 setResultWrapper(String resultWrapper)27 public void setResultWrapper(String resultWrapper) { 28 this.resultWrapper = resultWrapper; 29 } 30 withResultWrapper(String resultWrapper)31 public ShapeUnmarshaller withResultWrapper(String resultWrapper) { 32 setResultWrapper(resultWrapper); 33 return this; 34 } 35 isFlattened()36 public boolean isFlattened() { 37 return flattened; 38 } 39 setFlattened(boolean flattened)40 public void setFlattened(boolean flattened) { 41 this.flattened = flattened; 42 } 43 withFlattened(boolean flattened)44 public ShapeUnmarshaller withFlattened(boolean flattened) { 45 setFlattened(flattened); 46 return this; 47 } 48 } 49