AWS SDK for C++  1.9.40
AWS SDK for C++
DeleteLoadBalancerListenersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ElasticLoadBalancing
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DeleteLoadBalancerListeners"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
47  inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
48 
52  inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
53 
57  inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
58 
62  inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
63 
67  inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
68 
72  inline DeleteLoadBalancerListenersRequest& WithLoadBalancerName(const Aws::String& value) { SetLoadBalancerName(value); return *this;}
73 
77  inline DeleteLoadBalancerListenersRequest& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;}
78 
82  inline DeleteLoadBalancerListenersRequest& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
83 
84 
88  inline const Aws::Vector<int>& GetLoadBalancerPorts() const{ return m_loadBalancerPorts; }
89 
93  inline bool LoadBalancerPortsHasBeenSet() const { return m_loadBalancerPortsHasBeenSet; }
94 
98  inline void SetLoadBalancerPorts(const Aws::Vector<int>& value) { m_loadBalancerPortsHasBeenSet = true; m_loadBalancerPorts = value; }
99 
103  inline void SetLoadBalancerPorts(Aws::Vector<int>&& value) { m_loadBalancerPortsHasBeenSet = true; m_loadBalancerPorts = std::move(value); }
104 
108  inline DeleteLoadBalancerListenersRequest& WithLoadBalancerPorts(const Aws::Vector<int>& value) { SetLoadBalancerPorts(value); return *this;}
109 
113  inline DeleteLoadBalancerListenersRequest& WithLoadBalancerPorts(Aws::Vector<int>&& value) { SetLoadBalancerPorts(std::move(value)); return *this;}
114 
118  inline DeleteLoadBalancerListenersRequest& AddLoadBalancerPorts(int value) { m_loadBalancerPortsHasBeenSet = true; m_loadBalancerPorts.push_back(value); return *this; }
119 
120  private:
121 
122  Aws::String m_loadBalancerName;
123  bool m_loadBalancerNameHasBeenSet;
124 
125  Aws::Vector<int> m_loadBalancerPorts;
126  bool m_loadBalancerPortsHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace ElasticLoadBalancing
131 } // namespace Aws
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::SetLoadBalancerPorts
void SetLoadBalancerPorts(const Aws::Vector< int > &value)
Definition: DeleteLoadBalancerListenersRequest.h:98
Aws::ElasticLoadBalancing::ElasticLoadBalancingRequest
Definition: ElasticLoadBalancingRequest.h:17
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::DeleteLoadBalancerListenersRequest
DeleteLoadBalancerListenersRequest()
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::SetLoadBalancerName
void SetLoadBalancerName(const char *value)
Definition: DeleteLoadBalancerListenersRequest.h:67
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest
Definition: DeleteLoadBalancerListenersRequest.h:27
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::AddLoadBalancerPorts
DeleteLoadBalancerListenersRequest & AddLoadBalancerPorts(int value)
Definition: DeleteLoadBalancerListenersRequest.h:118
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::WithLoadBalancerPorts
DeleteLoadBalancerListenersRequest & WithLoadBalancerPorts(Aws::Vector< int > &&value)
Definition: DeleteLoadBalancerListenersRequest.h:113
AWSVector.h
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::WithLoadBalancerName
DeleteLoadBalancerListenersRequest & WithLoadBalancerName(const Aws::String &value)
Definition: DeleteLoadBalancerListenersRequest.h:72
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::LoadBalancerNameHasBeenSet
bool LoadBalancerNameHasBeenSet() const
Definition: DeleteLoadBalancerListenersRequest.h:52
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::SetLoadBalancerPorts
void SetLoadBalancerPorts(Aws::Vector< int > &&value)
Definition: DeleteLoadBalancerListenersRequest.h:103
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteLoadBalancerListenersRequest.h:35
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::WithLoadBalancerName
DeleteLoadBalancerListenersRequest & WithLoadBalancerName(const char *value)
Definition: DeleteLoadBalancerListenersRequest.h:82
AWSString.h
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::WithLoadBalancerName
DeleteLoadBalancerListenersRequest & WithLoadBalancerName(Aws::String &&value)
Definition: DeleteLoadBalancerListenersRequest.h:77
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::GetLoadBalancerPorts
const Aws::Vector< int > & GetLoadBalancerPorts() const
Definition: DeleteLoadBalancerListenersRequest.h:88
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::SetLoadBalancerName
void SetLoadBalancerName(const Aws::String &value)
Definition: DeleteLoadBalancerListenersRequest.h:57
AWS_ELASTICLOADBALANCING_API
#define AWS_ELASTICLOADBALANCING_API
Definition: ElasticLoadBalancing_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::SetLoadBalancerName
void SetLoadBalancerName(Aws::String &&value)
Definition: DeleteLoadBalancerListenersRequest.h:62
ElasticLoadBalancing_EXPORTS.h
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::GetLoadBalancerName
const Aws::String & GetLoadBalancerName() const
Definition: DeleteLoadBalancerListenersRequest.h:47
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::WithLoadBalancerPorts
DeleteLoadBalancerListenersRequest & WithLoadBalancerPorts(const Aws::Vector< int > &value)
Definition: DeleteLoadBalancerListenersRequest.h:108
Aws::ElasticLoadBalancing::Model::DeleteLoadBalancerListenersRequest::LoadBalancerPortsHasBeenSet
bool LoadBalancerPortsHasBeenSet() const
Definition: DeleteLoadBalancerListenersRequest.h:93
ElasticLoadBalancingRequest.h