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/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8 #include <aws/elasticloadbalancing/ElasticLoadBalancingRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElasticLoadBalancing
15 {
16 namespace Model
17 {
18 
19   /**
20    * <p>Contains the parameters for DescribeLoadBalancerAttributes.</p><p><h3>See
21    * Also:</h3>   <a
22    * href="http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesInput">AWS
23    * API Reference</a></p>
24    */
25   class AWS_ELASTICLOADBALANCING_API DescribeLoadBalancerAttributesRequest : public ElasticLoadBalancingRequest
26   {
27   public:
28     DescribeLoadBalancerAttributesRequest();
29 
30     // Service request name is the Operation name which will send this request out,
31     // each operation should has unique request name, so that we can get operation's name from this request.
32     // Note: this is not true for response, multiple operations may have the same response name,
33     // so we can not get operation's name from response.
GetServiceRequestName()34     inline virtual const char* GetServiceRequestName() const override { return "DescribeLoadBalancerAttributes"; }
35 
36     Aws::String SerializePayload() const override;
37 
38   protected:
39     void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41   public:
42 
43     /**
44      * <p>The name of the load balancer.</p>
45      */
GetLoadBalancerName()46     inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
47 
48     /**
49      * <p>The name of the load balancer.</p>
50      */
LoadBalancerNameHasBeenSet()51     inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
52 
53     /**
54      * <p>The name of the load balancer.</p>
55      */
SetLoadBalancerName(const Aws::String & value)56     inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
57 
58     /**
59      * <p>The name of the load balancer.</p>
60      */
SetLoadBalancerName(Aws::String && value)61     inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
62 
63     /**
64      * <p>The name of the load balancer.</p>
65      */
SetLoadBalancerName(const char * value)66     inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
67 
68     /**
69      * <p>The name of the load balancer.</p>
70      */
WithLoadBalancerName(const Aws::String & value)71     inline DescribeLoadBalancerAttributesRequest& WithLoadBalancerName(const Aws::String& value) { SetLoadBalancerName(value); return *this;}
72 
73     /**
74      * <p>The name of the load balancer.</p>
75      */
WithLoadBalancerName(Aws::String && value)76     inline DescribeLoadBalancerAttributesRequest& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;}
77 
78     /**
79      * <p>The name of the load balancer.</p>
80      */
WithLoadBalancerName(const char * value)81     inline DescribeLoadBalancerAttributesRequest& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
82 
83   private:
84 
85     Aws::String m_loadBalancerName;
86     bool m_loadBalancerNameHasBeenSet;
87   };
88 
89 } // namespace Model
90 } // namespace ElasticLoadBalancing
91 } // namespace Aws
92