7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/KeyType.h>
13#include <aws/ec2/model/Tag.h>
46 template <
typename KeyPairIdT = Aws::String>
48 m_keyPairIdHasBeenSet =
true;
49 m_keyPairId = std::forward<KeyPairIdT>(value);
51 template <
typename KeyPairIdT = Aws::String>
65 m_keyTypeHasBeenSet =
true;
80 template <
typename TagsT = Aws::Vector<Tag>>
82 m_tagsHasBeenSet =
true;
83 m_tags = std::forward<TagsT>(value);
85 template <
typename TagsT = Aws::Vector<Tag>>
87 SetTags(std::forward<TagsT>(value));
90 template <
typename TagsT = Tag>
92 m_tagsHasBeenSet =
true;
93 m_tags.emplace_back(std::forward<TagsT>(value));
104 template <
typename PublicKeyT = Aws::String>
106 m_publicKeyHasBeenSet =
true;
107 m_publicKey = std::forward<PublicKeyT>(value);
109 template <
typename PublicKeyT = Aws::String>
128 template <
typename CreateTimeT = Aws::Utils::DateTime>
130 m_createTimeHasBeenSet =
true;
131 m_createTime = std::forward<CreateTimeT>(value);
133 template <
typename CreateTimeT = Aws::Utils::DateTime>
146 template <
typename KeyNameT = Aws::String>
148 m_keyNameHasBeenSet =
true;
149 m_keyName = std::forward<KeyNameT>(value);
151 template <
typename KeyNameT = Aws::String>
174 template <
typename KeyFingerpr
intT = Aws::String>
176 m_keyFingerprintHasBeenSet =
true;
177 m_keyFingerprint = std::forward<KeyFingerprintT>(value);
179 template <
typename KeyFingerpr
intT = Aws::String>
199 bool m_keyPairIdHasBeenSet =
false;
200 bool m_keyTypeHasBeenSet =
false;
201 bool m_tagsHasBeenSet =
false;
202 bool m_publicKeyHasBeenSet =
false;
203 bool m_createTimeHasBeenSet =
false;
204 bool m_keyNameHasBeenSet =
false;
205 bool m_keyFingerprintHasBeenSet =
false;
KeyPairInfo & WithPublicKey(PublicKeyT &&value)
AWS_EC2_API KeyPairInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
bool KeyFingerprintHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
bool CreateTimeHasBeenSet() const
const Aws::String & GetKeyFingerprint() const
AWS_EC2_API KeyPairInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
KeyPairInfo & WithKeyPairId(KeyPairIdT &&value)
const Aws::String & GetKeyPairId() const
const Aws::String & GetKeyName() const
KeyPairInfo & WithKeyFingerprint(KeyFingerprintT &&value)
void SetKeyName(KeyNameT &&value)
void SetCreateTime(CreateTimeT &&value)
KeyPairInfo & AddTags(TagsT &&value)
bool TagsHasBeenSet() const
AWS_EC2_API KeyPairInfo()=default
bool PublicKeyHasBeenSet() const
KeyPairInfo & WithCreateTime(CreateTimeT &&value)
void SetKeyPairId(KeyPairIdT &&value)
KeyPairInfo & WithKeyType(KeyType value)
bool KeyPairIdHasBeenSet() const
KeyPairInfo & WithKeyName(KeyNameT &&value)
const Aws::String & GetPublicKey() const
void SetKeyFingerprint(KeyFingerprintT &&value)
bool KeyNameHasBeenSet() const
void SetPublicKey(PublicKeyT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetKeyType(KeyType value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
KeyPairInfo & WithTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
KeyType GetKeyType() const
bool KeyTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream