7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
51 template<
typename AlgorithmT = Aws::String>
52 void SetAlgorithm(AlgorithmT&& value) { m_algorithmHasBeenSet =
true; m_algorithm = std::forward<AlgorithmT>(value); }
53 template<
typename AlgorithmT = Aws::String>
63 template<
typename PublicKeyT = Aws::String>
64 void SetPublicKey(PublicKeyT&& value) { m_publicKeyHasBeenSet =
true; m_publicKey = std::forward<PublicKeyT>(value); }
65 template<
typename PublicKeyT = Aws::String>
76 template<
typename WitnessedAtT = Aws::Utils::DateTime>
77 void SetWitnessedAt(WitnessedAtT&& value) { m_witnessedAtHasBeenSet =
true; m_witnessedAt = std::forward<WitnessedAtT>(value); }
78 template<
typename WitnessedAtT = Aws::Utils::DateTime>
93 template<
typename Fingerpr
intSHA1T = Aws::String>
94 void SetFingerprintSHA1(FingerprintSHA1T&& value) { m_fingerprintSHA1HasBeenSet =
true; m_fingerprintSHA1 = std::forward<FingerprintSHA1T>(value); }
95 template<
typename Fingerpr
intSHA1T = Aws::String>
110 template<
typename Fingerpr
intSHA256T = Aws::String>
111 void SetFingerprintSHA256(FingerprintSHA256T&& value) { m_fingerprintSHA256HasBeenSet =
true; m_fingerprintSHA256 = std::forward<FingerprintSHA256T>(value); }
112 template<
typename Fingerpr
intSHA256T = Aws::String>
123 template<
typename NotVal
idBeforeT = Aws::Utils::DateTime>
124 void SetNotValidBefore(NotValidBeforeT&& value) { m_notValidBeforeHasBeenSet =
true; m_notValidBefore = std::forward<NotValidBeforeT>(value); }
125 template<
typename NotVal
idBeforeT = Aws::Utils::DateTime>
136 template<
typename NotVal
idAfterT = Aws::Utils::DateTime>
137 void SetNotValidAfter(NotValidAfterT&& value) { m_notValidAfterHasBeenSet =
true; m_notValidAfter = std::forward<NotValidAfterT>(value); }
138 template<
typename NotVal
idAfterT = Aws::Utils::DateTime>
144 bool m_algorithmHasBeenSet =
false;
147 bool m_publicKeyHasBeenSet =
false;
150 bool m_witnessedAtHasBeenSet =
false;
153 bool m_fingerprintSHA1HasBeenSet =
false;
156 bool m_fingerprintSHA256HasBeenSet =
false;
159 bool m_notValidBeforeHasBeenSet =
false;
162 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