7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
53 inline void SetAlgorithm(
const char* value) { m_algorithmHasBeenSet =
true; m_algorithm.assign(value); }
67 inline void SetPublicKey(
const char* value) { m_publicKeyHasBeenSet =
true; m_publicKey.assign(value); }
99 inline void SetFingerprintSHA1(
const char* value) { m_fingerprintSHA1HasBeenSet =
true; m_fingerprintSHA1.assign(value); }
118 inline void SetFingerprintSHA256(
const char* value) { m_fingerprintSHA256HasBeenSet =
true; m_fingerprintSHA256.assign(value); }
152 bool m_algorithmHasBeenSet =
false;
155 bool m_publicKeyHasBeenSet =
false;
158 bool m_witnessedAtHasBeenSet =
false;
161 bool m_fingerprintSHA1HasBeenSet =
false;
164 bool m_fingerprintSHA256HasBeenSet =
false;
167 bool m_notValidBeforeHasBeenSet =
false;
170 bool m_notValidAfterHasBeenSet =
false;
void SetAlgorithm(const Aws::String &value)
const Aws::Utils::DateTime & GetNotValidBefore() const
void SetFingerprintSHA1(const Aws::String &value)
void SetNotValidBefore(const Aws::Utils::DateTime &value)
void SetPublicKey(Aws::String &&value)
void SetNotValidAfter(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetWitnessedAt() const
void SetFingerprintSHA256(const Aws::String &value)
void SetAlgorithm(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
HostKeyAttributes & WithNotValidAfter(const Aws::Utils::DateTime &value)
HostKeyAttributes & WithFingerprintSHA256(Aws::String &&value)
HostKeyAttributes & WithNotValidBefore(Aws::Utils::DateTime &&value)
void SetNotValidBefore(Aws::Utils::DateTime &&value)
HostKeyAttributes & WithFingerprintSHA1(const Aws::String &value)
HostKeyAttributes & WithPublicKey(Aws::String &&value)
bool NotValidAfterHasBeenSet() const
const Aws::String & GetPublicKey() const
const Aws::String & GetAlgorithm() const
void SetNotValidAfter(const Aws::Utils::DateTime &value)
void SetPublicKey(const char *value)
void SetFingerprintSHA1(const char *value)
HostKeyAttributes & WithFingerprintSHA1(const char *value)
HostKeyAttributes & WithNotValidAfter(Aws::Utils::DateTime &&value)
HostKeyAttributes & WithAlgorithm(const Aws::String &value)
const Aws::String & GetFingerprintSHA256() const
HostKeyAttributes & WithFingerprintSHA256(const char *value)
void SetWitnessedAt(Aws::Utils::DateTime &&value)
void SetWitnessedAt(const Aws::Utils::DateTime &value)
bool NotValidBeforeHasBeenSet() const
bool AlgorithmHasBeenSet() const
AWS_LIGHTSAIL_API HostKeyAttributes(Aws::Utils::Json::JsonView jsonValue)
HostKeyAttributes & WithFingerprintSHA256(const Aws::String &value)
HostKeyAttributes & WithFingerprintSHA1(Aws::String &&value)
HostKeyAttributes & WithNotValidBefore(const Aws::Utils::DateTime &value)
HostKeyAttributes & WithWitnessedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetNotValidAfter() const
bool PublicKeyHasBeenSet() const
HostKeyAttributes & WithAlgorithm(Aws::String &&value)
HostKeyAttributes & WithPublicKey(const Aws::String &value)
void SetPublicKey(const Aws::String &value)
AWS_LIGHTSAIL_API HostKeyAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
HostKeyAttributes & WithAlgorithm(const char *value)
HostKeyAttributes & WithPublicKey(const char *value)
const Aws::String & GetFingerprintSHA1() const
HostKeyAttributes & WithWitnessedAt(Aws::Utils::DateTime &&value)
void SetFingerprintSHA256(Aws::String &&value)
bool FingerprintSHA256HasBeenSet() const
void SetFingerprintSHA1(Aws::String &&value)
bool FingerprintSHA1HasBeenSet() const
void SetFingerprintSHA256(const char *value)
AWS_LIGHTSAIL_API HostKeyAttributes()
bool WitnessedAtHasBeenSet() const
void SetAlgorithm(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue