/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the public Secure Shell (SSH) key that is
* associated with a Transfer Family user for the specific file transfer
* protocol-enabled server (as identified by ServerId
). The
* information returned includes the date the key was imported, the public key
* contents, and the public key ID. A user can store more than one SSH public key
* associated with their user name on a specific server.See Also:
* AWS
* API Reference
Specifies the date that the public key was added to the Transfer Family * user.
*/ inline const Aws::Utils::DateTime& GetDateImported() const{ return m_dateImported; } /** *Specifies the date that the public key was added to the Transfer Family * user.
*/ inline bool DateImportedHasBeenSet() const { return m_dateImportedHasBeenSet; } /** *Specifies the date that the public key was added to the Transfer Family * user.
*/ inline void SetDateImported(const Aws::Utils::DateTime& value) { m_dateImportedHasBeenSet = true; m_dateImported = value; } /** *Specifies the date that the public key was added to the Transfer Family * user.
*/ inline void SetDateImported(Aws::Utils::DateTime&& value) { m_dateImportedHasBeenSet = true; m_dateImported = std::move(value); } /** *Specifies the date that the public key was added to the Transfer Family * user.
*/ inline SshPublicKey& WithDateImported(const Aws::Utils::DateTime& value) { SetDateImported(value); return *this;} /** *Specifies the date that the public key was added to the Transfer Family * user.
*/ inline SshPublicKey& WithDateImported(Aws::Utils::DateTime&& value) { SetDateImported(std::move(value)); return *this;} /** *Specifies the content of the SSH public key as specified by the
* PublicKeyId
.
Transfer Family accepts RSA, ECDSA, and ED25519 * keys.
*/ inline const Aws::String& GetSshPublicKeyBody() const{ return m_sshPublicKeyBody; } /** *Specifies the content of the SSH public key as specified by the
* PublicKeyId
.
Transfer Family accepts RSA, ECDSA, and ED25519 * keys.
*/ inline bool SshPublicKeyBodyHasBeenSet() const { return m_sshPublicKeyBodyHasBeenSet; } /** *Specifies the content of the SSH public key as specified by the
* PublicKeyId
.
Transfer Family accepts RSA, ECDSA, and ED25519 * keys.
*/ inline void SetSshPublicKeyBody(const Aws::String& value) { m_sshPublicKeyBodyHasBeenSet = true; m_sshPublicKeyBody = value; } /** *Specifies the content of the SSH public key as specified by the
* PublicKeyId
.
Transfer Family accepts RSA, ECDSA, and ED25519 * keys.
*/ inline void SetSshPublicKeyBody(Aws::String&& value) { m_sshPublicKeyBodyHasBeenSet = true; m_sshPublicKeyBody = std::move(value); } /** *Specifies the content of the SSH public key as specified by the
* PublicKeyId
.
Transfer Family accepts RSA, ECDSA, and ED25519 * keys.
*/ inline void SetSshPublicKeyBody(const char* value) { m_sshPublicKeyBodyHasBeenSet = true; m_sshPublicKeyBody.assign(value); } /** *Specifies the content of the SSH public key as specified by the
* PublicKeyId
.
Transfer Family accepts RSA, ECDSA, and ED25519 * keys.
*/ inline SshPublicKey& WithSshPublicKeyBody(const Aws::String& value) { SetSshPublicKeyBody(value); return *this;} /** *Specifies the content of the SSH public key as specified by the
* PublicKeyId
.
Transfer Family accepts RSA, ECDSA, and ED25519 * keys.
*/ inline SshPublicKey& WithSshPublicKeyBody(Aws::String&& value) { SetSshPublicKeyBody(std::move(value)); return *this;} /** *Specifies the content of the SSH public key as specified by the
* PublicKeyId
.
Transfer Family accepts RSA, ECDSA, and ED25519 * keys.
*/ inline SshPublicKey& WithSshPublicKeyBody(const char* value) { SetSshPublicKeyBody(value); return *this;} /** *Specifies the SshPublicKeyId
parameter contains the identifier
* of the public key.
Specifies the SshPublicKeyId
parameter contains the identifier
* of the public key.
Specifies the SshPublicKeyId
parameter contains the identifier
* of the public key.
Specifies the SshPublicKeyId
parameter contains the identifier
* of the public key.
Specifies the SshPublicKeyId
parameter contains the identifier
* of the public key.
Specifies the SshPublicKeyId
parameter contains the identifier
* of the public key.
Specifies the SshPublicKeyId
parameter contains the identifier
* of the public key.
Specifies the SshPublicKeyId
parameter contains the identifier
* of the public key.