7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10#include <aws/ds/model/CertificateState.h>
11#include <aws/ds/model/CertificateType.h>
12#include <aws/ds/model/ClientCertAuthSettings.h>
23namespace DirectoryService {
44 template <
typename CertificateIdT = Aws::String>
46 m_certificateIdHasBeenSet =
true;
47 m_certificateId = std::forward<CertificateIdT>(value);
49 template <
typename CertificateIdT = Aws::String>
63 m_stateHasBeenSet =
true;
78 template <
typename StateReasonT = Aws::String>
80 m_stateReasonHasBeenSet =
true;
81 m_stateReason = std::forward<StateReasonT>(value);
83 template <
typename StateReasonT = Aws::String>
96 template <
typename CommonNameT = Aws::String>
98 m_commonNameHasBeenSet =
true;
99 m_commonName = std::forward<CommonNameT>(value);
101 template <
typename CommonNameT = Aws::String>
114 template <
typename RegisteredDateTimeT = Aws::Utils::DateTime>
116 m_registeredDateTimeHasBeenSet =
true;
117 m_registeredDateTime = std::forward<RegisteredDateTimeT>(value);
119 template <
typename RegisteredDateTimeT = Aws::Utils::DateTime>
132 template <
typename ExpiryDateTimeT = Aws::Utils::DateTime>
134 m_expiryDateTimeHasBeenSet =
true;
135 m_expiryDateTime = std::forward<ExpiryDateTimeT>(value);
137 template <
typename ExpiryDateTimeT = Aws::Utils::DateTime>
153 m_typeHasBeenSet =
true;
169 template <
typename ClientCertAuthSettingsT = ClientCertAuthSettings>
171 m_clientCertAuthSettingsHasBeenSet =
true;
172 m_clientCertAuthSettings = std::forward<ClientCertAuthSettingsT>(value);
174 template <
typename ClientCertAuthSettingsT = ClientCertAuthSettings>
195 ClientCertAuthSettings m_clientCertAuthSettings;
196 bool m_certificateIdHasBeenSet =
false;
197 bool m_stateHasBeenSet =
false;
198 bool m_stateReasonHasBeenSet =
false;
199 bool m_commonNameHasBeenSet =
false;
200 bool m_registeredDateTimeHasBeenSet =
false;
201 bool m_expiryDateTimeHasBeenSet =
false;
202 bool m_typeHasBeenSet =
false;
203 bool m_clientCertAuthSettingsHasBeenSet =
false;
bool StateReasonHasBeenSet() const
AWS_DIRECTORYSERVICE_API Certificate(Aws::Utils::Json::JsonView jsonValue)
Certificate & WithRegisteredDateTime(RegisteredDateTimeT &&value)
const Aws::Utils::DateTime & GetExpiryDateTime() const
CertificateState GetState() const
CertificateType GetType() const
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Certificate & WithType(CertificateType value)
Certificate & WithClientCertAuthSettings(ClientCertAuthSettingsT &&value)
bool CertificateIdHasBeenSet() const
AWS_DIRECTORYSERVICE_API Certificate()=default
void SetCommonName(CommonNameT &&value)
Certificate & WithCommonName(CommonNameT &&value)
bool CommonNameHasBeenSet() const
bool RegisteredDateTimeHasBeenSet() const
void SetType(CertificateType value)
void SetClientCertAuthSettings(ClientCertAuthSettingsT &&value)
const Aws::String & GetCommonName() const
Certificate & WithCertificateId(CertificateIdT &&value)
void SetState(CertificateState value)
const ClientCertAuthSettings & GetClientCertAuthSettings() const
const Aws::Utils::DateTime & GetRegisteredDateTime() const
const Aws::String & GetStateReason() const
bool ExpiryDateTimeHasBeenSet() const
const Aws::String & GetCertificateId() const
void SetCertificateId(CertificateIdT &&value)
void SetStateReason(StateReasonT &&value)
bool StateHasBeenSet() const
Certificate & WithExpiryDateTime(ExpiryDateTimeT &&value)
void SetExpiryDateTime(ExpiryDateTimeT &&value)
Certificate & WithState(CertificateState value)
void SetRegisteredDateTime(RegisteredDateTimeT &&value)
Certificate & WithStateReason(StateReasonT &&value)
AWS_DIRECTORYSERVICE_API Certificate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
bool ClientCertAuthSettingsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue