AWS SDK for C++

AWS SDK for C++ Version 1.11.850

Loading...
Searching...
No Matches
AcmeEndpoint.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/AcmeAuthorizationBehavior.h>
9#include <aws/acm/model/AcmeContact.h>
10#include <aws/acm/model/AcmeEndpointStatus.h>
11#include <aws/acm/model/CertificateAuthority.h>
12#include <aws/acm/model/Tag.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ACM {
27namespace Model {
28
36 public:
37 AWS_ACM_API AcmeEndpoint() = default;
41
43
46 inline const Aws::String& GetAcmeEndpointArn() const { return m_acmeEndpointArn; }
47 inline bool AcmeEndpointArnHasBeenSet() const { return m_acmeEndpointArnHasBeenSet; }
48 template <typename AcmeEndpointArnT = Aws::String>
49 void SetAcmeEndpointArn(AcmeEndpointArnT&& value) {
50 m_acmeEndpointArnHasBeenSet = true;
51 m_acmeEndpointArn = std::forward<AcmeEndpointArnT>(value);
52 }
53 template <typename AcmeEndpointArnT = Aws::String>
54 AcmeEndpoint& WithAcmeEndpointArn(AcmeEndpointArnT&& value) {
55 SetAcmeEndpointArn(std::forward<AcmeEndpointArnT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetEndpointUrl() const { return m_endpointUrl; }
65 inline bool EndpointUrlHasBeenSet() const { return m_endpointUrlHasBeenSet; }
66 template <typename EndpointUrlT = Aws::String>
67 void SetEndpointUrl(EndpointUrlT&& value) {
68 m_endpointUrlHasBeenSet = true;
69 m_endpointUrl = std::forward<EndpointUrlT>(value);
70 }
71 template <typename EndpointUrlT = Aws::String>
72 AcmeEndpoint& WithEndpointUrl(EndpointUrlT&& value) {
73 SetEndpointUrl(std::forward<EndpointUrlT>(value));
74 return *this;
75 }
77
79
82 inline AcmeEndpointStatus GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(AcmeEndpointStatus value) {
85 m_statusHasBeenSet = true;
86 m_status = value;
87 }
89 SetStatus(value);
90 return *this;
91 }
93
95
98 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
99 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
100 template <typename FailureReasonT = Aws::String>
101 void SetFailureReason(FailureReasonT&& value) {
102 m_failureReasonHasBeenSet = true;
103 m_failureReason = std::forward<FailureReasonT>(value);
104 }
105 template <typename FailureReasonT = Aws::String>
106 AcmeEndpoint& WithFailureReason(FailureReasonT&& value) {
107 SetFailureReason(std::forward<FailureReasonT>(value));
108 return *this;
109 }
111
113
116 inline AcmeAuthorizationBehavior GetAuthorizationBehavior() const { return m_authorizationBehavior; }
117 inline bool AuthorizationBehaviorHasBeenSet() const { return m_authorizationBehaviorHasBeenSet; }
119 m_authorizationBehaviorHasBeenSet = true;
120 m_authorizationBehavior = value;
121 }
124 return *this;
125 }
127
129
133 inline AcmeContact GetContact() const { return m_contact; }
134 inline bool ContactHasBeenSet() const { return m_contactHasBeenSet; }
135 inline void SetContact(AcmeContact value) {
136 m_contactHasBeenSet = true;
137 m_contact = value;
138 }
140 SetContact(value);
141 return *this;
142 }
144
146
149 inline const CertificateAuthority& GetCertificateAuthority() const { return m_certificateAuthority; }
150 inline bool CertificateAuthorityHasBeenSet() const { return m_certificateAuthorityHasBeenSet; }
151 template <typename CertificateAuthorityT = CertificateAuthority>
152 void SetCertificateAuthority(CertificateAuthorityT&& value) {
153 m_certificateAuthorityHasBeenSet = true;
154 m_certificateAuthority = std::forward<CertificateAuthorityT>(value);
155 }
156 template <typename CertificateAuthorityT = CertificateAuthority>
157 AcmeEndpoint& WithCertificateAuthority(CertificateAuthorityT&& value) {
158 SetCertificateAuthority(std::forward<CertificateAuthorityT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Vector<Tag>& GetCertificateTags() const { return m_certificateTags; }
168 inline bool CertificateTagsHasBeenSet() const { return m_certificateTagsHasBeenSet; }
169 template <typename CertificateTagsT = Aws::Vector<Tag>>
170 void SetCertificateTags(CertificateTagsT&& value) {
171 m_certificateTagsHasBeenSet = true;
172 m_certificateTags = std::forward<CertificateTagsT>(value);
173 }
174 template <typename CertificateTagsT = Aws::Vector<Tag>>
175 AcmeEndpoint& WithCertificateTags(CertificateTagsT&& value) {
176 SetCertificateTags(std::forward<CertificateTagsT>(value));
177 return *this;
178 }
179 template <typename CertificateTagsT = Tag>
180 AcmeEndpoint& AddCertificateTags(CertificateTagsT&& value) {
181 m_certificateTagsHasBeenSet = true;
182 m_certificateTags.emplace_back(std::forward<CertificateTagsT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
192 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
193 template <typename CreatedAtT = Aws::Utils::DateTime>
194 void SetCreatedAt(CreatedAtT&& value) {
195 m_createdAtHasBeenSet = true;
196 m_createdAt = std::forward<CreatedAtT>(value);
197 }
198 template <typename CreatedAtT = Aws::Utils::DateTime>
199 AcmeEndpoint& WithCreatedAt(CreatedAtT&& value) {
200 SetCreatedAt(std::forward<CreatedAtT>(value));
201 return *this;
202 }
204
206
209 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
210 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
211 template <typename UpdatedAtT = Aws::Utils::DateTime>
212 void SetUpdatedAt(UpdatedAtT&& value) {
213 m_updatedAtHasBeenSet = true;
214 m_updatedAt = std::forward<UpdatedAtT>(value);
215 }
216 template <typename UpdatedAtT = Aws::Utils::DateTime>
217 AcmeEndpoint& WithUpdatedAt(UpdatedAtT&& value) {
218 SetUpdatedAt(std::forward<UpdatedAtT>(value));
219 return *this;
220 }
222 private:
223 Aws::String m_acmeEndpointArn;
224
225 Aws::String m_endpointUrl;
226
228
229 Aws::String m_failureReason;
230
232
234
235 CertificateAuthority m_certificateAuthority;
236
237 Aws::Vector<Tag> m_certificateTags;
238
239 Aws::Utils::DateTime m_createdAt{};
240
241 Aws::Utils::DateTime m_updatedAt{};
242 bool m_acmeEndpointArnHasBeenSet = false;
243 bool m_endpointUrlHasBeenSet = false;
244 bool m_statusHasBeenSet = false;
245 bool m_failureReasonHasBeenSet = false;
246 bool m_authorizationBehaviorHasBeenSet = false;
247 bool m_contactHasBeenSet = false;
248 bool m_certificateAuthorityHasBeenSet = false;
249 bool m_certificateTagsHasBeenSet = false;
250 bool m_createdAtHasBeenSet = false;
251 bool m_updatedAtHasBeenSet = false;
252};
253
254} // namespace Model
255} // namespace ACM
256} // namespace Aws
AWS_ACM_API AcmeEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AcmeEndpointStatus GetStatus() const
bool AcmeEndpointArnHasBeenSet() const
const CertificateAuthority & GetCertificateAuthority() const
const Aws::String & GetAcmeEndpointArn() const
AcmeEndpoint & WithAcmeEndpointArn(AcmeEndpointArnT &&value)
AcmeEndpoint & AddCertificateTags(CertificateTagsT &&value)
void SetAcmeEndpointArn(AcmeEndpointArnT &&value)
void SetCertificateTags(CertificateTagsT &&value)
const Aws::String & GetEndpointUrl() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool AuthorizationBehaviorHasBeenSet() const
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
AcmeAuthorizationBehavior GetAuthorizationBehavior() const
AcmeEndpoint & WithCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
AcmeEndpoint & WithCertificateAuthority(CertificateAuthorityT &&value)
AcmeEndpoint & WithContact(AcmeContact value)
void SetEndpointUrl(EndpointUrlT &&value)
AWS_ACM_API AcmeEndpoint()=default
AcmeEndpoint & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Vector< Tag > & GetCertificateTags() const
void SetFailureReason(FailureReasonT &&value)
AcmeEndpoint & WithEndpointUrl(EndpointUrlT &&value)
AcmeEndpoint & WithStatus(AcmeEndpointStatus value)
AWS_ACM_API AcmeEndpoint(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&value)
void SetCertificateAuthority(CertificateAuthorityT &&value)
void SetAuthorizationBehavior(AcmeAuthorizationBehavior value)
bool CertificateAuthorityHasBeenSet() const
const Aws::String & GetFailureReason() const
AcmeEndpoint & WithFailureReason(FailureReasonT &&value)
AcmeContact GetContact() const
void SetContact(AcmeContact value)
AcmeEndpoint & WithCertificateTags(CertificateTagsT &&value)
void SetStatus(AcmeEndpointStatus value)
AcmeEndpoint & WithAuthorizationBehavior(AcmeAuthorizationBehavior value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue