AWS SDK for C++  1.9.108
AWS SDK for C++
DeleteLoadBalancerTlsCertificateRequest.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 "DeleteLoadBalancerTlsCertificate"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
41 
45  inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
46 
50  inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
51 
55  inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
56 
60  inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
61 
65  inline DeleteLoadBalancerTlsCertificateRequest& WithLoadBalancerName(const Aws::String& value) { SetLoadBalancerName(value); return *this;}
66 
70  inline DeleteLoadBalancerTlsCertificateRequest& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;}
71 
75  inline DeleteLoadBalancerTlsCertificateRequest& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
76 
77 
81  inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
82 
86  inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; }
87 
91  inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; }
92 
96  inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); }
97 
101  inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); }
102 
106  inline DeleteLoadBalancerTlsCertificateRequest& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;}
107 
111  inline DeleteLoadBalancerTlsCertificateRequest& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;}
112 
116  inline DeleteLoadBalancerTlsCertificateRequest& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
117 
118 
126  inline bool GetForce() const{ return m_force; }
127 
135  inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
136 
144  inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
145 
153  inline DeleteLoadBalancerTlsCertificateRequest& WithForce(bool value) { SetForce(value); return *this;}
154 
155  private:
156 
157  Aws::String m_loadBalancerName;
158  bool m_loadBalancerNameHasBeenSet;
159 
160  Aws::String m_certificateName;
161  bool m_certificateNameHasBeenSet;
162 
163  bool m_force;
164  bool m_forceHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace Lightsail
169 } // namespace Aws
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::ForceHasBeenSet
bool ForceHasBeenSet() const
Definition: DeleteLoadBalancerTlsCertificateRequest.h:135
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::DeleteLoadBalancerTlsCertificateRequest
DeleteLoadBalancerTlsCertificateRequest()
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::WithLoadBalancerName
DeleteLoadBalancerTlsCertificateRequest & WithLoadBalancerName(Aws::String &&value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:70
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::WithCertificateName
DeleteLoadBalancerTlsCertificateRequest & WithCertificateName(const Aws::String &value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:106
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::SetLoadBalancerName
void SetLoadBalancerName(Aws::String &&value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:55
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::SetCertificateName
void SetCertificateName(Aws::String &&value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:96
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::SetCertificateName
void SetCertificateName(const Aws::String &value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:91
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::GetLoadBalancerName
const Aws::String & GetLoadBalancerName() const
Definition: DeleteLoadBalancerTlsCertificateRequest.h:40
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
LightsailRequest.h
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest
Definition: DeleteLoadBalancerTlsCertificateRequest.h:22
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::WithLoadBalancerName
DeleteLoadBalancerTlsCertificateRequest & WithLoadBalancerName(const Aws::String &value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:65
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::WithLoadBalancerName
DeleteLoadBalancerTlsCertificateRequest & WithLoadBalancerName(const char *value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:75
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::LoadBalancerNameHasBeenSet
bool LoadBalancerNameHasBeenSet() const
Definition: DeleteLoadBalancerTlsCertificateRequest.h:45
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::WithCertificateName
DeleteLoadBalancerTlsCertificateRequest & WithCertificateName(const char *value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:116
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::SetCertificateName
void SetCertificateName(const char *value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:101
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::SetForce
void SetForce(bool value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:144
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::GetForce
bool GetForce() const
Definition: DeleteLoadBalancerTlsCertificateRequest.h:126
AWSString.h
Lightsail_EXPORTS.h
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::WithForce
DeleteLoadBalancerTlsCertificateRequest & WithForce(bool value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:153
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::SetLoadBalancerName
void SetLoadBalancerName(const char *value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:60
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::WithCertificateName
DeleteLoadBalancerTlsCertificateRequest & WithCertificateName(Aws::String &&value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:111
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::SetLoadBalancerName
void SetLoadBalancerName(const Aws::String &value)
Definition: DeleteLoadBalancerTlsCertificateRequest.h:50
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::GetCertificateName
const Aws::String & GetCertificateName() const
Definition: DeleteLoadBalancerTlsCertificateRequest.h:81
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::CertificateNameHasBeenSet
bool CertificateNameHasBeenSet() const
Definition: DeleteLoadBalancerTlsCertificateRequest.h:86
Aws::Lightsail::Model::DeleteLoadBalancerTlsCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteLoadBalancerTlsCertificateRequest.h:30