1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/glue/Glue_EXPORTS.h> 8 #include <aws/glue/GlueRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace Glue 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_GLUE_API GetDevEndpointRequest : public GlueRequest 22 { 23 public: 24 GetDevEndpointRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "GetDevEndpoint"; } 31 32 Aws::String SerializePayload() const override; 33 34 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 35 36 37 /** 38 * <p>Name of the <code>DevEndpoint</code> to retrieve information for.</p> 39 */ GetEndpointName()40 inline const Aws::String& GetEndpointName() const{ return m_endpointName; } 41 42 /** 43 * <p>Name of the <code>DevEndpoint</code> to retrieve information for.</p> 44 */ EndpointNameHasBeenSet()45 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; } 46 47 /** 48 * <p>Name of the <code>DevEndpoint</code> to retrieve information for.</p> 49 */ SetEndpointName(const Aws::String & value)50 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; } 51 52 /** 53 * <p>Name of the <code>DevEndpoint</code> to retrieve information for.</p> 54 */ SetEndpointName(Aws::String && value)55 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); } 56 57 /** 58 * <p>Name of the <code>DevEndpoint</code> to retrieve information for.</p> 59 */ SetEndpointName(const char * value)60 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); } 61 62 /** 63 * <p>Name of the <code>DevEndpoint</code> to retrieve information for.</p> 64 */ WithEndpointName(const Aws::String & value)65 inline GetDevEndpointRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} 66 67 /** 68 * <p>Name of the <code>DevEndpoint</code> to retrieve information for.</p> 69 */ WithEndpointName(Aws::String && value)70 inline GetDevEndpointRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} 71 72 /** 73 * <p>Name of the <code>DevEndpoint</code> to retrieve information for.</p> 74 */ WithEndpointName(const char * value)75 inline GetDevEndpointRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} 76 77 private: 78 79 Aws::String m_endpointName; 80 bool m_endpointNameHasBeenSet; 81 }; 82 83 } // namespace Model 84 } // namespace Glue 85 } // namespace Aws 86