7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/CertificateStatusType.h>
9#include <aws/awstransfer/model/CertificateType.h>
10#include <aws/awstransfer/model/CertificateUsageType.h>
11#include <aws/awstransfer/model/Tag.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
65 template <
typename CertificateIdT = Aws::String>
67 m_certificateIdHasBeenSet =
true;
68 m_certificateId = std::forward<CertificateIdT>(value);
70 template <
typename CertificateIdT = Aws::String>
88 m_usageHasBeenSet =
true;
112 m_statusHasBeenSet =
true;
127 template <
typename CertificateT = Aws::String>
129 m_certificateHasBeenSet =
true;
130 m_certificate = std::forward<CertificateT>(value);
132 template <
typename CertificateT = Aws::String>
145 template <
typename CertificateChainT = Aws::String>
147 m_certificateChainHasBeenSet =
true;
148 m_certificateChain = std::forward<CertificateChainT>(value);
150 template <
typename CertificateChainT = Aws::String>
165 template <
typename ActiveDateT = Aws::Utils::DateTime>
167 m_activeDateHasBeenSet =
true;
168 m_activeDate = std::forward<ActiveDateT>(value);
170 template <
typename ActiveDateT = Aws::Utils::DateTime>
185 template <
typename InactiveDateT = Aws::Utils::DateTime>
187 m_inactiveDateHasBeenSet =
true;
188 m_inactiveDate = std::forward<InactiveDateT>(value);
190 template <
typename InactiveDateT = Aws::Utils::DateTime>
203 template <
typename SerialT = Aws::String>
205 m_serialHasBeenSet =
true;
206 m_serial = std::forward<SerialT>(value);
208 template <
typename SerialT = Aws::String>
221 template <
typename NotBeforeDateT = Aws::Utils::DateTime>
223 m_notBeforeDateHasBeenSet =
true;
224 m_notBeforeDate = std::forward<NotBeforeDateT>(value);
226 template <
typename NotBeforeDateT = Aws::Utils::DateTime>
239 template <
typename NotAfterDateT = Aws::Utils::DateTime>
241 m_notAfterDateHasBeenSet =
true;
242 m_notAfterDate = std::forward<NotAfterDateT>(value);
244 template <
typename NotAfterDateT = Aws::Utils::DateTime>
260 m_typeHasBeenSet =
true;
275 template <
typename DescriptionT = Aws::String>
277 m_descriptionHasBeenSet =
true;
278 m_description = std::forward<DescriptionT>(value);
280 template <
typename DescriptionT = Aws::String>
293 template <
typename TagsT = Aws::Vector<Tag>>
295 m_tagsHasBeenSet =
true;
296 m_tags = std::forward<TagsT>(value);
298 template <
typename TagsT = Aws::Vector<Tag>>
300 SetTags(std::forward<TagsT>(value));
303 template <
typename TagsT = Tag>
305 m_tagsHasBeenSet =
true;
306 m_tags.emplace_back(std::forward<TagsT>(value));
338 bool m_arnHasBeenSet =
false;
339 bool m_certificateIdHasBeenSet =
false;
340 bool m_usageHasBeenSet =
false;
341 bool m_statusHasBeenSet =
false;
342 bool m_certificateHasBeenSet =
false;
343 bool m_certificateChainHasBeenSet =
false;
344 bool m_activeDateHasBeenSet =
false;
345 bool m_inactiveDateHasBeenSet =
false;
346 bool m_serialHasBeenSet =
false;
347 bool m_notBeforeDateHasBeenSet =
false;
348 bool m_notAfterDateHasBeenSet =
false;
349 bool m_typeHasBeenSet =
false;
350 bool m_descriptionHasBeenSet =
false;
351 bool m_tagsHasBeenSet =
false;
bool NotBeforeDateHasBeenSet() const
DescribedCertificate & WithType(CertificateType value)
bool StatusHasBeenSet() const
void SetSerial(SerialT &&value)
const Aws::Vector< Tag > & GetTags() const
bool CertificateChainHasBeenSet() const
void SetArn(ArnT &&value)
DescribedCertificate & WithUsage(CertificateUsageType value)
void SetInactiveDate(InactiveDateT &&value)
const Aws::Utils::DateTime & GetNotAfterDate() const
DescribedCertificate & WithStatus(CertificateStatusType value)
DescribedCertificate & WithNotBeforeDate(NotBeforeDateT &&value)
bool ArnHasBeenSet() const
CertificateType GetType() const
DescribedCertificate & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetActiveDate() const
const Aws::Utils::DateTime & GetInactiveDate() const
void SetActiveDate(ActiveDateT &&value)
CertificateUsageType GetUsage() const
CertificateStatusType GetStatus() const
void SetCertificateId(CertificateIdT &&value)
void SetNotBeforeDate(NotBeforeDateT &&value)
DescribedCertificate & WithCertificate(CertificateT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetCertificateId() const
void SetNotAfterDate(NotAfterDateT &&value)
void SetDescription(DescriptionT &&value)
bool UsageHasBeenSet() const
DescribedCertificate & WithSerial(SerialT &&value)
bool ActiveDateHasBeenSet() const
void SetType(CertificateType value)
const Aws::String & GetCertificateChain() const
void SetStatus(CertificateStatusType value)
DescribedCertificate & AddTags(TagsT &&value)
void SetUsage(CertificateUsageType value)
const Aws::String & GetSerial() const
DescribedCertificate & WithNotAfterDate(NotAfterDateT &&value)
const Aws::Utils::DateTime & GetNotBeforeDate() const
DescribedCertificate & WithActiveDate(ActiveDateT &&value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCertificate() const
bool NotAfterDateHasBeenSet() const
DescribedCertificate & WithCertificateId(CertificateIdT &&value)
bool CertificateIdHasBeenSet() const
void SetCertificate(CertificateT &&value)
bool DescriptionHasBeenSet() const
void SetTags(TagsT &&value)
AWS_TRANSFER_API DescribedCertificate(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API DescribedCertificate()=default
void SetCertificateChain(CertificateChainT &&value)
DescribedCertificate & WithInactiveDate(InactiveDateT &&value)
bool SerialHasBeenSet() const
bool TypeHasBeenSet() const
AWS_TRANSFER_API DescribedCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InactiveDateHasBeenSet() const
const Aws::String & GetArn() const
DescribedCertificate & WithArn(ArnT &&value)
DescribedCertificate & WithTags(TagsT &&value)
bool CertificateHasBeenSet() const
bool TagsHasBeenSet() const
DescribedCertificate & WithCertificateChain(CertificateChainT &&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