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.customization;
17 
18 import com.fasterxml.jackson.annotation.JsonIgnore;
19 
20 public class ShapeCustomizationInfo {
21 
22     private ArtificialResultWrapper artificialResultWrapper;
23     private boolean skipGeneratingModelClass;
24     private boolean skipGeneratingMarshaller;
25     private boolean skipGeneratingUnmarshaller;
26     private int staxTargetDepthOffset;
27     private boolean hasStaxTargetDepthOffset = false;
28 
getArtificialResultWrapper()29     public ArtificialResultWrapper getArtificialResultWrapper() {
30         return artificialResultWrapper;
31     }
32 
setArtificialResultWrapper( ArtificialResultWrapper artificialResultWrapper)33     public void setArtificialResultWrapper(
34             ArtificialResultWrapper artificialResultWrapper) {
35         this.artificialResultWrapper = artificialResultWrapper;
36     }
37 
isSkipGeneratingModelClass()38     public boolean isSkipGeneratingModelClass() {
39         return skipGeneratingModelClass;
40     }
41 
setSkipGeneratingModelClass(boolean skipGeneratingModelClass)42     public void setSkipGeneratingModelClass(boolean skipGeneratingModelClass) {
43         this.skipGeneratingModelClass = skipGeneratingModelClass;
44     }
45 
isSkipGeneratingMarshaller()46     public boolean isSkipGeneratingMarshaller() {
47         return skipGeneratingMarshaller;
48     }
49 
setSkipGeneratingMarshaller(boolean skipGeneratingMarshaller)50     public void setSkipGeneratingMarshaller(boolean skipGeneratingMarshaller) {
51         this.skipGeneratingMarshaller = skipGeneratingMarshaller;
52     }
53 
isSkipGeneratingUnmarshaller()54     public boolean isSkipGeneratingUnmarshaller() {
55         return skipGeneratingUnmarshaller;
56     }
57 
setSkipGeneratingUnmarshaller(boolean skipGeneratingUnmarshaller)58     public void setSkipGeneratingUnmarshaller(boolean skipGeneratingUnmarshaller) {
59         this.skipGeneratingUnmarshaller = skipGeneratingUnmarshaller;
60     }
61 
getStaxTargetDepthOffset()62     public Integer getStaxTargetDepthOffset() {
63         return staxTargetDepthOffset;
64     }
65 
setStaxTargetDepthOffset(int staxTargetDepthOffset)66     public void setStaxTargetDepthOffset(int staxTargetDepthOffset) {
67         hasStaxTargetDepthOffset = true;
68         this.staxTargetDepthOffset = staxTargetDepthOffset;
69     }
70 
71     @JsonIgnore
hasStaxTargetDepthOffset()72     public boolean hasStaxTargetDepthOffset() {
73         return hasStaxTargetDepthOffset;
74     }
75 }
76