7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/Tag.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
42 template <
typename KeyPairIdT = Aws::String>
44 m_keyPairIdHasBeenSet =
true;
45 m_keyPairId = std::forward<KeyPairIdT>(value);
47 template <
typename KeyPairIdT = Aws::String>
59 template <
typename TagsT = Aws::Vector<Tag>>
61 m_tagsHasBeenSet =
true;
62 m_tags = std::forward<TagsT>(value);
64 template <
typename TagsT = Aws::Vector<Tag>>
66 SetTags(std::forward<TagsT>(value));
69 template <
typename TagsT = Tag>
71 m_tagsHasBeenSet =
true;
72 m_tags.emplace_back(std::forward<TagsT>(value));
82 template <
typename KeyNameT = Aws::String>
84 m_keyNameHasBeenSet =
true;
85 m_keyName = std::forward<KeyNameT>(value);
87 template <
typename KeyNameT = Aws::String>
102 template <
typename KeyFingerpr
intT = Aws::String>
104 m_keyFingerprintHasBeenSet =
true;
105 m_keyFingerprint = std::forward<KeyFingerprintT>(value);
107 template <
typename KeyFingerpr
intT = Aws::String>
119 template <
typename KeyMaterialT = Aws::String>
121 m_keyMaterialHasBeenSet =
true;
122 m_keyMaterial = std::forward<KeyMaterialT>(value);
124 template <
typename KeyMaterialT = Aws::String>
134 template <
typename ResponseMetadataT = ResponseMetadata>
136 m_responseMetadataHasBeenSet =
true;
137 m_responseMetadata = std::forward<ResponseMetadataT>(value);
139 template <
typename ResponseMetadataT = ResponseMetadata>
157 bool m_keyPairIdHasBeenSet =
false;
158 bool m_tagsHasBeenSet =
false;
159 bool m_keyNameHasBeenSet =
false;
160 bool m_keyFingerprintHasBeenSet =
false;
161 bool m_keyMaterialHasBeenSet =
false;
162 bool m_responseMetadataHasBeenSet =
false;
const Aws::String & GetKeyPairId() const
CreateKeyPairResponse & WithKeyPairId(KeyPairIdT &&value)
void SetKeyName(KeyNameT &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetTags(TagsT &&value)
AWS_EC2_API CreateKeyPairResponse()=default
void SetKeyFingerprint(KeyFingerprintT &&value)
CreateKeyPairResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API CreateKeyPairResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetKeyFingerprint() const
CreateKeyPairResponse & WithTags(TagsT &&value)
const Aws::String & GetKeyMaterial() const
CreateKeyPairResponse & WithKeyFingerprint(KeyFingerprintT &&value)
void SetKeyPairId(KeyPairIdT &&value)
CreateKeyPairResponse & WithKeyMaterial(KeyMaterialT &&value)
CreateKeyPairResponse & WithKeyName(KeyNameT &&value)
AWS_EC2_API CreateKeyPairResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetKeyName() const
CreateKeyPairResponse & AddTags(TagsT &&value)
void SetKeyMaterial(KeyMaterialT &&value)
const Aws::Vector< Tag > & GetTags() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument