7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/KMSRequest.h>
11#include <aws/kms/KMS_EXPORTS.h>
12#include <aws/kms/model/ExpirationModelType.h>
13#include <aws/kms/model/ImportType.h>
58 template <
typename KeyIdT = Aws::String>
60 m_keyIdHasBeenSet =
true;
61 m_keyId = std::forward<KeyIdT>(value);
63 template <
typename KeyIdT = Aws::String>
65 SetKeyId(std::forward<KeyIdT>(value));
78 template <
typename ImportTokenT = Aws::Utils::ByteBuffer>
80 m_importTokenHasBeenSet =
true;
81 m_importToken = std::forward<ImportTokenT>(value);
83 template <
typename ImportTokenT = Aws::Utils::ByteBuffer>
99 template <
typename EncryptedKeyMaterialT = Aws::Utils::ByteBuffer>
101 m_encryptedKeyMaterialHasBeenSet =
true;
102 m_encryptedKeyMaterial = std::forward<EncryptedKeyMaterialT>(value);
104 template <
typename EncryptedKeyMaterialT = Aws::Utils::ByteBuffer>
127 template <
typename Val
idToT = Aws::Utils::DateTime>
129 m_validToHasBeenSet =
true;
130 m_validTo = std::forward<ValidToT>(value);
132 template <
typename Val
idToT = Aws::Utils::DateTime>
157 m_expirationModelHasBeenSet =
true;
158 m_expirationModel = value;
184 m_importTypeHasBeenSet =
true;
185 m_importType = value;
202 template <
typename KeyMaterialDescriptionT = Aws::String>
204 m_keyMaterialDescriptionHasBeenSet =
true;
205 m_keyMaterialDescription = std::forward<KeyMaterialDescriptionT>(value);
207 template <
typename KeyMaterialDescriptionT = Aws::String>
230 template <
typename KeyMaterialIdT = Aws::String>
232 m_keyMaterialIdHasBeenSet =
true;
233 m_keyMaterialId = std::forward<KeyMaterialIdT>(value);
235 template <
typename KeyMaterialIdT = Aws::String>
257 bool m_keyIdHasBeenSet =
false;
258 bool m_importTokenHasBeenSet =
false;
259 bool m_encryptedKeyMaterialHasBeenSet =
false;
260 bool m_validToHasBeenSet =
false;
261 bool m_expirationModelHasBeenSet =
false;
262 bool m_importTypeHasBeenSet =
false;
263 bool m_keyMaterialDescriptionHasBeenSet =
false;
264 bool m_keyMaterialIdHasBeenSet =
false;
ImportType GetImportType() const
void SetValidTo(ValidToT &&value)
const Aws::String & GetKeyId() const
AWS_KMS_API Aws::String SerializePayload() const override
bool KeyMaterialDescriptionHasBeenSet() const
const Aws::String & GetKeyMaterialDescription() const
bool ImportTypeHasBeenSet() const
bool KeyMaterialIdHasBeenSet() const
ImportKeyMaterialRequest & WithImportToken(ImportTokenT &&value)
const Aws::String & GetKeyMaterialId() const
virtual const char * GetServiceRequestName() const override
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ImportTokenHasBeenSet() const
AWS_KMS_API ImportKeyMaterialRequest()=default
ImportKeyMaterialRequest & WithKeyId(KeyIdT &&value)
void SetImportToken(ImportTokenT &&value)
void SetKeyMaterialId(KeyMaterialIdT &&value)
const Aws::Utils::ByteBuffer & GetImportToken() const
void SetKeyId(KeyIdT &&value)
bool ValidToHasBeenSet() const
ImportKeyMaterialRequest & WithImportType(ImportType value)
const Aws::Utils::ByteBuffer & GetEncryptedKeyMaterial() const
void SetKeyMaterialDescription(KeyMaterialDescriptionT &&value)
ImportKeyMaterialRequest & WithKeyMaterialId(KeyMaterialIdT &&value)
ImportKeyMaterialRequest & WithExpirationModel(ExpirationModelType value)
ImportKeyMaterialRequest & WithValidTo(ValidToT &&value)
void SetImportType(ImportType value)
bool EncryptedKeyMaterialHasBeenSet() const
void SetExpirationModel(ExpirationModelType value)
void SetEncryptedKeyMaterial(EncryptedKeyMaterialT &&value)
bool ExpirationModelHasBeenSet() const
const Aws::Utils::DateTime & GetValidTo() const
bool KeyIdHasBeenSet() const
ExpirationModelType GetExpirationModel() const
ImportKeyMaterialRequest & WithEncryptedKeyMaterial(EncryptedKeyMaterialT &&value)
ImportKeyMaterialRequest & WithKeyMaterialDescription(KeyMaterialDescriptionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String