7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
45 template <
typename AlgorithmT = Aws::String>
47 m_algorithmHasBeenSet =
true;
48 m_algorithm = std::forward<AlgorithmT>(value);
50 template <
typename AlgorithmT = Aws::String>
63 template <
typename PublicKeyT = Aws::String>
65 m_publicKeyHasBeenSet =
true;
66 m_publicKey = std::forward<PublicKeyT>(value);
68 template <
typename PublicKeyT = Aws::String>
82 template <
typename WitnessedAtT = Aws::Utils::DateTime>
84 m_witnessedAtHasBeenSet =
true;
85 m_witnessedAt = std::forward<WitnessedAtT>(value);
87 template <
typename WitnessedAtT = Aws::Utils::DateTime>
105 template <
typename Fingerpr
intSHA1T = Aws::String>
107 m_fingerprintSHA1HasBeenSet =
true;
108 m_fingerprintSHA1 = std::forward<FingerprintSHA1T>(value);
110 template <
typename Fingerpr
intSHA1T = Aws::String>
128 template <
typename Fingerpr
intSHA256T = Aws::String>
130 m_fingerprintSHA256HasBeenSet =
true;
131 m_fingerprintSHA256 = std::forward<FingerprintSHA256T>(value);
133 template <
typename Fingerpr
intSHA256T = Aws::String>
147 template <
typename NotVal
idBeforeT = Aws::Utils::DateTime>
149 m_notValidBeforeHasBeenSet =
true;
150 m_notValidBefore = std::forward<NotValidBeforeT>(value);
152 template <
typename NotVal
idBeforeT = Aws::Utils::DateTime>
166 template <
typename NotVal
idAfterT = Aws::Utils::DateTime>
168 m_notValidAfterHasBeenSet =
true;
169 m_notValidAfter = std::forward<NotValidAfterT>(value);
171 template <
typename NotVal
idAfterT = Aws::Utils::DateTime>
191 bool m_algorithmHasBeenSet =
false;
192 bool m_publicKeyHasBeenSet =
false;
193 bool m_witnessedAtHasBeenSet =
false;
194 bool m_fingerprintSHA1HasBeenSet =
false;
195 bool m_fingerprintSHA256HasBeenSet =
false;
196 bool m_notValidBeforeHasBeenSet =
false;
197 bool m_notValidAfterHasBeenSet =
false;
const Aws::Utils::DateTime & GetNotValidBefore() const
const Aws::Utils::DateTime & GetWitnessedAt() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
HostKeyAttributes & WithFingerprintSHA1(FingerprintSHA1T &&value)
void SetWitnessedAt(WitnessedAtT &&value)
bool NotValidAfterHasBeenSet() const
const Aws::String & GetPublicKey() const
void SetFingerprintSHA256(FingerprintSHA256T &&value)
void SetNotValidAfter(NotValidAfterT &&value)
const Aws::String & GetAlgorithm() const
void SetFingerprintSHA1(FingerprintSHA1T &&value)
const Aws::String & GetFingerprintSHA256() const
bool NotValidBeforeHasBeenSet() const
bool AlgorithmHasBeenSet() const
HostKeyAttributes & WithAlgorithm(AlgorithmT &&value)
void SetNotValidBefore(NotValidBeforeT &&value)
AWS_LIGHTSAIL_API HostKeyAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetAlgorithm(AlgorithmT &&value)
const Aws::Utils::DateTime & GetNotValidAfter() const
bool PublicKeyHasBeenSet() const
AWS_LIGHTSAIL_API HostKeyAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFingerprintSHA1() const
HostKeyAttributes & WithPublicKey(PublicKeyT &&value)
void SetPublicKey(PublicKeyT &&value)
HostKeyAttributes & WithNotValidAfter(NotValidAfterT &&value)
bool FingerprintSHA256HasBeenSet() const
bool FingerprintSHA1HasBeenSet() const
HostKeyAttributes & WithNotValidBefore(NotValidBeforeT &&value)
bool WitnessedAtHasBeenSet() const
HostKeyAttributes & WithWitnessedAt(WitnessedAtT &&value)
HostKeyAttributes & WithFingerprintSHA256(FingerprintSHA256T &&value)
AWS_LIGHTSAIL_API HostKeyAttributes()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue