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;
48 template<
typename KeyPairIdT = Aws::String>
49 void SetKeyPairId(KeyPairIdT&& value) { m_keyPairIdHasBeenSet =
true; m_keyPairId = std::forward<KeyPairIdT>(value); }
50 template<
typename KeyPairIdT = Aws::String>
59 template<
typename TagsT = Aws::Vector<Tag>>
60 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
61 template<
typename TagsT = Aws::Vector<Tag>>
63 template<
typename TagsT = Tag>
72 template<
typename KeyNameT = Aws::String>
73 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet =
true; m_keyName = std::forward<KeyNameT>(value); }
74 template<
typename KeyNameT = Aws::String>
86 template<
typename KeyFingerpr
intT = Aws::String>
87 void SetKeyFingerprint(KeyFingerprintT&& value) { m_keyFingerprintHasBeenSet =
true; m_keyFingerprint = std::forward<KeyFingerprintT>(value); }
88 template<
typename KeyFingerpr
intT = Aws::String>
97 template<
typename KeyMaterialT = Aws::String>
98 void SetKeyMaterial(KeyMaterialT&& value) { m_keyMaterialHasBeenSet =
true; m_keyMaterial = std::forward<KeyMaterialT>(value); }
99 template<
typename KeyMaterialT = Aws::String>
106 template<
typename ResponseMetadataT = ResponseMetadata>
107 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
108 template<
typename ResponseMetadataT = ResponseMetadata>
114 bool m_keyPairIdHasBeenSet =
false;
117 bool m_tagsHasBeenSet =
false;
120 bool m_keyNameHasBeenSet =
false;
123 bool m_keyFingerprintHasBeenSet =
false;
126 bool m_keyMaterialHasBeenSet =
false;
129 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