7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetKeyName(
const char* value) { m_keyNameHasBeenSet =
true; m_keyName.assign(value); }
61 inline void SetKeyPairId(
const char* value) { m_keyPairIdHasBeenSet =
true; m_keyPairId.assign(value); }
76 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
82 bool m_keyNameHasBeenSet =
false;
85 bool m_keyPairIdHasBeenSet =
false;
88 bool m_dryRunHasBeenSet =
false;
DeleteKeyPairRequest & WithKeyName(const Aws::String &value)
void SetKeyName(Aws::String &&value)
void SetKeyPairId(const char *value)
void SetKeyName(const char *value)
const Aws::String & GetKeyPairId() const
const Aws::String & GetKeyName() const
DeleteKeyPairRequest & WithKeyName(Aws::String &&value)
DeleteKeyPairRequest & WithKeyPairId(const Aws::String &value)
void SetDryRun(bool value)
bool KeyNameHasBeenSet() const
void SetKeyName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteKeyPairRequest & WithKeyPairId(Aws::String &&value)
bool DryRunHasBeenSet() const
void SetKeyPairId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DeleteKeyPairRequest & WithKeyName(const char *value)
DeleteKeyPairRequest & WithDryRun(bool value)
AWS_EC2_API DeleteKeyPairRequest()
bool KeyPairIdHasBeenSet() const
DeleteKeyPairRequest & WithKeyPairId(const char *value)
void SetKeyPairId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String