• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 ArgumentModel extends DocumentationModel {
19 
20     private String name;
21 
22     private String type;
23 
24     private boolean isEnumArg;
25 
getName()26     public String getName() {
27         return name;
28     }
29 
setName(String name)30     public void setName(String name) {
31         this.name = name;
32     }
33 
getType()34     public String getType() {
35         return type;
36     }
37 
setType(String type)38     public void setType(String type) {
39         this.type = type;
40     }
41 
withName(String name)42     public ArgumentModel withName(String name) {
43         this.name = name;
44         return this;
45     }
46 
withType(String type)47     public ArgumentModel withType(String type) {
48         this.type = type;
49         return this;
50     }
51 
getIsEnumArg()52     public boolean getIsEnumArg() {
53         return isEnumArg;
54     }
55 
setIsEnumArg(boolean isEnumArg)56     public void setIsEnumArg(boolean isEnumArg) {
57         this.isEnumArg = isEnumArg;
58     }
59 
withIsEnumArg(boolean isEnumArg)60     public ArgumentModel withIsEnumArg(boolean isEnumArg) {
61         this.isEnumArg = isEnumArg;
62         return this;
63     }
64 }
65