AWS SDK for C++  1.9.104
AWS SDK for C++
AttachLoadBalancerTlsCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Lightsail
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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.
30  inline virtual const char* GetServiceRequestName() const override { return "AttachLoadBalancerTlsCertificate"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
42 
47  inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
48 
53  inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
54 
59  inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
60 
65  inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
66 
71  inline AttachLoadBalancerTlsCertificateRequest& WithLoadBalancerName(const Aws::String& value) { SetLoadBalancerName(value); return *this;}
72 
77  inline AttachLoadBalancerTlsCertificateRequest& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;}
78 
83  inline AttachLoadBalancerTlsCertificateRequest& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
84 
85 
89  inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
90 
94  inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; }
95 
99  inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; }
100 
104  inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); }
105 
109  inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); }
110 
114  inline AttachLoadBalancerTlsCertificateRequest& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;}
115 
119  inline AttachLoadBalancerTlsCertificateRequest& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;}
120 
124  inline AttachLoadBalancerTlsCertificateRequest& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
125 
126  private:
127 
128  Aws::String m_loadBalancerName;
129  bool m_loadBalancerNameHasBeenSet;
130 
131  Aws::String m_certificateName;
132  bool m_certificateNameHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace Lightsail
137 } // namespace Aws
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::CertificateNameHasBeenSet
bool CertificateNameHasBeenSet() const
Definition: AttachLoadBalancerTlsCertificateRequest.h:94
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::WithLoadBalancerName
AttachLoadBalancerTlsCertificateRequest & WithLoadBalancerName(Aws::String &&value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:77
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::AttachLoadBalancerTlsCertificateRequest
AttachLoadBalancerTlsCertificateRequest()
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::GetCertificateName
const Aws::String & GetCertificateName() const
Definition: AttachLoadBalancerTlsCertificateRequest.h:89
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::SetCertificateName
void SetCertificateName(const Aws::String &value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:99
LightsailRequest.h
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::SetLoadBalancerName
void SetLoadBalancerName(const char *value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:65
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest
Definition: AttachLoadBalancerTlsCertificateRequest.h:22
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::WithLoadBalancerName
AttachLoadBalancerTlsCertificateRequest & WithLoadBalancerName(const char *value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:83
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::SetCertificateName
void SetCertificateName(Aws::String &&value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:104
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::GetLoadBalancerName
const Aws::String & GetLoadBalancerName() const
Definition: AttachLoadBalancerTlsCertificateRequest.h:41
AWSString.h
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::LoadBalancerNameHasBeenSet
bool LoadBalancerNameHasBeenSet() const
Definition: AttachLoadBalancerTlsCertificateRequest.h:47
Lightsail_EXPORTS.h
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::SetLoadBalancerName
void SetLoadBalancerName(Aws::String &&value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:59
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::WithCertificateName
AttachLoadBalancerTlsCertificateRequest & WithCertificateName(Aws::String &&value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:119
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::WithCertificateName
AttachLoadBalancerTlsCertificateRequest & WithCertificateName(const char *value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:124
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::SetLoadBalancerName
void SetLoadBalancerName(const Aws::String &value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::WithLoadBalancerName
AttachLoadBalancerTlsCertificateRequest & WithLoadBalancerName(const Aws::String &value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:71
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AttachLoadBalancerTlsCertificateRequest.h:30
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::SetCertificateName
void SetCertificateName(const char *value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:109
Aws::Lightsail::Model::AttachLoadBalancerTlsCertificateRequest::WithCertificateName
AttachLoadBalancerTlsCertificateRequest & WithCertificateName(const Aws::String &value)
Definition: AttachLoadBalancerTlsCertificateRequest.h:114