AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainNameConfiguration.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/apigatewayv2/model/DomainNameStatus.h>
11#include <aws/apigatewayv2/model/EndpointType.h>
12#include <aws/apigatewayv2/model/SecurityPolicy.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ApiGatewayV2
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_APIGATEWAYV2_API DomainNameConfiguration();
39 AWS_APIGATEWAYV2_API DomainNameConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetApiGatewayDomainName() const{ return m_apiGatewayDomainName; }
49 inline bool ApiGatewayDomainNameHasBeenSet() const { return m_apiGatewayDomainNameHasBeenSet; }
50 inline void SetApiGatewayDomainName(const Aws::String& value) { m_apiGatewayDomainNameHasBeenSet = true; m_apiGatewayDomainName = value; }
51 inline void SetApiGatewayDomainName(Aws::String&& value) { m_apiGatewayDomainNameHasBeenSet = true; m_apiGatewayDomainName = std::move(value); }
52 inline void SetApiGatewayDomainName(const char* value) { m_apiGatewayDomainNameHasBeenSet = true; m_apiGatewayDomainName.assign(value); }
54 inline DomainNameConfiguration& WithApiGatewayDomainName(Aws::String&& value) { SetApiGatewayDomainName(std::move(value)); return *this;}
55 inline DomainNameConfiguration& WithApiGatewayDomainName(const char* value) { SetApiGatewayDomainName(value); return *this;}
57
59
63 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
64 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
65 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
66 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
67 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
68 inline DomainNameConfiguration& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
69 inline DomainNameConfiguration& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
70 inline DomainNameConfiguration& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
72
74
78 inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
79 inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; }
80 inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; }
81 inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); }
82 inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); }
83 inline DomainNameConfiguration& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;}
84 inline DomainNameConfiguration& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;}
85 inline DomainNameConfiguration& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
87
89
93 inline const Aws::Utils::DateTime& GetCertificateUploadDate() const{ return m_certificateUploadDate; }
94 inline bool CertificateUploadDateHasBeenSet() const { return m_certificateUploadDateHasBeenSet; }
95 inline void SetCertificateUploadDate(const Aws::Utils::DateTime& value) { m_certificateUploadDateHasBeenSet = true; m_certificateUploadDate = value; }
96 inline void SetCertificateUploadDate(Aws::Utils::DateTime&& value) { m_certificateUploadDateHasBeenSet = true; m_certificateUploadDate = std::move(value); }
100
102
108 inline const DomainNameStatus& GetDomainNameStatus() const{ return m_domainNameStatus; }
109 inline bool DomainNameStatusHasBeenSet() const { return m_domainNameStatusHasBeenSet; }
110 inline void SetDomainNameStatus(const DomainNameStatus& value) { m_domainNameStatusHasBeenSet = true; m_domainNameStatus = value; }
111 inline void SetDomainNameStatus(DomainNameStatus&& value) { m_domainNameStatusHasBeenSet = true; m_domainNameStatus = std::move(value); }
113 inline DomainNameConfiguration& WithDomainNameStatus(DomainNameStatus&& value) { SetDomainNameStatus(std::move(value)); return *this;}
115
117
121 inline const Aws::String& GetDomainNameStatusMessage() const{ return m_domainNameStatusMessage; }
122 inline bool DomainNameStatusMessageHasBeenSet() const { return m_domainNameStatusMessageHasBeenSet; }
123 inline void SetDomainNameStatusMessage(const Aws::String& value) { m_domainNameStatusMessageHasBeenSet = true; m_domainNameStatusMessage = value; }
124 inline void SetDomainNameStatusMessage(Aws::String&& value) { m_domainNameStatusMessageHasBeenSet = true; m_domainNameStatusMessage = std::move(value); }
125 inline void SetDomainNameStatusMessage(const char* value) { m_domainNameStatusMessageHasBeenSet = true; m_domainNameStatusMessage.assign(value); }
128 inline DomainNameConfiguration& WithDomainNameStatusMessage(const char* value) { SetDomainNameStatusMessage(value); return *this;}
130
132
135 inline const EndpointType& GetEndpointType() const{ return m_endpointType; }
136 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
137 inline void SetEndpointType(const EndpointType& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
138 inline void SetEndpointType(EndpointType&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
139 inline DomainNameConfiguration& WithEndpointType(const EndpointType& value) { SetEndpointType(value); return *this;}
140 inline DomainNameConfiguration& WithEndpointType(EndpointType&& value) { SetEndpointType(std::move(value)); return *this;}
142
144
147 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
148 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
149 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
150 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
151 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
152 inline DomainNameConfiguration& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
153 inline DomainNameConfiguration& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
154 inline DomainNameConfiguration& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
156
158
162 inline const SecurityPolicy& GetSecurityPolicy() const{ return m_securityPolicy; }
163 inline bool SecurityPolicyHasBeenSet() const { return m_securityPolicyHasBeenSet; }
164 inline void SetSecurityPolicy(const SecurityPolicy& value) { m_securityPolicyHasBeenSet = true; m_securityPolicy = value; }
165 inline void SetSecurityPolicy(SecurityPolicy&& value) { m_securityPolicyHasBeenSet = true; m_securityPolicy = std::move(value); }
166 inline DomainNameConfiguration& WithSecurityPolicy(const SecurityPolicy& value) { SetSecurityPolicy(value); return *this;}
167 inline DomainNameConfiguration& WithSecurityPolicy(SecurityPolicy&& value) { SetSecurityPolicy(std::move(value)); return *this;}
169
171
176 inline const Aws::String& GetOwnershipVerificationCertificateArn() const{ return m_ownershipVerificationCertificateArn; }
177 inline bool OwnershipVerificationCertificateArnHasBeenSet() const { return m_ownershipVerificationCertificateArnHasBeenSet; }
178 inline void SetOwnershipVerificationCertificateArn(const Aws::String& value) { m_ownershipVerificationCertificateArnHasBeenSet = true; m_ownershipVerificationCertificateArn = value; }
179 inline void SetOwnershipVerificationCertificateArn(Aws::String&& value) { m_ownershipVerificationCertificateArnHasBeenSet = true; m_ownershipVerificationCertificateArn = std::move(value); }
180 inline void SetOwnershipVerificationCertificateArn(const char* value) { m_ownershipVerificationCertificateArnHasBeenSet = true; m_ownershipVerificationCertificateArn.assign(value); }
185 private:
186
187 Aws::String m_apiGatewayDomainName;
188 bool m_apiGatewayDomainNameHasBeenSet = false;
189
190 Aws::String m_certificateArn;
191 bool m_certificateArnHasBeenSet = false;
192
193 Aws::String m_certificateName;
194 bool m_certificateNameHasBeenSet = false;
195
196 Aws::Utils::DateTime m_certificateUploadDate;
197 bool m_certificateUploadDateHasBeenSet = false;
198
199 DomainNameStatus m_domainNameStatus;
200 bool m_domainNameStatusHasBeenSet = false;
201
202 Aws::String m_domainNameStatusMessage;
203 bool m_domainNameStatusMessageHasBeenSet = false;
204
205 EndpointType m_endpointType;
206 bool m_endpointTypeHasBeenSet = false;
207
208 Aws::String m_hostedZoneId;
209 bool m_hostedZoneIdHasBeenSet = false;
210
211 SecurityPolicy m_securityPolicy;
212 bool m_securityPolicyHasBeenSet = false;
213
214 Aws::String m_ownershipVerificationCertificateArn;
215 bool m_ownershipVerificationCertificateArnHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace ApiGatewayV2
220} // namespace Aws
void SetCertificateUploadDate(Aws::Utils::DateTime &&value)
DomainNameConfiguration & WithApiGatewayDomainName(const Aws::String &value)
DomainNameConfiguration & WithDomainNameStatus(DomainNameStatus &&value)
void SetOwnershipVerificationCertificateArn(const Aws::String &value)
DomainNameConfiguration & WithOwnershipVerificationCertificateArn(const Aws::String &value)
DomainNameConfiguration & WithCertificateName(const Aws::String &value)
DomainNameConfiguration & WithCertificateName(Aws::String &&value)
DomainNameConfiguration & WithHostedZoneId(const Aws::String &value)
void SetDomainNameStatus(const DomainNameStatus &value)
DomainNameConfiguration & WithCertificateArn(Aws::String &&value)
DomainNameConfiguration & WithHostedZoneId(Aws::String &&value)
DomainNameConfiguration & WithDomainNameStatusMessage(Aws::String &&value)
DomainNameConfiguration & WithDomainNameStatus(const DomainNameStatus &value)
DomainNameConfiguration & WithSecurityPolicy(SecurityPolicy &&value)
DomainNameConfiguration & WithDomainNameStatusMessage(const char *value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
DomainNameConfiguration & WithDomainNameStatusMessage(const Aws::String &value)
DomainNameConfiguration & WithOwnershipVerificationCertificateArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCertificateUploadDate() const
void SetCertificateUploadDate(const Aws::Utils::DateTime &value)
DomainNameConfiguration & WithApiGatewayDomainName(Aws::String &&value)
DomainNameConfiguration & WithOwnershipVerificationCertificateArn(const char *value)
DomainNameConfiguration & WithSecurityPolicy(const SecurityPolicy &value)
DomainNameConfiguration & WithCertificateUploadDate(Aws::Utils::DateTime &&value)
DomainNameConfiguration & WithCertificateArn(const char *value)
DomainNameConfiguration & WithHostedZoneId(const char *value)
DomainNameConfiguration & WithCertificateArn(const Aws::String &value)
AWS_APIGATEWAYV2_API DomainNameConfiguration(Aws::Utils::Json::JsonView jsonValue)
DomainNameConfiguration & WithApiGatewayDomainName(const char *value)
DomainNameConfiguration & WithEndpointType(EndpointType &&value)
DomainNameConfiguration & WithCertificateName(const char *value)
DomainNameConfiguration & WithEndpointType(const EndpointType &value)
DomainNameConfiguration & WithCertificateUploadDate(const Aws::Utils::DateTime &value)
AWS_APIGATEWAYV2_API DomainNameConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue