7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/Array.h>
12#include <aws/ec2/model/TagSpecification.h>
65 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
77 inline void SetKeyName(
const char* value) { m_keyNameHasBeenSet =
true; m_keyName.assign(value); }
98 bool m_tagSpecificationsHasBeenSet =
false;
101 bool m_dryRunHasBeenSet =
false;
104 bool m_keyNameHasBeenSet =
false;
107 bool m_publicKeyMaterialHasBeenSet =
false;
bool KeyNameHasBeenSet() const
ImportKeyPairRequest & WithPublicKeyMaterial(Aws::Utils::ByteBuffer &&value)
void SetKeyName(const char *value)
bool PublicKeyMaterialHasBeenSet() const
ImportKeyPairRequest & AddTagSpecifications(const TagSpecification &value)
const Aws::Utils::ByteBuffer & GetPublicKeyMaterial() const
bool TagSpecificationsHasBeenSet() const
void SetDryRun(bool value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
AWS_EC2_API ImportKeyPairRequest()
ImportKeyPairRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetPublicKeyMaterial(const Aws::Utils::ByteBuffer &value)
bool DryRunHasBeenSet() const
ImportKeyPairRequest & WithDryRun(bool value)
ImportKeyPairRequest & AddTagSpecifications(TagSpecification &&value)
ImportKeyPairRequest & WithPublicKeyMaterial(const Aws::Utils::ByteBuffer &value)
ImportKeyPairRequest & WithKeyName(const Aws::String &value)
ImportKeyPairRequest & WithKeyName(Aws::String &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
virtual const char * GetServiceRequestName() const override
void SetKeyName(Aws::String &&value)
ImportKeyPairRequest & WithKeyName(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetKeyName(const Aws::String &value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
ImportKeyPairRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
const Aws::String & GetKeyName() const
void SetPublicKeyMaterial(Aws::Utils::ByteBuffer &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector