AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDomainNameRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigateway/model/EndpointConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/apigateway/model/SecurityPolicy.h>
13#include <aws/apigateway/model/MutualTlsAuthenticationInput.h>
14#include <utility>
15
16namespace Aws
17{
18namespace APIGateway
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_APIGATEWAY_API CreateDomainNameRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateDomainName"; }
38
39 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
40
41
43
46 inline const Aws::String& GetDomainName() const{ return m_domainName; }
47 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
48 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
49 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
50 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
51 inline CreateDomainNameRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
52 inline CreateDomainNameRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
53 inline CreateDomainNameRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
55
57
61 inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
62 inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; }
63 inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; }
64 inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); }
65 inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); }
66 inline CreateDomainNameRequest& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;}
67 inline CreateDomainNameRequest& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;}
68 inline CreateDomainNameRequest& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
70
72
77 inline const Aws::String& GetCertificateBody() const{ return m_certificateBody; }
78 inline bool CertificateBodyHasBeenSet() const { return m_certificateBodyHasBeenSet; }
79 inline void SetCertificateBody(const Aws::String& value) { m_certificateBodyHasBeenSet = true; m_certificateBody = value; }
80 inline void SetCertificateBody(Aws::String&& value) { m_certificateBodyHasBeenSet = true; m_certificateBody = std::move(value); }
81 inline void SetCertificateBody(const char* value) { m_certificateBodyHasBeenSet = true; m_certificateBody.assign(value); }
82 inline CreateDomainNameRequest& WithCertificateBody(const Aws::String& value) { SetCertificateBody(value); return *this;}
83 inline CreateDomainNameRequest& WithCertificateBody(Aws::String&& value) { SetCertificateBody(std::move(value)); return *this;}
84 inline CreateDomainNameRequest& WithCertificateBody(const char* value) { SetCertificateBody(value); return *this;}
86
88
92 inline const Aws::String& GetCertificatePrivateKey() const{ return m_certificatePrivateKey; }
93 inline bool CertificatePrivateKeyHasBeenSet() const { return m_certificatePrivateKeyHasBeenSet; }
94 inline void SetCertificatePrivateKey(const Aws::String& value) { m_certificatePrivateKeyHasBeenSet = true; m_certificatePrivateKey = value; }
95 inline void SetCertificatePrivateKey(Aws::String&& value) { m_certificatePrivateKeyHasBeenSet = true; m_certificatePrivateKey = std::move(value); }
96 inline void SetCertificatePrivateKey(const char* value) { m_certificatePrivateKeyHasBeenSet = true; m_certificatePrivateKey.assign(value); }
99 inline CreateDomainNameRequest& WithCertificatePrivateKey(const char* value) { SetCertificatePrivateKey(value); return *this;}
101
103
112 inline const Aws::String& GetCertificateChain() const{ return m_certificateChain; }
113 inline bool CertificateChainHasBeenSet() const { return m_certificateChainHasBeenSet; }
114 inline void SetCertificateChain(const Aws::String& value) { m_certificateChainHasBeenSet = true; m_certificateChain = value; }
115 inline void SetCertificateChain(Aws::String&& value) { m_certificateChainHasBeenSet = true; m_certificateChain = std::move(value); }
116 inline void SetCertificateChain(const char* value) { m_certificateChainHasBeenSet = true; m_certificateChain.assign(value); }
118 inline CreateDomainNameRequest& WithCertificateChain(Aws::String&& value) { SetCertificateChain(std::move(value)); return *this;}
119 inline CreateDomainNameRequest& WithCertificateChain(const char* value) { SetCertificateChain(value); return *this;}
121
123
128 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
129 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
130 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
131 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
132 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
133 inline CreateDomainNameRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
134 inline CreateDomainNameRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
135 inline CreateDomainNameRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
137
139
143 inline const Aws::String& GetRegionalCertificateName() const{ return m_regionalCertificateName; }
144 inline bool RegionalCertificateNameHasBeenSet() const { return m_regionalCertificateNameHasBeenSet; }
145 inline void SetRegionalCertificateName(const Aws::String& value) { m_regionalCertificateNameHasBeenSet = true; m_regionalCertificateName = value; }
146 inline void SetRegionalCertificateName(Aws::String&& value) { m_regionalCertificateNameHasBeenSet = true; m_regionalCertificateName = std::move(value); }
147 inline void SetRegionalCertificateName(const char* value) { m_regionalCertificateNameHasBeenSet = true; m_regionalCertificateName.assign(value); }
150 inline CreateDomainNameRequest& WithRegionalCertificateName(const char* value) { SetRegionalCertificateName(value); return *this;}
152
154
159 inline const Aws::String& GetRegionalCertificateArn() const{ return m_regionalCertificateArn; }
160 inline bool RegionalCertificateArnHasBeenSet() const { return m_regionalCertificateArnHasBeenSet; }
161 inline void SetRegionalCertificateArn(const Aws::String& value) { m_regionalCertificateArnHasBeenSet = true; m_regionalCertificateArn = value; }
162 inline void SetRegionalCertificateArn(Aws::String&& value) { m_regionalCertificateArnHasBeenSet = true; m_regionalCertificateArn = std::move(value); }
163 inline void SetRegionalCertificateArn(const char* value) { m_regionalCertificateArnHasBeenSet = true; m_regionalCertificateArn.assign(value); }
166 inline CreateDomainNameRequest& WithRegionalCertificateArn(const char* value) { SetRegionalCertificateArn(value); return *this;}
168
170
174 inline const EndpointConfiguration& GetEndpointConfiguration() const{ return m_endpointConfiguration; }
175 inline bool EndpointConfigurationHasBeenSet() const { return m_endpointConfigurationHasBeenSet; }
176 inline void SetEndpointConfiguration(const EndpointConfiguration& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = value; }
177 inline void SetEndpointConfiguration(EndpointConfiguration&& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = std::move(value); }
181
183
188 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
189 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
190 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
191 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
192 inline CreateDomainNameRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
193 inline CreateDomainNameRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
194 inline CreateDomainNameRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
195 inline CreateDomainNameRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
196 inline CreateDomainNameRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
197 inline CreateDomainNameRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
198 inline CreateDomainNameRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
199 inline CreateDomainNameRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
200 inline CreateDomainNameRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
202
204
209 inline const SecurityPolicy& GetSecurityPolicy() const{ return m_securityPolicy; }
210 inline bool SecurityPolicyHasBeenSet() const { return m_securityPolicyHasBeenSet; }
211 inline void SetSecurityPolicy(const SecurityPolicy& value) { m_securityPolicyHasBeenSet = true; m_securityPolicy = value; }
212 inline void SetSecurityPolicy(SecurityPolicy&& value) { m_securityPolicyHasBeenSet = true; m_securityPolicy = std::move(value); }
213 inline CreateDomainNameRequest& WithSecurityPolicy(const SecurityPolicy& value) { SetSecurityPolicy(value); return *this;}
214 inline CreateDomainNameRequest& WithSecurityPolicy(SecurityPolicy&& value) { SetSecurityPolicy(std::move(value)); return *this;}
216
218
219 inline const MutualTlsAuthenticationInput& GetMutualTlsAuthentication() const{ return m_mutualTlsAuthentication; }
220 inline bool MutualTlsAuthenticationHasBeenSet() const { return m_mutualTlsAuthenticationHasBeenSet; }
221 inline void SetMutualTlsAuthentication(const MutualTlsAuthenticationInput& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = value; }
222 inline void SetMutualTlsAuthentication(MutualTlsAuthenticationInput&& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = std::move(value); }
226
228
233 inline const Aws::String& GetOwnershipVerificationCertificateArn() const{ return m_ownershipVerificationCertificateArn; }
234 inline bool OwnershipVerificationCertificateArnHasBeenSet() const { return m_ownershipVerificationCertificateArnHasBeenSet; }
235 inline void SetOwnershipVerificationCertificateArn(const Aws::String& value) { m_ownershipVerificationCertificateArnHasBeenSet = true; m_ownershipVerificationCertificateArn = value; }
236 inline void SetOwnershipVerificationCertificateArn(Aws::String&& value) { m_ownershipVerificationCertificateArnHasBeenSet = true; m_ownershipVerificationCertificateArn = std::move(value); }
237 inline void SetOwnershipVerificationCertificateArn(const char* value) { m_ownershipVerificationCertificateArnHasBeenSet = true; m_ownershipVerificationCertificateArn.assign(value); }
242 private:
243
244 Aws::String m_domainName;
245 bool m_domainNameHasBeenSet = false;
246
247 Aws::String m_certificateName;
248 bool m_certificateNameHasBeenSet = false;
249
250 Aws::String m_certificateBody;
251 bool m_certificateBodyHasBeenSet = false;
252
253 Aws::String m_certificatePrivateKey;
254 bool m_certificatePrivateKeyHasBeenSet = false;
255
256 Aws::String m_certificateChain;
257 bool m_certificateChainHasBeenSet = false;
258
259 Aws::String m_certificateArn;
260 bool m_certificateArnHasBeenSet = false;
261
262 Aws::String m_regionalCertificateName;
263 bool m_regionalCertificateNameHasBeenSet = false;
264
265 Aws::String m_regionalCertificateArn;
266 bool m_regionalCertificateArnHasBeenSet = false;
267
268 EndpointConfiguration m_endpointConfiguration;
269 bool m_endpointConfigurationHasBeenSet = false;
270
272 bool m_tagsHasBeenSet = false;
273
274 SecurityPolicy m_securityPolicy;
275 bool m_securityPolicyHasBeenSet = false;
276
277 MutualTlsAuthenticationInput m_mutualTlsAuthentication;
278 bool m_mutualTlsAuthenticationHasBeenSet = false;
279
280 Aws::String m_ownershipVerificationCertificateArn;
281 bool m_ownershipVerificationCertificateArnHasBeenSet = false;
282 };
283
284} // namespace Model
285} // namespace APIGateway
286} // namespace Aws
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
CreateDomainNameRequest & WithRegionalCertificateArn(const char *value)
void SetMutualTlsAuthentication(const MutualTlsAuthenticationInput &value)
CreateDomainNameRequest & WithEndpointConfiguration(const EndpointConfiguration &value)
CreateDomainNameRequest & WithRegionalCertificateName(Aws::String &&value)
const MutualTlsAuthenticationInput & GetMutualTlsAuthentication() const
CreateDomainNameRequest & WithCertificateArn(const char *value)
CreateDomainNameRequest & AddTags(Aws::String &&key, const char *value)
CreateDomainNameRequest & WithCertificateChain(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDomainNameRequest & WithRegionalCertificateArn(Aws::String &&value)
CreateDomainNameRequest & WithCertificateBody(const char *value)
CreateDomainNameRequest & WithCertificateBody(const Aws::String &value)
CreateDomainNameRequest & WithSecurityPolicy(SecurityPolicy &&value)
CreateDomainNameRequest & WithCertificateChain(const char *value)
CreateDomainNameRequest & WithCertificateName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDomainNameRequest & WithCertificateBody(Aws::String &&value)
CreateDomainNameRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateDomainNameRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDomainNameRequest & WithCertificatePrivateKey(Aws::String &&value)
CreateDomainNameRequest & WithCertificateChain(Aws::String &&value)
CreateDomainNameRequest & WithMutualTlsAuthentication(const MutualTlsAuthenticationInput &value)
void SetEndpointConfiguration(EndpointConfiguration &&value)
CreateDomainNameRequest & AddTags(const char *key, const char *value)
CreateDomainNameRequest & AddTags(const char *key, Aws::String &&value)
CreateDomainNameRequest & WithCertificatePrivateKey(const Aws::String &value)
void SetEndpointConfiguration(const EndpointConfiguration &value)
CreateDomainNameRequest & WithDomainName(const char *value)
CreateDomainNameRequest & WithMutualTlsAuthentication(MutualTlsAuthenticationInput &&value)
void SetMutualTlsAuthentication(MutualTlsAuthenticationInput &&value)
void SetOwnershipVerificationCertificateArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDomainNameRequest & WithCertificateArn(Aws::String &&value)
CreateDomainNameRequest & WithCertificatePrivateKey(const char *value)
CreateDomainNameRequest & WithRegionalCertificateName(const Aws::String &value)
CreateDomainNameRequest & WithRegionalCertificateName(const char *value)
CreateDomainNameRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDomainNameRequest & WithCertificateName(const char *value)
const EndpointConfiguration & GetEndpointConfiguration() const
CreateDomainNameRequest & WithDomainName(Aws::String &&value)
CreateDomainNameRequest & AddTags(const Aws::String &key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateDomainNameRequest & WithCertificateName(Aws::String &&value)
CreateDomainNameRequest & WithEndpointConfiguration(EndpointConfiguration &&value)
CreateDomainNameRequest & WithDomainName(const Aws::String &value)
CreateDomainNameRequest & WithOwnershipVerificationCertificateArn(const char *value)
CreateDomainNameRequest & WithSecurityPolicy(const SecurityPolicy &value)
CreateDomainNameRequest & WithRegionalCertificateArn(const Aws::String &value)
CreateDomainNameRequest & WithCertificateArn(const Aws::String &value)
CreateDomainNameRequest & WithOwnershipVerificationCertificateArn(Aws::String &&value)
CreateDomainNameRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDomainNameRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDomainNameRequest & WithOwnershipVerificationCertificateArn(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String