AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KeyMetadata.h
1
6#pragma once
7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kms/model/KeyUsageType.h>
11#include <aws/kms/model/KeyState.h>
12#include <aws/kms/model/OriginType.h>
13#include <aws/kms/model/ExpirationModelType.h>
14#include <aws/kms/model/KeyManagerType.h>
15#include <aws/kms/model/KeySpec.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/kms/model/MultiRegionConfiguration.h>
18#include <aws/kms/model/XksKeyConfigurationType.h>
19#include <aws/kms/model/EncryptionAlgorithmSpec.h>
20#include <aws/kms/model/SigningAlgorithmSpec.h>
21#include <aws/kms/model/KeyAgreementAlgorithmSpec.h>
22#include <aws/kms/model/MacAlgorithmSpec.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace KMS
36{
37namespace Model
38{
39
48 {
49 public:
50 AWS_KMS_API KeyMetadata() = default;
54
55
57
61 inline const Aws::String& GetAWSAccountId() const { return m_aWSAccountId; }
62 inline bool AWSAccountIdHasBeenSet() const { return m_aWSAccountIdHasBeenSet; }
63 template<typename AWSAccountIdT = Aws::String>
64 void SetAWSAccountId(AWSAccountIdT&& value) { m_aWSAccountIdHasBeenSet = true; m_aWSAccountId = std::forward<AWSAccountIdT>(value); }
65 template<typename AWSAccountIdT = Aws::String>
66 KeyMetadata& WithAWSAccountId(AWSAccountIdT&& value) { SetAWSAccountId(std::forward<AWSAccountIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetKeyId() const { return m_keyId; }
74 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
75 template<typename KeyIdT = Aws::String>
76 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
77 template<typename KeyIdT = Aws::String>
78 KeyMetadata& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
80
82
88 inline const Aws::String& GetArn() const { return m_arn; }
89 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
90 template<typename ArnT = Aws::String>
91 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
92 template<typename ArnT = Aws::String>
93 KeyMetadata& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
101 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
102 template<typename CreationDateT = Aws::Utils::DateTime>
103 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
104 template<typename CreationDateT = Aws::Utils::DateTime>
105 KeyMetadata& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
107
109
113 inline bool GetEnabled() const { return m_enabled; }
114 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
115 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
116 inline KeyMetadata& WithEnabled(bool value) { SetEnabled(value); return *this;}
118
120
123 inline const Aws::String& GetDescription() const { return m_description; }
124 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
125 template<typename DescriptionT = Aws::String>
126 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
127 template<typename DescriptionT = Aws::String>
128 KeyMetadata& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
130
132
137 inline KeyUsageType GetKeyUsage() const { return m_keyUsage; }
138 inline bool KeyUsageHasBeenSet() const { return m_keyUsageHasBeenSet; }
139 inline void SetKeyUsage(KeyUsageType value) { m_keyUsageHasBeenSet = true; m_keyUsage = value; }
140 inline KeyMetadata& WithKeyUsage(KeyUsageType value) { SetKeyUsage(value); return *this;}
142
144
150 inline KeyState GetKeyState() const { return m_keyState; }
151 inline bool KeyStateHasBeenSet() const { return m_keyStateHasBeenSet; }
152 inline void SetKeyState(KeyState value) { m_keyStateHasBeenSet = true; m_keyState = value; }
153 inline KeyMetadata& WithKeyState(KeyState value) { SetKeyState(value); return *this;}
155
157
166 inline const Aws::Utils::DateTime& GetDeletionDate() const { return m_deletionDate; }
167 inline bool DeletionDateHasBeenSet() const { return m_deletionDateHasBeenSet; }
168 template<typename DeletionDateT = Aws::Utils::DateTime>
169 void SetDeletionDate(DeletionDateT&& value) { m_deletionDateHasBeenSet = true; m_deletionDate = std::forward<DeletionDateT>(value); }
170 template<typename DeletionDateT = Aws::Utils::DateTime>
171 KeyMetadata& WithDeletionDate(DeletionDateT&& value) { SetDeletionDate(std::forward<DeletionDateT>(value)); return *this;}
173
175
183 inline const Aws::Utils::DateTime& GetValidTo() const { return m_validTo; }
184 inline bool ValidToHasBeenSet() const { return m_validToHasBeenSet; }
185 template<typename ValidToT = Aws::Utils::DateTime>
186 void SetValidTo(ValidToT&& value) { m_validToHasBeenSet = true; m_validTo = std::forward<ValidToT>(value); }
187 template<typename ValidToT = Aws::Utils::DateTime>
188 KeyMetadata& WithValidTo(ValidToT&& value) { SetValidTo(std::forward<ValidToT>(value)); return *this;}
190
192
199 inline OriginType GetOrigin() const { return m_origin; }
200 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
201 inline void SetOrigin(OriginType value) { m_originHasBeenSet = true; m_origin = value; }
202 inline KeyMetadata& WithOrigin(OriginType value) { SetOrigin(value); return *this;}
204
206
212 inline const Aws::String& GetCustomKeyStoreId() const { return m_customKeyStoreId; }
213 inline bool CustomKeyStoreIdHasBeenSet() const { return m_customKeyStoreIdHasBeenSet; }
214 template<typename CustomKeyStoreIdT = Aws::String>
215 void SetCustomKeyStoreId(CustomKeyStoreIdT&& value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId = std::forward<CustomKeyStoreIdT>(value); }
216 template<typename CustomKeyStoreIdT = Aws::String>
217 KeyMetadata& WithCustomKeyStoreId(CustomKeyStoreIdT&& value) { SetCustomKeyStoreId(std::forward<CustomKeyStoreIdT>(value)); return *this;}
219
221
229 inline const Aws::String& GetCloudHsmClusterId() const { return m_cloudHsmClusterId; }
230 inline bool CloudHsmClusterIdHasBeenSet() const { return m_cloudHsmClusterIdHasBeenSet; }
231 template<typename CloudHsmClusterIdT = Aws::String>
232 void SetCloudHsmClusterId(CloudHsmClusterIdT&& value) { m_cloudHsmClusterIdHasBeenSet = true; m_cloudHsmClusterId = std::forward<CloudHsmClusterIdT>(value); }
233 template<typename CloudHsmClusterIdT = Aws::String>
234 KeyMetadata& WithCloudHsmClusterId(CloudHsmClusterIdT&& value) { SetCloudHsmClusterId(std::forward<CloudHsmClusterIdT>(value)); return *this;}
236
238
243 inline ExpirationModelType GetExpirationModel() const { return m_expirationModel; }
244 inline bool ExpirationModelHasBeenSet() const { return m_expirationModelHasBeenSet; }
245 inline void SetExpirationModel(ExpirationModelType value) { m_expirationModelHasBeenSet = true; m_expirationModel = value; }
248
250
257 inline KeyManagerType GetKeyManager() const { return m_keyManager; }
258 inline bool KeyManagerHasBeenSet() const { return m_keyManagerHasBeenSet; }
259 inline void SetKeyManager(KeyManagerType value) { m_keyManagerHasBeenSet = true; m_keyManager = value; }
260 inline KeyMetadata& WithKeyManager(KeyManagerType value) { SetKeyManager(value); return *this;}
262
264
267 inline KeySpec GetKeySpec() const { return m_keySpec; }
268 inline bool KeySpecHasBeenSet() const { return m_keySpecHasBeenSet; }
269 inline void SetKeySpec(KeySpec value) { m_keySpecHasBeenSet = true; m_keySpec = value; }
270 inline KeyMetadata& WithKeySpec(KeySpec value) { SetKeySpec(value); return *this;}
272
274
280 inline const Aws::Vector<EncryptionAlgorithmSpec>& GetEncryptionAlgorithms() const { return m_encryptionAlgorithms; }
281 inline bool EncryptionAlgorithmsHasBeenSet() const { return m_encryptionAlgorithmsHasBeenSet; }
282 template<typename EncryptionAlgorithmsT = Aws::Vector<EncryptionAlgorithmSpec>>
283 void SetEncryptionAlgorithms(EncryptionAlgorithmsT&& value) { m_encryptionAlgorithmsHasBeenSet = true; m_encryptionAlgorithms = std::forward<EncryptionAlgorithmsT>(value); }
284 template<typename EncryptionAlgorithmsT = Aws::Vector<EncryptionAlgorithmSpec>>
285 KeyMetadata& WithEncryptionAlgorithms(EncryptionAlgorithmsT&& value) { SetEncryptionAlgorithms(std::forward<EncryptionAlgorithmsT>(value)); return *this;}
286 inline KeyMetadata& AddEncryptionAlgorithms(EncryptionAlgorithmSpec value) { m_encryptionAlgorithmsHasBeenSet = true; m_encryptionAlgorithms.push_back(value); return *this; }
288
290
295 inline const Aws::Vector<SigningAlgorithmSpec>& GetSigningAlgorithms() const { return m_signingAlgorithms; }
296 inline bool SigningAlgorithmsHasBeenSet() const { return m_signingAlgorithmsHasBeenSet; }
297 template<typename SigningAlgorithmsT = Aws::Vector<SigningAlgorithmSpec>>
298 void SetSigningAlgorithms(SigningAlgorithmsT&& value) { m_signingAlgorithmsHasBeenSet = true; m_signingAlgorithms = std::forward<SigningAlgorithmsT>(value); }
299 template<typename SigningAlgorithmsT = Aws::Vector<SigningAlgorithmSpec>>
300 KeyMetadata& WithSigningAlgorithms(SigningAlgorithmsT&& value) { SetSigningAlgorithms(std::forward<SigningAlgorithmsT>(value)); return *this;}
301 inline KeyMetadata& AddSigningAlgorithms(SigningAlgorithmSpec value) { m_signingAlgorithmsHasBeenSet = true; m_signingAlgorithms.push_back(value); return *this; }
303
305
308 inline const Aws::Vector<KeyAgreementAlgorithmSpec>& GetKeyAgreementAlgorithms() const { return m_keyAgreementAlgorithms; }
309 inline bool KeyAgreementAlgorithmsHasBeenSet() const { return m_keyAgreementAlgorithmsHasBeenSet; }
310 template<typename KeyAgreementAlgorithmsT = Aws::Vector<KeyAgreementAlgorithmSpec>>
311 void SetKeyAgreementAlgorithms(KeyAgreementAlgorithmsT&& value) { m_keyAgreementAlgorithmsHasBeenSet = true; m_keyAgreementAlgorithms = std::forward<KeyAgreementAlgorithmsT>(value); }
312 template<typename KeyAgreementAlgorithmsT = Aws::Vector<KeyAgreementAlgorithmSpec>>
313 KeyMetadata& WithKeyAgreementAlgorithms(KeyAgreementAlgorithmsT&& value) { SetKeyAgreementAlgorithms(std::forward<KeyAgreementAlgorithmsT>(value)); return *this;}
314 inline KeyMetadata& AddKeyAgreementAlgorithms(KeyAgreementAlgorithmSpec value) { m_keyAgreementAlgorithmsHasBeenSet = true; m_keyAgreementAlgorithms.push_back(value); return *this; }
316
318
326 inline bool GetMultiRegion() const { return m_multiRegion; }
327 inline bool MultiRegionHasBeenSet() const { return m_multiRegionHasBeenSet; }
328 inline void SetMultiRegion(bool value) { m_multiRegionHasBeenSet = true; m_multiRegion = value; }
329 inline KeyMetadata& WithMultiRegion(bool value) { SetMultiRegion(value); return *this;}
331
333
345 inline const MultiRegionConfiguration& GetMultiRegionConfiguration() const { return m_multiRegionConfiguration; }
346 inline bool MultiRegionConfigurationHasBeenSet() const { return m_multiRegionConfigurationHasBeenSet; }
347 template<typename MultiRegionConfigurationT = MultiRegionConfiguration>
348 void SetMultiRegionConfiguration(MultiRegionConfigurationT&& value) { m_multiRegionConfigurationHasBeenSet = true; m_multiRegionConfiguration = std::forward<MultiRegionConfigurationT>(value); }
349 template<typename MultiRegionConfigurationT = MultiRegionConfiguration>
350 KeyMetadata& WithMultiRegionConfiguration(MultiRegionConfigurationT&& value) { SetMultiRegionConfiguration(std::forward<MultiRegionConfigurationT>(value)); return *this;}
352
354
370 inline int GetPendingDeletionWindowInDays() const { return m_pendingDeletionWindowInDays; }
371 inline bool PendingDeletionWindowInDaysHasBeenSet() const { return m_pendingDeletionWindowInDaysHasBeenSet; }
372 inline void SetPendingDeletionWindowInDays(int value) { m_pendingDeletionWindowInDaysHasBeenSet = true; m_pendingDeletionWindowInDays = value; }
375
377
382 inline const Aws::Vector<MacAlgorithmSpec>& GetMacAlgorithms() const { return m_macAlgorithms; }
383 inline bool MacAlgorithmsHasBeenSet() const { return m_macAlgorithmsHasBeenSet; }
384 template<typename MacAlgorithmsT = Aws::Vector<MacAlgorithmSpec>>
385 void SetMacAlgorithms(MacAlgorithmsT&& value) { m_macAlgorithmsHasBeenSet = true; m_macAlgorithms = std::forward<MacAlgorithmsT>(value); }
386 template<typename MacAlgorithmsT = Aws::Vector<MacAlgorithmSpec>>
387 KeyMetadata& WithMacAlgorithms(MacAlgorithmsT&& value) { SetMacAlgorithms(std::forward<MacAlgorithmsT>(value)); return *this;}
388 inline KeyMetadata& AddMacAlgorithms(MacAlgorithmSpec value) { m_macAlgorithmsHasBeenSet = true; m_macAlgorithms.push_back(value); return *this; }
390
392
398 inline const XksKeyConfigurationType& GetXksKeyConfiguration() const { return m_xksKeyConfiguration; }
399 inline bool XksKeyConfigurationHasBeenSet() const { return m_xksKeyConfigurationHasBeenSet; }
400 template<typename XksKeyConfigurationT = XksKeyConfigurationType>
401 void SetXksKeyConfiguration(XksKeyConfigurationT&& value) { m_xksKeyConfigurationHasBeenSet = true; m_xksKeyConfiguration = std::forward<XksKeyConfigurationT>(value); }
402 template<typename XksKeyConfigurationT = XksKeyConfigurationType>
403 KeyMetadata& WithXksKeyConfiguration(XksKeyConfigurationT&& value) { SetXksKeyConfiguration(std::forward<XksKeyConfigurationT>(value)); return *this;}
405
407
415 inline const Aws::String& GetCurrentKeyMaterialId() const { return m_currentKeyMaterialId; }
416 inline bool CurrentKeyMaterialIdHasBeenSet() const { return m_currentKeyMaterialIdHasBeenSet; }
417 template<typename CurrentKeyMaterialIdT = Aws::String>
418 void SetCurrentKeyMaterialId(CurrentKeyMaterialIdT&& value) { m_currentKeyMaterialIdHasBeenSet = true; m_currentKeyMaterialId = std::forward<CurrentKeyMaterialIdT>(value); }
419 template<typename CurrentKeyMaterialIdT = Aws::String>
420 KeyMetadata& WithCurrentKeyMaterialId(CurrentKeyMaterialIdT&& value) { SetCurrentKeyMaterialId(std::forward<CurrentKeyMaterialIdT>(value)); return *this;}
422 private:
423
424 Aws::String m_aWSAccountId;
425 bool m_aWSAccountIdHasBeenSet = false;
426
427 Aws::String m_keyId;
428 bool m_keyIdHasBeenSet = false;
429
430 Aws::String m_arn;
431 bool m_arnHasBeenSet = false;
432
433 Aws::Utils::DateTime m_creationDate{};
434 bool m_creationDateHasBeenSet = false;
435
436 bool m_enabled{false};
437 bool m_enabledHasBeenSet = false;
438
439 Aws::String m_description;
440 bool m_descriptionHasBeenSet = false;
441
443 bool m_keyUsageHasBeenSet = false;
444
445 KeyState m_keyState{KeyState::NOT_SET};
446 bool m_keyStateHasBeenSet = false;
447
448 Aws::Utils::DateTime m_deletionDate{};
449 bool m_deletionDateHasBeenSet = false;
450
451 Aws::Utils::DateTime m_validTo{};
452 bool m_validToHasBeenSet = false;
453
455 bool m_originHasBeenSet = false;
456
457 Aws::String m_customKeyStoreId;
458 bool m_customKeyStoreIdHasBeenSet = false;
459
460 Aws::String m_cloudHsmClusterId;
461 bool m_cloudHsmClusterIdHasBeenSet = false;
462
464 bool m_expirationModelHasBeenSet = false;
465
467 bool m_keyManagerHasBeenSet = false;
468
469 KeySpec m_keySpec{KeySpec::NOT_SET};
470 bool m_keySpecHasBeenSet = false;
471
472 Aws::Vector<EncryptionAlgorithmSpec> m_encryptionAlgorithms;
473 bool m_encryptionAlgorithmsHasBeenSet = false;
474
475 Aws::Vector<SigningAlgorithmSpec> m_signingAlgorithms;
476 bool m_signingAlgorithmsHasBeenSet = false;
477
478 Aws::Vector<KeyAgreementAlgorithmSpec> m_keyAgreementAlgorithms;
479 bool m_keyAgreementAlgorithmsHasBeenSet = false;
480
481 bool m_multiRegion{false};
482 bool m_multiRegionHasBeenSet = false;
483
484 MultiRegionConfiguration m_multiRegionConfiguration;
485 bool m_multiRegionConfigurationHasBeenSet = false;
486
487 int m_pendingDeletionWindowInDays{0};
488 bool m_pendingDeletionWindowInDaysHasBeenSet = false;
489
490 Aws::Vector<MacAlgorithmSpec> m_macAlgorithms;
491 bool m_macAlgorithmsHasBeenSet = false;
492
493 XksKeyConfigurationType m_xksKeyConfiguration;
494 bool m_xksKeyConfigurationHasBeenSet = false;
495
496 Aws::String m_currentKeyMaterialId;
497 bool m_currentKeyMaterialIdHasBeenSet = false;
498 };
499
500} // namespace Model
501} // namespace KMS
502} // namespace Aws
void SetAWSAccountId(AWSAccountIdT &&value)
Definition KeyMetadata.h:64
bool ExpirationModelHasBeenSet() const
bool KeyAgreementAlgorithmsHasBeenSet() const
KeyMetadata & WithDescription(DescriptionT &&value)
KeyMetadata & WithKeyAgreementAlgorithms(KeyAgreementAlgorithmsT &&value)
KeyMetadata & WithExpirationModel(ExpirationModelType value)
KeyMetadata & WithOrigin(OriginType value)
KeyMetadata & AddMacAlgorithms(MacAlgorithmSpec value)
AWS_KMS_API Aws::Utils::Json::JsonValue Jsonize() const
int GetPendingDeletionWindowInDays() const
bool DeletionDateHasBeenSet() const
const Aws::String & GetAWSAccountId() const
Definition KeyMetadata.h:61
void SetValidTo(ValidToT &&value)
KeyMetadata & WithEncryptionAlgorithms(EncryptionAlgorithmsT &&value)
KeyMetadata & AddSigningAlgorithms(SigningAlgorithmSpec value)
KeyManagerType GetKeyManager() const
const Aws::String & GetArn() const
Definition KeyMetadata.h:88
KeyMetadata & AddEncryptionAlgorithms(EncryptionAlgorithmSpec value)
KeyMetadata & WithCustomKeyStoreId(CustomKeyStoreIdT &&value)
ExpirationModelType GetExpirationModel() const
void SetCustomKeyStoreId(CustomKeyStoreIdT &&value)
bool CloudHsmClusterIdHasBeenSet() const
bool AWSAccountIdHasBeenSet() const
Definition KeyMetadata.h:62
bool MultiRegionConfigurationHasBeenSet() const
KeyState GetKeyState() const
bool XksKeyConfigurationHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::Vector< SigningAlgorithmSpec > & GetSigningAlgorithms() const
const Aws::Utils::DateTime & GetDeletionDate() const
const Aws::String & GetKeyId() const
Definition KeyMetadata.h:73
KeyMetadata & WithArn(ArnT &&value)
Definition KeyMetadata.h:93
bool MacAlgorithmsHasBeenSet() const
KeyMetadata & WithKeySpec(KeySpec value)
KeyMetadata & WithDeletionDate(DeletionDateT &&value)
void SetArn(ArnT &&value)
Definition KeyMetadata.h:91
AWS_KMS_API KeyMetadata()=default
bool SigningAlgorithmsHasBeenSet() const
void SetKeyUsage(KeyUsageType value)
void SetSigningAlgorithms(SigningAlgorithmsT &&value)
bool CreationDateHasBeenSet() const
const Aws::Vector< EncryptionAlgorithmSpec > & GetEncryptionAlgorithms() const
void SetExpirationModel(ExpirationModelType value)
void SetMacAlgorithms(MacAlgorithmsT &&value)
void SetKeyAgreementAlgorithms(KeyAgreementAlgorithmsT &&value)
KeyMetadata & WithPendingDeletionWindowInDays(int value)
KeyMetadata & WithValidTo(ValidToT &&value)
const Aws::Utils::DateTime & GetValidTo() const
void SetPendingDeletionWindowInDays(int value)
KeyMetadata & WithEnabled(bool value)
KeyMetadata & WithMultiRegion(bool value)
KeyMetadata & WithKeyId(KeyIdT &&value)
Definition KeyMetadata.h:78
const Aws::Vector< MacAlgorithmSpec > & GetMacAlgorithms() const
void SetKeyState(KeyState value)
AWS_KMS_API KeyMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetKeyManager(KeyManagerType value)
void SetEncryptionAlgorithms(EncryptionAlgorithmsT &&value)
const XksKeyConfigurationType & GetXksKeyConfiguration() const
KeyMetadata & WithKeyUsage(KeyUsageType value)
KeyMetadata & WithKeyManager(KeyManagerType value)
bool CustomKeyStoreIdHasBeenSet() const
KeyMetadata & WithMacAlgorithms(MacAlgorithmsT &&value)
void SetKeySpec(KeySpec value)
KeyMetadata & WithCurrentKeyMaterialId(CurrentKeyMaterialIdT &&value)
const Aws::Vector< KeyAgreementAlgorithmSpec > & GetKeyAgreementAlgorithms() const
KeyMetadata & WithAWSAccountId(AWSAccountIdT &&value)
Definition KeyMetadata.h:66
void SetCloudHsmClusterId(CloudHsmClusterIdT &&value)
bool CurrentKeyMaterialIdHasBeenSet() const
void SetDeletionDate(DeletionDateT &&value)
const Aws::String & GetCloudHsmClusterId() const
KeyUsageType GetKeyUsage() const
void SetCurrentKeyMaterialId(CurrentKeyMaterialIdT &&value)
void SetEnabled(bool value)
const Aws::Utils::DateTime & GetCreationDate() const
bool EncryptionAlgorithmsHasBeenSet() const
KeyMetadata & WithKeyState(KeyState value)
void SetMultiRegion(bool value)
const Aws::String & GetCustomKeyStoreId() const
KeyMetadata & WithXksKeyConfiguration(XksKeyConfigurationT &&value)
OriginType GetOrigin() const
void SetKeyId(KeyIdT &&value)
Definition KeyMetadata.h:76
AWS_KMS_API KeyMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOrigin(OriginType value)
KeyMetadata & WithCreationDate(CreationDateT &&value)
void SetXksKeyConfiguration(XksKeyConfigurationT &&value)
KeyMetadata & WithSigningAlgorithms(SigningAlgorithmsT &&value)
void SetMultiRegionConfiguration(MultiRegionConfigurationT &&value)
KeyMetadata & WithCloudHsmClusterId(CloudHsmClusterIdT &&value)
const Aws::String & GetCurrentKeyMaterialId() const
const MultiRegionConfiguration & GetMultiRegionConfiguration() const
KeyMetadata & AddKeyAgreementAlgorithms(KeyAgreementAlgorithmSpec value)
const Aws::String & GetDescription() const
KeyMetadata & WithMultiRegionConfiguration(MultiRegionConfigurationT &&value)
bool PendingDeletionWindowInDaysHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue