AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
AcmCertificateMetadata.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/CertificateExport.h>
9#include <aws/acm/model/CertificateManagedBy.h>
10#include <aws/acm/model/CertificateStatus.h>
11#include <aws/acm/model/CertificateType.h>
12#include <aws/acm/model/RenewalEligibility.h>
13#include <aws/acm/model/RenewalStatus.h>
14#include <aws/acm/model/ValidationMethod.h>
15#include <aws/core/utils/DateTime.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 AcmCertificateMetadata() = default;
41
43
46 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
47 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
48 template <typename CreatedAtT = Aws::Utils::DateTime>
49 void SetCreatedAt(CreatedAtT&& value) {
50 m_createdAtHasBeenSet = true;
51 m_createdAt = std::forward<CreatedAtT>(value);
52 }
53 template <typename CreatedAtT = Aws::Utils::DateTime>
55 SetCreatedAt(std::forward<CreatedAtT>(value));
56 return *this;
57 }
59
61
64 inline bool GetExported() const { return m_exported; }
65 inline bool ExportedHasBeenSet() const { return m_exportedHasBeenSet; }
66 inline void SetExported(bool value) {
67 m_exportedHasBeenSet = true;
68 m_exported = value;
69 }
71 SetExported(value);
72 return *this;
73 }
75
77
81 inline const Aws::Utils::DateTime& GetImportedAt() const { return m_importedAt; }
82 inline bool ImportedAtHasBeenSet() const { return m_importedAtHasBeenSet; }
83 template <typename ImportedAtT = Aws::Utils::DateTime>
84 void SetImportedAt(ImportedAtT&& value) {
85 m_importedAtHasBeenSet = true;
86 m_importedAt = std::forward<ImportedAtT>(value);
87 }
88 template <typename ImportedAtT = Aws::Utils::DateTime>
89 AcmCertificateMetadata& WithImportedAt(ImportedAtT&& value) {
90 SetImportedAt(std::forward<ImportedAtT>(value));
91 return *this;
92 }
94
96
100 inline bool GetInUse() const { return m_inUse; }
101 inline bool InUseHasBeenSet() const { return m_inUseHasBeenSet; }
102 inline void SetInUse(bool value) {
103 m_inUseHasBeenSet = true;
104 m_inUse = value;
105 }
106 inline AcmCertificateMetadata& WithInUse(bool value) {
107 SetInUse(value);
108 return *this;
109 }
111
113
117 inline const Aws::Utils::DateTime& GetIssuedAt() const { return m_issuedAt; }
118 inline bool IssuedAtHasBeenSet() const { return m_issuedAtHasBeenSet; }
119 template <typename IssuedAtT = Aws::Utils::DateTime>
120 void SetIssuedAt(IssuedAtT&& value) {
121 m_issuedAtHasBeenSet = true;
122 m_issuedAt = std::forward<IssuedAtT>(value);
123 }
124 template <typename IssuedAtT = Aws::Utils::DateTime>
126 SetIssuedAt(std::forward<IssuedAtT>(value));
127 return *this;
128 }
130
132
137 inline RenewalEligibility GetRenewalEligibility() const { return m_renewalEligibility; }
138 inline bool RenewalEligibilityHasBeenSet() const { return m_renewalEligibilityHasBeenSet; }
140 m_renewalEligibilityHasBeenSet = true;
141 m_renewalEligibility = value;
142 }
145 return *this;
146 }
148
150
154 inline const Aws::Utils::DateTime& GetRevokedAt() const { return m_revokedAt; }
155 inline bool RevokedAtHasBeenSet() const { return m_revokedAtHasBeenSet; }
156 template <typename RevokedAtT = Aws::Utils::DateTime>
157 void SetRevokedAt(RevokedAtT&& value) {
158 m_revokedAtHasBeenSet = true;
159 m_revokedAt = std::forward<RevokedAtT>(value);
160 }
161 template <typename RevokedAtT = Aws::Utils::DateTime>
163 SetRevokedAt(std::forward<RevokedAtT>(value));
164 return *this;
165 }
167
169
183 inline CertificateStatus GetStatus() const { return m_status; }
184 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
185 inline void SetStatus(CertificateStatus value) {
186 m_statusHasBeenSet = true;
187 m_status = value;
188 }
190 SetStatus(value);
191 return *this;
192 }
194
196
199 inline RenewalStatus GetRenewalStatus() const { return m_renewalStatus; }
200 inline bool RenewalStatusHasBeenSet() const { return m_renewalStatusHasBeenSet; }
201 inline void SetRenewalStatus(RenewalStatus value) {
202 m_renewalStatusHasBeenSet = true;
203 m_renewalStatus = value;
204 }
206 SetRenewalStatus(value);
207 return *this;
208 }
210
212
224 inline CertificateType GetType() const { return m_type; }
225 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
226 inline void SetType(CertificateType value) {
227 m_typeHasBeenSet = true;
228 m_type = value;
229 }
231 SetType(value);
232 return *this;
233 }
235
237
240 inline CertificateExport GetExportOption() const { return m_exportOption; }
241 inline bool ExportOptionHasBeenSet() const { return m_exportOptionHasBeenSet; }
243 m_exportOptionHasBeenSet = true;
244 m_exportOption = value;
245 }
247 SetExportOption(value);
248 return *this;
249 }
251
253
257 inline CertificateManagedBy GetManagedBy() const { return m_managedBy; }
258 inline bool ManagedByHasBeenSet() const { return m_managedByHasBeenSet; }
260 m_managedByHasBeenSet = true;
261 m_managedBy = value;
262 }
264 SetManagedBy(value);
265 return *this;
266 }
268
270
273 inline ValidationMethod GetValidationMethod() const { return m_validationMethod; }
274 inline bool ValidationMethodHasBeenSet() const { return m_validationMethodHasBeenSet; }
276 m_validationMethodHasBeenSet = true;
277 m_validationMethod = value;
278 }
280 SetValidationMethod(value);
281 return *this;
282 }
284 private:
285 Aws::Utils::DateTime m_createdAt{};
286
287 bool m_exported{false};
288
289 Aws::Utils::DateTime m_importedAt{};
290
291 bool m_inUse{false};
292
293 Aws::Utils::DateTime m_issuedAt{};
294
296
297 Aws::Utils::DateTime m_revokedAt{};
298
300
301 RenewalStatus m_renewalStatus{RenewalStatus::NOT_SET};
302
304
306
308
310 bool m_createdAtHasBeenSet = false;
311 bool m_exportedHasBeenSet = false;
312 bool m_importedAtHasBeenSet = false;
313 bool m_inUseHasBeenSet = false;
314 bool m_issuedAtHasBeenSet = false;
315 bool m_renewalEligibilityHasBeenSet = false;
316 bool m_revokedAtHasBeenSet = false;
317 bool m_statusHasBeenSet = false;
318 bool m_renewalStatusHasBeenSet = false;
319 bool m_typeHasBeenSet = false;
320 bool m_exportOptionHasBeenSet = false;
321 bool m_managedByHasBeenSet = false;
322 bool m_validationMethodHasBeenSet = false;
323};
324
325} // namespace Model
326} // namespace ACM
327} // namespace Aws
void SetExportOption(CertificateExport value)
AcmCertificateMetadata & WithStatus(CertificateStatus value)
AcmCertificateMetadata & WithValidationMethod(ValidationMethod value)
AcmCertificateMetadata & WithRenewalEligibility(RenewalEligibility value)
AcmCertificateMetadata & WithImportedAt(ImportedAtT &&value)
AcmCertificateMetadata & WithRenewalStatus(RenewalStatus value)
const Aws::Utils::DateTime & GetRevokedAt() const
AWS_ACM_API AcmCertificateMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
AcmCertificateMetadata & WithType(CertificateType value)
AcmCertificateMetadata & WithCreatedAt(CreatedAtT &&value)
AcmCertificateMetadata & WithIssuedAt(IssuedAtT &&value)
AcmCertificateMetadata & WithManagedBy(CertificateManagedBy value)
const Aws::Utils::DateTime & GetImportedAt() const
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
AcmCertificateMetadata & WithRevokedAt(RevokedAtT &&value)
AcmCertificateMetadata & WithExportOption(CertificateExport value)
void SetValidationMethod(ValidationMethod value)
AWS_ACM_API AcmCertificateMetadata()=default
void SetManagedBy(CertificateManagedBy value)
void SetRenewalEligibility(RenewalEligibility value)
AcmCertificateMetadata & WithExported(bool value)
const Aws::Utils::DateTime & GetIssuedAt() const
AcmCertificateMetadata & WithInUse(bool value)
AWS_ACM_API AcmCertificateMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue