7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/kms/model/ExpirationModelType.h>
63 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
145 bool m_keyIdHasBeenSet =
false;
148 bool m_importTokenHasBeenSet =
false;
151 bool m_encryptedKeyMaterialHasBeenSet =
false;
154 bool m_validToHasBeenSet =
false;
157 bool m_expirationModelHasBeenSet =
false;
const Aws::String & GetKeyId() const
AWS_KMS_API Aws::String SerializePayload() const override
ImportKeyMaterialRequest & WithImportToken(Aws::Utils::ByteBuffer &&value)
void SetKeyId(const Aws::String &value)
void SetEncryptedKeyMaterial(Aws::Utils::ByteBuffer &&value)
void SetExpirationModel(const ExpirationModelType &value)
ImportKeyMaterialRequest & WithExpirationModel(const ExpirationModelType &value)
const ExpirationModelType & GetExpirationModel() const
void SetImportToken(Aws::Utils::ByteBuffer &&value)
ImportKeyMaterialRequest & WithKeyId(const char *value)
ImportKeyMaterialRequest & WithEncryptedKeyMaterial(Aws::Utils::ByteBuffer &&value)
ImportKeyMaterialRequest & WithImportToken(const Aws::Utils::ByteBuffer &value)
virtual const char * GetServiceRequestName() const override
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportKeyMaterialRequest & WithExpirationModel(ExpirationModelType &&value)
bool ImportTokenHasBeenSet() const
void SetValidTo(Aws::Utils::DateTime &&value)
void SetKeyId(const char *value)
ImportKeyMaterialRequest & WithEncryptedKeyMaterial(const Aws::Utils::ByteBuffer &value)
const Aws::Utils::ByteBuffer & GetImportToken() const
bool ValidToHasBeenSet() const
AWS_KMS_API ImportKeyMaterialRequest()
void SetValidTo(const Aws::Utils::DateTime &value)
void SetEncryptedKeyMaterial(const Aws::Utils::ByteBuffer &value)
const Aws::Utils::ByteBuffer & GetEncryptedKeyMaterial() const
ImportKeyMaterialRequest & WithValidTo(const Aws::Utils::DateTime &value)
void SetExpirationModel(ExpirationModelType &&value)
bool EncryptedKeyMaterialHasBeenSet() const
ImportKeyMaterialRequest & WithKeyId(const Aws::String &value)
bool ExpirationModelHasBeenSet() const
ImportKeyMaterialRequest & WithKeyId(Aws::String &&value)
void SetImportToken(const Aws::Utils::ByteBuffer &value)
const Aws::Utils::DateTime & GetValidTo() const
void SetKeyId(Aws::String &&value)
bool KeyIdHasBeenSet() const
ImportKeyMaterialRequest & WithValidTo(Aws::Utils::DateTime &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String