7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/StatusType.h>
11#include <aws/core/utils/DateTime.h>
55 template<
typename UserNameT = Aws::String>
56 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
57 template<
typename UserNameT = Aws::String>
67 template<
typename SSHPublicKeyIdT = Aws::String>
68 void SetSSHPublicKeyId(SSHPublicKeyIdT&& value) { m_sSHPublicKeyIdHasBeenSet =
true; m_sSHPublicKeyId = std::forward<SSHPublicKeyIdT>(value); }
69 template<
typename SSHPublicKeyIdT = Aws::String>
79 template<
typename Fingerpr
intT = Aws::String>
80 void SetFingerprint(FingerprintT&& value) { m_fingerprintHasBeenSet =
true; m_fingerprint = std::forward<FingerprintT>(value); }
81 template<
typename Fingerpr
intT = Aws::String>
91 template<
typename SSHPublicKeyBodyT = Aws::String>
92 void SetSSHPublicKeyBody(SSHPublicKeyBodyT&& value) { m_sSHPublicKeyBodyHasBeenSet =
true; m_sSHPublicKeyBody = std::forward<SSHPublicKeyBodyT>(value); }
93 template<
typename SSHPublicKeyBodyT = Aws::String>
116 template<
typename UploadDateT = Aws::Utils::DateTime>
117 void SetUploadDate(UploadDateT&& value) { m_uploadDateHasBeenSet =
true; m_uploadDate = std::forward<UploadDateT>(value); }
118 template<
typename UploadDateT = Aws::Utils::DateTime>
124 bool m_userNameHasBeenSet =
false;
127 bool m_sSHPublicKeyIdHasBeenSet =
false;
130 bool m_fingerprintHasBeenSet =
false;
133 bool m_sSHPublicKeyBodyHasBeenSet =
false;
136 bool m_statusHasBeenSet =
false;
139 bool m_uploadDateHasBeenSet =
false;
const Aws::String & GetFingerprint() const
const Aws::String & GetSSHPublicKeyBody() const
void SetUploadDate(UploadDateT &&value)
SSHPublicKey & WithSSHPublicKeyId(SSHPublicKeyIdT &&value)
const Aws::String & GetUserName() const
SSHPublicKey & WithUserName(UserNameT &&value)
void SetUserName(UserNameT &&value)
bool UploadDateHasBeenSet() const
void SetSSHPublicKeyId(SSHPublicKeyIdT &&value)
SSHPublicKey & WithStatus(StatusType value)
StatusType GetStatus() const
bool StatusHasBeenSet() const
bool SSHPublicKeyIdHasBeenSet() const
AWS_IAM_API SSHPublicKey()=default
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SSHPublicKey & WithFingerprint(FingerprintT &&value)
const Aws::Utils::DateTime & GetUploadDate() const
AWS_IAM_API SSHPublicKey & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SSHPublicKeyBodyHasBeenSet() const
AWS_IAM_API SSHPublicKey(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSSHPublicKeyBody(SSHPublicKeyBodyT &&value)
void SetStatus(StatusType value)
bool UserNameHasBeenSet() const
const Aws::String & GetSSHPublicKeyId() const
SSHPublicKey & WithSSHPublicKeyBody(SSHPublicKeyBodyT &&value)
void SetFingerprint(FingerprintT &&value)
bool FingerprintHasBeenSet() const
SSHPublicKey & WithUploadDate(UploadDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream