7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetKeyPairName(
const char* value) { m_keyPairNameHasBeenSet =
true; m_keyPairName.assign(value); }
59 inline void SetPublicKeyBase64(
const char* value) { m_publicKeyBase64HasBeenSet =
true; m_publicKeyBase64.assign(value); }
67 bool m_keyPairNameHasBeenSet =
false;
70 bool m_publicKeyBase64HasBeenSet =
false;
bool KeyPairNameHasBeenSet() const
ImportKeyPairRequest & WithPublicKeyBase64(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetKeyPairName(Aws::String &&value)
ImportKeyPairRequest & WithKeyPairName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ImportKeyPairRequest & WithKeyPairName(const Aws::String &value)
AWS_LIGHTSAIL_API ImportKeyPairRequest()
ImportKeyPairRequest & WithPublicKeyBase64(const char *value)
void SetKeyPairName(const Aws::String &value)
void SetPublicKeyBase64(const char *value)
void SetPublicKeyBase64(const Aws::String &value)
ImportKeyPairRequest & WithKeyPairName(const char *value)
const Aws::String & GetPublicKeyBase64() const
void SetPublicKeyBase64(Aws::String &&value)
const Aws::String & GetKeyPairName() const
ImportKeyPairRequest & WithPublicKeyBase64(Aws::String &&value)
void SetKeyPairName(const char *value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool PublicKeyBase64HasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String