AWS SDK for C++  1.9.16
AWS SDK for C++
CreateLoadBalancerTlsCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Lightsail
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "CreateLoadBalancerTlsCertificate"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
43 
47  inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
48 
52  inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
53 
57  inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
58 
62  inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
63 
67  inline CreateLoadBalancerTlsCertificateRequest& WithLoadBalancerName(const Aws::String& value) { SetLoadBalancerName(value); return *this;}
68 
72  inline CreateLoadBalancerTlsCertificateRequest& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;}
73 
77  inline CreateLoadBalancerTlsCertificateRequest& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
78 
79 
88  inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
89 
98  inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; }
99 
108  inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; }
109 
118  inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); }
119 
128  inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); }
129 
138  inline CreateLoadBalancerTlsCertificateRequest& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;}
139 
148  inline CreateLoadBalancerTlsCertificateRequest& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;}
149 
158  inline CreateLoadBalancerTlsCertificateRequest& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
159 
160 
165  inline const Aws::String& GetCertificateDomainName() const{ return m_certificateDomainName; }
166 
171  inline bool CertificateDomainNameHasBeenSet() const { return m_certificateDomainNameHasBeenSet; }
172 
177  inline void SetCertificateDomainName(const Aws::String& value) { m_certificateDomainNameHasBeenSet = true; m_certificateDomainName = value; }
178 
183  inline void SetCertificateDomainName(Aws::String&& value) { m_certificateDomainNameHasBeenSet = true; m_certificateDomainName = std::move(value); }
184 
189  inline void SetCertificateDomainName(const char* value) { m_certificateDomainNameHasBeenSet = true; m_certificateDomainName.assign(value); }
190 
195  inline CreateLoadBalancerTlsCertificateRequest& WithCertificateDomainName(const Aws::String& value) { SetCertificateDomainName(value); return *this;}
196 
201  inline CreateLoadBalancerTlsCertificateRequest& WithCertificateDomainName(Aws::String&& value) { SetCertificateDomainName(std::move(value)); return *this;}
202 
207  inline CreateLoadBalancerTlsCertificateRequest& WithCertificateDomainName(const char* value) { SetCertificateDomainName(value); return *this;}
208 
209 
216  inline const Aws::Vector<Aws::String>& GetCertificateAlternativeNames() const{ return m_certificateAlternativeNames; }
217 
224  inline bool CertificateAlternativeNamesHasBeenSet() const { return m_certificateAlternativeNamesHasBeenSet; }
225 
232  inline void SetCertificateAlternativeNames(const Aws::Vector<Aws::String>& value) { m_certificateAlternativeNamesHasBeenSet = true; m_certificateAlternativeNames = value; }
233 
240  inline void SetCertificateAlternativeNames(Aws::Vector<Aws::String>&& value) { m_certificateAlternativeNamesHasBeenSet = true; m_certificateAlternativeNames = std::move(value); }
241 
248  inline CreateLoadBalancerTlsCertificateRequest& WithCertificateAlternativeNames(const Aws::Vector<Aws::String>& value) { SetCertificateAlternativeNames(value); return *this;}
249 
256  inline CreateLoadBalancerTlsCertificateRequest& WithCertificateAlternativeNames(Aws::Vector<Aws::String>&& value) { SetCertificateAlternativeNames(std::move(value)); return *this;}
257 
264  inline CreateLoadBalancerTlsCertificateRequest& AddCertificateAlternativeNames(const Aws::String& value) { m_certificateAlternativeNamesHasBeenSet = true; m_certificateAlternativeNames.push_back(value); return *this; }
265 
272  inline CreateLoadBalancerTlsCertificateRequest& AddCertificateAlternativeNames(Aws::String&& value) { m_certificateAlternativeNamesHasBeenSet = true; m_certificateAlternativeNames.push_back(std::move(value)); return *this; }
273 
280  inline CreateLoadBalancerTlsCertificateRequest& AddCertificateAlternativeNames(const char* value) { m_certificateAlternativeNamesHasBeenSet = true; m_certificateAlternativeNames.push_back(value); return *this; }
281 
282 
288  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
289 
295  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
296 
302  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
303 
309  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
310 
316  inline CreateLoadBalancerTlsCertificateRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
317 
323  inline CreateLoadBalancerTlsCertificateRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
324 
330  inline CreateLoadBalancerTlsCertificateRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
331 
337  inline CreateLoadBalancerTlsCertificateRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
338 
339  private:
340 
341  Aws::String m_loadBalancerName;
342  bool m_loadBalancerNameHasBeenSet;
343 
344  Aws::String m_certificateName;
345  bool m_certificateNameHasBeenSet;
346 
347  Aws::String m_certificateDomainName;
348  bool m_certificateDomainNameHasBeenSet;
349 
350  Aws::Vector<Aws::String> m_certificateAlternativeNames;
351  bool m_certificateAlternativeNamesHasBeenSet;
352 
353  Aws::Vector<Tag> m_tags;
354  bool m_tagsHasBeenSet;
355  };
356 
357 } // namespace Model
358 } // namespace Lightsail
359 } // namespace Aws
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetCertificateAlternativeNames
void SetCertificateAlternativeNames(const Aws::Vector< Aws::String > &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:232
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetCertificateName
void SetCertificateName(const Aws::String &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:108
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::AddCertificateAlternativeNames
CreateLoadBalancerTlsCertificateRequest & AddCertificateAlternativeNames(const Aws::String &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:264
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::GetCertificateDomainName
const Aws::String & GetCertificateDomainName() const
Definition: CreateLoadBalancerTlsCertificateRequest.h:165
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::CertificateNameHasBeenSet
bool CertificateNameHasBeenSet() const
Definition: CreateLoadBalancerTlsCertificateRequest.h:98
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::AddCertificateAlternativeNames
CreateLoadBalancerTlsCertificateRequest & AddCertificateAlternativeNames(const char *value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:280
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:309
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::AddTags
CreateLoadBalancerTlsCertificateRequest & AddTags(Tag &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:337
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetLoadBalancerName
void SetLoadBalancerName(Aws::String &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:57
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithCertificateDomainName
CreateLoadBalancerTlsCertificateRequest & WithCertificateDomainName(const Aws::String &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:195
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetLoadBalancerName
void SetLoadBalancerName(const char *value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:62
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest
Definition: CreateLoadBalancerTlsCertificateRequest.h:24
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::CertificateAlternativeNamesHasBeenSet
bool CertificateAlternativeNamesHasBeenSet() const
Definition: CreateLoadBalancerTlsCertificateRequest.h:224
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateLoadBalancerTlsCertificateRequest.h:288
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithTags
CreateLoadBalancerTlsCertificateRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:323
AWSVector.h
LightsailRequest.h
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithCertificateName
CreateLoadBalancerTlsCertificateRequest & WithCertificateName(const char *value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:158
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::GetLoadBalancerName
const Aws::String & GetLoadBalancerName() const
Definition: CreateLoadBalancerTlsCertificateRequest.h:42
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetCertificateName
void SetCertificateName(Aws::String &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:118
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithTags
CreateLoadBalancerTlsCertificateRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:316
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetCertificateDomainName
void SetCertificateDomainName(const char *value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:189
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithCertificateName
CreateLoadBalancerTlsCertificateRequest & WithCertificateName(Aws::String &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:148
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateLoadBalancerTlsCertificateRequest.h:32
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithLoadBalancerName
CreateLoadBalancerTlsCertificateRequest & WithLoadBalancerName(const char *value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:77
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::LoadBalancerNameHasBeenSet
bool LoadBalancerNameHasBeenSet() const
Definition: CreateLoadBalancerTlsCertificateRequest.h:47
Tag.h
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithLoadBalancerName
CreateLoadBalancerTlsCertificateRequest & WithLoadBalancerName(const Aws::String &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:67
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::CertificateDomainNameHasBeenSet
bool CertificateDomainNameHasBeenSet() const
Definition: CreateLoadBalancerTlsCertificateRequest.h:171
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::Tag
Definition: Tag.h:35
AWSString.h
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithLoadBalancerName
CreateLoadBalancerTlsCertificateRequest & WithLoadBalancerName(Aws::String &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:72
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateLoadBalancerTlsCertificateRequest.h:295
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::GetCertificateAlternativeNames
const Aws::Vector< Aws::String > & GetCertificateAlternativeNames() const
Definition: CreateLoadBalancerTlsCertificateRequest.h:216
Lightsail_EXPORTS.h
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetCertificateDomainName
void SetCertificateDomainName(const Aws::String &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:177
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::CreateLoadBalancerTlsCertificateRequest
CreateLoadBalancerTlsCertificateRequest()
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetLoadBalancerName
void SetLoadBalancerName(const Aws::String &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:52
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:302
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetCertificateDomainName
void SetCertificateDomainName(Aws::String &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:183
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::AddTags
CreateLoadBalancerTlsCertificateRequest & AddTags(const Tag &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:330
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::AddCertificateAlternativeNames
CreateLoadBalancerTlsCertificateRequest & AddCertificateAlternativeNames(Aws::String &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:272
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetCertificateAlternativeNames
void SetCertificateAlternativeNames(Aws::Vector< Aws::String > &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:240
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithCertificateAlternativeNames
CreateLoadBalancerTlsCertificateRequest & WithCertificateAlternativeNames(const Aws::Vector< Aws::String > &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:248
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithCertificateDomainName
CreateLoadBalancerTlsCertificateRequest & WithCertificateDomainName(const char *value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:207
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::SetCertificateName
void SetCertificateName(const char *value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:128
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithCertificateName
CreateLoadBalancerTlsCertificateRequest & WithCertificateName(const Aws::String &value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:138
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::GetCertificateName
const Aws::String & GetCertificateName() const
Definition: CreateLoadBalancerTlsCertificateRequest.h:88
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithCertificateDomainName
CreateLoadBalancerTlsCertificateRequest & WithCertificateDomainName(Aws::String &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:201
Aws::Lightsail::Model::CreateLoadBalancerTlsCertificateRequest::WithCertificateAlternativeNames
CreateLoadBalancerTlsCertificateRequest & WithCertificateAlternativeNames(Aws::Vector< Aws::String > &&value)
Definition: CreateLoadBalancerTlsCertificateRequest.h:256