7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename KeyNameT = Aws::String>
46 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet =
true; m_keyName = std::forward<KeyNameT>(value); }
47 template<
typename KeyNameT = Aws::String>
57 template<
typename KeyPairIdT = Aws::String>
58 void SetKeyPairId(KeyPairIdT&& value) { m_keyPairIdHasBeenSet =
true; m_keyPairId = std::forward<KeyPairIdT>(value); }
59 template<
typename KeyPairIdT = Aws::String>
72 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
78 bool m_keyNameHasBeenSet =
false;
81 bool m_keyPairIdHasBeenSet =
false;
84 bool m_dryRunHasBeenSet =
false;
const Aws::String & GetKeyPairId() const
AWS_EC2_API DeleteKeyPairRequest()=default
const Aws::String & GetKeyName() const
void SetDryRun(bool value)
bool KeyNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
DeleteKeyPairRequest & WithKeyName(KeyNameT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteKeyPairRequest & WithKeyPairId(KeyPairIdT &&value)
bool DryRunHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
DeleteKeyPairRequest & WithDryRun(bool value)
bool KeyPairIdHasBeenSet() const
void SetKeyPairId(KeyPairIdT &&value)
void SetKeyName(KeyNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String