7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ResponseMetadata.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 m_returnHasBeenSet =
true;
51 template <
typename KeyPairIdT = Aws::String>
53 m_keyPairIdHasBeenSet =
true;
54 m_keyPairId = std::forward<KeyPairIdT>(value);
56 template <
typename KeyPairIdT = Aws::String>
66 template <
typename ResponseMetadataT = ResponseMetadata>
68 m_responseMetadataHasBeenSet =
true;
69 m_responseMetadata = std::forward<ResponseMetadataT>(value);
71 template <
typename ResponseMetadataT = ResponseMetadata>
84 ResponseMetadata m_responseMetadata;
86 bool m_returnHasBeenSet =
false;
87 bool m_keyPairIdHasBeenSet =
false;
88 bool m_responseMetadataHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DeleteKeyPairResponse & WithReturn(bool value)
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API DeleteKeyPairResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteKeyPairResponse & WithResponseMetadata(ResponseMetadataT &&value)
void SetReturn(bool value)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API DeleteKeyPairResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetKeyPairId() const
AWS_EC2_API DeleteKeyPairResponse()=default
void SetKeyPairId(KeyPairIdT &&value)
DeleteKeyPairResponse & WithKeyPairId(KeyPairIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument