7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/CertificateUsageType.h>
10#include <aws/awstransfer/model/CertificateStatusType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/awstransfer/model/CertificateType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/awstransfer/model/Tag.h>
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
65 template<
typename CertificateIdT = Aws::String>
66 void SetCertificateId(CertificateIdT&& value) { m_certificateIdHasBeenSet =
true; m_certificateId = std::forward<CertificateIdT>(value); }
67 template<
typename CertificateIdT = Aws::String>
109 template<
typename CertificateT = Aws::String>
110 void SetCertificate(CertificateT&& value) { m_certificateHasBeenSet =
true; m_certificate = std::forward<CertificateT>(value); }
111 template<
typename CertificateT = Aws::String>
121 template<
typename CertificateChainT = Aws::String>
122 void SetCertificateChain(CertificateChainT&& value) { m_certificateChainHasBeenSet =
true; m_certificateChain = std::forward<CertificateChainT>(value); }
123 template<
typename CertificateChainT = Aws::String>
135 template<
typename ActiveDateT = Aws::Utils::DateTime>
136 void SetActiveDate(ActiveDateT&& value) { m_activeDateHasBeenSet =
true; m_activeDate = std::forward<ActiveDateT>(value); }
137 template<
typename ActiveDateT = Aws::Utils::DateTime>
149 template<
typename InactiveDateT = Aws::Utils::DateTime>
150 void SetInactiveDate(InactiveDateT&& value) { m_inactiveDateHasBeenSet =
true; m_inactiveDate = std::forward<InactiveDateT>(value); }
151 template<
typename InactiveDateT = Aws::Utils::DateTime>
161 template<
typename SerialT = Aws::String>
162 void SetSerial(SerialT&& value) { m_serialHasBeenSet =
true; m_serial = std::forward<SerialT>(value); }
163 template<
typename SerialT = Aws::String>
173 template<
typename NotBeforeDateT = Aws::Utils::DateTime>
174 void SetNotBeforeDate(NotBeforeDateT&& value) { m_notBeforeDateHasBeenSet =
true; m_notBeforeDate = std::forward<NotBeforeDateT>(value); }
175 template<
typename NotBeforeDateT = Aws::Utils::DateTime>
185 template<
typename NotAfterDateT = Aws::Utils::DateTime>
186 void SetNotAfterDate(NotAfterDateT&& value) { m_notAfterDateHasBeenSet =
true; m_notAfterDate = std::forward<NotAfterDateT>(value); }
187 template<
typename NotAfterDateT = Aws::Utils::DateTime>
209 template<
typename DescriptionT = Aws::String>
210 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
211 template<
typename DescriptionT = Aws::String>
221 template<
typename TagsT = Aws::Vector<Tag>>
222 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
223 template<
typename TagsT = Aws::Vector<Tag>>
225 template<
typename TagsT = Tag>
231 bool m_arnHasBeenSet =
false;
234 bool m_certificateIdHasBeenSet =
false;
237 bool m_usageHasBeenSet =
false;
240 bool m_statusHasBeenSet =
false;
243 bool m_certificateHasBeenSet =
false;
246 bool m_certificateChainHasBeenSet =
false;
249 bool m_activeDateHasBeenSet =
false;
252 bool m_inactiveDateHasBeenSet =
false;
255 bool m_serialHasBeenSet =
false;
258 bool m_notBeforeDateHasBeenSet =
false;
261 bool m_notAfterDateHasBeenSet =
false;
264 bool m_typeHasBeenSet =
false;
267 bool m_descriptionHasBeenSet =
false;
270 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