AWS SDK for C++  1.8.71
AWS SDK for C++
SetLoadBalancerListenerSSLCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElasticLoadBalancing
15 {
16 namespace Model
17 {
18 
26  {
27  public:
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.
34  inline virtual const char* GetServiceRequestName() const override { return "SetLoadBalancerListenerSSLCertificate"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
47 
51  inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
52 
56  inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
57 
61  inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
62 
66  inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
67 
71  inline SetLoadBalancerListenerSSLCertificateRequest& WithLoadBalancerName(const Aws::String& value) { SetLoadBalancerName(value); return *this;}
72 
76  inline SetLoadBalancerListenerSSLCertificateRequest& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;}
77 
81  inline SetLoadBalancerListenerSSLCertificateRequest& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
82 
83 
87  inline int GetLoadBalancerPort() const{ return m_loadBalancerPort; }
88 
92  inline bool LoadBalancerPortHasBeenSet() const { return m_loadBalancerPortHasBeenSet; }
93 
97  inline void SetLoadBalancerPort(int value) { m_loadBalancerPortHasBeenSet = true; m_loadBalancerPort = value; }
98 
102  inline SetLoadBalancerListenerSSLCertificateRequest& WithLoadBalancerPort(int value) { SetLoadBalancerPort(value); return *this;}
103 
104 
108  inline const Aws::String& GetSSLCertificateId() const{ return m_sSLCertificateId; }
109 
113  inline bool SSLCertificateIdHasBeenSet() const { return m_sSLCertificateIdHasBeenSet; }
114 
118  inline void SetSSLCertificateId(const Aws::String& value) { m_sSLCertificateIdHasBeenSet = true; m_sSLCertificateId = value; }
119 
123  inline void SetSSLCertificateId(Aws::String&& value) { m_sSLCertificateIdHasBeenSet = true; m_sSLCertificateId = std::move(value); }
124 
128  inline void SetSSLCertificateId(const char* value) { m_sSLCertificateIdHasBeenSet = true; m_sSLCertificateId.assign(value); }
129 
133  inline SetLoadBalancerListenerSSLCertificateRequest& WithSSLCertificateId(const Aws::String& value) { SetSSLCertificateId(value); return *this;}
134 
138  inline SetLoadBalancerListenerSSLCertificateRequest& WithSSLCertificateId(Aws::String&& value) { SetSSLCertificateId(std::move(value)); return *this;}
139 
143  inline SetLoadBalancerListenerSSLCertificateRequest& WithSSLCertificateId(const char* value) { SetSSLCertificateId(value); return *this;}
144 
145  private:
146 
147  Aws::String m_loadBalancerName;
148  bool m_loadBalancerNameHasBeenSet;
149 
150  int m_loadBalancerPort;
151  bool m_loadBalancerPortHasBeenSet;
152 
153  Aws::String m_sSLCertificateId;
154  bool m_sSLCertificateIdHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace ElasticLoadBalancing
159 } // namespace Aws
SetLoadBalancerListenerSSLCertificateRequest & WithSSLCertificateId(const Aws::String &value)
SetLoadBalancerListenerSSLCertificateRequest & WithLoadBalancerName(const Aws::String &value)
SetLoadBalancerListenerSSLCertificateRequest & WithSSLCertificateId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SetLoadBalancerListenerSSLCertificateRequest & WithLoadBalancerName(Aws::String &&value)
#define AWS_ELASTICLOADBALANCING_API