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 ShapeMarshaller { 19 20 private String action; 21 22 private String verb; 23 24 private String target; 25 26 private String requestUri; 27 28 private String locationName; 29 30 private String xmlNameSpaceUri; 31 getAction()32 public String getAction() { 33 return action; 34 } 35 setAction(String action)36 public void setAction(String action) { 37 this.action = action; 38 } 39 withAction(String action)40 public ShapeMarshaller withAction(String action) { 41 setAction(action); 42 return this; 43 } 44 getVerb()45 public String getVerb() { 46 return verb; 47 } 48 setVerb(String verb)49 public void setVerb(String verb) { 50 this.verb = verb; 51 } 52 withVerb(String verb)53 public ShapeMarshaller withVerb(String verb) { 54 setVerb(verb); 55 return this; 56 } 57 getTarget()58 public String getTarget() { 59 return target; 60 } 61 setTarget(String target)62 public void setTarget(String target) { 63 this.target = target; 64 } 65 withTarget(String target)66 public ShapeMarshaller withTarget(String target) { 67 setTarget(target); 68 return this; 69 } 70 getRequestUri()71 public String getRequestUri() { 72 return requestUri; 73 } 74 setRequestUri(String requestUri)75 public void setRequestUri(String requestUri) { 76 this.requestUri = requestUri; 77 } 78 withRequestUri(String requestUri)79 public ShapeMarshaller withRequestUri(String requestUri) { 80 setRequestUri(requestUri); 81 return this; 82 } 83 getLocationName()84 public String getLocationName() { 85 return locationName; 86 } 87 setLocationName(String locationName)88 public void setLocationName(String locationName) { 89 this.locationName = locationName; 90 } 91 withLocationName(String locationName)92 public ShapeMarshaller withLocationName(String locationName) { 93 setLocationName(locationName); 94 return this; 95 } 96 getXmlNameSpaceUri()97 public String getXmlNameSpaceUri() { 98 return xmlNameSpaceUri; 99 } 100 setXmlNameSpaceUri(String xmlNameSpaceUri)101 public void setXmlNameSpaceUri(String xmlNameSpaceUri) { 102 this.xmlNameSpaceUri = xmlNameSpaceUri; 103 } 104 withXmlNameSpaceUri(String xmlNameSpaceUri)105 public ShapeMarshaller withXmlNameSpaceUri(String xmlNameSpaceUri) { 106 setXmlNameSpaceUri(xmlNameSpaceUri); 107 return this; 108 } 109 } 110