/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the response to a successful GetSSHPublicKey
* request.See Also:
AWS
* API Reference
A structure containing details about the SSH public key.
*/ inline const SSHPublicKey& GetSSHPublicKey() const{ return m_sSHPublicKey; } /** *A structure containing details about the SSH public key.
*/ inline void SetSSHPublicKey(const SSHPublicKey& value) { m_sSHPublicKey = value; } /** *A structure containing details about the SSH public key.
*/ inline void SetSSHPublicKey(SSHPublicKey&& value) { m_sSHPublicKey = std::move(value); } /** *A structure containing details about the SSH public key.
*/ inline GetSSHPublicKeyResult& WithSSHPublicKey(const SSHPublicKey& value) { SetSSHPublicKey(value); return *this;} /** *A structure containing details about the SSH public key.
*/ inline GetSSHPublicKeyResult& WithSSHPublicKey(SSHPublicKey&& value) { SetSSHPublicKey(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetSSHPublicKeyResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetSSHPublicKeyResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: SSHPublicKey m_sSHPublicKey; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws