AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLoadBalancerTlsCertificateRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lightsail/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Lightsail
17{
18namespace 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_LIGHTSAIL_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
44 inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
45 inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
46 inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
47 inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
50 inline CreateLoadBalancerTlsCertificateRequest& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
52
54
62 inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
63 inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; }
64 inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; }
65 inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); }
66 inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); }
69 inline CreateLoadBalancerTlsCertificateRequest& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
71
73
76 inline const Aws::String& GetCertificateDomainName() const{ return m_certificateDomainName; }
77 inline bool CertificateDomainNameHasBeenSet() const { return m_certificateDomainNameHasBeenSet; }
78 inline void SetCertificateDomainName(const Aws::String& value) { m_certificateDomainNameHasBeenSet = true; m_certificateDomainName = value; }
79 inline void SetCertificateDomainName(Aws::String&& value) { m_certificateDomainNameHasBeenSet = true; m_certificateDomainName = std::move(value); }
80 inline void SetCertificateDomainName(const char* value) { m_certificateDomainNameHasBeenSet = true; m_certificateDomainName.assign(value); }
85
87
93 inline const Aws::Vector<Aws::String>& GetCertificateAlternativeNames() const{ return m_certificateAlternativeNames; }
94 inline bool CertificateAlternativeNamesHasBeenSet() const { return m_certificateAlternativeNamesHasBeenSet; }
95 inline void SetCertificateAlternativeNames(const Aws::Vector<Aws::String>& value) { m_certificateAlternativeNamesHasBeenSet = true; m_certificateAlternativeNames = value; }
96 inline void SetCertificateAlternativeNames(Aws::Vector<Aws::String>&& value) { m_certificateAlternativeNamesHasBeenSet = true; m_certificateAlternativeNames = std::move(value); }
99 inline CreateLoadBalancerTlsCertificateRequest& AddCertificateAlternativeNames(const Aws::String& value) { m_certificateAlternativeNamesHasBeenSet = true; m_certificateAlternativeNames.push_back(value); return *this; }
100 inline CreateLoadBalancerTlsCertificateRequest& AddCertificateAlternativeNames(Aws::String&& value) { m_certificateAlternativeNamesHasBeenSet = true; m_certificateAlternativeNames.push_back(std::move(value)); return *this; }
101 inline CreateLoadBalancerTlsCertificateRequest& AddCertificateAlternativeNames(const char* value) { m_certificateAlternativeNamesHasBeenSet = true; m_certificateAlternativeNames.push_back(value); return *this; }
103
105
110 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
111 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
112 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
113 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
114 inline CreateLoadBalancerTlsCertificateRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
115 inline CreateLoadBalancerTlsCertificateRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
116 inline CreateLoadBalancerTlsCertificateRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
117 inline CreateLoadBalancerTlsCertificateRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
119 private:
120
121 Aws::String m_loadBalancerName;
122 bool m_loadBalancerNameHasBeenSet = false;
123
124 Aws::String m_certificateName;
125 bool m_certificateNameHasBeenSet = false;
126
127 Aws::String m_certificateDomainName;
128 bool m_certificateDomainNameHasBeenSet = false;
129
130 Aws::Vector<Aws::String> m_certificateAlternativeNames;
131 bool m_certificateAlternativeNamesHasBeenSet = false;
132
133 Aws::Vector<Tag> m_tags;
134 bool m_tagsHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace Lightsail
139} // namespace Aws
CreateLoadBalancerTlsCertificateRequest & WithTags(Aws::Vector< Tag > &&value)
CreateLoadBalancerTlsCertificateRequest & WithCertificateName(Aws::String &&value)
CreateLoadBalancerTlsCertificateRequest & WithLoadBalancerName(const char *value)
CreateLoadBalancerTlsCertificateRequest & WithCertificateDomainName(Aws::String &&value)
CreateLoadBalancerTlsCertificateRequest & WithCertificateAlternativeNames(const Aws::Vector< Aws::String > &value)
CreateLoadBalancerTlsCertificateRequest & AddTags(const Tag &value)
CreateLoadBalancerTlsCertificateRequest & WithCertificateDomainName(const Aws::String &value)
CreateLoadBalancerTlsCertificateRequest & AddCertificateAlternativeNames(const Aws::String &value)
CreateLoadBalancerTlsCertificateRequest & WithCertificateDomainName(const char *value)
CreateLoadBalancerTlsCertificateRequest & WithCertificateAlternativeNames(Aws::Vector< Aws::String > &&value)
CreateLoadBalancerTlsCertificateRequest & WithCertificateName(const char *value)
CreateLoadBalancerTlsCertificateRequest & WithTags(const Aws::Vector< Tag > &value)
CreateLoadBalancerTlsCertificateRequest & AddCertificateAlternativeNames(const char *value)
CreateLoadBalancerTlsCertificateRequest & WithLoadBalancerName(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateLoadBalancerTlsCertificateRequest & WithCertificateName(const Aws::String &value)
CreateLoadBalancerTlsCertificateRequest & WithLoadBalancerName(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
CreateLoadBalancerTlsCertificateRequest & AddCertificateAlternativeNames(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector