/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details for a server host key.See Also:
AWS
* API Reference
The unique Amazon Resource Name (ARN) for the host key.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The unique Amazon Resource Name (ARN) for the host key.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The unique Amazon Resource Name (ARN) for the host key.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The unique Amazon Resource Name (ARN) for the host key.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The unique Amazon Resource Name (ARN) for the host key.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The unique Amazon Resource Name (ARN) for the host key.
*/ inline DescribedHostKey& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The unique Amazon Resource Name (ARN) for the host key.
*/ inline DescribedHostKey& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The unique Amazon Resource Name (ARN) for the host key.
*/ inline DescribedHostKey& WithArn(const char* value) { SetArn(value); return *this;} /** *A unique identifier for the host key.
*/ inline const Aws::String& GetHostKeyId() const{ return m_hostKeyId; } /** *A unique identifier for the host key.
*/ inline bool HostKeyIdHasBeenSet() const { return m_hostKeyIdHasBeenSet; } /** *A unique identifier for the host key.
*/ inline void SetHostKeyId(const Aws::String& value) { m_hostKeyIdHasBeenSet = true; m_hostKeyId = value; } /** *A unique identifier for the host key.
*/ inline void SetHostKeyId(Aws::String&& value) { m_hostKeyIdHasBeenSet = true; m_hostKeyId = std::move(value); } /** *A unique identifier for the host key.
*/ inline void SetHostKeyId(const char* value) { m_hostKeyIdHasBeenSet = true; m_hostKeyId.assign(value); } /** *A unique identifier for the host key.
*/ inline DescribedHostKey& WithHostKeyId(const Aws::String& value) { SetHostKeyId(value); return *this;} /** *A unique identifier for the host key.
*/ inline DescribedHostKey& WithHostKeyId(Aws::String&& value) { SetHostKeyId(std::move(value)); return *this;} /** *A unique identifier for the host key.
*/ inline DescribedHostKey& WithHostKeyId(const char* value) { SetHostKeyId(value); return *this;} /** *The public key fingerprint, which is a short sequence of bytes used to * identify the longer public key.
*/ inline const Aws::String& GetHostKeyFingerprint() const{ return m_hostKeyFingerprint; } /** *The public key fingerprint, which is a short sequence of bytes used to * identify the longer public key.
*/ inline bool HostKeyFingerprintHasBeenSet() const { return m_hostKeyFingerprintHasBeenSet; } /** *The public key fingerprint, which is a short sequence of bytes used to * identify the longer public key.
*/ inline void SetHostKeyFingerprint(const Aws::String& value) { m_hostKeyFingerprintHasBeenSet = true; m_hostKeyFingerprint = value; } /** *The public key fingerprint, which is a short sequence of bytes used to * identify the longer public key.
*/ inline void SetHostKeyFingerprint(Aws::String&& value) { m_hostKeyFingerprintHasBeenSet = true; m_hostKeyFingerprint = std::move(value); } /** *The public key fingerprint, which is a short sequence of bytes used to * identify the longer public key.
*/ inline void SetHostKeyFingerprint(const char* value) { m_hostKeyFingerprintHasBeenSet = true; m_hostKeyFingerprint.assign(value); } /** *The public key fingerprint, which is a short sequence of bytes used to * identify the longer public key.
*/ inline DescribedHostKey& WithHostKeyFingerprint(const Aws::String& value) { SetHostKeyFingerprint(value); return *this;} /** *The public key fingerprint, which is a short sequence of bytes used to * identify the longer public key.
*/ inline DescribedHostKey& WithHostKeyFingerprint(Aws::String&& value) { SetHostKeyFingerprint(std::move(value)); return *this;} /** *The public key fingerprint, which is a short sequence of bytes used to * identify the longer public key.
*/ inline DescribedHostKey& WithHostKeyFingerprint(const char* value) { SetHostKeyFingerprint(value); return *this;} /** *The text description for this host key.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The text description for this host key.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The text description for this host key.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The text description for this host key.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The text description for this host key.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The text description for this host key.
*/ inline DescribedHostKey& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The text description for this host key.
*/ inline DescribedHostKey& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The text description for this host key.
*/ inline DescribedHostKey& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The encryption algorithm that is used for the host key. The Type
* parameter is specified by using one of the following values:
* ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
* ecdsa-sha2-nistp384
* ecdsa-sha2-nistp521
The encryption algorithm that is used for the host key. The Type
* parameter is specified by using one of the following values:
* ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
* ecdsa-sha2-nistp384
* ecdsa-sha2-nistp521
The encryption algorithm that is used for the host key. The Type
* parameter is specified by using one of the following values:
* ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
* ecdsa-sha2-nistp384
* ecdsa-sha2-nistp521
The encryption algorithm that is used for the host key. The Type
* parameter is specified by using one of the following values:
* ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
* ecdsa-sha2-nistp384
* ecdsa-sha2-nistp521
The encryption algorithm that is used for the host key. The Type
* parameter is specified by using one of the following values:
* ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
* ecdsa-sha2-nistp384
* ecdsa-sha2-nistp521
The encryption algorithm that is used for the host key. The Type
* parameter is specified by using one of the following values:
* ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
* ecdsa-sha2-nistp384
* ecdsa-sha2-nistp521
The encryption algorithm that is used for the host key. The Type
* parameter is specified by using one of the following values:
* ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
* ecdsa-sha2-nistp384
* ecdsa-sha2-nistp521
The encryption algorithm that is used for the host key. The Type
* parameter is specified by using one of the following values:
* ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
* ecdsa-sha2-nistp384
* ecdsa-sha2-nistp521
The date on which the host key was added to the server.
*/ inline const Aws::Utils::DateTime& GetDateImported() const{ return m_dateImported; } /** *The date on which the host key was added to the server.
*/ inline bool DateImportedHasBeenSet() const { return m_dateImportedHasBeenSet; } /** *The date on which the host key was added to the server.
*/ inline void SetDateImported(const Aws::Utils::DateTime& value) { m_dateImportedHasBeenSet = true; m_dateImported = value; } /** *The date on which the host key was added to the server.
*/ inline void SetDateImported(Aws::Utils::DateTime&& value) { m_dateImportedHasBeenSet = true; m_dateImported = std::move(value); } /** *The date on which the host key was added to the server.
*/ inline DescribedHostKey& WithDateImported(const Aws::Utils::DateTime& value) { SetDateImported(value); return *this;} /** *The date on which the host key was added to the server.
*/ inline DescribedHostKey& WithDateImported(Aws::Utils::DateTime&& value) { SetDateImported(std::move(value)); return *this;} /** *Key-value pairs that can be used to group and search for host keys.
*/ inline const Aws::VectorKey-value pairs that can be used to group and search for host keys.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Key-value pairs that can be used to group and search for host keys.
*/ inline void SetTags(const Aws::VectorKey-value pairs that can be used to group and search for host keys.
*/ inline void SetTags(Aws::VectorKey-value pairs that can be used to group and search for host keys.
*/ inline DescribedHostKey& WithTags(const Aws::VectorKey-value pairs that can be used to group and search for host keys.
*/ inline DescribedHostKey& WithTags(Aws::VectorKey-value pairs that can be used to group and search for host keys.
*/ inline DescribedHostKey& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Key-value pairs that can be used to group and search for host keys.
*/ inline DescribedHostKey& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_hostKeyId; bool m_hostKeyIdHasBeenSet = false; Aws::String m_hostKeyFingerprint; bool m_hostKeyFingerprintHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::Utils::DateTime m_dateImported; bool m_dateImportedHasBeenSet = false; Aws::Vector