7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/model/CertificateState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ds/model/CertificateType.h>
12#include <aws/ds/model/ClientCertAuthSettings.h>
25namespace DirectoryService
50 template<
typename CertificateIdT = Aws::String>
51 void SetCertificateId(CertificateIdT&& value) { m_certificateIdHasBeenSet =
true; m_certificateId = std::forward<CertificateIdT>(value); }
52 template<
typename CertificateIdT = Aws::String>
72 template<
typename StateReasonT = Aws::String>
73 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
74 template<
typename StateReasonT = Aws::String>
84 template<
typename CommonNameT = Aws::String>
85 void SetCommonName(CommonNameT&& value) { m_commonNameHasBeenSet =
true; m_commonName = std::forward<CommonNameT>(value); }
86 template<
typename CommonNameT = Aws::String>
96 template<
typename RegisteredDateTimeT = Aws::Utils::DateTime>
97 void SetRegisteredDateTime(RegisteredDateTimeT&& value) { m_registeredDateTimeHasBeenSet =
true; m_registeredDateTime = std::forward<RegisteredDateTimeT>(value); }
98 template<
typename RegisteredDateTimeT = Aws::Utils::DateTime>
108 template<
typename ExpiryDateTimeT = Aws::Utils::DateTime>
109 void SetExpiryDateTime(ExpiryDateTimeT&& value) { m_expiryDateTimeHasBeenSet =
true; m_expiryDateTime = std::forward<ExpiryDateTimeT>(value); }
110 template<
typename ExpiryDateTimeT = Aws::Utils::DateTime>
133 template<
typename ClientCertAuthSettingsT = ClientCertAuthSettings>
134 void SetClientCertAuthSettings(ClientCertAuthSettingsT&& value) { m_clientCertAuthSettingsHasBeenSet =
true; m_clientCertAuthSettings = std::forward<ClientCertAuthSettingsT>(value); }
135 template<
typename ClientCertAuthSettingsT = ClientCertAuthSettings>
141 bool m_certificateIdHasBeenSet =
false;
144 bool m_stateHasBeenSet =
false;
147 bool m_stateReasonHasBeenSet =
false;
150 bool m_commonNameHasBeenSet =
false;
153 bool m_registeredDateTimeHasBeenSet =
false;
156 bool m_expiryDateTimeHasBeenSet =
false;
159 bool m_typeHasBeenSet =
false;
161 ClientCertAuthSettings m_clientCertAuthSettings;
162 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