AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
CertificateAuthorityValidity.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/eks/EKS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EKS {
20namespace Model {
21
29 public:
30 AWS_EKS_API CertificateAuthorityValidity() = default;
34
36
40 inline const Aws::Utils::DateTime& GetNotBefore() const { return m_notBefore; }
41 inline bool NotBeforeHasBeenSet() const { return m_notBeforeHasBeenSet; }
42 template <typename NotBeforeT = Aws::Utils::DateTime>
43 void SetNotBefore(NotBeforeT&& value) {
44 m_notBeforeHasBeenSet = true;
45 m_notBefore = std::forward<NotBeforeT>(value);
46 }
47 template <typename NotBeforeT = Aws::Utils::DateTime>
49 SetNotBefore(std::forward<NotBeforeT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Utils::DateTime& GetNotAfter() const { return m_notAfter; }
60 inline bool NotAfterHasBeenSet() const { return m_notAfterHasBeenSet; }
61 template <typename NotAfterT = Aws::Utils::DateTime>
62 void SetNotAfter(NotAfterT&& value) {
63 m_notAfterHasBeenSet = true;
64 m_notAfter = std::forward<NotAfterT>(value);
65 }
66 template <typename NotAfterT = Aws::Utils::DateTime>
68 SetNotAfter(std::forward<NotAfterT>(value));
69 return *this;
70 }
72 private:
73 Aws::Utils::DateTime m_notBefore{};
74
75 Aws::Utils::DateTime m_notAfter{};
76 bool m_notBeforeHasBeenSet = false;
77 bool m_notAfterHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace EKS
82} // namespace Aws
CertificateAuthorityValidity & WithNotBefore(NotBeforeT &&value)
CertificateAuthorityValidity & WithNotAfter(NotAfterT &&value)
AWS_EKS_API CertificateAuthorityValidity(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API CertificateAuthorityValidity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API CertificateAuthorityValidity()=default
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue