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;
41 template <
typename KeyFingerpr
intT = Aws::String>
43 m_keyFingerprintHasBeenSet =
true;
44 m_keyFingerprint = std::forward<KeyFingerprintT>(value);
46 template <
typename KeyFingerpr
intT = Aws::String>
58 template <
typename KeyNameT = Aws::String>
60 m_keyNameHasBeenSet =
true;
61 m_keyName = std::forward<KeyNameT>(value);
63 template <
typename KeyNameT = Aws::String>
75 template <
typename KeyPairIdT = Aws::String>
77 m_keyPairIdHasBeenSet =
true;
78 m_keyPairId = std::forward<KeyPairIdT>(value);
80 template <
typename KeyPairIdT = Aws::String>
92 template <
typename TagsT = Aws::Vector<Tag>>
94 m_tagsHasBeenSet =
true;
95 m_tags = std::forward<TagsT>(value);
97 template <
typename TagsT = Aws::Vector<Tag>>
99 SetTags(std::forward<TagsT>(value));
102 template <
typename TagsT = Tag>
104 m_tagsHasBeenSet =
true;
105 m_tags.emplace_back(std::forward<TagsT>(value));
113 template <
typename ResponseMetadataT = ResponseMetadata>
115 m_responseMetadataHasBeenSet =
true;
116 m_responseMetadata = std::forward<ResponseMetadataT>(value);
118 template <
typename ResponseMetadataT = ResponseMetadata>
134 bool m_keyFingerprintHasBeenSet =
false;
135 bool m_keyNameHasBeenSet =
false;
136 bool m_keyPairIdHasBeenSet =
false;
137 bool m_tagsHasBeenSet =
false;
138 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
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