7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <aws/ec2/model/Tag.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
43 template <
typename KeyPairIdT = Aws::String>
45 m_keyPairIdHasBeenSet =
true;
46 m_keyPairId = std::forward<KeyPairIdT>(value);
48 template <
typename KeyPairIdT = Aws::String>
60 template <
typename TagsT = Aws::Vector<Tag>>
62 m_tagsHasBeenSet =
true;
63 m_tags = std::forward<TagsT>(value);
65 template <
typename TagsT = Aws::Vector<Tag>>
67 SetTags(std::forward<TagsT>(value));
70 template <
typename TagsT = Tag>
72 m_tagsHasBeenSet =
true;
73 m_tags.emplace_back(std::forward<TagsT>(value));
83 template <
typename KeyNameT = Aws::String>
85 m_keyNameHasBeenSet =
true;
86 m_keyName = std::forward<KeyNameT>(value);
88 template <
typename KeyNameT = Aws::String>
103 template <
typename KeyFingerpr
intT = Aws::String>
105 m_keyFingerprintHasBeenSet =
true;
106 m_keyFingerprint = std::forward<KeyFingerprintT>(value);
108 template <
typename KeyFingerpr
intT = Aws::String>
120 template <
typename KeyMaterialT = Aws::String>
122 m_keyMaterialHasBeenSet =
true;
123 m_keyMaterial = std::forward<KeyMaterialT>(value);
125 template <
typename KeyMaterialT = Aws::String>
135 template <
typename ResponseMetadataT = ResponseMetadata>
137 m_responseMetadataHasBeenSet =
true;
138 m_responseMetadata = std::forward<ResponseMetadataT>(value);
140 template <
typename ResponseMetadataT = ResponseMetadata>
161 bool m_keyPairIdHasBeenSet =
false;
162 bool m_tagsHasBeenSet =
false;
163 bool m_keyNameHasBeenSet =
false;
164 bool m_keyFingerprintHasBeenSet =
false;
165 bool m_keyMaterialHasBeenSet =
false;
166 bool m_responseMetadataHasBeenSet =
false;
const Aws::String & GetKeyPairId() const
CreateKeyPairResponse & WithKeyPairId(KeyPairIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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