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;
42 template <
typename KeyFingerpr
intT = Aws::String>
44 m_keyFingerprintHasBeenSet =
true;
45 m_keyFingerprint = std::forward<KeyFingerprintT>(value);
47 template <
typename KeyFingerpr
intT = Aws::String>
59 template <
typename KeyNameT = Aws::String>
61 m_keyNameHasBeenSet =
true;
62 m_keyName = std::forward<KeyNameT>(value);
64 template <
typename KeyNameT = Aws::String>
76 template <
typename KeyPairIdT = Aws::String>
78 m_keyPairIdHasBeenSet =
true;
79 m_keyPairId = std::forward<KeyPairIdT>(value);
81 template <
typename KeyPairIdT = Aws::String>
93 template <
typename TagsT = Aws::Vector<Tag>>
95 m_tagsHasBeenSet =
true;
96 m_tags = std::forward<TagsT>(value);
98 template <
typename TagsT = Aws::Vector<Tag>>
100 SetTags(std::forward<TagsT>(value));
103 template <
typename TagsT = Tag>
105 m_tagsHasBeenSet =
true;
106 m_tags.emplace_back(std::forward<TagsT>(value));
114 template <
typename ResponseMetadataT = ResponseMetadata>
116 m_responseMetadataHasBeenSet =
true;
117 m_responseMetadata = std::forward<ResponseMetadataT>(value);
119 template <
typename ResponseMetadataT = ResponseMetadata>
138 bool m_keyFingerprintHasBeenSet =
false;
139 bool m_keyNameHasBeenSet =
false;
140 bool m_keyPairIdHasBeenSet =
false;
141 bool m_tagsHasBeenSet =
false;
142 bool m_responseMetadataHasBeenSet =
false;
ImportKeyPairResponse & WithKeyName(KeyNameT &&value)
void SetKeyPairId(KeyPairIdT &&value)
AWS_EC2_API ImportKeyPairResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetKeyName() const
AWS_EC2_API ImportKeyPairResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetKeyName(KeyNameT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
void SetKeyFingerprint(KeyFingerprintT &&value)
AWS_EC2_API ImportKeyPairResponse()=default
ImportKeyPairResponse & AddTags(TagsT &&value)
const Aws::String & GetKeyFingerprint() const
ImportKeyPairResponse & WithKeyPairId(KeyPairIdT &&value)
const Aws::String & GetKeyPairId() const
ImportKeyPairResponse & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::Vector< Tag > & GetTags() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ImportKeyPairResponse & WithKeyFingerprint(KeyFingerprintT &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetTags(TagsT &&value)
ImportKeyPairResponse & WithTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument