7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
46 template<
typename NotBeforeT = Aws::Utils::DateTime>
47 void SetNotBefore(NotBeforeT&& value) { m_notBeforeHasBeenSet =
true; m_notBefore = std::forward<NotBeforeT>(value); }
48 template<
typename NotBeforeT = Aws::Utils::DateTime>
58 template<
typename NotAfterT = Aws::Utils::DateTime>
59 void SetNotAfter(NotAfterT&& value) { m_notAfterHasBeenSet =
true; m_notAfter = std::forward<NotAfterT>(value); }
60 template<
typename NotAfterT = Aws::Utils::DateTime>
66 bool m_notBeforeHasBeenSet =
false;
69 bool m_notAfterHasBeenSet =
false;
void SetNotBefore(NotBeforeT &&value)
CertificateValidity & WithNotAfter(NotAfterT &&value)
bool NotBeforeHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
CertificateValidity & WithNotBefore(NotBeforeT &&value)
AWS_IOT_API CertificateValidity(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API CertificateValidity()=default
const Aws::Utils::DateTime & GetNotBefore() const
AWS_IOT_API CertificateValidity & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NotAfterHasBeenSet() const
const Aws::Utils::DateTime & GetNotAfter() const
void SetNotAfter(NotAfterT &&value)
Aws::Utils::Json::JsonValue JsonValue