7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/Tag.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
47 template<
typename KeyFingerpr
intT = Aws::String>
48 void SetKeyFingerprint(KeyFingerprintT&& value) { m_keyFingerprintHasBeenSet =
true; m_keyFingerprint = std::forward<KeyFingerprintT>(value); }
49 template<
typename KeyFingerpr
intT = Aws::String>
58 template<
typename KeyNameT = Aws::String>
59 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet =
true; m_keyName = std::forward<KeyNameT>(value); }
60 template<
typename KeyNameT = Aws::String>
69 template<
typename KeyPairIdT = Aws::String>
70 void SetKeyPairId(KeyPairIdT&& value) { m_keyPairIdHasBeenSet =
true; m_keyPairId = std::forward<KeyPairIdT>(value); }
71 template<
typename KeyPairIdT = Aws::String>
80 template<
typename TagsT = Aws::Vector<Tag>>
81 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
82 template<
typename TagsT = Aws::Vector<Tag>>
84 template<
typename TagsT = Tag>
91 template<
typename ResponseMetadataT = ResponseMetadata>
92 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
93 template<
typename ResponseMetadataT = ResponseMetadata>
99 bool m_keyFingerprintHasBeenSet =
false;
102 bool m_keyNameHasBeenSet =
false;
105 bool m_keyPairIdHasBeenSet =
false;
108 bool m_tagsHasBeenSet =
false;
111 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